[MEncoder-users] mencoder -ovc and 5.1 stream problem

Troy Perkins troy.perkins at totus.us
Fri Feb 1 01:51:21 CET 2008



I've been using mencoder under debian etch linux for about 2 weeks now and
love it!  However there is one issue that I just can't seem to solve during
a blood sweat and tear search the past 3 days via forums and google so I
figured I would ask the experts (you guys!).  For some reason, mencoder is
defaulting to 2 channel ac3 when 6 channel (5.1) is desired for encoding
movies.

I've tried two different scenarios as follows.

mencoder dvd://1 -dvd-device /archives/dvds/OFFICE_SPACE/  -alang English
-oac alsa surround51 -channels 6 -ovc xvid -xvidencopts bitrate=2526    -o
"/dev/null" 

mencoder dvd://1 -dvd-device /archives/dvds/OFFICE_SPACE/  -alang English
-channels 6 -oac copy -ovc xvid -xvidencopts bitrate=2526 -o "/dev/null"

I get the same results for both as follows.  Mencoder/mplayer sees both
audio streams.  When I tried a simple -oac copy I get 2 channels ac3, when I
try to force it with -channels 6 it states Unimplemented resampler for mode
0xA -> 6 channels conversion - Contact MPlayer developers!  I hope this is
something stupid.  Did I miss something during compilation?

Any help would be greatly appreciated.  Dolby Digital 5.1 is a must for me.


MEncoder 1.0rc2-4.1.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) D CPU 3.00GHz (Family: 15, Model: 6, Stepping: 4)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

There are 3 titles on this DVD.
There are 29 chapters in this DVD title.
There are 1 angles in this DVD title.
audio stream: 0 format: ac3 (stereo) language: en aid: 128.
audio stream: 1 format: ac3 (5.1) language: en aid: 129.
number of audio channels on disk: 2.
subtitle ( sid ): 0 language: es
subtitle ( sid ): 1 language: en
number of subtitles on disk: 2
success: format: 2  data: 0x0 - 0xf8ec3800
No matching DVD audio language found!
MPEG-PS file format detected.
VIDEO:  MPEG2  720x480  (aspect 2)  29.970 fps  9800.0 kbps (1225.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x480  fps:29.97  ftime:=0.0334
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Unimplemented resampler for mode 0xA -> 6 channels conversion - Contact
MPlayer developers!
Unimplemented resampler for mode 0xA -> 5 channels conversion - Contact
MPlayer developers!
Unimplemented resampler for mode 0xA -> 4 channels conversion - Contact
MPlayer developers!
Unimplemented resampler for mode 0xA -> 3 channels conversion - Contact
MPlayer developers!
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
xvid: using library version 1.1.3 (build xvid-1.1.3)
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
audiocodec: framecopy (format=2000 chans=2 rate=48000 bits=16 B/s=24000
sample-1)
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
videocodec: XviD (720x480 fourcc=44495658 [XVID])
xvid: par=0/0 (vga11), displayed=720x540, sampled=720x480
xvid: CBR Rate Control -- bitrate=2526kbit/s
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Pos:   0.0s      1f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
1 duplicate frame(s)!
Writing header...
ODML: vprp aspect is 4:3.
Setting audio delay to 0.033s.
Writing header...
ODML: vprp aspect is 4:3.
Setting audio delay to 0.033s.
Writing header...2f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.003 [0:0]
ODML: vprp aspect is 4:3.
Setting audio delay to 0.033s.




More information about the MEncoder-users mailing list