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

Troy Perkins troy.perkins at totus.us
Fri Feb 1 04:13:29 CET 2008


AH! Thanks Duane!

I experimented with the arrangement of the switches and finally landed one
that works!  One question though:  Is there a way to NOT have to specify the
aid and just copy the 5.1 stream?  I am writing a script to que and run
multiple encodes and having to hunt for the proper aid makes the automation
a little difficult.

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

==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer.
dec_audio: Allocating 18432 + 65536 = 83968 bytes for output buffer.
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe)  48000 Hz  448.0 kbit/s
A52 flags before a52_frame: 0x37
A52 flags after a52_frame: 0x17
Using MMX optimized resampler
AUDIO: 48000 Hz, 6 ch, s16le, 448.0 kbit/9.72% (ratio: 56000->576000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================


-----Original Message-----
From: mencoder-users-bounces at mplayerhq.hu
[mailto:mencoder-users-bounces at mplayerhq.hu] On Behalf Of Duane Evenson
Sent: Thursday, January 31, 2008 8:35 PM
To: MEncoder usage discussions
Subject: Re: [MEncoder-users] mencoder -ovc and 5.1 stream problem

Troy Perkins wrote:
> Yes, I saw that and I want the 5.1 stream.
>
>   
I think RC was trying to tell you to include the option, "-aid 129" as 
you specify English , but mencoder is taking the first english audio 
stream (stereo) it finds, which is not the 5.1 stream.

> I've tried the following:
>
> -oac copy
> -oac copy -channels 6
> -oac copy -aid 129
> -oac copy -aid 1
> -oac alsa surround51 -channels 6
>
> Anytime I use the -channels 6 I get the following error:
>
> 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)
>
> And in all cases I get AUDIO: 48000 Hz, 2 ch
>
>
>
> -----Original Message-----
> From: mencoder-users-bounces at mplayerhq.hu
> [mailto:mencoder-users-bounces at mplayerhq.hu] On Behalf Of RC
> Sent: Thursday, January 31, 2008 7:54 PM
> To: MEncoder usage discussions
> Subject: Re: [MEncoder-users] mencoder -ovc and 5.1 stream problem
>
> On Thu, 31 Jan 2008 18:51:21 -0600
> "Troy Perkins" <troy.perkins at totus.us> wrote:
>
>   
>> 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.
>>     
>
> ^^ Hint ^^
>
>
>
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
>
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
>
>   

_______________________________________________
MEncoder-users mailing list
MEncoder-users at mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users




More information about the MEncoder-users mailing list