I'm streaming an mkv file on Centos 5.
I tried streaming with
vlc file2.mkv --sout-keep --sout="#transcode{soverlay}:std{access=http,mux=ts,dst=:8080}"
But there's no subtitles showing up.
Also when I try transcoding as so
vlc file2.mkv --sout-keep --sout="#transcode{vcodec=h264,vb=800,soverlay}:std{access=http,mux=ts,dst=:8080}"
I get these errors:
[00000410] avcodec encoder error: cannot open encoder
[00000394] stream_out_transcode stream out error: cannot find video encoder (module:any fourcc:h264)
[00000394] stream_out_transcode stream out error: cannot create video chain
[00000407] main packetizer error: cannot create packetizer output (h264)
However if I do vlc -l | grep h264 I get:
h264 H264 video demuxer
packetizer_h264 H.264 video packetizer
Why are the subtitles and transcoding not working?