[MPlayer-users] mencoder audio problems

Horváth Ágoston János horvath.agoston at gmail.com
Mon Jul 5 11:38:51 CEST 2010


Hello,

I'm having issues encoding the audio track of my MJPEG video using
mencoder SVN-31581:

- there is an added audio delay of 0.131;
- the last 5 seconds of the audio is cut off.

The command line is:

-ovc x264 -x264encopts "preset=veryslow:crf=$QUALITY" -oac mp3lame
-lameopts mode=3:q=5:aq=0

The output is:

MEncoder SVN-r31581-4.4.3 (C) 2000-2010 MPlayer Team
success: format: 0  data: 0x0 - 0x141cd76
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  [MJPG]  1024x768  24bpp  15.000 fps  7392.3 kbps (902.4 kbyte/s)
[V] filefmt:3  fourcc:0x47504A4D  size:1024x768  fps:15.000  ftime:=0.0667
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 1 ch, s16le, 705.6 kbit/100.00% (ratio: 88200->88200)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
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: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG)
==========================================================================
MP3 audio selected.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0xd70500]BICUBIC scaler, from yuv422p to yuv420p using MMX2
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
x264 [info]: profile High, level 5.0
Writing header...2f (43%) 18.13fps Trem:   0min   0mb  A-V:0.130 [0:0]
ODML: vprp aspect is 4:3.
Setting audio delay to 0.131s.
Writing header...
ODML: vprp aspect is 4:3.
Setting audio delay to 0.131s.
Pos:   6.1s    164f (99%)  4.73fps Trem:   0min   1mb  A-V:0.130 [2392:75]
Flushing video frames.
Writing index...
Writing header...
ODML: vprp aspect is 4:3.
Setting audio delay to 0.131s.

Video stream: 2381.831 kbit/s  (297728 B/s)  size: 3255169 bytes
10.933 secs  164 frames

Audio stream:   75.371 kbit/s  (9421 B/s)  size: 62512 bytes  6.635 secs
x264 [info]: frame I:1     Avg QP:24.04  size: 40947
x264 [info]: frame P:30    Avg QP:23.17  size: 47797
x264 [info]: frame B:133   Avg QP:25.66  size: 13386
x264 [info]: consecutive B-frames:  0.6%  1.2%  1.8% 12.3% 12.3% 47.9%
 8.6%  9.8%  5.5%
x264 [info]: mb I  I16..4:  1.8% 97.4%  0.8%
x264 [info]: mb P  I16..4:  0.8% 40.5%  0.6%  P16..4: 40.8% 13.9%
2.2%  0.2%  0.1%    skip: 0.8%
x264 [info]: mb B  I16..4:  0.1%  5.7%  0.1%  B16..8: 36.6%  8.2%
1.7%  direct:11.0%  skip:36.7%  L0:43.0% L1:41.1% BI:15.9%
x264 [info]: 8x8 transform intra:96.6% inter:79.3%
x264 [info]: direct mvs  spatial:97.7% temporal:2.3%
x264 [info]: coded y,uvDC,uvAC intra: 92.5% 85.4% 40.9% inter: 26.6% 31.9% 1.9%
x264 [info]: i16 v,h,dc,p: 23% 41%  6% 30%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 23% 34%  4%  4%  5%  5%  5%  6%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 13%  3%  7% 11% 14% 11%  9%  7%
x264 [info]: i8c dc,h,v,p: 38% 34% 20%  8%
x264 [info]: Weighted P-Frames: Y:6.7%
x264 [info]: ref P L0: 32.1% 13.3% 21.1%  4.9%  7.0%  2.8%  5.4%  1.7%
 2.5%  1.1%  2.3%  0.8%  1.6%  1.1%  1.4%  0.7%
x264 [info]: ref B L0: 72.4% 13.6%  4.2%  2.9%  1.3%  1.5%  0.8%  0.9%
 0.6%  0.5%  0.3%  0.4%  0.3%  0.3%  0.2%
x264 [info]: ref B L1: 95.1%  4.9%
x264 [info]: kb/s:2381.83

Can anyone help me on this?

Cheers,
Agoston


More information about the MPlayer-users mailing list