[MPlayer-users] Fastforward : sound 3 times as fast as video

Arpi arpi at thot.banki.hu
Sat Oct 27 16:25:26 CEST 2001


Hi,

It doesn't happen for us. I'm suer you have a broken file, with bad header
or interleaving, so the seeking code fail to keep a-b synced.
Upload that file to ftp, i'll check.

> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html &
>  http://gcc.gnu.org/gcc-2.96.html if you still have questions or problems]
> 
> I 'm using the latest version of mplayer and it's mostly great.  If i 
> let it play normaly
> sound is almost in sync with the video. But using the keys to 
> fastforward apparently
> has the behaviour of fowarding the sound 3 times as fast as the video . 
> Example
> tthe video i get at 0:20 sec is realy the video is should get  at 0:20 
> sec . The audio I get
> is the one which matches 0:60 sec.  Any idea's or debugcode I could try 
> to enable ?
> 
> Joris
> 
> P.s 1) I realy did rtfm & rtff  , played around withoptions like  
>  -bps,-nobps,-idx, -mc 0 ,...
> but they didn't seem to correct the problem.
> 2 ) I added a dump of the standard  startup, in case something very 
> obvious might be
> the headers.
> 
> 
> MPlayer CVS-011027-06:00(C) 2000-2001 Arpad Gereoffy (see DOCS!)
> 
> CPU vendor name: GenuineIntel  max cpuid level: 2
> CPU: Intel Celeron Covington/Pentium II Deschutes,Tonga/Pentium II Xeon
> CPUflags: Type: 6 MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
> Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf':
> No such file or directory
> Reading /usr/local/share/mplayer/codecs.conf: 18 audio & 40 video codecs
> CommandLine: '-v' '/mnt/cdrom/shrek.avi'
> num_filenames: 1
> font: can't open file: /root/.mplayer/font/font.desc
> Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206
> chars)
> Playing /mnt/cdrom/shrek.avi
> File size is 730337280 bytes
> Detected AVI file format!
> ======= AVI Header =======
> us/frame: 41708  (fps=23.976)
> max bytes/sec: 0
> padding: 0
> MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
> frames  total: 125611   initial: 0
> streams: 2
> Suggested BufferSize: 0
> Size:  512 x 384
> ==> Found video stream: 0
> ======= STREAM Header =======
> Type: vids   FCC: div3 (33766964)
> Flags: 0
> Priority: 0   Language: 0
> InitialFrames: 0
> Rate: 23976/1000 = 23.976
> Start: 0   Len: 125611
> Suggested BufferSize: 70986
> Quality 10000
> Sample size: 0
> found 'bih', 40 bytes of 40
> ======= VIDEO Format ======
>   biSize 40
>   biWidth 512
>   biHeight 384
>   biPlanes 1
>   biBitCount 24
>   biCompression 861292868='DIV3'
>   biSizeImage 589824
> ===========================
> ==> Found audio stream: 1
> ======= STREAM Header =======
> Type: auds   FCC:  (0)
> Flags: 0
> Priority: 0   Language: 0
> InitialFrames: 1
> Rate: 48000/1152 = 41.667
> Start: 0   Len: 72759
> Suggested BufferSize: 6912
> Quality -1
> Sample size: 1152
> found 'wf', 30 bytes of 20
> ======= WAVE Format =======
> Format Tag: 85 (0x55)
> Channels: 2
> Samplerate: 48000
> avg byte/sec: 15999
> Block align: 1152
> bits/sample: 0
> cbSize: 12
> Found movie at 0x280C - 0x2B579A50
> Reading INDEX block, 198365 chunks for 125611 frames
> AVI index offset: 10248
> Auto-selected AVI audio ID = 1
> Auto-selected AVI video ID = 0
> AVI: Searching for audio stream (id:1)
> AVI video length=725491493
> VIDEO:  [DIV3]  512x384  24bpp  23.98 fps  1107.8 kbps (135.2 kbyte/s)
> [V] filefmt:3  fourcc:0x33564944  size:512x384  fps:23.98  ftime:=0.0417
> Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
> Initializing audio codec...
> dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
> mp3lib: Processor ID: 651
> mp3lib: Using Pentium-MMX optimized decore.
> AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 16000->192000
> Detected video codec: [divxds] drv:4 (DivX ;-) (MS MPEG-4 v3))
> Loading DLL: 'divx_c32.ax'
> Using DirectShow codec: divx_c32.ax
> Decoder is capable of YUV output ( flags 0x1 )
> m_bIsDivX=1
> INFO: Win32/DShow video codec init OK!
> Movie-Aspect is undefined - no prescaling applied.
> VO: [xv] 512x384 => 512x384 Packed YUY2 fs vm
> VO: Description: X11/Xv
> VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de>
> video_out->init(512x384->512x384,flags=3,'MPlayer',0x32595559)
> vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
> vo: X11 running at 1400x1050 with depth 24 and 32 bits/pixel (":0" => local
> display)
> Xvideo image format: 0x32595559 (YUY2) packed
> Xvideo image format: 0x32315659 (YV12) planar
> Xvideo image format: 0x59565955 (UYVY) packed
> Xvideo image format: 0x30323449 (I420) planar
> using Xvideo port 52 for hw scaling
> [xv] dcx: 0 dcy: 0 dx: 0 dy: 0 dw: 1400 dh: 1050
> [xv-fs] dcx: 0 dcy: 0 dx: 0 dy: 0 dw: 1400 dh: 1050
> INFO: Video OUT driver init OK!
> AO: [oss] 48000Hz Stereo Signed 16-bit (Little-Endian)
> AO: Description: OSS/ioctl audio output
> AO: Author: A'rpi
> audio_setup: using '/dev/dsp' dsp device
> audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed
> 16-bit (Little-Endian))
> audio_setup: using 44100 Hz samplerate (requested: 48000)
> audio_setup: frags:  16/16  (4096 bytes/frag)  free:  65536
> Start playing...
> XXX initial  v_pts=0.042  a_pos=6912 (0.432) /  2   0%  0%  0.0% 0 0 0%
> 
> 
> _______________________________________________
> RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
> 
> 


A'rpi / Astral & ESP-team

--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu



More information about the MPlayer-users mailing list