Transcoding MKV (No Audio)

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
eNergizer
Blank Cone
Blank Cone
Posts: 21
Joined: 12 Mar 2011 04:11

Transcoding MKV (No Audio)

Postby eNergizer » 12 Mar 2011 04:21

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

eNergizer
Blank Cone
Blank Cone
Posts: 21
Joined: 12 Mar 2011 04:11

Re: Transcoding MKV (No Audio)

Postby eNergizer » 12 Mar 2011 23:21

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.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 20 guests