Subtitles work but only if I include dst=display whilst transcoding
Posted: 07 Feb 2017 12:23
Which is fine but it takes additional resource.
Basically I've been working on converting a UDP stream to something that can be viewed on a browser using the HTML5 video tag, this means I won't need a plugin client side, I have achieved this and it works well in chrome/firefox but my last hurdle (for now) is the subtitles.
It's baffling me as I'm not sure how displaying it locally should affect the subtitles unless it overlays at this point?
So my working code is this:
And whilst this works it just doesn't overlay the subtitles:
Any help appreciated
Andy
Basically I've been working on converting a UDP stream to something that can be viewed on a browser using the HTML5 video tag, this means I won't need a plugin client side, I have achieved this and it works well in chrome/firefox but my last hurdle (for now) is the subtitles.
It's baffling me as I'm not sure how displaying it locally should affect the subtitles unless it overlays at this point?
So my working code is this:
Code: Select all
/usr/bin/cvlc --sout-mux-caching=5000 udp://@239.192.200.1:5000 --sout '#transcode{vcodec=VP80,vb=2000,scale=Auto,acodec=vorb,ab=128,channels=2,samplerate= 44100,scodec=dvbs,soverlay}:duplicate{dst=http{mux=webm,dst=:8082/bbcNews.webm},dst=display}'
Code: Select all
/usr/bin/cvlc --sout-mux-caching=5000 udp://@239.192.200.1:5000 --sout '#transcode{vcodec=VP80,vb=2000,scale=Auto,acodec=vorb,ab=128,channels=2,samplerate= 44100,scodec=dvbs,soverlay}:duplicate{dst=http{mux=webm,dst=:8082/bbcNews.webm}}'
Andy