UK Digital Interactive - Red Button (MHEGPlugin) (3 Viewers)

snakeman65

Portal Pro
January 21, 2007
68
6
41
Aylesbury
Home Country
United Kingdom United Kingdom
This is probably no good but I got this from a ts file recorded from uk channel TMF (My aerial has moved, its all I can pick up till I get on the roof this weekend!!) which I then analyzed with dvbsnoop. Let me know if i'm getting anywhere near close to what you need!:



------------------------------------------------------------
TS-Packet: 00000273 PID: (Unkown PID), Length: 188 (0x00bc)
from file: Test.ts
------------------------------------------------------------
0000: 47 4f a0 11 00 3c b0 85 00 07 c5 00 00 11 03 10 GO...<..........
0010: 03 00 00 00 01 ff 00 00 70 00 07 02 ff 00 00 78 ........p......x
0020: da 73 f2 f4 0f 60 64 00 01 46 56 30 cd 52 5c 94 .s...`d..FV0.R\.
0030: ce 00 01 5f 18 98 19 99 12 19 58 d2 32 73 18 40 ..._......X.2s.@
0040: 72 60 06 48 a5 67 b0 3f 1b 90 d6 60 60 02 b2 02 r`.H.g.?...``...
0050: b8 40 42 0c 1c 8c 0c 8c 20 09 07 21 90 52 31 86 .@B..... ..!.R1.
0060: 54 2e 06 c6 06 a0 1e e6 c9 ed 0c 0c 1c 50 13 19 T............P..
0070: 18 99 8b 0d 49 30 90 9d 08 03 33 89 35 90 13 68 ....I0....3.5..h
0080: 20 2b 41 03 01 be 58 1e 3a 1c ac 13 6d 3c b4 da +A...X.:...m<..
0090: 00 08 c5 00 00 11 03 10 03 00 00 00 01 ff 00 04 ................
00a0: c5 00 08 02 ff 00 00 78 da b5 56 cd 6f 1b 45 14 .......x..V.o.E.
00b0: df 19 4f e2 24 ad 41 11 95 ca 47 9a ..O.$.A...G.

Sync-Byte 0x47: 71 (0x47)
Transport_error_indicator: 0 (0x00) [= packet ok]
Payload_unit_start_indicator: 1 (0x01) [= Packet data starts]
transport_priority: 0 (0x00)
PID: 4000 (0x0fa0) [= NIT, PMT or Elementary PID, etc.]
transport_scrambling_control: 0 (0x00) [= No scrambling of TS packet payload]
adaptation_field_control: 1 (0x01) [= no adaptation_field, payload only]
continuity_counter: 1 (0x01) [= (sequence ok)]
Payload: (len: 184)
==> pointer_field: 0 (0x00)
==> Section table: 60 (0x3c) [= DSM-CC - Download Data Messages (DDB)]
Data-Bytes:
0000: 00 3c b0 85 00 07 c5 00 00 11 03 10 03 00 00 00 .<..............
0010: 01 ff 00 00 70 00 07 02 ff 00 00 78 da 73 f2 f4 ....p......x.s..
0020: 0f 60 64 00 01 46 56 30 cd 52 5c 94 ce 00 01 5f .`d..FV0.R\...._
0030: 18 98 19 99 12 19 58 d2 32 73 18 40 72 60 06 48 ......X.2s.@r`.H
0040: a5 67 b0 3f 1b 90 d6 60 60 02 b2 02 b8 40 42 0c .g.?...``....@B.
0050: 1c 8c 0c 8c 20 09 07 21 90 52 31 86 54 2e 06 c6 .... ..!.R1.T...
0060: 06 a0 1e e6 c9 ed 0c 0c 1c 50 13 19 18 99 8b 0d .........P......
0070: 49 30 90 9d 08 03 33 89 35 90 13 68 20 2b 41 03 I0....3.5..h +A.
0080: 01 be 58 1e 3a 1c ac 13 6d 3c b4 da 00 08 c5 00 ..X.:...m<......
0090: 00 11 03 10 03 00 00 00 01 ff 00 04 c5 00 08 02 ................
00a0: ff 00 00 78 da b5 56 cd 6f 1b 45 14 df 19 4f e2 ...x..V.o.E...O.
00b0: 24 ad 41 11 95 ca 47 9a $.A...G.
==========================================================
 

Flipit

Portal Pro
February 19, 2005
100
0
That's it.

Just need the full DDB section... preferably BBC channel as I know they contain MHEG, guess TMF does as well though.

Thanks
 

snakeman65

Portal Pro
January 21, 2007
68
6
41
Aylesbury
Home Country
United Kingdom United Kingdom
Right, here's what I got from bbci (mheg5 only channel). Is this helpful?

------------------------------------------------------------
TS-Packet: 00000309 PID: 650 (0x028a), Length: 188 (0x00bc)
from file: Test2.ts
------------------------------------------------------------
Sync-Byte 0x47: 71 (0x47)
Transport_error_indicator: 0 (0x00) [= packet ok]
Payload_unit_start_indicator: 1 (0x01) [= Packet data starts]
transport_priority: 0 (0x00)
PID: 650 (0x028a) [= NIT, PMT or Elementary PID, etc.]
transport_scrambling_control: 0 (0x00) [= No scrambling of TS packet payload]
adaptation_field_control: 1 (0x01) [= no adaptation_field, payload only]
continuity_counter: 14 (0x0e) [= (sequence ok)]
Payload: (len: 184)
==> pointer_field: 109 (0x6d)
==> Section table: 60 (0x3c) [= DSM-CC - Download Data Messages (DDB)]
Data-Bytes:
0000: 6d 49 10 e2 56 75 9f 41 5f 23 0d 6c 61 ce 81 16 mI..Vu.A_#.la...
0010: 53 73 cc 4c 5f 03 c2 95 61 ad 57 5a 4e 93 06 99 Ss.L_...a.WZN...
0020: 5f 96 b7 a6 f5 b1 62 7d 3a 56 d5 8f 09 ea a7 63 _.....b}:V.....c
0030: 67 e5 b2 63 5f f9 5e 2f 88 6a b9 18 37 b8 f7 e4 g..c_.^/.j..7...
0040: 77 99 79 7e 14 2f c0 aa c7 d7 c2 aa 5f f8 3f 08 w.y~./......_.?.
0050: ab fe c2 95 cc f3 7f c5 1f ff 2d 3f fc 2e 61 d5 ..........-?..a.
0060: 0f 02 76 ee 7f 44 4a 2e e7 de 7d 5d a3 be 3c ba ..v..DJ...}]..<.
0070: f4 00 98 c7 00 00 11 03 10 03 00 00 00 01 ff 00 ................
0080: 0a df 00 98 83 ff 00 00 78 da ed 9a 09 5c 53 47 ........x....\SG
0090: 1e c7 27 09 47 b8 e3 d1 95 c3 12 50 54 84 2a 44 ..'.G......PT.*D
00a0: 40 ee 3e 88 81 80 02 45 30 ae 50 21 1c 9a 02 f5 @.>....E0.P!....
00b0: aa 50 ab d2 32 01 b1 72 .P..2..r
==========================================================

Naturally, I can provide hundreds of mb of this kind of thing if you need it!!

The command i've been using is:

dvbsnoop -if Test2.ts -nph -s ts 0x028A

if you want to get in touch via email i'd be happy to send you as much as you need: chris (dot) s (dot) foot (at) ntlworld (dot) com
 

Flipit

Portal Pro
February 19, 2005
100
0
Thanks for the help... I've now tested my Deflate method and all seems to be working fine, data you provided deflated to:

BIOP\0\0\0\0\0\0\0\0\0srg\0\0\0\0\0\0\0?\0a\0fil\0\0\0\0fil\0\0\0\0ISO\0\0\0(\0ISOP\n\0\0\0\0\b\0ISO@\0\0\0\0e\n\0?\0\0??\0\0\b\0\0\0\0\0\0\0\0s1\0fil\0\0\0\0fil\0\0\0\0ISO\0\0\0(\0ISOP\n\0\0\0\0\b\0\aISO@\0\0\0\0e\n\0...

This is a string of the deflated block... as you can see we get the word BIOP indicating the block contains a MHEG message.

McGroober's almost finished the DSMCCGrabber callback which he's been adding to the TSwriter filter, I've basicly completed the Data Carousel Classes and Methods, now need to work on the Object Carousel.

Hopefully have a first Beta out in the public domain in the near furture.

Flipit
 

bfj

Portal Pro
January 3, 2007
50
3
Home Country
United Kingdom United Kingdom
hi guys, just checked my subscribed topics list and noticed this thread had been quiet for awhile and was wondering if there was any updates.

BFJ
 

McGoober

Retired Team Member
  • Premium Supporter
  • August 13, 2006
    122
    105
    Cambridge, UK
    Home Country
    United Kingdom United Kingdom
    Have no fear bfj and all, Flipit and I have been working really hard on this over the last few weeks. We don't have any screen shots or anything yet, but we are very close to one... or two.

    We now have a fully functioning MHEG engine which pretty much processes any MHEG code we chuck at it (all written in C#). Since I'm a little short on MHEG examples the graphic drawing code is a little thin, hence no screenshots yet.

    Flipit has managed to come up with a stand-alone app that reads DSM-CC messages from the MPEG transport stream (TS) and even create some files from the carousels. we tried running some through the MHEG engine with some success, but we were missing a key startup file which meant no graphics or functioning MHEG application.

    Recently I have been trying to integrate code into the TVServer (or at least a local copy of it, so don't expect anything in the SVN TvServer yet!).
    I have managed to get DSM-CC Grabbing working (basically allows DSM-CC messages to be captured from the TS and sent for processing). Now I'm trying to add Flipit's DSM-CC processing code. Only the remote api to go and that should be all that's required for the backend.

    The frontend for the moment is a stand-alone app which shows a picture of a remote control next to an image of the MHEG engine output.

    Just to give you an idea on the size of this project, the MHEG engine alone totals about 14,000 lines of code. So when you guys said it was going to be a tricky project you weren't kidding!
     

    Paranoid Delusion

    Moderation Manager
  • Premium Supporter
  • June 13, 2005
    13,062
    2,978
    Cheshire
    Home Country
    United Kingdom United Kingdom
    Just to give you an idea on the size of this project, the MHEG engine alone totals about 14,000 lines of code. So when you guys said it was going to be a tricky project you weren't kidding!

    I Did not, Frodo did

    Well done guys, sounds really promising.

    Anything you need doing, let everyone know, MHEG files etc.
     

    Users who are viewing this thread

    Top Bottom