[vlc] Re: Unable to transcode audio track to mp2

Benjamin Pracht bigben+spam at videolan.org
Mon Aug 15 17:41:32 CEST 2005


On Mon, Aug 08, 2005, Rett D. Walters wrote :
> Hello:
> 
> I am trying to use VLC to transcode a mpeg2 video file
> that contains mpeg2 video and mp3 audio to a file that
> contains the same mpeg2 video stream but with an mp2 audio
> stream.  I am using the vlc gui to transcode the video
> file, by selecting the file, and setting sout options to
> PS file format, mp2a 192kbit, 2 channels. (Leaving the
> video unselected).  I am unable to get VLC to generate the
> stream.
> 
> Here is the error output of VLC when I try this:
> 
> [00000237] main input debug: set input option: sout to
> #transcode{acodec=mp2a,ab=192,channels=2}
> [00000237] main input debug: waiting for thread completion
> [00000237] main input debug: thread -1260684368 (input)
> created at priority 0 (src/input/input.c:228)
> [00000238] main stream output debug: stream=`transcode'
> [00000239] main private debug: looking for sout stream module
> [00000239] main private debug: probing 1 candidate
> [00000238] main stream output error: invalid chain
> [00000239] stream_out_transcode private error: cannot
> create chain
> [00000239] main private warning: no sout stream module
> matching "transcode" could be loaded
> [00000239] main private debug: destroying chain...
> (name=transcode)
> [00000239] main private debug: destroying chain done
> [00000238] main stream output error: stream chained failed
> for `transcode{acodec=mp2a,ab=192,channels=2}'
> [00000237] main input error: cannot start stream output
> instance, aborting
> [00000237] main input debug: thread -1260684368 joined
> (src/input/input.c:290)
> 
> Is it possible that I am missing a library that supports
> mp2 encoding, or is there something else wrong?
> 
> I am using vlc-0.8.1 (Gentoo ebuild) using the recommended
> gentoo use flags for vlc shown on the videolan.org
> website.
> 

Well, the codec name for mpeg audio layer 2 is mpga. Besides, you're
missing an output in your stream output chain. Have a look at the
streaming howto for some examples.

-- 
BigBen

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list