Page 1 of 1

Transcoding MKV (No Audio)

Posted: 12 Mar 2011 04:21
by eNergizer
So I'm streaming and transcoding an mkv.

I tried using this but there's no audio:
"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" "test.mkv" -vv --extraintf logger --sout-mux-caching=10000 --sout="#gather:transcode{vcodec=h264,vb=2400,vfilter=canvas{width=540,height=380},acodec="mp3",ab="128",samplerate="4100",channels="1",soverlay}:http{mux=ffmpeg{mux=flv},dst=:1234/stream.flv}" --sout-all --sout-transcode-fps=25 --sout-keep


So I'm guessing it's a mux problem and I'm trying to transcode it to an mp4.
Also I can't seem to make this into an mp4.
"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" "test.mkv" -vv --extraintf logger --sout-mux-caching=3000 --sout="#gather:transcode{vcodec=mp4v,vb=2400,vfilter=canvas{width=540,height=380},acodec="mp4a",ab="128",samplerate="44100",channels="2",soverlay}:http{mux=ffmpeg{mux=flv},dst=:1234/stream.mp4}" --audio-track-id 1 --sout-all --sout-transcode-fps=25 --sout-keep

Re: Transcoding MKV (No Audio)

Posted: 12 Mar 2011 23:21
by eNergizer
Also if I stream any size of an MKV and try transcoding the audio and setting a vb, channels, or samplerate parameter, I lose the audio. However if I just put only acodec but not other audio encoder parameter, the audio doesn't get lost on smaller MKV files.