home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
IPTV discussion
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Stinky" data-source="post: 43944" data-attributes="member: 13028"><p>Hoping to get some feedback from some other programmer-types. I've been looking through the MP source code for about a week and I think I have a handle on how everything works. Keep in mind that I'm a C# newb.</p><p></p><p>MP seems to structure everything around a DirectShow graph that is created based on the type of card;</p><p></p><p>- TVCaptureDeviceEx creates a new graph using GraphFactory.</p><p>- GraphFactory.CreateGraph "Creates a new DirectShow graph for the TV capturecard" based on the info in TVCapture.CardTypes (eg. SinkGraph, DVBGraphBDA, etc). It's up to that graph object to implement the device-specific routines needed to use that interface (StartRecording, StartTimeshifting, TuneChannel etc)</p><p></p><p>The best way I see to implement IPTV into MP is to create a new card type within the MP source and a new graph class to go along with it. The problem is that there doesn't seem to be anything in DirectShow to work with a UDP stream (perhaps due to MS having their fingers in the IPTV market?). One method that looks interesting is RenderFile(L"C:\\Example.avi", NULL); - you can include a URL as the filename but as far as I can see, it's only for play mode and the URL has to be an HTTP one. See <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directshow/htm/igraphbuilderrenderfile.asp" target="_blank">this MSDN page</a> for more details. </p><p></p><p>I think to be effective, any given IPTV channel has to use the guide and be capable of timeshifting and recording in addition to viewing. Just viewing isn't gonna cut it. </p><p></p><p>My IPTV comes in on udp 239.x.x.x:94xx - a reserved multicast IP range with the URL and port being specific to the channel. Which brings me to the next issue.. Setting up these channels is going to be cumbersome, something MP is really good at getting past. Keeping that tradition is going to be tough.</p><p></p><p>Anyone have any feedback? I'd like to keep working on this but it's a bit overwhelming..</p></blockquote><p></p>
[QUOTE="Stinky, post: 43944, member: 13028"] Hoping to get some feedback from some other programmer-types. I've been looking through the MP source code for about a week and I think I have a handle on how everything works. Keep in mind that I'm a C# newb. MP seems to structure everything around a DirectShow graph that is created based on the type of card; - TVCaptureDeviceEx creates a new graph using GraphFactory. - GraphFactory.CreateGraph "Creates a new DirectShow graph for the TV capturecard" based on the info in TVCapture.CardTypes (eg. SinkGraph, DVBGraphBDA, etc). It's up to that graph object to implement the device-specific routines needed to use that interface (StartRecording, StartTimeshifting, TuneChannel etc) The best way I see to implement IPTV into MP is to create a new card type within the MP source and a new graph class to go along with it. The problem is that there doesn't seem to be anything in DirectShow to work with a UDP stream (perhaps due to MS having their fingers in the IPTV market?). One method that looks interesting is RenderFile(L"C:\\Example.avi", NULL); - you can include a URL as the filename but as far as I can see, it's only for play mode and the URL has to be an HTTP one. See [url=http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directshow/htm/igraphbuilderrenderfile.asp]this MSDN page[/url] for more details. I think to be effective, any given IPTV channel has to use the guide and be capable of timeshifting and recording in addition to viewing. Just viewing isn't gonna cut it. My IPTV comes in on udp 239.x.x.x:94xx - a reserved multicast IP range with the URL and port being specific to the channel. Which brings me to the next issue.. Setting up these channels is going to be cumbersome, something MP is really good at getting past. Keeping that tradition is going to be tough. Anyone have any feedback? I'd like to keep working on this but it's a bit overwhelming.. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
IPTV discussion
Contact us
RSS
Top
Bottom