Page 1 of 1

Subtitles work but only if I include dst=display whilst transcoding

Posted: 07 Feb 2017 12:23
by c7borg
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:

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}'
And whilst this works it just doesn't overlay the subtitles:

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}}'
Any help appreciated
Andy

Re: Subtitles work but only if I include dst=display whilst transcoding

Posted: 07 Feb 2017 12:31
by c7borg
Messages when subtitles aren't working:

Code: Select all

VLC media player 2.2.2 Weatherwax (revision 2.2.2-0-g6259d80) [0000000001b67318] dummy interface: using the dummy interface module... [00007f7e5c4c9c48] core mux error: cannot add this stream [00007f7e5cfa3038] core decoder error: cannot create packetizer output (dvbs) [00007f7e5c4ffb08] stream_out_transcode stream out: input interval 40000 (base 1) [00007f7e5c4ffb08] stream_out_transcode stream out: output interval 40000 (base 1)
And when the subtitles are working:

Code: Select all

VLC media player 2.2.2 Weatherwax (revision 2.2.2-0-g6259d80) [0000000000b122f8] dummy interface: using the dummy interface module... [00007f8fdc4c9cc8] core mux error: cannot add this stream [00007f8fdcf00d48] stream_out_transcode stream out: input interval 40000 (base 1) [00007f8fdcf00d48] stream_out_transcode stream out: output interval 40000 (base 1)
I'm not sure what the below line is but it doesn't seem to affect anything

Code: Select all

[00007f8fdc4c9cc8] core mux error: cannot add this stream
It seems to be this line that is the problem

Code: Select all

[00007f7e5cfa3038] core decoder error: cannot create packetizer output (dvbs)