IPTV/DVB-IP in MP: Support for http, rtp and udp (3 Viewers)

velis

MP Donator
  • Premium Supporter
  • July 16, 2009
    237
    50
    Radovljica
    Home Country
    Slovenia Slovenia
    On Stepko's suggestion I refrained from posting non-working code (again) :D
    Have fun during weekend and next week we finish this :)
     

    georgius

    Retired Team Member
  • Premium Supporter
  • October 31, 2010
    1,376
    655
    Bratislava
    Home Country
    Slovakia Slovakia
    New and better version of my filter :) Now it works faster, with less memory consumption and with lower CPU utilization. Tested with simulated UDP, HTTP and RTP (via VLC) and with real provider UDP protocol.

    If anybody will test, please, let me know if it works.
     

    Mr.Blade

    Portal Member
    June 23, 2008
    19
    3
    Home Country
    Denmark Denmark
    Hi georgius,

    I can not get your filter to work, and I do not understand why,
    now when the magic filter from Velis works without problems,
    and I use only UDP.:confused:
     

    Stepko

    Retired Team Member
  • Premium Supporter
  • September 29, 2007
    186
    152
    Hamburg/Wolfsburg
    Home Country
    Germany Germany
    AW: Re: IPTV/DVB-IP in MP: Support for http, rtp and udp

    If anybody will test, please, let me know if it works.
    Can you post the source code? I would like to stress test your version with real life rtp. But for a good testing session I need to add some debug output. Or you could add the debug output:
    In the rtp header there is a sequence number, that is incremented on each package (0 - 65536). If there is a break in the sequence number the filter should write the last and the current sequence number in the log file. This way I can track every single packet loss without watching all the time :D

    Stepko
     

    georgius

    Retired Team Member
  • Premium Supporter
  • October 31, 2010
    1,376
    655
    Bratislava
    Home Country
    Slovakia Slovakia
    Re: AW: Re: IPTV/DVB-IP in MP: Support for http, rtp and udp

    Source code attached to my latest post with release.
     

    Mr.Blade

    Portal Member
    June 23, 2008
    19
    3
    Home Country
    Denmark Denmark
    I don't know if you can see anything in my logs, for all I
    get is a unknown error. when I try to Preview a channel.
     

    georgius

    Retired Team Member
  • Premium Supporter
  • October 31, 2010
    1,376
    655
    Bratislava
    Home Country
    Slovakia Slovakia
    I don't know if you can see anything in my logs, for all I
    get is a unknown error. when I try to Preview a channel.

    Is there file MPIPTVSource.log (without date) in TvService log folder when using my filter? I don't see this file in attached logs.
     

    daHive

    Portal Pro
    March 1, 2007
    109
    0
    Home Country
    Austria Austria
    AW: IPTV/DVB-IP in MP: Support for http, rtp and udp

    i´ve been following this thread for the last couple of weeks, thanks for all the work you guys (stepko, velis & georgius) have put into the iptv filter!
    i just got a new htpc and i´m currently trying to iron out the remaining nuisances.
    i´m using udp based iptv for watching tv and have been trying out a couple of the filters posted in this thread. video quality is good, and there are no framedrops(with velis´ magic-filter). but on several channels i got audio sync issues of about 0.5 up to a few secs (mostly audio is lagging behind the picture). i was suspecting it had something to do with ac3 or mpg audio(most of the time if a channel has both options one of them has the correct sync), but i have channels with 2 mpg tracks where none has the correct sync (for example "zdf neo") .
    i´m using saf5.0 with ffdshow set as tv-filters. i´m also trying the mediaportal audio renderer now(but syncing issues are the same as before).
    gonna give georgius latest filter a try next.

    edit: i also get the unknown error with georgius latest filter.
     

    Stepko

    Retired Team Member
  • Premium Supporter
  • September 29, 2007
    186
    152
    Hamburg/Wolfsburg
    Home Country
    Germany Germany
    AW: IPTV/DVB-IP in MP: Support for http, rtp and udp

    Hi georgius,

    just wanna post the results of the test I did with your version. It did a very good job!!!
    The test: I recorded one channel and then started live TV on another channel. So there were 2 channels running at the same time! I zapped around a bit and then let both channels run for 2 hour. Counting both channels the filter recorded 4 hours.

    Result: All in all there were only 2 frame drops. The second was only because I started a big download on the same connection :)
    I think this version works very well on rtp streams. The only downside is that it doesn't pass the timestamps to the next filter (there is a rtp timestamp in the rtp header).
    Will try this version on my htpc for the next days to see how it works in a longer term.

    Stepko
     

    Users who are viewing this thread

    Top Bottom