List Info

Thread: help about dvbstream




help about dvbstream
user name
2006-07-27 14:13:56
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">^spa^P~H"
   ; |  ] 0xc3 : "^A^ZèéêëìíîïðóôõöÈÉÊËÌÍÎÏÐÓÔÕÖ"
    |  ] 0x45 : "^A^ZèéêëìíîïðóôõöÈÉÊËÌÍÎÏÐÓÔÕÖ"
  ;  | 0x0b 0x19d (413)
    |  ] 0x14 : "^^H~4^^^^Tÿ">^Av^^^H~4^^^^Tÿ^"
    |  ] 0x52 : "v"
   ; |  ] 0x13 : "^^^W^AP">^^^^W^AP^
^^ND^^^^ND">^Oâ^^^ND^^^^ND   ;  ^DSGW^"
    |  ] 0x66 : "ð">^ð"
    | 0x05 0x1b8 (440)
    |  ] 0x6f : "^Aá">^^Aá"
    | 0x0b 0x1b9 (441)
    |  ] 0x14 : "^^H~+^^A^^Xp">^Aw^^^H~+^^A^^Xp"
    |  ] 0x52 : "w"
   ; |  ] 0x13 : "^^^Y^A">^^^^Y^A+^
^^Lÿ^^^^Lÿ^O^DSGW">^Oâ^^^Lÿ^^^^Lÿ^O^DSGW^"
    |  ] 0x66 : "ð^^A">^ð^^A"
    | 0x05 0x1ba (442)
    |  ] 0x6f : "^Aá">^^Aá"
    | 0x0b 0x1bb (443)
    |  ] 0x14 : "^^H~Z^^^^Tÿ">^Ax^^^H~Z^^^^Tÿ^"
    |  ] 0x52 : "x"
    |  ] 0x13 : "^^^V^AZ">^^^^V^AZ^
^^^~Q^^^^^~Q^R^DSGW">^Oâ^^^^~Q^^^^^~Q^R^DSGW^"
    |  ] 0x66 : "ð"> ^ð"
    | 0x05 0x1bc (444)
    |  ] 0x6f : "^Aá">^^Aá"
    | 0x0b 0x1bd (445)
 |  ] 0x14 : "^^H~C^^A^^Tÿ">^As^^^H~C^^A^^Tÿ^"
    |  ] 0x52 : "s"
    |  ] 0x13 : "^^^U^AC">^^^^U^AC^
^^B¬^^^^B¬^C^DSGW">^Oâ^^^B¬^^^^B¬^C^DSGW^"
    |  ] 0x66 : "ð"> ^ð"
    | 0x05 0x1c0 (448)
    |  ] 0x6f : "^Aá">^^Aá"
    | 0x05 0x1c2 (450)
    |  ] 0x6f : "^Aá">^^Aá"
    | 0x0b 0x1c3 (451)
    |  ] 0x14 : "^^H~6^^^^Tÿ">^Ay^^^H~6^^^^Tÿ^"
    |  ] 0x52 : "y"
    |  ] 0x13 : "^^^Z^A">^^^^Z^A=^
^^QÃ^^^^QÃ^K^DSGW"> ^Oâ^^^QÃ^^^^QÃ^K^DSGW^"
    |  ] 0x66 : "ð">^ð"
    | 0x05 0x1c4 (452)
    |  ] 0x6f : "^Aá">^^Aá"
    | 0x0b 0x1c5 (453)
    |  ] 0x14 : "^^H~-^^A^^Tÿ">^At^^^H~-^^A^^Tÿ^"
    |  ] 0x52 : "t"
    |  ] 0x13 : "^^^[^AQ">^^^^[^AQ^
^^Kã^^^^Kã^G^DSGW"> ^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,
help about dvbstream
user name
2006-07-27 14:53:38
On Thu, Jul 27, 2006 at 04:13:56PM +0200, 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:

  seems totally unrelated to libxml2, wrong list !

Daniel

-- 
Daniel Veillard      | Red Hat http://redhat.com/
veillardredhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ |
Rpmfind RPM search engine http://rpmfind.net/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xmlgnome.org
http://mai
l.gnome.org/mailman/listinfo/xml
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )