[MEncoder-users] Audio Sync issues

Jeff Cranmer jeff at lotussevencars.com
Mon Sep 19 20:48:22 CEST 2011


> > 
> I would cut "-af lavcac3enc=0:48 -channels 2" and put in "-oac lavc
> -lavcopts acodec=ac3"
> 
> BTW Rolf, where is YAMF and is it related to YAMB?
> 
> Bill
> 

Hmm - still a silent video. 

Evidently, it's converting something, but it must be a blank audio track
instead of the one with the actual soundtrack on it.

Here's the output from the command
mencoder tempvid2.avi -o test.avi -ffourcc XVID -vf harddup -ovc lavc
-oac lavc -lavcopts
vcodec=mpeg4:acodec=ac3:abitrate=48:threads=8:vbitrate=1000:cmp=2:subcmp=2:trell=yes:v4mv=yes:mbd=2:aspect=16/9 -noskip -mc 0

MEncoder dev-SVN-r33321-4.5-openSUSE Linux 11.3 (x86_64)-Packman (C)
2000-2011 MPlayer Team
success: format: 0  data: 0x0 - 0x29d24f18
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  [h264]  720x480  24bpp  23.976 fps  601.6 kbps (73.4 kbyte/s)
[V] filefmt:3  fourcc:0x34363268  size:720x480  fps:23.976
ftime:=0.0417
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 15996->192000)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4
Audio))
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [harddup]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Forcing output FourCC to 44495658 [XVID].
Encoder requires input not properly supported.Try using e.g. 'ac3_fixed'
instead of 'ac3' as codec
[ac3 @ 0xb8a480]No channel layout specified. The encoder will guess the
layout, but it might be incorrect.
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Pos:   0.0s      2f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
videocodec: libavcodec (720x480 fourcc=44495658 [XVID])
[VE_LAVC] High quality encoding selected (non-realtime)!
Writing header...
ODML: vprp aspect is 16:9.
Setting audio delay to 0.096s.
Writing header...
ODML: vprp aspect is 16:9.
Setting audio delay to 0.096s.
^CPos: 111.9s   2686f ( 1%) 26.84fps Trem: 100min 869mb  A-V:0.000
[1006:48]

Flushing video frames.
Writing index...
Writing header...
ODML: vprp aspect is 16:9.
Setting audio delay to 0.096s.

Video stream: 1006.459 kbit/s  (125807 B/s)  size: 14083533 bytes
111.945 secs  2686 frames

Audio stream:   48.000 kbit/s  (6000 B/s)  size: 674496 bytes  112.416
secs




More information about the MEncoder-users mailing list