[vlc] Re: How to select audio PID from DVB-S

Derk-Jan Hartman hartman at videolan.org
Tue Mar 15 00:29:09 CET 2005


stud188206:~/Development/vlc pjotr$ VLC.app/Contents/MacOS/VLC  
--longhelp --advanced --help-verbose | grep pid
       --sout-ts-pid-video <integer>
       --sout-ts-pid-audio <integer>
       --sout-ts-pid-spu <integer>
       --sout-ts-pid-pmt <integer>
           Allows a user to specify an extra pmt  
(pmt_pid=pid:stream_type[,...])
       --ts-es-id-pid, --no-ts-es-id-pid
           set id of es to pid (default disabled)

I think the --sout-ts-pid-video family of options govern the outgoing  
pids.
They have no help available (SHAME ON WHOEVER ADDED THEM)  
unfortunately, but I think its safe to assume they are the starting  
position for audio and video pid assignment.

DJ

On 14 mrt 2005, at 18:44, Marian Durkovic wrote:
>>>   Is there any way to make the sout module honour the original PIDs  
>>> order
>>> or select one of the PIDs to be preferred (included as first in the
>> outgoing
>>> PMT)?
>>>
>>
>> I believe --ts-es-id-pid will do that.
>
> Unfortunately not completely. I have this switch in my script, and yes  
> it
> preserves the PID IDs from DVB input into the VLC "core", however, the
> mux_ts always seems to create it's own PMT and uses PIDs
> from 68 upwards in random order (the DVB order was 561, 641, 1601):
>
> [00000374] stream_out_duplicate private debug: duplicated a new stream
> codec=mpga (es=641 group=1)
> [00000380] main private debug: adding a new input
> [00000380] mux_ts private debug: adding input codec=mpga pid=68
> [00000380] mux_ts private debug: new PCR PID is 68
>
> [00000374] stream_out_duplicate private debug: duplicated a new  stream
> codec=mpga (es=1601 group=1)
> [00000380] main private debug: adding a new input
> [00000380] mux_ts private debug: adding input codec=mpga pid=69
>
> [00000374] stream_out_duplicate private debug: duplicated a new  stream
> codec=mpga (es=561 group=1)
> [00000380] main private debug: adding a new input
> [00000380] mux_ts private debug: adding input codec=mpga pid=70
>
>
> 	Thanks & kind regards,
>
> 		M.
>
> ----------------------------------------------------------------------- 
> ---
> ----                                                                   
> ----
> ----   Marian Durkovic                       network  manager          
> ----
> ----                                                                   
> ----
> ----   Slovak Technical University           Tel: +421 2 524 51 301    
> ----
> ----   Computer Centre, Nam. Slobody 17      Fax: +421 2 524 94 351    
> ----
> ----   812 43 Bratislava, Slovak Republic    E-mail/sip: md at bts.sk     
> ----
> ----                                                                   
> ----
> ----------------------------------------------------------------------- 
> ---
>
> -- 
> This is the vlc mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://www.videolan.org/support/lists.html
>
>
>
---
Universiteit Twente
Derk-Jan Hartman (d.hartman at student.utwente dot nl)
http://home.student.utwente.nl/d.hartman

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list