[MPlayer-users] flv file has extremely bad sync

Jeremy Hansen jebrhansen at gmail.com
Thu Nov 2 16:45:12 CET 2006


I have an flv file, that has an extremely bad sync in mplayer. When
you start the video it runs fine for the first twenty seconds or so,
then the video speeds up at least double, probably more, but the audio
stays the right speed. The weird thing is there are no abnormal dumps
from the console (at least that I can tell), and gmplayer shows the
time of the video (ie the time display speeds up along with the
video). When it runs out of video, the program exits normally, without
errors.

I have svn 20606. The file plays fine with ffmpeg's ffplay r6868.

I have uploaded the file to the ftp incoming. It is listed as
family-guy-censored.flv

It seems it is using the ffmpeg decoder. I just checked and ffmpeg is
r6868 and mplayer is using r6869. When I get home from work I will
double check with the latest version of ffmpeg. Oh and this also
happened with RC1 (which is why I upgraded).

Jeremy

BTW here is my mplayer -v output.

jbhansen at therapist:/share/videos$ mplayer -v family-guy-censored.flv
MPlayer dev-SVN-r20606-3.4.6 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) M processor 1.60GHz (Family: 6, Model: 13, Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
get_path('codecs.conf') -> '/home/jbhansen/.mplayer/codecs.conf'
Reading /home/jbhansen/.mplayer/codecs.conf: Can't open
'/home/jbhansen/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open
'/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
CommandLine: '-v' 'family-guy-censored.flv'
init_freetype
get_path('font/font.desc') -> '/home/jbhansen/.mplayer/font/font.desc'
font: can't open file: /home/jbhansen/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/jbhansen/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/jbhansen/.mplayer/input.conf'
Can't open input config file /home/jbhansen/.mplayer/input.conf: No
such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No
such file or directory
Falling back on default (hardcoded) input config
get_path('family-guy-censored.flv.conf') ->
'/home/jbhansen/.mplayer/family-guy-censored.flv.conf'

Playing family-guy-censored.flv.
get_path('sub/') -> '/home/jbhansen/.mplayer/sub/'
[file] File size is 10461252 bytes
STREAM: [file] family-guy-censored.flv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
CACHE_PRE_INIT: 0 [0] 745472  pre:1043660  eof:0
Cache fill: 14.29% (745472 bytes)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename family-guy-censored.flv ext: .flv
Trying demuxer 35 based on filename extension
LAVF_check: flv format
libavformat file format detected.
==> Found audio stream: 0
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 22050
avg byte/sec: 6000
Block align: 0
bits/sample: 16
cbSize: 0
==========================================================================
==> Found video stream: 1
======= VIDEO Format ======
  biSize 41
  biWidth 500
  biHeight 375
  biPlanes 0
  biBitCount 0
  biCompression 1177964630='VP6F'
  biSizeImage 0
Unknown extra header dump: [c9]
===========================
LAVF: 1 audio and 1 video streams found
LAVF: build 3278336
VIDEO:  [VP6F]  500x375  0bpp  30.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:35  fourcc:0x46365056  size:500x375  fps:30.00  ftime:=0.0333
get_path('sub/') -> '/home/jbhansen/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x800 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X atoms
[xv common] Drawing colorkey manually.
[xv common] Using colorkey from Xv (0x0101fe).
[xv common] Maximum source image dimensions: 1440x1080
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffvp6f] vfm: ffmpeg (FFmpeg VP6 Flash decoder)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: made decode tables with MMX optimization
mp3lib: using SSE optimized decore!
MP3lib: init layer2&3 finished, tables done
MPEG 2.0, Layer III, 22050 Hz 48 kbit Joint-Stereo, BPF: 156
Channels: 2, copyright: No, original: No, CRC: No, emphasis: 0
AUDIO: 22050 Hz, 2 ch, s16le, 48.0 kbit/6.80% (ratio: 6000->88200)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Building audio filter chain for 22050Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 22050Hz/2ch/s16le
[dummy] Was reinitialized: 22050Hz/2ch/s16le
alsa-init: requested format: 22050 Hz, 2 channels, 9
alsa-init: using ALSA 1.0.11
alsa-init: setup for 1/2 channel(s)
alsa-init: using device default
alsa-init: pcm opend in blocking mode
alsa-init: chunksize set to 1024
alsa-init: fragcount=16
alsa-init: got buffersize=65536
alsa-init: got period size 1024
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy at streamminister.de>
AO: Comment: under developement
Building audio filter chain for 22050Hz/2ch/s16le -> 48000Hz/2ch/s16le...
[dummy] Was reinitialized: 22050Hz/2ch/s16le
[libaf] Adding filter lavcresample
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Starting playback...
[libaf] Reallocating memory in module lavcresample, old len = 0, new len = 65524
[ffmpeg] aspect_ratio: 0.000000
VDec: vo config request - 500 x 375 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (500x375->500x375,flags=0,'MPlayer',0x32315659)
VO: [xv] 500x375 => 500x375 Planar YV12
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
geometry set to width: -1,height: -1, xoff: 50, yoff: 50, xper: -1, yper: -1
geometry set to width: -1,height: -1, xoff: 50, yoff: 50, xper: -1, yper: -1
geometry window parameter: widw: 500, widh: 376, scrw: 1280, scrh: 800
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
Xvideo image format: 0x59565955 (UYVY) packed
using Xvideo port 73 for hw scaling
[xv] dx: 0 dy: 0 dw: 500 dh: 376
*** [vo] Exporting mp_image_t, 500x375x12bpp YUV planar, 281250 bytes
get_path('subfont.ttf') -> '/home/jbhansen/.mplayer/subfont.ttf'
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
[xv] dx: 0 dy: 0 dw: 500 dh: 376
cache_stream_seek: WARNING! Can't seek to 0x9FA044 !2%  1%  1.4% 7 0 0%
ds_fill_buffer: EOF reached (stream: video)
EOF code: 1  40.9 A-V:-36.345 ct: -8.040 2896/2896 12%  1%  1.4% 7 0 0%

Uninit audio filters...
[libaf] Removing filter lavcresample
[libaf] Removing filter dummy
Uninit audio: mp3lib
Uninit video: ffmpeg
alsa-uninit: pcm closed
vo: uninit ...

Exiting... (End of file)



More information about the MPlayer-users mailing list