BUGREPORT - Re: [MPlayer-users] mencoder audio-video async (skew)
Ferenc Kubinszky
ferenc.kubinszky at wit.mht.bme.hu
Thu Jan 2 14:04:15 CET 2003
Hello,
System Information
Debian Linux SID (2002. december)
Kernel 2.4.20
libc-2.3.1
XFree86 Version 4.2.1.1
gcc 2.95.4
GNU ld version 2.13.90.0.16 20021126 Debian GNU/Linux
GNU assembler 2.13.90.0.16 20021126 Debian GNU/Linux
Hardware & drivers
AMD Duron 1300, stepping 1, 64 kB cache,
fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
ATI Rage 128 PF/PRO AGP 4x TMDS
X builtin driver
Creative Labs SB Live!
I use CVS snapshot 20030101 (dec 26 too), with 0.90rc2's libavcodec.
I have attached BUGREPORT.lspci, mplayer output of two samples and my
encoder script.
I have tried -oac copy and mp3lame in the first step too, the result is
the same...
1) Kiler.avi 1:43:32
First I tried to "repair" this movie. Originally it is interlaced, so I
used "-vop pp=lb". The original avi isn't seamless, it seems there are
some dropped frames (?).
After re-encoding the picture will be OK (no interleaving), but the sound
lags behind video. The delay increasing quickly from (almost) 0 to some
(6-8) seconds in an hour.
2) Wallace & Gromit - A Close Shave.avi 30:04 (30:03 after re-encoding)
This movie is perfect, just for testing...
After re-encoding the sound suffers some delay and skew too:
at 1 min the delay is 200ms
at 26 min it is 800ms
It is hard to measure much more precisely...
3) Recording from v4l (PCTV PRO)
With 2.4.20's bttv driver (not the newest, but OK)
DSP source is my SB Live. OK, it should be PCTV's dsp source, but I can't
make it work...
at 25 min ~10 sec
at 115min ~40 sec
Recording with nvrec (divxrec, divx4rec, fmpegrec) is OK.
I can give you all used files after 6th if you need them. I've a 100Mbit
Internet connection at the university...
Is this report detailed enough, or some more needed ?
Best regards,
Kubi
-------------- next part --------------
#!/bin/bash
VCDTRACK=2
DEVICE=/dev/cdroms/cdrom0
VOP="-vop pp=lb"
LAMEOPTS="-lameopts vbr=3:br=128"
AVCOPTS1="-lavcopts vcodec=mpeg4:vpass=1:vbitrate="
AVCOPTS2="-lavcopts vcodec=mpeg4:vpass=2:vbitrate="
#SOURCE="-vcd $VCDTRACK -cdrom-device $DEVICE"
SOURCE="Kiler.avi"
mencoder $SOURCE -ovc frameno -oac mp3lame $LAMEOPTS -o frameno.avi
echo Enter bitrate:
#rate=800
read rate
AVCOPTS1=$AVCOPTS1$rate
mencoder $SOURCE -oac copy $VOP -ovc lavc $AVCOPTS1 -o movie.avi
echo
echo 2nd pass... Enter to continue, ^C to exit
read i
AVCOPTS2=$AVCOPTS2$rate
mencoder $SOURCE -oac copy $VOP -ovc lavc $AVCOPTS2 -o movie.avi
-------------- next part --------------
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/mplayer-20030101/share/locale
MPlayer CVS-030101-05:00-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS)
CPU: Advanced Micro Devices Duron MG Morgan (Family: 6, Stepping: 1)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
Reading config file /usr/local/mplayer-20030101/etc/mplayer/mplayer.confReading config file /mnt/local/home/kubi/.mplayer/config
Reading config file /home/gabucino/.mplayer/i_did_not_RTFM_carefully_enough...Reading /mnt/local/home/kubi/.mplayer/codecs.conf: 49 audio & 125 video codecs
Font /mnt/local/home/kubi/.mplayer/font/font.desc loaded successfully! (495 chars)
Using usleep() timing
Input config file /mnt/local/home/kubi/.mplayer/input.conf parsed : 56 binds
Setting up LIRC support...
Playing Wallace & Gromit - A Close Shave.avi
Cache fill: 0.00% (0 bytes) AVI file format detected.
VIDEO: [DIV3] 624x480 24bpp 23.98 fps 750.8 kbps (91.6 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 16000->192000 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1280x1024 with depth 16 and 16 bpp (":0.0" => local display)
Disabling DPMS
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Start playing...
VDec: vo config request - 624 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 624x480 => 624x480 Planar YV12
-------------- next part --------------
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/mplayer-20030101/share/locale
MPlayer CVS-030101-05:00-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS)
CPU: Advanced Micro Devices Duron MG Morgan (Family: 6, Stepping: 1)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
Reading config file /usr/local/mplayer-20030101/etc/mplayer/mplayer.confReading config file /mnt/local/home/kubi/.mplayer/config
Reading config file /home/gabucino/.mplayer/i_did_not_RTFM_carefully_enough...Reading /mnt/local/home/kubi/.mplayer/codecs.conf: 49 audio & 125 video codecs
Font /mnt/local/home/kubi/.mplayer/font/font.desc loaded successfully! (495 chars)
Using usleep() timing
Input config file /mnt/local/home/kubi/.mplayer/input.conf parsed : 56 binds
Setting up LIRC support...
Playing Kiler.avi
Cache fill: 0.00% (0 bytes) AVI file format detected.
VIDEO: [DIV3] 640x432 24bpp 25.00 fps 733.8 kbps (89.6 kbyte/s)
SUB: Detected sub file: Kiler.sub
SUB: Detected subtitle file format: microdvd
SUB: Read 1046 subtitles.
SUB: Adjusted 35 subtitle(s).
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 16000->176400 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1280x1024 with depth 16 and 16 bpp (":0.0" => local display)
Disabling DPMS
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Start playing...
VDec: vo config request - 640 x 432 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x432 => 640x432 Planar YV12
-------------- next part --------------
00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 02)
Subsystem: ABIT Computer Corp. KT7/KT7-RAID/KT7A/KT7A-RAID Mainboard
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
Latency: 8
Region 0: Memory at e0000000 (32-bit, prefetchable) [size=64M]
Capabilities: <available only to root>
00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP] (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
Latency: 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00009000-00009fff
Memory behind bridge: e8000000-e9ffffff
Prefetchable memory behind bridge: e4000000-e7ffffff
BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B-
Capabilities: <available only to root>
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 22)
Subsystem: ABIT Computer Corp.: Unknown device 0000
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
00:07.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 10) (prog-if 8a [Master SecP PriP])
Subsystem: VIA Technologies, Inc. Bus Master IDE
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32
Region 4: I/O ports at a000 [size=16]
Capabilities: <available only to root>
00:07.2 USB Controller: VIA Technologies, Inc. USB (rev 10) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32, cache line size 08
Interrupt: pin D routed to IRQ 10
Region 4: I/O ports at a400 [size=32]
Capabilities: <available only to root>
00:07.3 USB Controller: VIA Technologies, Inc. USB (rev 10) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32, cache line size 08
Interrupt: pin D routed to IRQ 10
Region 4: I/O ports at a800 [size=32]
Capabilities: <available only to root>
00:07.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 30)
Subsystem: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI]
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin ? routed to IRQ 11
Capabilities: <available only to root>
00:09.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
Subsystem: Pinnacle Systems Inc.: Unknown device 0012
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (4000ns min, 10000ns max)
Interrupt: pin A routed to IRQ 11
Region 0: Memory at ea101000 (32-bit, prefetchable) [size=4K]
Capabilities: <available only to root>
00:09.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
Subsystem: Pinnacle Systems Inc.: Unknown device 0012
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (1000ns min, 63750ns max)
Interrupt: pin A routed to IRQ 11
Region 0: Memory at ea100000 (32-bit, prefetchable) [size=4K]
Capabilities: <available only to root>
00:0b.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
Subsystem: Creative Labs CT4830 SBLive! Value
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (500ns min, 5000ns max)
Interrupt: pin A routed to IRQ 10
Region 0: I/O ports at ac00 [size=32]
Capabilities: <available only to root>
00:0b.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 07)
Subsystem: Creative Labs Gameport Joystick
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32
Region 0: I/O ports at b000 [size=8]
Capabilities: <available only to root>
00:0d.0 Multimedia controller: Sigma Designs, Inc. REALmagic Hollywood Plus DVD Decoder (rev 02)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32
Interrupt: pin A routed to IRQ 9
Region 0: Memory at ea000000 (32-bit, non-prefetchable) [size=1M]
Capabilities: <available only to root>
00:0f.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 01)
Subsystem: SCM Microsystems: Unknown device 3000
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32, cache line size 08
Interrupt: pin A routed to IRQ 9
Region 0: Memory at ea102000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
Memory window 0: ea103000-ea104000 (prefetchable)
Memory window 1: ea105000-ea106000 (prefetchable)
I/O window 0: 0000b400-0000b803
I/O window 1: 0000bc00-0000c003
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt- PostWrite-
16-bit legacy interface ports at 0001
01:00.0 VGA compatible controller: ATI Technologies Inc Rage 128 PF/PRO AGP 4x TMDS (prog-if 00 [VGA])
Subsystem: ATI Technologies Inc: Unknown device 0404
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (2000ns min), cache line size 08
Interrupt: pin A routed to IRQ 0
Region 0: Memory at e4000000 (32-bit, prefetchable) [size=64M]
Region 1: I/O ports at 9000 [size=256]
Region 2: Memory at e9000000 (32-bit, non-prefetchable) [size=16K]
Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: <available only to root>
More information about the MPlayer-users
mailing list