[MPlayer-users] .flv file plays way too fast in mplayer

Paul paul14075 at gmail.com
Sat Aug 25 01:34:23 CEST 2007


I have an .flv file that plays at the wrong framerate.  The audio
plays at the correct speed, but the video appears to play at 44.197
fps which is way too fast.  As a result the video which should be
6:02, ends up playing way too fast and stops after 1:20.  Using
-correct-pts makes it play correctly, but I still can't encode it with
mencoder.  I'm using FC7 with the newest livna mplayer rpm.

Another user in the IRC channel claims that this file played just fine
in his version of mplayer (MPlayer 1.0rc1-3.4.6 (C) 2000-2006 MPlayer
Team).  Most of my .flv's play correctly.  Only some have this
problem.  I just uploaded the file (playsAt44.197FpsShouldBe15.flv) to
ftp://upload.mplayerhq.hu/MPlayer/incoming/


[paul at localhost ~]$ mplayer -v test.flv
MPlayer SVN-r23784 rpm.livna.org (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) M processor 1.70GHz (Family: 6, Model: 13, Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
get_path('codecs.conf') -> '/home/paul/.mplayer/codecs.conf'
Reading /home/paul/.mplayer/codecs.conf: Can't open
'/home/paul/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open
'/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: --prefix=/usr --bindir=/usr/bin
--datadir=/usr/share/mplayer --mandir=/usr/share/man
--confdir=/etc/mplayer --libdir=/usr/lib --codecsdir=/usr/lib/codecs
--disable-encoder=FAAC --disable-encoder=MP3LAME
--disable-encoder=X264 --enable-largefiles --disable-termcap
--disable-bitmap-font --enable-lirc --enable-joystick --disable-smb
--disable-dvdread-internal --disable-libdvdcss-internal --enable-menu
--disable-faad-internal --disable-tremor-internal --disable-libamr_nb
--disable-libamr_wb --disable-mad --disable-svga --enable-xvmc
--disable-directfb --disable-svga --disable-arts --disable-esd
--disable-jack --disable-openal --enable-runtime-cpudetection
--target=i386-linux --language=all --with-xvmclib=XvMCW
CommandLine: '-v' 'test.flv'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/paul/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/paul/.mplayer/input.conf'
Can't open input config file /home/paul/.mplayer/input.conf: No such
file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 71 binds
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
get_path('test.flv.conf') -> '/home/paul/.mplayer/test.flv.conf'

Playing test.flv.
get_path('sub/') -> '/home/paul/.mplayer/sub/'
[file] File size is 14568148 bytes
STREAM: [file] test.flv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename test.flv ext: .flv
LAVF_check: flv format
libavformat file format detected.
==> Found video stream: 0
[lavf] Video stream found, -vid 0
======= VIDEO Format ======
  biSize 40
  biWidth 320
  biHeight 240
  biPlanes 0
  biBitCount 0
  biCompression 827739206='FLV1'
  biSizeImage 0
===========================
==> Found audio stream: 1
[lavf] Audio stream found, -aid 1
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 1
Samplerate: 22050
avg byte/sec: 7000
Block align: 1
bits/sample: 16
cbSize: 0
==========================================================================
LAVF: 1 audio and 1 video streams found
LAVF: build 3345409
VIDEO:  [FLV1]  320x240  0bpp  44.917 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:44  fourcc:0x31564C46  size:320x240  fps:44.92  ftime:=0.0223
get_path('sub/') -> '/home/paul/.mplayer/sub/'
X11 opening display: :0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1152x864 with depth 24 and 32 bpp (":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
Disabling DPMS
DPMSDisable stat: 1
[xv common] Drawing colorkey manually.
[xv common] Using colorkey from Xv (0x00001e).
[xv common] Maximum source image dimensions: 2048x2048
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffflv] vfm: ffmpeg (FFmpeg Flash video)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: using SSE optimized decore!
MP3lib: init layer2&3 finished, tables done
MPEG 2.0, Layer III, 22050 Hz 32 kbit Single-Channel, BPF: 104
Channels: 1, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 22050 Hz, 2 ch, s16le, 32.0 kbit/4.54% (ratio: 4000->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.14
alsa-init: setup for 1/2 channel(s)
alsa-init: using device default
alsa-init: pcm opened 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 - 320 x 240 (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 (320x240->320x240,flags=0,'MPlayer',0x32315659)
VO: [xv] 320x240 => 320x240 Planar YV12
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x41424752 (RGBA) packed
Xvideo image format: 0x0 (    ) packed
Xvideo image format: 0x54424752 (RGBT) packed
Xvideo image format: 0x32424752 (RGB2) packed
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 73 for hw scaling
[xv] dx: 0 dy: 0 dw: 320 dh: 240
*** [vo] Allocating (slices) mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
Unicode font: 4430 glyphs.
[xv] dx: 0 dy: 0 dw: 320 dh: 240
*** [vo] Allocating (slices) mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
A:  35.5 V:  96.7 A-V:-61.200 ct: -3.220 1448/1448  5%  0%  2.6% 0 0
  =====  PAUSE  =====


Note the A: 35.5 , and V: 96.7 after I paused it.

Thanks



More information about the MPlayer-users mailing list