muxpmt

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
Skinnersplace
Blank Cone
Blank Cone
Posts: 48
Joined: 23 May 2008 09:55

muxpmt

Postby Skinnersplace » 19 Jul 2008 14:56

Hi
Does any one know if the muxpmt command works when using the command line form of VLC for windows (i.e not a linux build)

is it possible to create a single ts with multiple channels using the windows version of vlc ?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: muxpmt

Postby VLC_help » 19 Jul 2008 15:04

You mean
--sout-ts-muxpmt=<string> Mux PMT (requires --sout-ts-es-id-pid)
Define the pids to add to each pmt. This requires "Set PID to ID of
ES" to be enabled.
?
http://wiki.videolan.org/VLC_command-line_help

Skinnersplace
Blank Cone
Blank Cone
Posts: 48
Joined: 23 May 2008 09:55

Re: muxpmt

Postby Skinnersplace » 20 Jul 2008 09:18

Hi VLC_help,

yes that is exactly what I ment.

I was told it would only work in the linux version ?

would something like the following work in windows ? :

new chan1 broadcast enabled loop
setup chan1 input "BARS.ts"
setup chan1 output #transcode{vcodec=mp4v,vb=4096,scale=1,acodec=mp3,ab=512}:std{access=udp,mux=,dst=127.0.0.1:8080}
setup chan1 option sout-ts-pid-audio=110
setup chan1 option sout-ts-pid-video=120
setup chan1 option sout-ts-program-pmt="100"
setup chan1 option sout-ts-sdtdesc="chan1"


new chan2 broadcast enabled loop
setup chan2 input "BARS2.ts"
setup chan2 output #transcode{vcodec=mp4v,vb=4096,scale=1,acodec=mp3,ab=512}:std{access=udp,mux=,dst=127.0.0.1:8081}
setup chan2 option sout-ts-pid-audio=210
setup chan2 option sout-ts-pid-video=220
setup chan2 option sout-ts-program-pmt="200"
setup chan2 option sout-ts-sdtdesc="chan2"


setup channel1 input udp://@127.0.0.1:8080
setup channel1 input udp://@127.0.0.1:8081

setup channel1 option sout-ts-tsid=1
setup channel1 option sout-ts-netid=511
setup channel1 option sout-ts-program-pmt="100,200"
setup channel1 option sout-ts-muxpmt="110,120,,210,220"
setup channel1 option sout-ts-sdtdesc="MY TV,Channel 1,MY TV,Channel 2"

setup channel1 output #rtp{mux=ts,dst=127.0.0.1:8082}

control chan1 play
control chan2 play
control channel1 play

I do not have --sout-ts-es-id-pid line that you mentioned, where would I insert that ?

Any help on this would be greatly appretiacted

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: muxpmt

Postby VLC_help » 20 Jul 2008 13:50

You are running VLM? Not VLC? Because the syntax is different. What I pasted is command line option not VLC config file thingy.

Skinnersplace
Blank Cone
Blank Cone
Posts: 48
Joined: 23 May 2008 09:55

Re: muxpmt

Postby Skinnersplace » 20 Jul 2008 14:09

Thanks for the swift reply VLC help,

I have been trying to achieve this with both vlc and vlm. what I posted was my VLM attempt as i thought it was closer to being right.

what I want to achie is to take to input files, give them unique PID's and PMT's, then mux and output them in a single transport stream so I can choose between them in the navigation menu of another copy of vlc.

Do you have a copmplete example of creating and muxing two streams from the command line in vlc ?

Any help would be greatly appreciated.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: muxpmt

Postby VLC_help » 21 Jul 2008 15:50

I don't have any experience with muxing/demuxing streams with VLC. VLM is better option if you want combined stuff together.

Skinnersplace
Blank Cone
Blank Cone
Posts: 48
Joined: 23 May 2008 09:55

Re: muxpmt

Postby Skinnersplace » 22 Jul 2008 09:37

Thanks VLC_Help,

I will look at this further in VLM.

One other question though, can you expand on the --sout-ts-es-id-pid command, I did not find much explanation of what it does in the help ?

Many thanks

Skinnersplace

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: muxpmt

Postby VLC_help » 22 Jul 2008 17:30

http://wiki.videolan.org/VLC_command-line_help
it has the latest info about command line options in nightly builds. I don't have any more information available.

Skinnersplace
Blank Cone
Blank Cone
Posts: 48
Joined: 23 May 2008 09:55

Re: muxpmt

Postby Skinnersplace » 30 Sep 2008 13:19

This now works and can be found in the "VLM to MUX two channels" thread in the VLM section


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 34 guests