Fwd: help about dvbstream

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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:
 
New active PMT
  program_number : 490
  version_number : 25
  PCR_PID        : 0x65 (101)
    | type @ elementary_PID
    | 0x02 @ 0x65 (101)
    |  ] 0x02 : "~ZH_"
    | 0x03 @ 0x67 (103)
    |  ] 0x0a : "cat^@"
    | 0x03 @ 0x68 (104)
    |  ] 0x0a : "esl^@"
    | 0x06 @ 0x66 (102)
    |  ] 0x56 : "spa    ^@spa^P~H"
    |  ] 0xc3 : "^A^ZèéêëìíîïðóôõöÈÉÊËÌÍÎÏÐÓÔÕÖ"
    |  ] 0x45 : "^A^ZèéêëìíîïðóôõöÈÉÊËÌÍÎÏÐÓÔÕÖ"
    | 0x0b @ 0x19d (413)
    |  ] 0x14 : " ^Av^@^@^H~@4^@^@^@^Tÿ^@"
    |  ] 0x52 : "v"
    |  ] 0x13 : "^@^@^@^W^AP^@
^Oâ^@^@^ND^@^@^@^ND     ^DSGW^@"
    |  ] 0x66 : " ^@ð"
    | 0x05 @ 0x1b8 (440)
    |  ] 0x6f : "^@^Aá"
    | 0x0b @ 0x1b9 (441)
    |  ] 0x14 : " ^Aw^@^@^H~@+^@^A^@^Xp@"
    |  ] 0x52 : "w"
    |  ] 0x13 : " ^@^@^@^Y^A+^@
^Oâ^@^@^Lÿ^@^@^@^Lÿ^O^DSGW^@"
    |  ] 0x66 : "^@ð^@^A"
    | 0x05 @ 0x1ba (442)
    |  ] 0x6f : "^@^Aá"
    | 0x0b @ 0x1bb (443)
    |  ] 0x14 : " ^Ax^@^@^H~@Z^@^@^@^Tÿ^@"
    |  ] 0x52 : "x"
    |  ] 0x13 : "^@^@^@^V^AZ^@
^Oâ^@^@^^~Q^@^@^@^^~Q^R^DSGW^@"
    |  ] 0x66 : " ^@ð"
    | 0x05 @ 0x1bc (444)
    |  ] 0x6f : " ^@^Aá"
    | 0x0b @ 0x1bd (445)
 |  ] 0x14 : " ^As^@^@^H~@C^@^A^@^Tÿ^@"
    |  ] 0x52 : "s"
    |  ] 0x13 : "^@^@^@^U^AC^@
^Oâ^@^@^B¬^@^@^@^B¬^C^DSGW^@"
    |  ] 0x66 : " ^@ð"
    | 0x05 @ 0x1c0 (448)
    |  ] 0x6f : " ^@^Aá"
    | 0x05 @ 0x1c2 (450)
    |  ] 0x6f : " ^@^Aá"
    | 0x0b @ 0x1c3 (451)
    |  ] 0x14 : "^Ay^@^@^H~@6^@^@^@^Tÿ ^@"
    |  ] 0x52 : "y"
    |  ] 0x13 : "^@^@^@^Z^A=^@
^Oâ^@^@^QÃ^@^@^@^QÃ^K^DSGW ^@"
    |  ] 0x66 : "^@ð"
    | 0x05 @ 0x1c4 (452)
    |  ] 0x6f : " ^@^Aá"
    | 0x0b @ 0x1c5 (453)
    |  ] 0x14 : "^At^@^@^H~@-^@^A^@^Tÿ ^@"
    |  ] 0x52 : "t"
    |  ] 0x13 : "^@^@^@^[^AQ^@
^Oâ^@^@^Kã^@^@^@^Kã^G^DSGW ^@"
    |  ] 0x66 : "^@ð"
    | 0x80 @ 0x1c6 (454)
    | 0x80 @ 0x1c7 (455)
 
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,
_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux