[MEncoder-users] IMX D10 MXF + 8 channel audio

fast at it-media.by fast at it-media.by
Wed Dec 24 15:38:47 CET 2008


System:
uname -a
FreeBSD  coder.com  7.0-RELEASE  FreeBSD  7.0-RELEASE #2: Sun Jul 20
20:40:03 UTC 2008 coder at coder.com:/usr/obj/usr/src/sys/CODER  i386

Options coding:
========================================================================================================================
#Path to  mencoder
Mencoder="/usr/local/bin/mencoder"
#Configure sound coder
OAC="-oac mp3lame -lameopts br=128:mode=3:q=3:vol=2 -srate 22050"

#Configure video codec
OVC="-ovc lavc -lavcopts vcodec=mpeg4:vbitrate=200:mbd=2:autoaspect:threads=2 -vf scale=320:240 -mc 0 -noskip -nobps"

$Mencoder /TEMP/HIRES/1.mxf -o /home/itm/1.avi $OAC $OVC #-nosound
========================================================================================================================


coder# ./test.sh
MEncoder 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Xeon(R) CPU           E5335  @ 2.00GHz (Family: 6, Model: 15, Stepping: 11)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
success: format: 0  data: 0x0 - 0xfdd82800
libavformat file format detected.
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO:  [mpg2]  720x608  0bpp  25.000 fps  30000.0 kbps (3662.1 kbyte/s)
[V] filefmt:44  fourcc:0x3267706D  size:720x608  fps:25.00  ftime:=0.0400
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 48000 Hz, 8 ch, s16le, 0.0 kbit/0.00% (ratio: 0->768000)
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 filter: [scale w=320 h=240]
==========================================================================
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
MP3 audio selected.
VDec: vo config request - 720 x 608 (preferred colorspace: Planar 422P)
VDec: using Planar 422P as output csp (no 3)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
SwScaler: reducing / aligning filtersize 10 -> 12
SwScaler: reducing / aligning filtersize 10 -> 12
SwScaler: reducing / aligning filtersize 12 -> 10
SwScaler: reducing / aligning filtersize 22 -> 20
[swscaler @ 0x87b2670]SwScaler: BICUBIC scaler, from yuv422p to yuv420p using MMX2
[swscaler @ 0x87b2670]SwScaler: using n-tap MMX scaler for horizontal luminance scaling
[swscaler @ 0x87b2670]SwScaler: using n-tap MMX scaler for horizontal chrominance scaling
[swscaler @ 0x87b2670]SwScaler: using n-tap MMX scaler for vertical scaling (YV12 like)
[swscaler @ 0x87b2670]SwScaler: 720x608 -> 320x240
videocodec: libavcodec (320x240 fourcc=34504d46 [FMP4])
[VE_LAVC] High quality encoding selected (non-realtime)!
Writing header...1f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
ODML: vprp aspect is 4:3.
Writing header...
ODML: vprp aspect is 4:3.
Pos:  66.1s   1653f ( 4%) 100.88fps Trem:   6min  19mb  A-V:0.000 [49:46]
Too many audio packets in the buffer: (1093 in 33576960 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.

Flushing video frames.
Writing index...
Writing header...
ODML: vprp aspect is 4:3.

Video stream:   49.281 kbit/s  (6160 B/s)  size: 407062 bytes  66.080 secs  1653 frames
Audio stream:   46.392 kbit/s  (5798 B/s)  size: 386130 bytes  66.586 secs


If i'am encode with options -nosound or pcm  - all work fine.
But  I  need  to get as small as possible file size, and would like to
encode audio track to mp3.


mailto:fast at it-media.by




More information about the MEncoder-users mailing list