[xml] help about dvbstream
- From: "toni proyectista" <toni proyectista gmail com>
- To: xml gnome org
- Subject: [xml] help about dvbstream
- Date: Thu, 27 Jul 2006 16:13:56 +0200
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
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:
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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]