Jump to content


Photo

AIT cropped from transport stream?

dvb hbbtv ait transport stream

  • Please log in to reply
8 replies to this topic

#1 bjoern

  • Member
  • 9 posts

0
Neutral

Posted 26 July 2015 - 15:31

Hi folks,

 

I am desperately trying to create recordings that include HbbTV but it seems that AIT (and also other DVB table information) are not saved within a recorded transport stream.

 

Even though I found the option to "Include AIT in http streams" and tried to record a stream via VLC, the resulting TS does not include an AIT either.

 

So my question is: Is there a way to create a TS that includes AIT or would it be possible to grab the "raw" DVB stream?

 

Cheers,

Bjoern!



Re: AIT cropped from transport stream? #2 Sjaaky

  • Senior Member
  • 7,443 posts

+41
Good

Posted 26 July 2015 - 20:08

The ts only includes the hbbtv url. Going to the live channel and starting hbbtv should give the same result. It requires an extra effort pressing buttons though.
Or do you know a channel where the hbbtv url differs for each program?

Re: AIT cropped from transport stream? #3 bjoern

  • Member
  • 9 posts

0
Neutral

Posted 27 July 2015 - 09:36

Sjaaky, thanks for your reply. Unfortunately it does not really touch my question.

 

Basically I want to record/capture a TS that includes AIT information, stream-events etc. to be able to re-broadcast it (with my own transmitter) in exactly the same way it was casted by the tv station.

 

Openpli creates TS that only contain PAT and PMT but no AIT information which is totally sufficient for recordings but not for my purpose.



Re: AIT cropped from transport stream? #4 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 27 July 2015 - 15:09

I was under the impression that AIT was record by default, by I may be wrong.

 

You DO understand that the contents of the HbbTV are never in the transport stream?


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: AIT cropped from transport stream? #5 radxnl

  • Senior Member
  • 1,527 posts

+57
Good

Posted 27 July 2015 - 15:21

bjoern,

 

if you really want to, add a small patch and it will force ait pids to be included in your recordings

 

Untested and it may not apply on the current OpenPli but you get the idea, I guess ;)

diff --git a/lib/service/servicedvbrecord.cpp b/lib/service/servicedvbrecord.cpp
index 6f284de..609faa4 100644
--- a/lib/service/servicedvbrecord.cpp
+++ b/lib/service/servicedvbrecord.cpp
@@ -406,6 +406,9 @@ int eDVBServiceRecord::doRecord()
 				}
 			}
 
+			/* add AIT pid (if any) */
+			if (program.aitPid >= 0) pids_to_record.insert(program.aitPid);
+
 				/* find out which pids are NEW and which pids are obsolete.. */
 			std::set<int> new_pids, obsolete_pids;
 


Re: AIT cropped from transport stream? #6 bjoern

  • Member
  • 9 posts

0
Neutral

Posted 31 July 2015 - 09:34

Awsome! That really worked after a long night of building an image for the first time ;-)

 

Thanks a lot radxnl!



Re: AIT cropped from transport stream? #7 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 1 August 2015 - 06:54

if you really want to, add a small patch and it will force ait pids to be included in your recordings

As this apparently works fine: is there any reason not to implement this? As it looks like this patch makes 'include AIT' really do what it says.

Re: AIT cropped from transport stream? #8 littlesat

  • PLi® Core member
  • 57,176 posts

+698
Excellent

Posted 1 August 2015 - 06:57

Look at our commits

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: AIT cropped from transport stream? #9 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 1 August 2015 - 07:02

Hehe, I looked yesterday, apparently just before the commit was made :)



Also tagged with one or more of these keywords: dvb, hbbtv, ait, transport stream

2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users