Transcoding MKV (No Audio)
Posted: 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
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