[MPlayer-users] Create an AVI with DD5.1 out of a DVD ?

Tilo Renkl tilo at diredare.de
Thu Nov 13 22:50:16 CET 2003


As far as I can see, mencoder detects the right audiostram (DD 5.1),
but tries to reencode somehow to 2.0 ?!?!

But see for yourself. This is my console output:

-----------------------------------------------
rubin:/daten/temp # mencoder dvd://3 -aid 128 -oac copy -ovc lavc -lavcopts
vcodec=mpeg4:vbitrate=1150 -vop scale=480:360 -noskip -o Test.avi
MEncoder 1.0pre2-3.2 (C) 2000-2003 MPlayer Team

CPU: Intel Pentium 4/Xeon/Celeron Northwood 1819 MHz (Family: 8, Stepping:
4)
Detected cache-line size is 64 bytes
CPUflags: Type: 8 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Reading //.mplayer/codecs.conf: Can't open '//.mplayer/codecs.conf': No such
file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open
'/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file //.mplayer/mencoder: No such file or directory
Reading disc structure, please wait...
There are 3 titles on this DVD.
There are 32 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
success: format: 0  data: 0x0 - 0x4FB41000
MPEG-PS file format detected.
VIDEO:  MPEG2  720x576  (aspect 3)  25.000 fps  8000.0 kbps (1000.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe)  48000 Hz  448.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 56000->192000 (448.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
Opening video filter: [scale w=480 h=360]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
audiocodec: framecopy (format=2000 chans=2 rate=48000 bits=16 bps=56000
sample=1)
Writing AVI header...
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
SwScaler: reducing / aligning filtersize 7 -> 8
SwScaler: reducing / aligning filtersize 7 -> 8
SwScaler: reducing / aligning filtersize 8 -> 7
SwScaler: reducing / aligning filtersize 8 -> 7

SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX2
videocodec: libavcodec (480x360 fourcc=58564944 [DIVX])
New_Face failed. Maybe the font path is wrong.  0mb  A-V:0.000 [0:0]
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Pos:   0.6s     15f ( 0%)   0fps Trem:   0min   0mb  A-V:0.056 [0:448]
----------------------------------------------------------------------------
----

Tilo


> -----Original Message-----
> From: mplayer-users-bounces at mplayerhq.hu
> [mailto:mplayer-users-bounces at mplayerhq.hu]On Behalf Of Corey Hickey
> Sent: Thursday, November 13, 2003 9:36 PM
> To: MPlayer user's list.
> Subject: Re: [MPlayer-users] Create an AVI with DD5.1 out of a DVD ?
>
>
> [Automatic answer: RTFM (read DOCS, FAQ), also read
> DOCS/bugreports.html]
> Tilo Renkl wrote:
> > [Automatic answer: RTFM (read DOCS, FAQ), also read
> DOCS/bugreports.html]
> > Hi everybody,
> >
> > I am new to this list, since I had only read the
> mplayer-dvb list for about
> > 1.5 years.
> >
> > Now that I have a DD-receiver I wanted to create an AVI out
> of several
> > DVD's,
> > but not with mp3 sound, but with a simple streamcopy of my
> pefered language
> > in DD 5.1 (AC3).
> >
> > Is there any way (maybe a script) to do that ??
> >
> > mencoder dvd://X -o name.avi -oac copy .... does not work :-((
> >
> > Tilo
> >
>
> Yes it does. :)
>
> ..unless I'm overlooking something. -oac copy should work just fine,
> and it does for me when I want to do exactly what you describe.
>
> Without the text output of mencoder, though, we can only guess as to
> what's going wrong. Please post the _full_ output of mencoder.
>
> As far as guessing goes, make sure the correct audio id is being
> selected. Occasionally there will be both 5.1 and 2.0 AC3 streams, and
> the 5.1 isn't always selected. If that's the case, use -aid 128, -aid
> 129, etc.
>
> -Corey
>
> _______________________________________________
> RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
>



More information about the MPlayer-users mailing list