[streaming] Fwd: help about dvbstream

toni proyectista toni.proyectista at gmail.com
Thu Jul 27 16:17:45 CEST 2006


 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 <%5E at spa%5EP~H>"
    |  ] 0xc3 : "^A^ZèéêëìíîïðóôõöÈÉÊËÌÍÎÏÐÓÔÕÖ"
    |  ] 0x45 : "^A^ZèéêëìíîïðóôõöÈÉÊËÌÍÎÏÐÓÔÕÖ"
    | 0x0b @ 0x19d (413)
    |  ] 0x14 : "^Av^@^@^H~@4^@^@^@^Tÿ<%5EAv%5E@%5E@%5EH~@4%5E@%5E@%5E@%5ETÿ>
^@"
    |  ] 0x52 : "v"
    |  ] 0x13 : "^@^@^@^W^AP <%5E@%5E@%5E@%5EW%5EAP>^@
^Oâ^@^@^ND^@^@^@^ND <%5EOâ%5E@%5E@%5END%5E@%5E@%5E@%5END>     ^DSGW^@"
    |  ] 0x66 : "^@ð <%5E@ð>"
    | 0x05 @ 0x1b8 (440)
    |  ] 0x6f : "^@^Aá <%5E@%5EAá>"
    | 0x0b @ 0x1b9 (441)
    |  ] 0x14 : "^Aw^@^@^H~@+^@^A^@^Xp<%5EAw%5E@%5E@%5EH~@+%5E@%5EA%5E@%5EXp>
@"
    |  ] 0x52 : "w"
    |  ] 0x13 : "^@^@^@^Y^A <%5E@%5E@%5E@%5EY%5EA>+^@
^Oâ^@^@^Lÿ^@^@^@^Lÿ^O^DSGW^@"
    |  ] 0x66 : "^@ð^@^A <%5E@ð%5E@%5EA>"
    | 0x05 @ 0x1ba (442)
    |  ] 0x6f : "^@^Aá <%5E@%5EAá>"
    | 0x0b @ 0x1bb (443)
    |  ] 0x14 : "^Ax^@^@^H~@Z^@^@^@^Tÿ<%5EAx%5E@%5E@%5EH~@Z%5E@%5E@%5E@%5ETÿ>
^@"
    |  ] 0x52 : "x"
    |  ] 0x13 : "^@^@^@^V^AZ <%5E@%5E@%5E@%5EV%5EAZ>^@
^Oâ^@^@^^~Q^@^@^@^^~Q^R^DSGW^@"
    |  ] 0x66 : " ^@ð <%5E@ð>"
    | 0x05 @ 0x1bc (444)
    |  ] 0x6f : "^@^Aá <%5E@%5EAá>"
    | 0x0b @ 0x1bd (445)
 |  ] 0x14 : "^As^@^@^H~@C^@^A^@^Tÿ <%5EAs%5E@%5E@%5EH~@C%5E@%5EA%5E@%5ETÿ>^@"

    |  ] 0x52 : "s"
    |  ] 0x13 : "^@^@^@^U^AC <%5E@%5E@%5E@%5EU%5EAC>^@
^Oâ^@^@^B¬^@^@^@^B¬^C^DSGW^@"
    |  ] 0x66 : " ^@ð <%5E@ð>"
    | 0x05 @ 0x1c0 (448)
    |  ] 0x6f : "^@^Aá <%5E@%5EAá>"
    | 0x05 @ 0x1c2 (450)
    |  ] 0x6f : "^@^Aá <%5E@%5EAá>"
    | 0x0b @ 0x1c3 (451)
    |  ] 0x14 : "^Ay^@^@^H~@6^@^@^@^Tÿ<%5EAy%5E@%5E@%5EH~@6%5E@%5E@%5E@%5ETÿ>
^@"
    |  ] 0x52 : "y"
    |  ] 0x13 : "^@^@^@^Z^A <%5E@%5E@%5E@%5EZ%5EA>=^@
^Oâ^@^@^QÃ^@^@^@^QÃ^K^DSGW^@"
    |  ] 0x66 : "^@ð <%5E@ð>"
    | 0x05 @ 0x1c4 (452)
    |  ] 0x6f : "^@^Aá <%5E@%5EAá>"
    | 0x0b @ 0x1c5 (453)
    |  ] 0x14 : "^At^@^@^H~@-^@^A^@^Tÿ<%5EAt%5E@%5E@%5EH~@-%5E@%5EA%5E@%5ETÿ>
^@"
    |  ] 0x52 : "t"
    |  ] 0x13 : "^@^@^@^[^AQ <%5E@%5E@%5E@%5E[%5EAQ>^@
^Oâ^@^@^Kã^@^@^@^Kã^G^DSGW^@"
    |  ] 0x66 : "^@ð <%5E@ð>"
    | 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,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.videolan.org/pipermail/streaming/attachments/20060727/6a611db5/attachment.htm 


More information about the streaming mailing list