Advanced Search
Welcome to Omgili,
Omgili (Oh My God I Love It ;) is a search engine for discussions. With Omgili you can find answers and solutions, debates, discussions, personal experiences, opinions and more... To learn more about Omgili click here.

This is a complete preview of the discussion as it was indexed by Omgili crawlers. Use this preview if the original discussion is unavailable.
Click here to view the original discussion.

The VideoLAN Forums • View topic - How to filter one program from TS with multiple programs

I have a TS file which contains four programs.

Each program has one video track, two audio tracks and two dvb subtitle tracks.

How can I generate a new TS file which includes only one program? Thanks a lot.

@see VLC_command-line_help @see Documentation:Streaming_HowTo Code: Select all vlc input.ts --program=prgmNumber --sout file/ts://oupout.ts

I tested the command, but the TS file generated is without any subtitle track.

How can I remain the subtitle tracks of the program?

Maybe look at those papougenet posts: @see viewtopic.php?f=7&t=58265 @see viewtopic.php?f=4&t=59246

Great. It works with the following command line: vlc.exe d:\650_hk.ts :sout-all :sout=#duplicate{dst=std{access=file,mux=ts,dst="d:\a.ts"},select="program=1",dst=display,select="program=1"} Thanks a lot!

Another problem. With the above command line, the PMT of the program is lost.

How can I remain the PMT of that program?

On linux I tried Code: Select all vlc input.ts :sout-all :sout=#duplicate{dst=std{access=file,mux=ts,dst="/home/csr/digitaltv_conf/drup.ts"},select="program=103",dst=display,select="program=103"} but got the following error: Code: Select all [code][ 409] main stream out error: no sout stream module matched "duplicateselect=program=103" [ 408] main stream output error: stream chain failed for `duplicateselect=program=103' [ 407] main input error: cannot start stream output instance, aborting[/code] What's that about?

I'm on ubuntu. Is their vlc distrib missing some functionality?