Page 1 of 1

Switching Programs in MPEG2 TS

Posted: 25 Sep 2022 18:31
by JVital2013
Hello everyone,

I have a MPEG2 Transport Stream (.ts) over TCP/IP that I'm playing with VLC Media Player. Specifically, it's an ATSC stream (American Digital Broadcast TV). I'm picking it up with a Software Defined Radio, demodulating with GNURadio, and distributing across the network over TCP. It works quite well after quite a bit of tinkering :D.

VLC can open the stream by connecting to the server's network address and port: tcp://10.0.0.2:2001 as an example. When I play the stream with VLC for Windows/Mac/Linux, I can switch between the digital sub-channels by going to Playback > Program and selecting the sub-channel as shown here: https://imgur.com/bAvXCxh. I can also choose the program with the --program command line argument.

Here's my question: when I use VLC on iOS or Android, I can't find a way to specify the desired program within a stream. It picks a random one when I connect to the stream. I can disconnect and reconnect until I get the channel I want, but is there a way to specify the desired program within a stream in VLC for iOS or Android?

Re: Switching Programs in MPEG2 TS

Posted: 08 Oct 2022 14:23
by fkuehne
We currently only have a user interface for titles and chapters, but not for programs because nobody asked for it. I created a ticket here so we don't forget to add this: https://code.videolan.org/videolan/vlc- ... ssues/1428