Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


View this topic in a long page with up to 500 replies per page Create new topic
1 | 2 | 3 | 4 | 5 | 6 | 7
tokyovigilante
58 posts

Master Geek


  #446424 7-Mar-2011 19:49
Send private message

That page is out of date, for example my EyeTV for DTT USB stick (which I believe is a rebranded Hauppauge stick) is supported.



TechnoGuy001

861 posts

Ultimate Geek
+1 received by user: 123

ID Verified

  #446426 7-Mar-2011 19:51
Send private message

Ah ok, well maybe it is supported then... Well ill be more then happy to try anything you come up with :)

reven
3748 posts

Uber Geek
+1 received by user: 874

Trusted

  #446427 7-Mar-2011 19:51
Send private message

tokyovigilante: The raw DVB-T stream from EyeTV can be captured using the EyeTV plugin SDK. I did it when I was experimenting with adding live TV support to the Plex media centre.

If EPG Collector could be ported or run under Mono, it's entirely feasible that an EyeTV plugin could be created to automatically extract the MHEG-5 info from the stream, convert it to XML, and import it into EyeTV. I'm planning some further research into this, but am a little time limited.

If anyone has links to a high-level overview of EPG collector, and what it requires in the way of DVB stream length, and from which muxes, that would be very useful. 


pretty sure the epg collector is all directshow so cant port that.   



tokyovigilante
58 posts

Master Geek


  #446428 7-Mar-2011 19:53
Send private message

Thats only the portion that integrates with the tuner. That can be replaced with the EyeTV plugin. The issue is parsing the MHEG-5 data. MHEG2XMLTV (which admittedly is older) can use a DSM-CC dump from the MPEG transport stream, and that is obtainable easily, so that is another option. 

Basically if I can work out how to get a MHEG parser (either EPG collector or MHEG2XMLTV) running on a Mac we should be in business. 

TechnoGuy001

861 posts

Ultimate Geek
+1 received by user: 123

ID Verified

  #446432 7-Mar-2011 19:59
Send private message

What about trying to use the linux one: http://www.geekzone.co.nz/forums.asp?forumid=126&topicid=60651
I think it's just a shell script, shouldn't be that hard to get it to work natively on a mac.

tokyovigilante
58 posts

Master Geek


  #446434 7-Mar-2011 20:01
Send private message

mheg2xmltv seems less well supported than EPG Collector. Also, it's a little more than a shell script, it's a MHEG-5 parser. It does already run on a mac though. I'll probably start with it.

 
 
 

Shop now at Mighty Ape (affiliate link).

SJB

SJB
2945 posts

Uber Geek
+1 received by user: 2287
Inactive user


  #446877 9-Mar-2011 10:05
Send private message

EPG Collector can take a dump of a transport stream instead of a live feed. I use it for testing/developing when I don't have access to the live stream.

Unfortunately this feature still accesses the tuner using DirectShow. That would need to be changed. Not a big deal though.

tokyovigilante
58 posts

Master Geek


  #447042 9-Mar-2011 18:10
Send private message

SJB: EPG Collector can take a dump of a transport stream instead of a live feed. I use it for testing/developing when I don't have access to the live stream.

Unfortunately this feature still accesses the tuner using DirectShow. That would need to be changed. Not a big deal though.

That sounds very promising, I've already got code that can automatically export a short TS segment from EyeTV. Do individual channels contain the EPG for the entire mux, or just for each channel?

TechnoGuy001

861 posts

Ultimate Geek
+1 received by user: 123

ID Verified

  #447051 9-Mar-2011 18:49
Send private message

One channel has the entire EPG for all channels everything.

SJB

SJB
2945 posts

Uber Geek
+1 received by user: 2287
Inactive user


  #447105 9-Mar-2011 22:07
Send private message

For NZ Freeview frequency 12456h or 12483h will give you the MHEG5 data for all the Freeview channels.

For Pay TV 12519h will give you all the OpenTV data.

A 60 second dump would almost be enough.

tokyovigilante
58 posts

Master Geek


  #447107 9-Mar-2011 22:08
Send private message

That sounds really good, it would be pretty straightforward to capture 60s or so from EyeTV late at night, then run EPG collector on the TS dump, then reimport as XML.

I'll try to take a look at the code this weekend, although most of my experience is straight C and Obj-C on the Mac.

 
 
 
 

Shop now for Lego sets and other gifts (affiliate link).

SJB

SJB
2945 posts

Uber Geek
+1 received by user: 2287
Inactive user


  #447161 10-Mar-2011 09:25
Send private message

I'll do the changes necessary so that a tuner isn't required. It would be useful for my testing anyway.

Does Mono impose any restrictions you know about? I don't think I have used any interop to call Win32 API's directly but I'll have to check.

tokyovigilante
58 posts

Master Geek


  #447376 10-Mar-2011 18:27
Send private message

Not so far as I know, I think the WinForms bindings are a bit dicey, but most of the non-GUI APIs are fairly robust. Once you've made the changes to read directly from a TS, I'll see if I can get it building / running on OS X and let you know if I have any problems.

Thanks!

SJB

SJB
2945 posts

Uber Geek
+1 received by user: 2287
Inactive user


  #447755 12-Mar-2011 10:01
Send private message

I've done the changes to run withuot a tuner. I also took a look at the Mono site and did some other changes listed under guidelines there to make it portable. They mostly involved dealing with directory paths in a generic way.

We won't bother with the GUI part of the Collector as it's only a convenience and none of it is needed to do a collection.

What do I need to supply so you can try it?

tokyovigilante
58 posts

Master Geek


  #447784 12-Mar-2011 12:44
Send private message

That's fantastic work, thanks!

Probably all I'll need is the binary and relevant command-line switches. I'll just use the EyeTV GUI to export a 30 second segment and test it manually, then once it's working just integrate it into the plugin with an NSTask wrapper.

If every channel carries the entire EPG then I won't even need to stop playback/recording to parse it.

1 | 2 | 3 | 4 | 5 | 6 | 7
View this topic in a long page with up to 500 replies per page Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.