DVB-T to h264 streaming with subtitles overlayed

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Bimbah
New Cone
New Cone
Posts: 2
Joined: 23 Nov 2010 12:28

DVB-T to h264 streaming with subtitles overlayed

Postby Bimbah » 23 Nov 2010 13:30

Hoping someone can help.

I am successfully streaming a number of DVB-T channels from the same frequency to H264 using VLC 1.1.5. I can get subtitles overlayed but am finding that the subtitles are not being demuxed to the corresponding program as expected. Instead, all captions from the Transport stream are being overlayed to each program stream simutaneously. If I stream and transcode just one program from the DVB-T card, subtitles are overlayed and match the program. The issue is when I transcode and stream more than one program. Is there anyway to get the subtitles tied to the appropriate program stream without them overlaying in one big jumbled mess?

The subtitles are tied to teletext page 801.

The following is the command I am currently using:

Code: Select all

vlc dvb-t://frequency=205625000 :dvb-bandwidth=7 --programs=528,530,531,532 --ts-es-id-pid --sout-all --sout-transcode-overlay --sout #transcode{vcodec=h264,acodec=aac,vb=220,ab=64,scale=0.25,soverlay}:duplicate{dst=std{access=udp,mux=ts,dst=239.255.12.42:1234},select="program=528",dst=std{access=udp,mux=ts,dst=239.255.12.43:1234},select="program=530",dst=std{access=udp,mux=ts,dst=239.255.12.44:1234},select="program=531",dst=std{access=udp,mux=ts,dst=239.255.12.45:1234},select="program=532"}
Any help appreciated. :)

Chivo
New Cone
New Cone
Posts: 1
Joined: 28 Jan 2011 14:51

Re: DVB-T to h264 streaming with subtitles overlayed

Postby Chivo » 02 Feb 2011 09:07

Hello, its been a while since you've posted this question. I'm newbie at CLI but maybe I could drop an idea. Have you tried to specify the 3 elements id numbers only with each output stream?
i.e. supose Program 530 contains video 101, audio 102, teletext 103, dvbs 104
{access=udp,mux=ts,dst=239.255.12.42:1234},select="whicheveroptionisrequired something like:es=101,102,104",dst=std

hoping to be of help,

igino.manfre
New Cone
New Cone
Posts: 6
Joined: 19 Jul 2011 17:14

Re: DVB-T to h264 streaming with subtitles overlayed

Postby igino.manfre » 31 Aug 2011 14:53

Hi,

I'm not a programmer and I'm not dealing with transcoding, but simply about how to include the teletext streaming on the 5 stream generated from a single MPTS.
I hope someone can help me.

The command line I'm using is the following

Code: Select all

vlc dvb-t://frequency=506000000 :dvb-caching=300 --programs=3411,8571,8572,8573,8574 --sout-ts-es-id-pid --sout=#duplicate{dst=std{access=udp,mux=ts,dst=239.168.20.4:2000},select=program=3411,dst=std{access=udp,mux=ts,dst=239.168.20.1:2000},select="program=8571,es=332,342,352",dst=std{access=udp,mux=ts,dst=239.168.20.2:2000},select=program=8572,dst=std{access=udp,mux=ts,dst=239.168.20.3:2000},select=program=8573,dst=std{access=udp,mux=ts,dst=239.168.20.5:2000},select=program=8574} :no-sout-standard-sap :no-sout-rtp-sap :ttl=3 :sout-keep
I modify only the program 8571 to limit the test. Only the services 8571, 8572 and 8573 include teletext.
Note that the parameter sout-ts-es-id-pid has been added because I've understood it is required to specify PID level switches.
The source is a WinTv dvb-t usb dongle, tuned on a mux of italian national broadcaster (RAI) that includes 5 services

What is not clear is why only selecting the program "8571" on the user interface and pushing the button teletext, it is added to the stream a further es stream of "private data" with the correct PID (0x0160).
The normal way of work will include the switch qt-start-minimized that hiding the user interface will forbid any control of this kind. I've tested also switches as vbi-text, but with no success

Indicating select="program=8571" or select="program=8571,video, audio, spu" is identical.
Specifying the es in decimal or hexadecimal is uninfluent (select="program=8571,es=332,342,352" , is the same of select="program=8571,es=0x0156,0x014c,0x0160" ).
Removing the program=8571 (indicating only select="es=0x0156,0x014c,0x0160" or select=es="0x0156,0x014c,0x0160" ) bring to the inclusion in the output stream of only the audio pid 0x0156.
I have the suspect that program= overrides any other specification.

I've found that the only way to leave the teletext in is to use almost undocumented command ts-out=MURL:
In this case the entire DVB-T mux is streamed with no change on the selected port. The line is the following

Code: Select all

vlc.exe dvb-t://frequency=506000000 --ts-out=239.168.20.100:2000 ttl=3
Than you for any help.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: Majestic-12 [Bot] and 35 guests