[MPlayer-users] audio video unsynchronized
Mariusz Woloszyn
emsi at ipartners.pl
Tue Jul 23 15:55:02 CEST 2002
On Tue, 23 Jul 2002, Glyn wrote:
> :~# mplayer -v (all your own options) moviefilename
>
> Then you should get a lot more output than above.
>
Lame on me, huh?? ;)
The one below reports:
"WARNING! Your soundcard does NOT support 48000 Hz samplerate!"
but I expirenced the same problem on another computer (I mentioned
before), I attached -v output from the other computer also (in plik file).
root at emsi(chroot):~/FILMY/solaris# ~emsi/cvs/main/mplayer -v
Solyaris.1972.CD1.DVDivX-SChiZO.avi -vo sdl
MPlayer CVS-020723-14:03-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)
CPU: Intel Pentium 4 Xeon Foster (Family: 8, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Reading /root/.mplayer/codecs.conf: 36 audio & 103 video codecs
CommandLine: '-v' 'Solyaris.1972.CD1.DVDivX-SChiZO.avi' '-vo' 'sdl'
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
Font /root/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Linux RTC init error: No such device
Using usleep() timing
get_path('input.conf') -> '/root/.mplayer/input.conf'
Can't open input config file /root/.mplayer/input.conf : No such file or
directory
Can't open input config file /usr/local/share/mplayer/input.conf : No such
file or directory
Falling back on default (hardcoded) input config
Playing Solyaris.1972.CD1.DVDivX-SChiZO.avi
Not an URL!
File size is 728342528 bytes
Detected AVI file format!
list_end=0x2292
======= AVI Header =======
us/frame: 40000 (fps=25.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames total: 113719 initial: 0
streams: 2
Suggested BufferSize: 0
Size: 608 x 272
list_end=0x10F4
==> Found video stream: 0
======= STREAM Header =======
Type: vids FCC: div3 (33766964)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 25000/1000 = 25.000
Start: 0 Len: 113719
Suggested BufferSize: 54302
Quality 10000
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
biSize 40
biWidth 608
biHeight 272
biPlanes 1
biBitCount 24
biCompression 861292868='DIV3'
biSizeImage 496128
===========================
Regenerating keyframe table for DIVX 3 video
list_end=0x2186
==> 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: 189451
Suggested BufferSize: 23040
Quality -1
Sample size: 0
found 'wf', 30 bytes of 20
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 15102
Block align: 1152
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=362
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
list_end=0x2292
list_end=0x232A
hdr=Software size=15
Software : Nandub v1.0rc2
hdr=Name size=21
Name : Solyaris --- Solaris
hdr=Subject size=21
Subject : Solyaris --- Solaris
hdr=Artist size=28
Artist : Andrei Tarkovsky --- SChiZO
hdr=Copyright size=1
Copyright :
hdr=Comments size=1
Comments :
Broken chunk? chunksize=1230 (id=JUNK)
list_end=0x2B1FA1EE
Found movie at 0x280C - 0x2B1FA1EE
Reading INDEX block, 303046 chunks for 113719 frames
Broken chunk? chunksize=0 (id=idx1)
Reading INDEX block, 303046 chunks for 113719 frames
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x5A0C)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video length=720869295
VIDEO: [DIV3] 608x272 24bpp 25.00 fps 1267.8 kbps (154.8 kbyte/s)
[V] filefmt:3 fourcc:0x33564944 size:608x272 fps:25.00 ftime:=0.0400
Clip info:
Software: Nandub v1.0rc2
Name: Solyaris --- Solaris
Subject: Solyaris --- Solaris
Artist: Andrei Tarkovsky --- SChiZO
Copyright:
Comments:
get_path('sub/') -> '/root/.mplayer/sub/'
SUB: Detected sub file: Solyaris.1972.CD1.DVDivX-SChiZO.srt
SUB: Detected subtitle file format: subviewer
SUB: Read 460 subtitles.
Detected audio codec: [mp3] afm:1 (mp3lib MPEG layer-2, layer-3)
Initializing audio codec...
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
init layer2&3 finished, tables done
mp3lib: using MMX optimized decore!
XXX initial v_pts=0.000 a_pos=23040 (1.526)
MPEG 1.0, Layer III, 48000 Hz 32 kbit Joint-Stereo, BPF: 96
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 48000 Hz, 2 ch, sfmt: 0x10 (2 bps), ratio: 4000->192000 (32.0 kbit)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec: CPU flags: mmx mmxext sse sse2
INFO: libavcodec init OK!
Detected video codec: [ffdivx] vfm:5 (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
ao2: 48000 Hz 2 chans Signed 16-bit (Little-Endian)
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 2 channels (requested: 2)
audio_setup: using 47840 Hz samplerate (requested: 48000)
WARNING! Your soundcard does NOT support 48000 Hz samplerate! A-V sync
problems or wrong speed are possible! Try with '-aop
list=resample:fout=47840'
audio_setup: frags: 3/4 (16384 bytes/frag) free: 63488
Start playing...
VDec: vo config request - 608 x 272 (preferred csp: Planar YV12)
vo_debug: query(Planar YV12) returned 0x437 (i=0)
Movie-Aspect is undefined - no prescaling applied.
video_out->init(608x272->608x272,flags=0,'MPlayer',0x32315659)
VO: [sdl] 608x272 => 608x272 Planar YV12
VO: Description: SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
VO: Author: Ryan C. Gordon <icculus at lokigames.com>, Felix Buenemann
<atmosfear at users.sourceforge.net>
SDL: Using 0x32315659 (Planar YV12) image format
SDL: deactivating XScreensaver/DPMS
SDL: X11 Resolution 1024x768
SDL: Using driver: x11
SDL: using hardware-surface
SDL: setting windowed mode
*** [vo] Allocating mp_image_t, 608x272x12bpp YUV planar, 248064 bytes
*** [vo] Allocating mp_image_t, 608x272x12bpp YUV planar, 248064 bytes%
SDL: activating XScreensaver/DPMS 0.108 28/ 28 72% 5% 0.7% 3 0 0%%
vo: x11 uninit called but X11 not inited..
--
Mariusz Wołoszyn
Internet Security Specialist, Internet Partners
-------------- next part --------------
MPlayer CVS-020322-23:37-2.95.2 (C) 2000-2002 Arpad Gereoffy (see DOCS!)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
CPU vendor name: GenuineIntel max cpuid level: 2
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Type: 6, Stepping: 3)
Testing OS support for SSE... yes.
Testing OS support for SSE unmasked exceptions... yes.
Tests of OS support for SSE passed.
Compiled with RUNTIME CPU Detection - warning, it's not optimal! To get best performance, recompile mplayer from sources with --disable-runtime-cpudetection
CommandLine:Reading /root/.mplayer/codecs.conf: 30 audio & 81 video codecs
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
'-v' 'Solyaris.1972.CD1.DVDivX-SChiZO.avi' '-vo' 'sdl'
Linux RTC init error: No such device
Using usleep() timing
Font /root/.mplayer/font/font.desc loaded successfully! (206 chars)
get_path('input.conf') -> '/root/.mplayer/input.conf'
Can't open input config file /root/.mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) config
Playing Solyaris.1972.CD1.DVDivX-SChiZO.avi
File size is 728342528 bytes
Not an URL!
Detected AVI file format!
==> Found video stream: 0
list_end=0x2292
======= AVI Header =======
us/frame: 40000 (fps=25.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames total: 113719 initial: 0
streams: 2
Suggested BufferSize: 0
Size: 608 x 272
list_end=0x10F4
found 'bih', 40 bytes of 40
======= STREAM Header =======
Type: vids FCC: div3 (33766964)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 25000/1000 = 25.000
Start: 0 Len: 113719
Suggested BufferSize: 54302
Quality 10000
Sample size: 0
Regenerating keyframe table for DIVX 3 video
======= VIDEO Format ======
biSize 40
biWidth 608
biHeight 272
biPlanes 1
biBitCount 24
biCompression 861292868='DIV3'
biSizeImage 496128
===========================
==> Found audio stream: 1
list_end=0x2186
found 'wf', 30 bytes of 20
======= STREAM Header =======
Type: auds FCC: (0)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 1
Rate: 48000/1152 = 41.667
Start: 0 Len: 189451
Suggested BufferSize: 23040
Quality -1
Sample size: 0
Software : Nandub v1.0rc2
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 15102
Block align: 1152
bits/sample: 0
cbSize: 12
list_end=0x2292
list_end=0x232A
hdr=Software size=15
Name : Solyaris --- Solaris
hdr=Name size=21
Subject : Solyaris --- Solaris
hdr=Subject size=21
Artist : Andrei Tarkovsky --- SChiZO
hdr=Artist size=28
Copyright :
hdr=Copyright size=1
Comments :
hdr=Comments size=1
Broken chunk? chunksize=1230 (id=JUNK)
Found movie at 0x280C - 0x2B1FA1EE
list_end=0x2B1FA1EE
Reading INDEX block, 303046 chunks for 113719 frames
Broken chunk? chunksize=0 (id=idx1)
Reading INDEX block, 303046 chunks for 113719 frames
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x5A0C)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video length=720869295
VIDEO: [DIV3] 608x272 24bpp 25.00 fps 1267.8 kbps (154.8 kbyte/s)
[V] filefmt:3 fourcc:0x33564944 size:608x272 fps:25.00 ftime:=0.0400
Clip info:
Software: Nandub v1.0rc2
Name: Solyaris --- Solaris
Subject: Solyaris --- Solaris
Artist: Andrei Tarkovsky --- SChiZO
Copyright:
Comments:
get_path('sub/') -> '/root/.mplayer/sub/'
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
SUB: Detected sub file: Solyaris.1972.CD1.DVDivX-SChiZO.srt
SUB: Detected subtitle file format: subviewer
SUB: Read 460 subtitles.
Initializing audio codec...
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
XXX initial v_pts=0.000 a_pos=23040 (1.526)
CPU vendor name: GenuineIntel max cpuid level: 2
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Type: 6, Stepping: 3)
Testing OS support for SSE... yes.
Testing OS support for SSE unmasked exceptions... yes.
Tests of OS support for SSE passed.
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using MMX optimized decore!
AUDIO: srate=48000 chans=2 bps=2 sfmt=0x10 ratio: 4000->192000
MPEG 1.0, Layer III, 48000 Hz 32 kbit Joint-Stereo, BPF: 96
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
==========================================================================
get_path('registry') -> '/root/.mplayer/registry'
Opening Video Decoder: [dshow] DirectShow video codecs
fs seg 0x4002b000
Loading DLL: 'divx_c32.ax'
VDec: vo config request - 608 x 272, Packed YUY2
Using DirectShow codec: divx_c32.ax
Decoder is capable of YUV output ( flags 0x9)
Movie-Aspect is undefined - no prescaling applied.
VO: [sdl] 608x272 => 608x272 Packed YUY2
VO: Description: SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
VO: Author: Ryan C. Gordon <icculus at lokigames.com>, Felix Buenemann <atmosfear at users.sourceforge.net>
video_out->init(608x272->608x272,flags=0,'MPlayer',0x32595559)
INFO: Win32/DShow video codec init OK!
SDL: Using 0x32595559 (Packed YUY2) image format
SDL: Using driver: fbcon
SDL: using hardware-surface
SDL: setting zoomed fullscreen with modeswitching
Detected video codec: [divxds] drv:4 prio:0 (DivX ;-) (MS MPEG-4 v3))
==========================================================================
AO: [oss] 48000Hz Stereo Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Start playing...
ao2: 48000 Hz 2 chans Signed 16-bit (Little-Endian)
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 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags: 64/64 (1024 bytes/frag) free: 65536
*** Direct Rendering mp_image_t, 608x272x16bpp YUV packed, 330752 bytes
A: 3.9 V: 0.0 A-V: 3.889 ct: 0.000 1/ 1 0% 0% 0.0% 0 0 0%
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
A: 3.9 V: 0.0 A-V: 3.880 ct: 0.004 2/ 2 0% 0% 0.0% 0 0 0%
A: 4.0 V: 0.1 A-V: 3.876 ct: 0.008 3/ 3 0% 0% 0.0% 0 0 0%
A: 4.0 V: 0.1 A-V: 3.876 ct: 0.012 4/ 4 0% 0% 0.0% 0 0 0%
A: 4.0 V: 0.2 A-V: 3.867 ct: 0.016 5/ 5 0% 0% 0.0% 0 0 0%
A: 4.1 V: 0.2 A-V: 3.866 ct: 0.020 6/ 6 0% 0% 0.0% 0 0 0%
A: 4.1 V: 0.2 A-V: 3.866 ct: 0.024 7/ 7 0% 0% 0.0% 0 0 0%
A: 4.1 V: 0.3 A-V: 3.856 ct: 0.028 8/ 8 0% 0% 0.0% 0 0 0%
A: 4.2 V: 0.3 A-V: 3.856 ct: 0.032 9/ 9 0% 0% 0.0% 0 0 0%
A: 4.2 V: 0.4 A-V: 3.845 ct: 0.036 10/ 10 0% 0% 0.0% 0 0 0%
A: 4.2 V: 0.4 A-V: 3.846 ct: 0.040 11/ 11 0% 0% 0.0% 0 0 0%
Exiting... (Quit)
*** free_stream() called ***
More information about the MPlayer-users
mailing list