any support for F4M (HTTP Dynamic Streaming)?

Discussion in 'OnlineVideos' started by corporate_gadfly, August 10, 2012.

  1. corporate_gadfly

    corporate_gadfly Portal Pro

    Joined:
    May 17, 2011
    Messages:
    396
    Likes Received:
    68
    Ratings:
    +72 / 0
    Home Country:
    Canada Canada
    Hi there,

    Is there any support for F4M files (newbie to this topic of F4M)? I have encountered a website www.ctvnews.ca which uses URL for a manifest.f4m. I am able to download and assemble all the fragments by using a PHP command-line tool.

    Now, I do see some F4M code in OnlineVideos but I have no idea how to use it in a site util? Are there any other site utils which utilize F4M? I know Pluzz was at some point, but I think it is incomplete and/or broken.

    So, if there was indeed support for F4M, is MPUrlSourceSplitter supposed to figure out which fragment to get when paused and or skipping, etc?

    Thanks in advance.


     
    Last edited: August 10, 2012
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. georgius
    • Team MediaPortal

    georgius Retired Team Member

    Joined:
    October 31, 2010
    Messages:
    1,376
    Likes Received:
    437
    Gender:
    Male
    Occupation:
    Software Architect
    Location:
    Bratislava
    Ratings:
    +668 / 0
    Home Country:
    Slovakia Slovakia
    Show System Specs
    You need latest MP Url Source Splitter from SVN (replace default installation). Everything you need is to specify url to manifest (f4m file). If you need specify cookies, referer or something other then use HttpUrl class.
     
  4. corporate_gadfly

    corporate_gadfly Portal Pro

    Joined:
    May 17, 2011
    Messages:
    396
    Likes Received:
    68
    Ratings:
    +72 / 0
    Home Country:
    Canada Canada
    Thanks georgius,

    I copied the binaries to C:\Program Files (x86)\Team MediaPortal\MediaPortal\MPUrlSourceSplitter and then in my site util simply returned the URL to the f4m file (manifest URL). And it just worked! I need to test this on my regular HTPC as my dev box is a very low-powered win7 VM running on my laptop (mac os x).

    When can we expect the F4M support in the main OnlineVideo distribution?
     
  5. georgius
    • Team MediaPortal

    georgius Retired Team Member

    Joined:
    October 31, 2010
    Messages:
    1,376
    Likes Received:
    437
    Gender:
    Male
    Occupation:
    Software Architect
    Location:
    Bratislava
    Ratings:
    +668 / 0
    Home Country:
    Slovakia Slovakia
    Show System Specs
    Great to hear that its working :) I think that new version will be released when MS HTTP Streaming (Silverlight) will be finished.
     
  6. corporate_gadfly

    corporate_gadfly Portal Pro

    Joined:
    May 17, 2011
    Messages:
    396
    Likes Received:
    68
    Ratings:
    +72 / 0
    Home Country:
    Canada Canada
    I think there are still a few rough edges. At least a few of the video clips quit before their actual end. Perhaps not all the segments were downloaded. I will see if I can post some logs.
     
  7. corporate_gadfly

    corporate_gadfly Portal Pro

    Joined:
    May 17, 2011
    Messages:
    396
    Likes Received:
    68
    Ratings:
    +72 / 0
    Home Country:
    Canada Canada
    here are some logs where a video quit before the actual end.
     
  8. georgius
    • Team MediaPortal

    georgius Retired Team Member

    Joined:
    October 31, 2010
    Messages:
    1,376
    Likes Received:
    437
    Gender:
    Male
    Occupation:
    Software Architect
    Location:
    Bratislava
    Ratings:
    +668 / 0
    Home Country:
    Slovakia Slovakia
    Show System Specs
    From logs it seems that for 30 seconds were not received any data, which cause playback stop. For sure it needs some investigation.
     
  9. georgius
    • Team MediaPortal

    georgius Retired Team Member

    Joined:
    October 31, 2010
    Messages:
    1,376
    Likes Received:
    437
    Gender:
    Male
    Occupation:
    Software Architect
    Location:
    Bratislava
    Ratings:
    +668 / 0
    Home Country:
    Slovakia Slovakia
    Show System Specs
    Did you have between 14:39:13 and 14:39:54 some internet connection problems? Because between these times no data arrived and after that in 200 ms came almost 1 MB of data. It's little bit strange.
     
  10. corporate_gadfly

    corporate_gadfly Portal Pro

    Joined:
    May 17, 2011
    Messages:
    396
    Likes Received:
    68
    Ratings:
    +72 / 0
    Home Country:
    Canada Canada
    Nothing that I noticed from my end. Everything seemed normal.[DOUBLEPOST=1344719036][/DOUBLEPOST]Would it be possible for you to get my site utility "CTV Local News" so that you can experience this yourself? Hopefully, the category pages and the video listing pages are not geo-locked to Canada. Let me know if I should try anything else on my end.
     
  11. corporate_gadfly

    corporate_gadfly Portal Pro

    Joined:
    May 17, 2011
    Messages:
    396
    Likes Received:
    68
    Ratings:
    +72 / 0
    Home Country:
    Canada Canada
    oh, some bad news. While watching another site with regular RTMP content and getMultipleVideoUrls (with MPUrlSourceSplitter from svn), I got the same weird interruption before the video ended. So, something else is up with svn code?
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!