Results 1 to 8 of 8

Thread: Command line tool for creating mp4 manifest

  1. #1
    Join Date
    Feb 2014
    Posts
    9

    Default Command line tool for creating mp4 manifest

    Hi,
    I have a requirement to host multi-bitrate mp4 vod content on CDN storage. I have a transcode workflow which creates the various bitrate files for me, but it doesn't create the required client side manifest file. Is there a tool I can use to do this? I found mp4split, but I can't get it to create an f4m manifest based on mp4 files and the documentation is limited.

    I know this is not directly related to wowza, but we are a paying customer and I can't think of a better place to ask.

    Thanks in advance.


    Mike

  2. #2

    Default

    Hi Mike, by manifest file, I think you mean .smil file. This is what you need to make ABR work

    This article shows how to create a .smil file:
    How to do Adaptive Bitrate streaming

    Salvadore

  3. #3
    Join Date
    Feb 2014
    Posts
    9

    Default

    Yes, I've actually created a smil manually for now, but JW player doesn't play the media. It appears to parse it ok, as I get all the bitrates listed, but no playback.

    Even if I get JW working, I think I will still need a manifest.f4m to make this work on android. Note that the intent is to serve directly from Cloud storage, no wowza or other server in front. Currently the smil file gets downloaded as text on android or desktop.

    My url looks like this:

    http://vod.mydomain.com/u/80005555V_MP4.smil


    Here is what my smil looks like:

    <smil>
    <head>
    <meta base="http://vod.mydomain.com/u"/>
    </head>
    <body>
    <switch>
    <video src="mp4:80005555V_MP4_1080p.mp4" height="1080" system-bitrate="4500000" width="1920" />
    <video src="mp4:80005555V_MP4_720p.mp4" height="720" system-bitrate="2500000" width="1280" />
    <video src="mp4:80005555V_MP4_480p.mp4" height="480" system-bitrate="1000000" width="860" />
    <video src="mp4:80005555V_MP4_360p.mp4" height="360" system-bitrate="800000" width="640" />
    </switch>
    </body>
    </smil>

  4. #4

    Default

    Mike, take a look at this article to use JW Player for ABR streaming:
    How to use LongTail JW Player with adaptive bitrate streaming from Wowza Media Server

    For the Android requirements. While some Android devices support Flash, and others support HLS streaming, older devices only support RTSP streaming, and RTSP does not support ABR streaming.

    Here are sample URLs for the different player technologies:
    1: HLS(cupertino)
    http://vod.mydomain.com:1935/u/smil:80005555V_MP4.smil/playlist.m3u8
    2: HDS(San Jose/Flash HTTP)
    http://vod.mydomain.com:1935/u/smil:80005555V_MP4.smil/manifest.f4m
    3:SilverLight
    http://vod.mydomain.com:1935/u/smil:80005555V_MP4.smil/Manifest
    4: RTSP does not support ABR

    Salvadore
    Last edited by rrlanham; 02-28-2014 at 07:56 AM.

  5. #5

    Default

    Quote Originally Posted by mikekoz View Post
    Yes, I've actually created a smil manually for now, but JW player doesn't play the media. It appears to parse it ok, as I get all the bitrates listed, but no playback.

    Even if I get JW working, I think I will still need a manifest.f4m to make this work on android. Note that the intent is to serve directly from Cloud storage, no wowza or other server in front. Currently the smil file gets downloaded as text on android or desktop.

    My url looks like this:

    http://vod.mydomain.com/u/80005555V_MP4.smil


    Here is what my smil looks like:

    <smil>
    <head>
    <meta base="http://vod.mydomain.com/u"/>
    </head>
    ...
    With this type of smil file, JW player is expecting an RTMP address in the meta tag. It should be the RTMP address of your Wowza server application.

    <meta base="rtmp://[wowza-ip]:1935/[wowza-app]"/>
    If you remove the meta tag completely from the smil file above and upload it to the application Content directory on your Wowza server then you will be able to use the url's that Salvadore has provided (note Wowza server urls)

    Additionally, you will be able to use the following url in JW Player to automatically generate the correct format smil file for JW Player to use for RTMP playback.

    http://vod.mydomain.com:1935/u/80005555V_MP4.smil/jwplayer.smil
    This will return the smil file with the correct meta tag (RTMP address)

    Roger.

  6. #6
    Join Date
    Feb 2014
    Posts
    9

    Default

    Thanks guys, I understand, but I would like to host these mp4 files on cloud storage and serve them from there over http directly, without a wowza server. Individual files play fine, but I would like to enable bitrate siwtching. Is http even supported in a smil or does it only work with rtmp?

  7. #7
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Mike,

    ABR does not work using progressive download, you need a media server like Wowza which handles the switch requests made by the players.

    You can use a MediaCache ("vod edge" application in the manager) to stream vod assets that are stored on a web server, cloud storage or network share. In this case you put the .smil file alongside the content.

    The HLS, HDS, and smooth stream types are delivered to players over HTTP, the playback URLs for these playback types are shown above.


    HLS: Use this in iOS devices, VLC and other devices that support HLS:
    http://vod.mydomain.com:1935/u/smil:80005555V_MP4.smil/playlist.m3u8

    HDS: Use this in Flash players that support HDS (there is a Wowza example in the examples folder)
    http://vod.mydomain.com:1935/u/smil:80005555V_MP4.smil/manifest.f4m

    Smooth: Use this in Silverlight players (Wowza example in examples folder)
    http://vod.mydomain.com:1935/u/smil:80005555V_MP4.smil/Manifest


    Richard

  8. #8
    Join Date
    Feb 2014
    Posts
    9

    Default

    Thanks for the clarification. Looks like some form of bitrate switching for static mp4's is available in JW:

    http://www.longtailvideo.com/support...d-hd-qualities


    Mike

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •