If you don't find an answer, please click here to post your question.
Reply
Occasional Contributor
Posts: 7
Registered: ‎01-12-2015
Accepted Solution

How to Retrieve Master m3u8 URL from Ooyala backlot API ?

[ Edited ]

I want to retrieve master m3u8 url (of my videos that are stored on ooyala portal) from api to play in order to play them on adobe player.

http://63144.hdn.c.ooyala.com/i/VvbDd4czq-Ms514yfQNImbHrCoOlXVBl/,DOcJ-FxaFrRg4gtDEwOjkzOjBrO47VbV,DOcJ-FxaFrRg4gtDEwOjE5ZTowazu7nI,DOcJ-FxaFrRg4gtDEwOm84OjBrOz0bxa,DOcJ-FxaFrRg4gtDEwOjJvdTowODE7eZ,.csmil/master.m3u8

http://63144.hdn.c.ooyala.com/i/Content_id_of_video/,DOcJ-FxaFrRg4gtDEwOjkzOjBrO47VbV,DOcJ-FxaFrRg4gtDEwOjE5ZTowazu7nI,DOcJ-FxaFrRg4gtDEwOm84OjBrOz0bxa,DOcJ-FxaFrRg4gtDEwOjJvdTowODE7eZ,.csmil/master.m3u8

 

Currently my client is asking from me to do this to get a stream like above please guide us how do we get a url like above.

Enter Ooyala Content ID and grab the master m3u8 files from the Ooyala Open Entry

Where is this ooyala open Entry?

I am using this method to get stream of assets .

v2/assets/ContentIdOfasset/streams

And none of the streams from above request are playable on adobe player of Prime time SDK

but this does not provide master m3u8 url of asset like above.


Accepted Solutions
Ooyala Alumni (Retired)
Posts: 20
Registered: ‎07-11-2014

Re: How to Retrieve Master m3u8 URL from Ooyala backlot API ?

[ Edited ]

Hello,

 

The list of streams returned by a GET request to /v2/assets/[embed_code]/streams will depend on the processing profile of the account and contain all available manifests and/or MP4 URLs for the asset in question.

 

Assuming that the assets are not in any way protected and the processing profile includes HLS renditions, an m3u8 master manifest should be part of that list.

 

If the assets require an Ooyala Player Token or carries any playback restrictions, a request to the Player Authorization API needs to be made instead in order to retrieve playable URLs.

Documentation on this can be found here: http://help.ooyala.com/video-platform/api/player_v3_authorization_api.html

 

While we do not officially support work with third-party Players, our Technical Support team will be happy to assist you in acquiring a working m3u8 if you are still having issues.

In that case, please open a support request.

 

Kind regards,

 

Phil Taprogge

Please show your appreciation to others. If someone helps you, don't forget to give them Kudos by clicking the star button next to their post. If a post answers your question, please mark it as an "Accepted Solution."

View solution in original post


All Replies
Ooyala Alumni (Retired)
Posts: 20
Registered: ‎07-11-2014

Re: How to Retrieve Master m3u8 URL from Ooyala backlot API ?

[ Edited ]

Hello,

 

The list of streams returned by a GET request to /v2/assets/[embed_code]/streams will depend on the processing profile of the account and contain all available manifests and/or MP4 URLs for the asset in question.

 

Assuming that the assets are not in any way protected and the processing profile includes HLS renditions, an m3u8 master manifest should be part of that list.

 

If the assets require an Ooyala Player Token or carries any playback restrictions, a request to the Player Authorization API needs to be made instead in order to retrieve playable URLs.

Documentation on this can be found here: http://help.ooyala.com/video-platform/api/player_v3_authorization_api.html

 

While we do not officially support work with third-party Players, our Technical Support team will be happy to assist you in acquiring a working m3u8 if you are still having issues.

In that case, please open a support request.

 

Kind regards,

 

Phil Taprogge

Please show your appreciation to others. If someone helps you, don't forget to give them Kudos by clicking the star button next to their post. If a post answers your question, please mark it as an "Accepted Solution."
Senior Member
Posts: 3
Registered: ‎06-01-2017

Re: How to Retrieve Master m3u8 URL from Ooyala backlot API ?

The URL below is not included in the responce of [GET]/v2/[embed_code]/streams,
but it works if the asset is encoded as multi-bitrates.


https://player.ooyala.com/player/all/[embed_code].m3u8

 

Is it officially approved?

Posts: 1,387
Topics: 179
Kudos: 109
Blog Posts: 78
Ideas: 3
Solutions: 39
Registered: ‎08-20-2012

Re: How to Retrieve Master m3u8 URL from Ooyala backlot API ?

Hi hayatuyo,

 

Thanks for posting. This is an old thread, so I suggest you create a new topic and a person from Tech Support will reach out.

 

 

Best regards,

Thomas

Please show your appreciation to others. If someone helps you, don't forget to give them Kudos by clicking the star button next to their post. If a post answers your question, please mark it as an "Accepted Solution."




Check out our latest Ooyala Engineering Blog!
Occasional Visitor
Posts: 1
Registered: ‎01-31-2018

Re: How to Retrieve Master m3u8 URL from Ooyala backlot API ?

Well, I am not sure I get your problem but hope this will work.

1.- Go to https://api.ooyala.com/docs/api_scratchpad
2.- Check "Your Account" option which is on top right corner of the page.
3.- Enter you API KEY and API SECRET. (You can find them in [ACCOUNT -> Developers] option in Backlot).
4.- Do a [GET] request to /v2/assets/:embed_code/streams API route. (Where :embed_code is the embed code of the asset).
5.- Look for the stream which has "is_source" value set to true.
6.- Use the URL under "url" value to download the source file.
7.- Right click on the video frame and click the "Save Video As.." option.

there words are copied from http://community.ooyala.com/t5/Backlot-Users-Knowledge-Base/Downloading-a-Source-Video-File/ta-p/792...

As for M3U8 information, maybe this tutorial will work: How to Play M3U8 Files and How to Convert M3U8 to MP4

good luck