[MEncoder-users] How to get good audio/video synchronization coding to stationary player ?

Seweryn Walentynowicz seweryn at walor.torun.pl
Sun May 27 21:05:53 CEST 2007


 I want to reencode movie material coded with Nullsoft Streaming Video
codec to use this on stationary DivX player ( Manta Emperor 007 ). 
I'm doing that:

mencoder -oac pcm -ovc lavc -o file.avi file.nsv

Result works fine, when played on my computer with mplayer, but on
stationary player synch of A/V are dramattically broken.
 Because of "duplicate frame(s)" messages I try -noskip option

mencoder -noskip -oac pcm -ovc lavc -o file.avi file.nsv

and now synchro of A/V is broken on both DivX player and mplayer too.
 How should I to do this properly ?

Some output:

MEncoder dev-SVN-r23373-4.1.1 (C) 2000-2007 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6,
Model: 8, St
epping: 6)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

success: format: 0  data: 0x0 - 0x2eca8000
Nullsoft Streaming Video file format detected.
VIDEO:  [VP31]  320x240  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:36  fourcc:0x31335056  size:320x240  fps:25.00
ftime:=0.0400
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio)
decoder)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffvp3] vfm: ffmpeg (FFmpeg VP3)
==========================================================================
VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (320x240 fourcc=34504d46 [FMP4])
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header.
Pos:   0.0s      1f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.000  [0:0]
Pos:   0.0s      2f ( 0%)  0.00fps Trem:   0min   0mb  A-V:-0.000 [0:0]
Pos:   0.1s      3f ( 0%)  0.00fps Trem:   0min   0mb  A-V:-0.001 [0:0]
Pos:   0.1s      4f (0%)   0.00fps Trem:   0min   0mb  A-V:-0.001 [0:0]
1 duplicate frame(s)!
...
Flushing video frames.
Writing index...
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header.
Video stream:  346.335 kbit/s  (43291 B/s)  size: 339408 bytes  7.840 secs  197
frames
Audio stream: 1411.200 kbit/s  (176400 B/s)  size: 1368864 bytes  7.760
secs

           regards

-- 
       Seweryn Walentynowicz
       S.Walentynowicz at walor.torun.pl



More information about the MEncoder-users mailing list