Streaming DVB-T Multiplex - Too many windows!

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
mrjon
New Cone
New Cone
Posts: 2
Joined: 09 Jun 2016 15:31

Streaming DVB-T Multiplex - Too many windows!

Postby mrjon » 09 Jun 2016 15:39

Hi, I'm trying to set up a stream from my PCTV 292e usb tv tuner, running windows 10. I can watch the dvb stream just fine straight from the device, but when I stream it over the network, the VLC client at the other end shows all the channels in the multiplex at the same time, with no ability to select which channel to watch. The menu "Playback>Program" is greyed out. Any ideas?
Thanks
Jon

kmf31
Cone that earned his stripes
Cone that earned his stripes
Posts: 308
Joined: 11 Mar 2007 21:47

Re: Streaming DVB-T Multiplex - Too many windows!

Postby kmf31 » 09 Jun 2016 16:13

Try to use the option "--program=..." to select the proper channel on the client side or use "--no-sout-all" on the serveur side. In the latter case you also need the "--program=..." option for the serveur.

mrjon
New Cone
New Cone
Posts: 2
Joined: 09 Jun 2016 15:31

Re: Streaming DVB-T Multiplex - Too many windows!

Postby mrjon » 09 Jun 2016 17:20

Thanks, that's helpful, although the client-side option does nothing for me. Also, on the server side way of doing things, it works but quality is very poor - lots of glitchy video and no sound.
Is it possible to stream the whole multiplex and have it show up in the Playback>Program menu so the client can select which channel?

kmf31
Cone that earned his stripes
Cone that earned his stripes
Posts: 308
Joined: 11 Mar 2007 21:47

Re: Streaming DVB-T Multiplex - Too many windows!

Postby kmf31 » 09 Jun 2016 18:19

It is possible that the crucial information is lost when you stream all channels in only "one" stream.

The better solution is indeed to separate in different substreams (using different ports per channels) from the very beginning:

I personnally use a commandline similar as:

Code: Select all

vlc --programs=1537,1538,1542,1544,1545 --color --ttl 12 --sout-spu --ts-es-id-pid dvb:// --dvb-frequency=594167000 --dvb-adapter=0 --dvb-inversion=-1 --dvb-modulation=64QAM --dvb-hierarchy=-1 --dvb-srate=120 --dvb-bandwidth=8 --sout-ts-dts-delay=500 --sout-ts-pcr=70 --sout-mux-caching=2000 --sout-udp-caching=2000 --live-caching=2000 --sout='#duplicate{dst=std{mux=ts,dst=224.0.0.1:2000,access=udp},select="program=1537",dst=std{mux=ts,dst=224.0.0.1:2001,access=udp},select="program=1538",dst=std{mux=ts,dst=224.0.0.1:2002,access=udp},select="program=1542",dst=std{mux=ts,dst=224.0.0.1:2003,access=udp},select="program=1544",dst=std{mux=ts,dst=224.0.0.1:2004,access=udp},select="program=1545"}' --no-loop
which applies to the multiplex of TF1 in french DVB-T-HD TV (region of Toulouse for the frequency).
The important parts are the ones with --programs and with duplicate which creates for each channel a udp multicast stream at IP 224.0.0.1 with port 2000+x with x=0,1,2,3,4 according to the channels (there are five channels in this multiplex).

Once this is running you can simply use another vlc instance to access a stream via:

Code: Select all

vlc udp://@224.0.0.1:port "blaba"
where port is between 2000 and 2004 (according to the channel you want to see/select) and "blabla" are other possible options (maybe to record the result on a file, or adding some --network-caching etc.).

If the client is on another machine I believe you have to use: "vlc udp://<serveur_IP>@224.0.0.1:port "
(I personnally use this with client and serveur on the same machine).

Note that in my opinion/observation vlc-2.2.x is not realiable for this (stuttering video etc.) and I use vlc-2.0.9 (on Linux). Il believe vlc-2.2.x may also require the further option "--no-sout-all" (which was default in vlc-2.0.x).
Furthermore if your DVB-T source stream has the same "bug/problem" as the french DVB-T HD-TV you have in addition to patch and recompile vlc for this to work nicely (see here for details: https://forum.videolan.org/viewtopic.php?f=4&t=132666 ). However, I don't know how to recompile vlc for Windows (maybe you need a Linux PC and "cross-compile", i.e. the Linux PC compiles a Windows binary). If you are lucky your DVB-T stream does not have this particular problem.

Finally to create a command line as above it is more practical to use a script, first to get the program numbers (from the channel.conf file or similar) and to construct the duplex line. Also these kind of things seem easier to me in Linux (especially for the shell-script part) but I do not really know Windows and how easy or difficult it is with bat scripts.

afekete
New Cone
New Cone
Posts: 5
Joined: 14 Jul 2016 14:21

Re: Streaming DVB-T Multiplex - Too many windows!

Postby afekete » 31 Oct 2016 21:06

Many thanks kmf31, I had very similar issues, moved back to 2.0.8 version and I am finally able to stream only 1 program at a time to LAN/WLAN.

mrjon, FYI, the command I am using is
vlc dvb-t://frequency=514000000 :dvb-bandwidth=8 :dvb-caching=5000 :program=101 --sout=#udp{dst=192.168.1.106,port=1234}


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 21 guests