Page 1 of 1

No sound while transcoding

Posted: 07 Apr 2013 03:39
by SubJunk
Hi guys,
I'm using the following command line to transcode, trying to get a MPEG-PS file with AC-3 audio. It correctly outputs MPEG-2 video but no audio:

Code: Select all

vlc -I dummy inputfile.mkv --sout #transcode{scale=1.0,samplerate=48000,channels=6,ab=640,vb=4096,keyint=16,acodec=mp2a,vcodec=mp2v}:std{access=file,mux=ps,dst="file.mpeg"}
In the cmd window I see an error/warning from libmp3lame "channel_layout not specified".
The input file is MKV containing H.264 and AC-3 so I'm not sure why lame would be involved.

This is followed by the error "main stream error: Failed to create audio filter".

If I change "mp2a" to "a52" there is audio but the channels are wrong; the center channel becomes the rear left channel, so all voices sound like they're coming from your rear-left.
This is all with VLC 2.0.5 by the way, and confirmed with several videos.
Thanks for any help!

Re: No sound while transcoding

Posted: 10 Apr 2013 00:14
by SubJunk
Both bugs confirmed with the latest nightly (vlc-2.0.6-20130409-1143)