This is a message.

Seek, then play - flowplayer hangs (!?) Created Jan 23, 2009

This thread is solved

Views: 8993     Replies: 26     Last reply Aug 30, 2011  
You must login first before you can use this feature

Joust
Dissapointed with noone to fix aac hanging bug.

Posts: 57

Registered:
Jan 23, 2009

Seek, then play - flowplayer hangs (!?)

Posted: Jan 23, 2009

Hi.. A dead-simple test case taken from my project:


<html>
	<body>
		<script type="text/javascript" src="flowplayer.js"></script>
		<div id="fastPreview" style="width:300px;height:300px"></div>
		<script type="text/javascript">
			$f("fastPreview", "flowplayer-3.0.3.swf", { 
				clip: {
					url: '102.flv',
					scaling: 'fit',
					autoBuffering: true,
					autoPlay: false
				}
			}); 
		</script>
	</body>
</html>

A player appears with play (>) button in the center. When we click play, flowplayer works great. Now try this:
1. After loading page don't click play, let it buffer 100%
2. Seek to any position
3. Click play

It plays about 1.5 s with no audio, the video stops but the time on scrubber goes on. When the scrubber reaches the end, the whole movie is played back at about x3 speed with no audio (!?).

It happens when movie is encoded with ffmpeg with default video settings:

$ffmpegPath -y -v 1 -i source.avi -s 100x100 -f flv -b 500k -acodec libfaac -ab 96k  -ar 22500 destination.flv

Here's how the file looks inside:

Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 29.92 (359/12)
Input #0, flv, from '100.flv':
  Duration: 00:03:52.83, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: flv, yuv420p, 320x218, 29.92 tb(r)
    Stream #0.1: Audio: aac, 22050 Hz, stereo, s16

Tested under Flash 10, Chrome, FF 3.0.5, IE 7. Tried different source files, different sizes, durations and bitrates.

I need to kill this bug before I can purchase the license.

Here's format of a flv which works ok (not ffmpeg encoded):

Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 25.00 (25/1)
Input #0, flv, from '102.flv':
  Duration: 00:03:19.18, start: 0.000000, bitrate: 56 kb/s
    Stream #0.0: Video: flv, yuv420p, 320x262, 25.00 tb(r)
    Stream #0.1: Audio: mp3, 22050 Hz, mono, s16, 56 kb/s

Joust
Dissapointed with noone to fix aac hanging bug.

Posts: 57

Registered:
Jan 23, 2009

» Seek, then play - flowplayer hangs (!?)

Posted: Jan 23, 2009

Reply to: Seek, then play - flowplayer hangs (!?), from Joust
The bug is non-existent with audio as MP3.

Looks like it's audio problem. It might be libfaac problem, flash AAC decoding problem or flowplayer bug. Please check it out.

Here's a sample flv file which breaks the player:
http://www.thinkscape.pl/103.flv

Joust
Dissapointed with noone to fix aac hanging bug.

Posts: 57

Registered:
Jan 23, 2009

» Seek, then play - flowplayer hangs (!?)

Posted: Jan 24, 2009

Reply to: Seek, then play - flowplayer hangs (!?), from Joust
1. Click [SHOW ME] to activate
2. Let it buffer whole clip
3. Seek to any position (i.e. 3/4)
4. Click play (nothing happens, no audio, scrubber goes on ?)

Flowplayer forum example

HTML setup for the player

<!-- include latest Flowplayer javascript file -->
<script language="javascript" src="path/to/flowplayer-3.2.8.js"></script>

<!-- player container with optional splash image -->
<a href="path/to/video_file" id="playerContainer">
	<img src="path/to/splash_image" />
</a>


JavaScript coding

Following script will install Flowplayer into our player container


<script language="javascript">
// our custom configuration is given in third argument
flowplayer("playerContainer", "path/tohttp://releases.flowplayer.org/swf/flowplayer-3.2.11.swf",{  
                clip: { 
                    url: 'http://www.thinkscape.pl/103.flv', 
                    scaling: 'fit', 
                    autoBuffering: true, 
                    autoPlay: false 
                } 
            });
</script>


Tero
Author of jQuery Tools and this website + JavaScript developer of Flowplayer.

Posts: 1868

Registered:
Nov 16, 2007

» » Seek, then play - flowplayer hangs (!?)

Posted: Jan 24, 2009

Reply to: » Seek, then play - flowplayer hangs (!?), from Joust
Yes. I can see that. I'll let Anssi know about this.

Anssi
Flowplayer Flash & video streaming developer

Posts: 1197

Registered:
Jul 24, 2007

» Seek, then play - flowplayer hangs (!?)

Posted: Jan 24, 2009

Reply to: Seek, then play - flowplayer hangs (!?), from Joust
It seems to also crach my Firefox browser. It seems that if you have the audio track as mp3 it causes this problem. Don't know yet how this could be fixed.

Joust
Dissapointed with noone to fix aac hanging bug.

Posts: 57

Registered:
Jan 23, 2009

» » Seek, then play - flowplayer hangs (!?)

Posted: Jan 24, 2009

Reply to: » Seek, then play - flowplayer hangs (!?), from Anssi
Nope. Its AAC in the above example, encoded with ffmpeg (with libfaac linked during compilation)
 Stream #0.1: Audio: aac, 22050 Hz, stereo, s16 

Anssi
Flowplayer Flash & video streaming developer

Posts: 1197

Registered:
Jul 24, 2007

» » » Seek, then play - flowplayer hangs (!?)

Posted: Jan 24, 2009

Reply to: » » Seek, then play - flowplayer hangs (!?), from Joust
Yes, sorry I meant to say aac has this problem. We should test if it's always with aac or are there some encoding settings that work ok.

Joust
Dissapointed with noone to fix aac hanging bug.

Posts: 57

Registered:
Jan 23, 2009

» » » » Seek, then play - flowplayer hangs (!?)

Posted: Jan 24, 2009

Reply to: » » » Seek, then play - flowplayer hangs (!?), from Anssi
Just tested the following, but none helps:
  • AAC with high bitrate (196kbps) -
    ffmpeg -i 100.flv -s 100x100 -f flv -b 500k -acodec libfaac -ab 196k -t 00:00:30 test1-highbitrate.flv

  • AAC with no video (only audio in FLV container) -
    ffmpeg -i 100.flv -s 100x100 -f flv -vn -acodec libfaac -ab 96k -t 00:00:30 test2-novideo.flv

  • AAC with no video and force 2 channels, high rate (48k) -
    ffmpeg -i 100.flv -f flv -vn -acodec libfaac -ab 96k -ac 2 -ar 48000 -t 00:00:30 test3-highrate.flv

  • AAC in MP4 container -
    ffmpeg -i 100.flv -f mp4 -vn -acodec libfaac -ab 96k  -t 00:00:30 test4-container.mp4


Buzz
Author of 'Wordpress Flowplayer', jQuery.saiweb http://saiweb.co.uk Problems, requests? Please log a ticket at: http://trac.saiweb.co.uk

Posts: 271

Registered:
Dec 17, 2008

Keyframes

Posted: Jan 26, 2009

Reply to: » » » » Seek, then play - flowplayer hangs (!?), from Joust
Hi Joust,

Seeking requires keyframes, you can specify these with the -g option in your ffmpeg line.

For example.


ffmpeg -r 20 -g 40 -i 100.flv -s 100x100 -f flv -b 500k -acodec libfaac -ab 196k -t 00:00:30 test1-highbitrate.flv

-r sets 20fps, assuming this is the FPS desired (should match the source file fps).

-g sets the keyframe every 40 frames (every other second).

This allows you to seek within 2 seconds.

Can you please give this a try and post back?

It should solve your seeking issues.

Joust
Dissapointed with noone to fix aac hanging bug.

Posts: 57

Registered:
Jan 23, 2009

» Keyframes

Posted: Jan 27, 2009

Reply to: Keyframes, from DBusby
Oh common, it is not possible to encode video WITHOUT keyframes :) At least for the mentioned codecs. They would throw error if the keyframe distance is too high.

Not setting -g makes ffmpeg use default setting, so setting it to any value - no luck here. (test command: ffmpeg -i 100.flv -s 100x100 -f flv -b 500k -acodec libfaac -ab 96k -t 00:00:30 -g 40 -r 29.92 test5-keyframes.flv)

Not setting rate with -r makes ffmpeg use exact same rate as source video (29.92 in my test video, but I've tried several others.)

Also, keyframes are video-specific, while the problem is present even with no video stream present! (-vn take a look at my experiments above)

Buzz
Author of 'Wordpress Flowplayer', jQuery.saiweb http://saiweb.co.uk Problems, requests? Please log a ticket at: http://trac.saiweb.co.uk

Posts: 271

Registered:
Dec 17, 2008

» » Keyframes

Posted: Jan 27, 2009

Reply to: » Keyframes, from Joust
Not setting -g and -r should take the settings from the source video yes ... but sometimes I have found that not doing so screwed up my media seek, hence my mention.

That said I have a fairly 'grafted' version of ffmpeg for x64.

Joust
Dissapointed with noone to fix aac hanging bug.

Posts: 57

Registered:
Jan 23, 2009

» » » Keyframes

Posted: Jan 28, 2009

Reply to: » » Keyframes, from DBusby
I tried it nonetheless, but didn't help. It's actually funny that pure audio track (aac) hangs the player. Today I will try encoding on different (older) compilation, and under Win32 (not linux x64).

Have you taken a look at debug output from the flowplayer? I don't know it's internal architecture, so it's inconclusive for me, but you, Anssi and other fellas, should be able to narrow it. (the video is at http://www.thinkscape.pl/103.flv)

Buzz
Author of 'Wordpress Flowplayer', jQuery.saiweb http://saiweb.co.uk Problems, requests? Please log a ticket at: http://trac.saiweb.co.uk

Posts: 271

Registered:
Dec 17, 2008

» » » » Keyframes

Posted: Jan 28, 2009

Reply to: » » » Keyframes, from Joust
Grabbed a copy to my server:


Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 59.75 (239/4)
Input #0, flv, from '103.flv':
  Duration: 00:00:10.02, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: flv, yuv420p, 100x100, 59.75 tb(r)
    Stream #0.1: Audio: libfaad, 44100 Hz, stereo

Admitedly I have no idea why there would be a frame rate difference as noted in line one, much less how to fix it at this point.

I will have a look around and see if a) it is a problem b) if it is how to fix it.

Buzz
Author of 'Wordpress Flowplayer', jQuery.saiweb http://saiweb.co.uk Problems, requests? Please log a ticket at: http://trac.saiweb.co.uk

Posts: 271

Registered:
Dec 17, 2008

» » » » » Keyframes

Posted: Jan 28, 2009

Reply to: » » » » Keyframes, from DBusby
Test Recompress


ffmpeg -i 103.flv -ar 44100 -ab 92k -acodec libfaac -vcodec libx264 -sameq -s 100x100 test.flv

Gets a nice "[libx264 @ 0x7cf0180]width or height not divisible by 16 (100x100), compression will suffer.
"


Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 59.75 (239/4)
Input #0, flv, from '103.flv':
  Duration: 00:00:10.02, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: flv, yuv420p, 100x100, 59.75 tb(r)
    Stream #0.1: Audio: libfaad, 44100 Hz, stereo
Output #0, flv, to 'test.flv':
    Stream #0.0: Video: libx264, yuv420p, 100x100, q=2-31, 200 kb/s, 59.75 tb(c)
    Stream #0.1: Audio: libfaac, 44100 Hz, stereo, 92 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
[libx264 @ 0x7cf0180]width or height not divisible by 16 (100x100), compression will suffer.
[libx264 @ 0x7cf0180]using cpu capabilities: MMX MMX2 SSE SSE2 SSE3 SSSE3 Cache64
Press [q] to stop encoding
frame=  597 fps=  0 q=18.0 Lsize=     306kB time=9.99 bitrate= 250.8kbits/s    
video:176kB audio:111kB global headers:1kB muxing overhead 6.517932%
[libx264 @ 0x7cf0180]slice I:50    Avg QP:17.16  size:  2134
[libx264 @ 0x7cf0180]slice P:547   Avg QP:20.56  size:   135
[libx264 @ 0x7cf0180]mb I  I16..4: 37.9%  0.0% 62.1%
[libx264 @ 0x7cf0180]mb P  I16..4:  2.6%  0.0%  0.0%  P16..4: 13.6%  0.0%  0.0%  0.0%  0.0%    skip:83.9%
[libx264 @ 0x7cf0180]final ratefactor: -17.92
[libx264 @ 0x7cf0180]SSIM Mean Y:0.9907605
[libx264 @ 0x7cf0180]kb/s:144.4

File info:


[h264 @ 0x191aa740]brainfart cropping not supported, this could look slightly wrong ...
Input #0, flv, from 'test.flv':
  Duration: 00:00:10.10, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: h264, yuv420p, 100x100, 59.75 tb(r)
    Stream #0.1: Audio: libfaad, 44100 Hz, stereo
Must supply at least one output file

Embed examples (strait from ffmpeg no flvtools2)


ffmpeg -i 103.flv -ar 44100 -ab 92k -acodec libfaac -vcodec libx264 -sameq -s 100x100 test.flv

Flowplayer forum example

HTML setup for the player

<!-- include latest Flowplayer javascript file -->
<script language="javascript" src="path/to/flowplayer-3.2.8.js"></script>

<!-- player container with optional splash image -->
<a href="path/to/video_file" id="playerContainer">
	<img src="path/to/splash_image" />
</a>


JavaScript coding

Following script will install Flowplayer into our player container


<script language="javascript">
// our custom configuration is given in third argument
flowplayer("playerContainer", "path/tohttp://releases.flowplayer.org/swf/flowplayer-3.2.11.swf",{
clip: {
					url:'http://saiweb.co.uk/wp-content/videos/test.flv',
					autoPlay: false,
       				autoBuffering: false
				}
});
</script>


Buzz
Author of 'Wordpress Flowplayer', jQuery.saiweb http://saiweb.co.uk Problems, requests? Please log a ticket at: http://trac.saiweb.co.uk

Posts: 271

Registered:
Dec 17, 2008

» » » » » » Keyframes

Posted: Jan 28, 2009

Reply to: » » » » » Keyframes, from DBusby

ffmpeg -i 103.flv -ar 44100 -ab 92k -acodec libfaac -vcodec libx264 -sameq -s 100x100 -r 59.75 -g 120 test_keyframe.flv

Flowplayer forum example

HTML setup for the player

<!-- include latest Flowplayer javascript file -->
<script language="javascript" src="path/to/flowplayer-3.2.8.js"></script>

<!-- player container with optional splash image -->
<a href="path/to/video_file" id="playerContainer">
	<img src="path/to/splash_image" />
</a>


JavaScript coding

Following script will install Flowplayer into our player container


<script language="javascript">
// our custom configuration is given in third argument
flowplayer("playerContainer", "path/tohttp://releases.flowplayer.org/swf/flowplayer-3.2.11.swf",{
clip: {
					url:'http://saiweb.co.uk/wp-content/videos/test_keyframe.flv',
					autoPlay: false,
       				autoBuffering: false
				}
});
</script>


Buzz
Author of 'Wordpress Flowplayer', jQuery.saiweb http://saiweb.co.uk Problems, requests? Please log a ticket at: http://trac.saiweb.co.uk

Posts: 271

Registered:
Dec 17, 2008

Original

Posted: Jan 28, 2009

Reply to: » » » » » » Keyframes, from DBusby
Flowplayer forum example

HTML setup for the player

<!-- include latest Flowplayer javascript file -->
<script language="javascript" src="path/to/flowplayer-3.2.8.js"></script>

<!-- player container with optional splash image -->
<a href="path/to/video_file" id="playerContainer">
	<img src="path/to/splash_image" />
</a>


JavaScript coding

Following script will install Flowplayer into our player container


<script language="javascript">
// our custom configuration is given in third argument
flowplayer("playerContainer", "path/tohttp://releases.flowplayer.org/swf/flowplayer-3.2.11.swf",{
clip: { 
                    url:'http://saiweb.co.uk/wp-content/videos/103.flv', 
                    autoPlay: false, 
                       autoBuffering: false 
                }
});
</script>


Joust
Dissapointed with noone to fix aac hanging bug.

Posts: 57

Registered:
Jan 23, 2009

» Original

Posted: Jan 29, 2009

Reply to: Original, from DBusby
It's not a comparison, because it happens only when pre-buffering the file. Your examples above use splash image, and there is no buffering until we: a) click the image b) click play.

The bug appears when you have autobuffering on, and the clip loads itself into player, THEN you seek first, before clicking PLAY. (as described at very beginning).

Joust
Dissapointed with noone to fix aac hanging bug.

Posts: 57

Registered:
Jan 23, 2009

» » Original

Posted: Jan 31, 2009

Reply to: » Original, from Joust
New findings - old versions of ffmpeg and faac didn't support aac in flv:

>ffmpeg -y -v 1 -i 104.avi -f flv -b 500k -acodec libfaac -ab 96k -ar 22050 -t 00:00:15 test6
-win.flv
FFmpeg version Sherpya-r11050, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  libavutil version: 49.5.0
  libavcodec version: 51.48.0
  libavformat version: 51.19.0
  built on Nov 18 2007 09:00:58, gcc: 4.2.1 [Sherpya]
Input #0, avi, from '104.avi':
  Duration: 00:03:02.9, start: 0.000000, bitrate: 2731 kb/s
    Stream #0.0: Video: mpeg4, yuv420p, 712x424 [PAR 1:1 DAR 89:53], 25.00 tb(r)
    Stream #0.1: Audio: mp3, 48000 Hz, stereo, 160 kb/s
Output #0, flv, to 'test6-win.flv':
    Stream #0.0: Video: flv, yuv420p, 712x424 [PAR 1:1 DAR 89:53], q=2-31, 500 kb/s, 25.00 tb(c)
    Stream #0.1: Audio: libfaac, 22050 Hz, stereo, 96 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
[libfaac @ 00A50410]codec not compatible with flv
Could not write header for output file #0 (incorrect codec parameters ?)

Encoding on last year's ffmpeg on win32, also didn't help much:

>ffmpeg -y -v 1 -i 104.avi -f flv -b 500k -acodec libfaac -ab 96k -ar 22050 -t 00:00:15 test6
-win.flv
FFmpeg version Sherpya-r15666, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  libavutil     49.12. 0 / 49.12. 0
  libavcodec    52. 0. 0 / 52. 0. 0
  libavformat   52.22. 1 / 52.22. 1
  libavdevice   52. 1. 0 / 52. 1. 0
  libswscale     0. 6. 1 /  0. 6. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Oct 22 2008 23:37:16, gcc: 4.2.5 20080919 (prerelease) [Sherpya]
[NULL @ 03249CF0]Invalid and inefficient vfw-avi packed B frames detected
Input #0, avi, from '104.avi':
  Duration: 00:03:02.95, start: 0.000000, bitrate: 2731 kb/s
    Stream #0.0: Video: mpeg4, yuv420p, 712x424 [PAR 1:1 DAR 89:53], 25.00 tb(r)
    Stream #0.1: Audio: mp3, 48000 Hz, stereo, s16, 160 kb/s
Output #0, flv, to 'test6-win.flv':
    Stream #0.0: Video: flv, yuv420p, 712x424 [PAR 1:1 DAR 89:53], q=2-31, 500 kb/s, 25.00 tb(c)
    Stream #0.1: Audio: libfaac, 22050 Hz, stereo, s16, 96 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
[mpeg4 @ 03249CF0]Invalid and inefficient vfw-avi packed B frames detected
frame=  376 fps=119 q=31.0 Lsize=    1526kB time=15.04 bitrate= 831.4kbits/s
video:1373kB audio:142kB global headers:0.kB muxing overhead 0.768190%

Still the same "hang" happens.

Joust
Dissapointed with noone to fix aac hanging bug.

Posts: 57

Registered:
Jan 23, 2009

» » Original

Posted: Jan 31, 2009

Reply to: » Original, from Joust
I've analyzed flowplayer debug log. We click the scrubber, it seeks, the controller gets the offset and calls netStream.seek(1.3599556295063782)

LOG] time 11:18:22.149 :: org.flowplayer.controls.slider::Scrubber : dispatching drag event
[LOG] time 11:18:22.150 :: org.flowplayer.view::Flowplayer : seekRelative 8.87409872434831%, clip is [Clip] 'http://localhost/flowplayer%20bug/test6-win.flv'
[LOG] time 11:18:22.151 :: org.flowplayer.view::Flowplayer : seek to 1.3599556295063782 seconds
[LOG] time 11:18:22.152 :: org.flowplayer.controller::PlayListController : seekTo 1.3599556295063782
[LOG] time 11:18:22.153 :: org.flowplayer.model::Clip : doDispatchBeforeEvent, fireExternal false
[INFO] time 11:18:22.154 :: org.flowplayer.model::Clip : [Clip] 'http://localhost/flowplayer%20bug/test6-win.flv' dispatchEvent(), event [ClipEvent type="onSeek" info=null]
[LOG] time 11:18:22.155 :: org.flowplayer.model::EventListener : notifying listener for event [ClipEvent type="onSeek" info=null]
[INFO] time 11:18:22.156 :: org.flowplayer.model::Clip : received onBeforeClipEvent, I am commmon clip: true
[LOG] time 11:18:22.157 :: org.flowplayer.model::Clip : doDispatchBeforeEvent, fireExternal true
[INFO] time 11:18:22.158 :: org.flowplayer.model::Clip : [Clip] 'http://localhost/flowplayer%20bug/test6-win.flv' dispatchEvent(), event [ClipEvent type="onSeek" info=null]
[LOG] time 11:18:22.159 :: org.flowplayer.model::EventListener : notifying listener for event [ClipEvent type="onSeek" info=null]
[LOG] time 11:18:22.159 :: org.flowplayer.view::PlayButtonOverlayView : startBuffering()
[LOG] time 11:18:22.160 :: org.flowplayer.model::Clip : [Clip] 'http://localhost/flowplayer%20bug/test6-win.flv': dispatched before event with target [Clip] 'http://localhost/flowplayer%20bug/test6-win.flv'
[LOG] time 11:18:22.161 :: org.flowplayer.controller::PausedState : calling onEvent([ClipEventType] 'onSeek') on media controller
[LOG] time 11:18:22.162 :: org.flowplayer.controller::PlayTimeTracker : setting time to 1.3599556295063782
[INFO] time 11:18:22.163 :: org.flowplayer.controller::NetStreamControllingStreamProvider : silent mode was set to false
[LOG] time 11:18:22.164 :: org.flowplayer.controller::NetStreamControllingStreamProvider : seekTo 1.3599556295063782, previous target was 0
[LOG] time 11:18:22.164 :: org.flowplayer.controller::NetStreamControllingStreamProvider : calling netStream.seek(1.3599556295063782)
[LOG] time 11:18:22.165 :: org.flowplayer.controller::PlayTimeTracker : setting time to 1.3599556295063782
[INFO] time 11:18:22.180 :: org.flowplayer.controller::NetStreamControllingStreamProvider : _onNetStatus, code: 
[Array]
[String] NetStream.Seek.Notify

.. a then it resumes (or as it sais)

[LOG] time 11:18:23.226 :: org.flowplayer.view::Flowplayer : resume()
[LOG] time 11:18:23.227 :: org.flowplayer.controller::PausedState : resume(), changing to stage [object PlayingState]
[...]
[LOG] time 11:18:23.239 :: org.flowplayer.controller::NetStreamControllingStreamProvider : dispatching [ClipEvent type="onResume" info=null]
[...]
[INFO] time 11:18:23.274 :: org.flowplayer.controller::NetStreamControllingStreamProvider : _onNetStatus, code: 
[Array]
[String] NetStream.Buffer.Full
[...]
[INFO] time 11:18:23.290 :: org.flowplayer.view::Screen : display of clip [Clip] 'http://localhost/flowplayer%20bug/test6-win.flv' arranged to x: 0, y: 49, width: 300, height: 178
[LOG] time 11:18:23.291 :: org.flowplayer.model::EventListener : notifying listener for event [ClipEvent type="onBufferFull" info=null]
[INFO] time 11:18:23.292 :: org.flowplayer.view::VideoDisplay : init [Clip] 'http://localhost/flowplayer%20bug/test6-win.flv'

Then nothing interesting.. only these

[LOG] time 11:18:23.991 :: org.flowplayer.layout::Length : set values to [Dimension] NaNpx -- 50%

I don't get it. Any clues from this?
Full log is on:http://thinkscape.pl/flowplayer.txt

Joust
Dissapointed with noone to fix aac hanging bug.

Posts: 57

Registered:
Jan 23, 2009

» » » Original

Posted: Feb 5, 2009

Reply to: » » Original, from Joust
Oh common people. At least point me in the right direction. Could it be flowplayer related or rather Adobe Flash aac decoding (or buffering) bug?

Joust
Dissapointed with noone to fix aac hanging bug.

Posts: 57

Registered:
Jan 23, 2009

» » » » Original

Posted: Feb 16, 2009

Reply to: » » » Original, from Joust
Anyone? This is getting frustrating. If flowplayer can't do it, I'll find a better component to do the job. AAC is the recommended audio codec for MP4 container. If it's not working as it should, then you can say the whole "Flowplayer with hi-def mp4" feature is handicaped.

Liam Gooding
Custom swf skins, custom swf plugins, custom JS plugins, video CMS - http://goodingsmedia.com

Posts: 352

Registered:
Dec 16, 2008

» » » » » Original

Posted: Feb 16, 2009

Reply to: » » » » Original, from Joust
Hi Joust,

I believe Anssi is on vacation at the moment. As you may be aware, he's the chief flash developer from Flowplayer Ltd.

For the sake of testing, it would actually make perfect sense to try streaming the video in another player first. This would allow us to eliminate if the error fell in the video (encoding technique) or with Flowplayer/RTMP plugin.

If you can eliminate all the other choices, the remaining choice, no matter how improbable, is the answer.

ezran

Posts: 14

Registered:
Jan 21, 2009

» » » » » Original

Posted: Feb 24, 2009

Reply to: » » » » Original, from Joust
This is going to sound stupid, but do you still have the "scaling" setting set to "fit"? I wasn't having any trouble with seeking to various points, until I turned that setting on, and suddenly started encountering exactly the behavior you describe. (Including crashing the browser.) Turning it back off (back to default), everything works fine.

Not sure how/why it'd be related, but if that setting makes a difference for you, too, it could help track down the problem.

Joust
Dissapointed with noone to fix aac hanging bug.

Posts: 57

Registered:
Jan 23, 2009

» » » » » » Original

Posted: Feb 25, 2009

Reply to: » » » » » Original, from ezran
Just tried it. Doesn't help. Config was:


$f("fastPreview", "flowplayer-3.0.5.swf", { 
clip: {
url: 'test6-win.flv',
autoBuffering: true,
autoPlay: false
},
log:  {          
level: 'debug'  
}
});

Thanks for the clue anyway :)

Joust
Dissapointed with noone to fix aac hanging bug.

Posts: 57

Registered:
Jan 23, 2009

» » » » » » » Original

Posted: Mar 28, 2009

Reply to: » » » » » » Original, from Joust
Discussion moved to: http://flowplayer.org/forum/8/16526