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:
With this data which parameters I should use to send videoPID 101 (The program that I want) to the client with dvbstream? which is the PMTPid that I need?
(first I want to probe to save to a file and then play the file with vlc)
Thanks,