No sound while transcoding

About encoding, codec settings, muxers and filter usage
SubJunk
Blank Cone
Blank Cone
Posts: 13
Joined: 07 Apr 2013 02:08

No sound while transcoding

Postby SubJunk » 07 Apr 2013 03:39

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!

SubJunk
Blank Cone
Blank Cone
Posts: 13
Joined: 07 Apr 2013 02:08

Re: No sound while transcoding

Postby SubJunk » 10 Apr 2013 00:14

Both bugs confirmed with the latest nightly (vlc-2.0.6-20130409-1143)


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 7 guests