Page 1 of 1

Changing Audio and Video PID

Posted: 12 Aug 2009 21:53
by brain!ac
Hi

I`m working on a DVB Project for my school and this Task is about PID remapping .
I am recieving a DVB-S Stream MPEGoIP from an IRD (professional receiver) ,with bouquet stream which contains several Services on it`s self ,now i`m able to select which Service i want to duplicate with the commant

Code: Select all

program=607 :sout=#duplicate{dst=std{access=udp,mux=ts,dst=127.0.0.1:1212}}
Now i`ve seen on VLC Streaming How to doc. there is writen about mux= section on how to change the Audio ,Video&PCR ,Teletext ,Subttitle PID`s .

the command is pid-video=<pid> .

So can somebody describe me the algorithm of the command how to Change Audio and Video pid ,i tried a lot today from 8 clock on morning until now 10:00 pm but without success.

PS: i`m checking for PID`s with TSReader .

Best on advance

Re: Changing Audio and Video PID

Posted: 14 Aug 2009 09:31
by brain!ac
Please Reply Somebody ?

If i was not clear ask ,but please reply with some help because i need to finish the project.

Re: Changing Audio and Video PID

Posted: 16 Aug 2009 02:58
by brain!ac
Hi

Im done with the solution

Im using AVLC.dll on a Web Aplication build on ASP Visual Studio 2008

On the main Form i left user posibilities to chose Stream Destination ,Stream Source Bit Rate Protocol and Also PID Remap or PID Restamp .
Im using commands with variables and for PID`s and other stuff that VLC provides on it`s Proporties Menu im using a conf. file in Documents And Settings/User/Aplication Data/vlc/vlcrc .

Best on advance

Re: Changing Audio and Video PID

Posted: 31 May 2010 17:15
by daparic
it might come late, but could be useful for someone like me that was looking for the same problem and found this thread while searching with google...
I changed video and audio PID for a MPEG2TS file with this (vlc 1.0.6 Linux version, from Ubuntu 10.4):

Code: Select all

cvlc --play-and-exit "input.ts" --sout '#duplicate{dst=std{access=file,mux=ts{pid-video=101,pid-audio=201},dst="output.ts"}}'