[MEncoder-users] A/V synchronization problem using mencoder
Xie Bo
xiebopublic at gmail.com
Tue Mar 29 14:45:29 CEST 2005
>
> Try adding to the mencoder command '-mc 0 -noskip'.
> Might help.
>
I tried and the following is log:
----------------
mencoder -mc 0 -noskip dvd:// -of mpeg -o output.mpg -oac copy -ovc
copy -mpegopts format=dvd
MEncoder dev-CVS-050329-09:49-3.2.3 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 9)
Detected cache-line size is 64 bytes
CPUflags: Type: 8 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading disc structure, please wait...
There are 5 titles on this DVD.
There are 39 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
success: format: 0 data: 0xD7D000 - 0x73dd4800
Too many audio packets in the buffer: (4096 in 8257536 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 7500.0 kbps (937.5 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x480 fps:29.97 ftime:=0.0334
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
No accelerated IMDCT transform found
AC3: 5.1 (3f+2r+lfe) 48000 Hz 384.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
PACKET SIZE: 2048 bytes
videocodec: framecopy (720x480 24bpp fourcc=10000002)
audiocodec: framecopy (format=2000 chans=2 rate=48000 bits=16 bps=48000 sample-1
)
Writing AVI header...
Limiting audio preload to 0.4s
Increasing audio density to 4
AUDIO FRAME SIZE: 1536, DELTA_PTS: 2949120 (-35982206469911781000000000000000000
000000000000000000000000000000000000000000000000000000000.000)
Pos: 0.4s 12f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
demux_mpg: 24000/1001fps progressive NTSC content detected, switching framerate.
INITIAL DELAY of 2 frames
Pos: 690.3s 20689f (37%) 69fps Trem: 8min 1410mb A-V:0.000 [7235:384]
Too many audio packets in the buffer: (4096 in 8257536 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
Too many audio packets in the buffer: (4096 in 8257536 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
Too many audio packets in the buffer: (4096 in 8257536 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
Too many audio packets in the buffer: (4096 in 8257536 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
Too many audio packets in the buffer: (4096 in 8257536 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
Too many audio packets in the buffer: (4096 in 8257536 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
Writing AVI index...
Overhead: 1.686% (9181844 / 544570732)
Fixing AVI header...
Video stream: 7235.681 kbit/s (904460 bps) size: 624370176 bytes 690.324 secs
20689 frames
Audio stream: 384.000 kbit/s (48000 bps) size: 33156000 bytes 690.750 secs
-----------------
I also tried -ni option,but the result is the same. I mean my DVD has more than 7000 seconds, but mencoder can only transcoder 690 seconds and pop up "Too many audio packets in the buffer" error.
Best Regards,
Xie Bo
More information about the MEncoder-users
mailing list