[streaming] Re: Fwd: help about dvbstream

Nico Sabbi nsabbi at email.it
Thu Jul 27 16:24:53 CEST 2006


toni proyectista wrote:
>
>
> Hello,
>  
> I want to send stream video from a PC with dvbstream to another PC 
> with vlc,
> first I try to save the stream in a file:
>  
> dvbstream -c 1 -f 818000 -s 22000 VideoPID AudioPID 0 -ps -o > file.ps 
> <http://file.ps/>

never use -ps, save the TS instead

>  
> but I know that I need PMTPid, then I use decode_pat and decode_pmt to 
> do this,
> first I do this to save all the stream:
>  
> dvbstream -c 1 -f 818000 -s 22000 8192 -o > file.ts
>  
> then I run decode_pat "decode_pat file.ts > file.pat" and I obtain this:
>  
> New PAT
>   transport_stream_id : 1008
>   version_number      : 3
>     | program_number @ [NIT|PMT]_PID
>     |              0 @ 0x10 (16)
>     |            382 @ 0x3e8 (1000)
>     |            383 @ 0x5dc (1500)
>     |            385 @ 0x7d0 (2000)
>     |            386 @ 0x7da (2010)
>     |            387 @ 0x7e4 (2020)
>     |            490 @ 0x64 (100)
>     |            491 @ 0xc8 (200)
>   active              : 1
>  
> later I run decode_pmt "decode_pmt /home/file.ts 490 100 > file.pmt" 
> and I obtain this:
>  
>

0 (pat) 100 (pmt) 101 (video) 103 and 104 (last two are mpeg2 audio)
 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Refill srl dal 1993, il compatibile per stampante di qualità. 5000 prodotti in pronta consegna, consegna in 24h, assistenza telefonica da tecnici specializzati
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5192&d=27-7

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



More information about the streaming mailing list