Skip navigation
bobsagat123 44 posts
Oct 3, 2011
Currently Being Moderated

HLS On Demand not working with larger f4f files

Oct 3, 2011 4:31 PM

Tags: #flash #hls #server #ios #4.5 #media #m3u8

Hello,

I'm running into an odd bug at the moment. We are using livepkgr to record live streams coming in, then we use f4fpackager to package the streams for ondemand use. The packaged f4f file plays back fine in the flash player, but when trying to watch the .m3u8 on iOS (or Mac), it says "The Operation Cannot be Completed" - I have a shorter file I tested which is ~ 50MB large, and it playsback fine. But the rest of the files, ranging from 1-5GB do not playback.

 

If there is any more information I need to provide, please let me know. Using FMS 4.5

 

Thanks

 
Replies
  • Currently Being Moderated
    Oct 3, 2011 4:34 PM   in reply to bobsagat123

    What codecs are being used?  And what do you mean you are using f4fpackager to package the live content?

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 3, 2011 4:45 PM   in reply to bobsagat123

    I think I’m missing something.  You’re publishing a live stream into the livepkgr application in FMS via RTMP.  That live stream is being recorded for HDS delivery; i.e. f4m, f4f, f4x, .bootstrap.  So you are pointing your HDS player to an f4m url that looks something like this,

     

    http://server:8134/hds-live/livepkgr/_definst_/liveevent/livestream.f4 m

     

    Is that right?  And that works, you’re able to play the live stream?

     

    If you try from your iOS device, pointing to an m3u8,

     

    http://server:8134/hls-live/livepkgr/_definst_/liveevent/livestream.m3 u8

     

    Does that work?

     

    Now, where does f4fpackager come into play in your workflow?  What are you specifying as input to the f4fpackager?

     

    Thanks,

    Ed

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 3, 2011 5:13 PM   in reply to bobsagat123

    I see.  HLS doesn’t support packaging of f4f; only f4v/mp4.

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 3, 2011 5:21 PM   in reply to bobsagat123

    Well, I don’t think it is officially supported.  But an f4f is just a fragmented mp4.  So technically, it could work.  But it’s not something that we test or is officially supported.  We have tested with large f4v/mp4 files.  But we don’t test HLS packaging of f4f content.

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 3, 2011 5:30 PM   in reply to bobsagat123

    Maybe try also recording that input stream to an mp4, then try delivering that via HLS VOD?  This resulting MP4 is recorded in a fragmented MP4 format, which is essentially what an f4f is.  So the same reason it is not working for f4f could also be the case with this recorded mp4.  If that doesn’t work, you could also try downloading the F4V Post Processing tool from the FMS Tools Download page,

     

    http://www.adobe.com/products/flashmediaserver/tool_downloads/

     

    This tool will flatten the mp4 and try delivering that via HLS VOD.

     

    That’s all I have for you at this time.

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 3, 2011 7:22 PM   in reply to bobsagat123

    Well, like I said, even if it works for small files, it’s not officially supported.  Do you have any large MP4’s that can repro this problem?

     

    How big is the f4f?  If you can post it to an ftp site, I can download it and create a bug for you.

     

    It’s up to you if you want to try the suggestions.  But that’s all I have to offer you at this point in terms of possible workarounds.  Someone else on the forum may have a better idea though.

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 3, 2011 8:04 PM   in reply to bobsagat123

    Do you have an ftp site to use?

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 4, 2011 8:09 AM   in reply to bobsagat123

    Awesome.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points