Log in

View Full Version : Stream capture


tuxeric
23rd March 2012, 07:51
For moderators: if this post is in the wrong place, please move it to the appropriate section.


Hi,

My isp is giving iptv. Since they only give one stb for client and i live with my girlfriend, i had to dig into it.
They use multicast for streaming, so i wrote a little c program that joins the multicast group and wrote the contents of packets to disk.

The file can be found here:
http://www.mediafire.com/?dgxya4pld1i7h69

Some of the channels, sd ones, i can basically watch by using vlc and connecting directly into the stream.
Some of them however, mostly hd channels, but also sd are somehow encoded/scrambled. The sound is decoded ok by every player, but the video is mostly squares.

By sniffing, i saw ISO/IEC 13818-1 is used, which seems to be the standard for this.

Is there any way to play this, do i need a new codec? I would appreciate any info about the file.

The STB has a bcm7406 chip. ( i opened it ;) )

tuxeric
24th March 2012, 12:42
tstools reports this on the file.


Reading from .\file.out
Scanning 10000 TS packets

Packet 843 is PAT
Program list:
Program 1700 -> PID 06a4 (1700)

Packet 2127 is PMT with PID 06a4 (1700)
Program 1700, version 28, PCR PID 06a5 (1701)
Program info (12 bytes): 0f 04 53 41 50 53 09 04 06 66 e6 66
private data indicator (4 bytes): 53 41 50 53
Conditional access: id 0666 (1638) PID 0666 (1638)
Program streams:
PID 06a5 (1701) -> Stream type 1b ( 27) H.264/14496-10 video (MPEG-4/AVC)
ES info (23 bytes): 28 04 4d 00 1e 3f 2a 0f c1 7f 00 00 00 01 00 00 01 c2 00 00 03 e9 9f
Reserved (4 bytes): 4d 00 1e 3f
Reserved (15 bytes): c1 7f 00 00 00 01 00 00 01 c2 00 00 03 e9 9f
PID 06a6 (1702) -> Stream type 06 ( 6) H.222.0/13818-1 PES private data (maybe Dolby/AC-3 in DVB)
ES info (10 bytes): 0a 04 65 6e 67 00 6a 02 00 00
Languages: eng
DVB AC-3 (2 bytes): 00 00
PID 06b1 (1713) -> Stream type 06 ( 6) H.222.0/13818-1 PES private data (maybe Dolby/AC-3 in DVB)
ES info (10 bytes): 59 08 72 75 6d 10 00 02 00 02
subtitling_descriptor:
language='rum', subtitling_type=16
composition_page_id=2, ancillary_page_id=2

Found 14 PAT packets and 6 PMT packets in 10000 TS packets