<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
