# re-stream from a akamai f4m file

**URL:** <https://community.wowza.com/t/re-stream-from-a-akamai-f4m-file/35201>\
**Category:** Wowza Streaming Engine\
**Created:** [January 13, 2014, 7:26pm UTC](https://community.wowza.com/t/re-stream-from-a-akamai-f4m-file/35201 "2014-01-13T19:26:43Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eyal\_Hasson](https://avatars.discourse-cdn.com/v4/letter/e/9f8e36/32.png) [@Eyal\_Hasson](https://community.wowza.com/u/Eyal_Hasson)\
**Post date:** [January 13, 2014, 7:26pm UTC](https://community.wowza.com/t/re-stream-from-a-akamai-f4m-file/35201/1 "2014-01-13T19:26:43Z")

</div>

Hello,

I need to re-stream a live video that is published on akamai CDN. I have a way to generate the URL of the f4m file, but have not found how to instruct Wowza server to re-stream it. All I could find is the I have to create a .stream file with RTMP or RTSP URL of the stream.

Thanks,

Eyal.

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [January 13, 2014, 12:17pm UTC](https://community.wowza.com/t/re-stream-from-a-akamai-f4m-file/35201/2 "2014-01-13T12:17:16Z")

</div>

Hi there, take a look at this article for configuring an application and re-streaming the live stream from a CDN:

[How to re-stream an unprotected stream from Adobe Media Server or a CDN](https://www.wowza.com/docs/how-to-re-stream-an-unprotected-stream-from-adobe-media-server-or-a-cdn)

Salvadore

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [January 20, 2014, 4:15pm UTC](https://community.wowza.com/t/re-stream-from-a-akamai-f4m-file/35201/3 "2014-01-20T16:15:34Z")

</div>

What you show above is a Silverlight smooth stream manifest that appears to be coming from Akamai. Wowza does not support ingress of smooth streams, or any stream over HTTP (except shoutcast).

You can re-stream RTMP from Akamai if the stream is unprotected. If the source of the above manifest is something like

```auto
http://[akamai-address]/appname/myStream/Manifest

```

, try playing it back in RTMP Wowza player:

Server: rtmp://[akamai-addddress:1935/appname

Streamname: myStream

If RTMP playback works, then you can try to re-stream it [following this guide](https://www.wowza.com/docs/how-to-re-stream-an-unprotected-stream-from-adobe-media-server-or-a-cdn)

If it is protected, re-streaming following that guide will not work. In that case, you cannot use that source.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [January 21, 2014, 7:49pm UTC](https://community.wowza.com/t/re-stream-from-a-akamai-f4m-file/35201/4 "2014-01-21T19:49:01Z")

</div>

Right, sorry, HDS manifest not Smooth manifest. But no, as I’ve mentioned, re-streaming is only supported for RTMP, RTSP and UDP streams. HTTP ingress, with the exception of shoutcast, is not supported in Wowza.

Richard

---

<div class="post-metadata">

**Author:** ![Eyal\_Hasson](https://avatars.discourse-cdn.com/v4/letter/e/9f8e36/32.png) [@Eyal\_Hasson](https://community.wowza.com/u/Eyal_Hasson)\
**Post date:** [January 14, 2014, 8:58am UTC](https://community.wowza.com/t/re-stream-from-a-akamai-f4m-file/35201/5 "2014-01-14T08:58:15Z")

</div>

Hi Salvador,

I looked at that post, but for the source stream it says there:

> > "1.Use a text editor to create the file [install-dir]/content/rtmp.stream and set the contents of this file to the full RTMP URL of the stream that you want to re-stream (for example:

> > rtmp://cp12345.live.edgefcs.net/live/myStream@2440). The file must have a .stream filename extension."

Problem is I do not have the stream’s URL, only its f4m URL.

Any idea?

Thanks, Eyal.

---

<div class="post-metadata">

**Author:** ![Eyal\_Hasson](https://avatars.discourse-cdn.com/v4/letter/e/9f8e36/32.png) [@Eyal\_Hasson](https://community.wowza.com/u/Eyal_Hasson)\
**Post date:** [January 14, 2014, 6:43pm UTC](https://community.wowza.com/t/re-stream-from-a-akamai-f4m-file/35201/6 "2014-01-14T18:43:57Z")

</div>

The source video in my case is live - not stored files. So as far as I understand MediaCache will not help. Is there any simple way to direct Wowza to re-stream from the f4m file?

Thanks, Eyal.

---

<div class="post-metadata">

**Author:** ![Eyal\_Hasson](https://avatars.discourse-cdn.com/v4/letter/e/9f8e36/32.png) [@Eyal\_Hasson](https://community.wowza.com/u/Eyal_Hasson)\
**Post date:** [January 19, 2014, 5:07pm UTC](https://community.wowza.com/t/re-stream-from-a-akamai-f4m-file/35201/7 "2014-01-19T17:07:49Z")

</div>

My problem is that I do not know the URL to the source. All I have is a f4m file which I do not know how to extract the source’s URL from. Attached is the f4m file.

If you can help me figure out how to extract the URL from it, I will be very grateful.

Thanks, Eyal.

\<?xml version="1.0" encoding="UTF-8"?\>

akamai:version2.0\</akamai:version\>

akamai:bw2000\</akamai:bw\>

dclive\_1

live

akamai:streamTypelive\</akamai:streamType\>

\<pv-2.0\>;hdntl=exp=1389715459~acl=%2fz%2fdclive\_\*~data=hdntl~hmac=690f7aa817972d53e00c931206e3a6107a0736f0a261c96744a29cf4322b7a73\</pv-2.0\>

AgAKb25NZXRhRGF0YQMABmF1dGhvcgIAAAAJY29weXJpZ2h0AgAAAAtkZXNjcmlwdGlvbgIAAAAIa2V5d29yZHMCAAAABnJhdGluZwIAAAAFdGl0bGUCAAAACnByZXNldG5hbWUCAAZDdXN0b20ADGNyZWF0aW9uZGF0ZQIAGVN1biBKYW4gMTIgMjM6MjY6MzUgMjAxNAoAC3ZpZGVvZGV2aWNlAgAWTWFueUNhbSBWaXJ0dWFsIFdlYmNhbQAJZnJhbWVyYXRlAEA+AAAAAAAAAAV3aWR0aABAeqAAAAAAAAAGaGVpZ2h0AEBuAAAAAAAAAAx2aWRlb2NvZGVjaWQCAARhdmMxAA12aWRlb2RhdGFyYXRlAEB14AAAAAAAAAhhdmNsZXZlbABAPwAAAAAAAAAKYXZjcHJvZmlsZQBAUIAAAAAAAAAXdmlkZW9rZXlmcmFtZV9mcmVxdWVuY3kAQAAAAAAAAAAAC2F1ZGlvZGV2aWNlAgAfTWljcm9waG9uZSAoTWFueUNhbSBWaXJ0dWFsIE1pYwAPYXVkaW9zYW1wbGVyYXRlAEDliIAAAAAAAA1hdWRpb2NoYW5uZWxzAD/wAAAAAAAAABBhdWRpb2lucHV0dm9sdW1lAEBWgAAAAAAAAAxhdWRpb2NvZGVjaWQCAAQubXAzAA1hdWRpb2RhdGFyYXRlAEBQAAAAAAAAAAAJ

---

<div class="post-metadata">

**Author:** ![Eyal\_Hasson](https://avatars.discourse-cdn.com/v4/letter/e/9f8e36/32.png) [@Eyal\_Hasson](https://community.wowza.com/u/Eyal_Hasson)\
**Post date:** [January 20, 2014, 4:41pm UTC](https://community.wowza.com/t/re-stream-from-a-akamai-f4m-file/35201/8 "2014-01-20T16:41:44Z")

</div>

I checked with the stream creator, and he sais he generate it with Flash Media Encoder - so it is surely not SilverLight. Anyway to “feed” Wowza with this F4M source?

---

<div class="post-metadata">

**Author:** ![Eyal\_Hasson](https://avatars.discourse-cdn.com/v4/letter/e/9f8e36/32.png) [@Eyal\_Hasson](https://community.wowza.com/u/Eyal_Hasson)\
**Post date:** [January 21, 2014, 4:40pm UTC](https://community.wowza.com/t/re-stream-from-a-akamai-f4m-file/35201/9 "2014-01-21T16:40:47Z")

</div>

The stream is a standart Adobe HTTP Dynamic Streaming (HDS), manifested by the f4m file. Does Wowza supports restream of HDS?

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [January 14, 2014, 10:12am UTC](https://community.wowza.com/t/re-stream-from-a-akamai-f4m-file/35201/10 "2014-01-14T10:12:55Z")

</div>

You can access the video files on the CDN over HTTP using the MediaCache AddOn:

[How to get MediaCache AddOn (scale video on demand streaming)](https://www.wowza.com/docs/how-to-scale-video-on-demand-streaming-with-media-cache%28scale-video-on-demand-streaming%29)

Salvadore

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [January 16, 2014, 6:23pm UTC](https://community.wowza.com/t/re-stream-from-a-akamai-f4m-file/35201/11 "2014-01-16T18:23:36Z")

</div>

Eyal, Sorry for the confusion. I was thrown off by the .f4m reference, and MediaCache was not the right suggestion on my part.

But the first article I posted is what you need to use:

[How to re-stream an unprotected stream from Adobe Media Server or a CDN](https://www.wowza.com/docs/how-to-re-stream-an-unprotected-stream-from-adobe-media-server-or-a-cdn)

If you are unable to get this working, you can post the details of your set up for us to look over:

What you have tried

What are the contents of the .stream file

What is the URL to the source

Application configuration

etc.

Salvadore

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [January 20, 2014, 7:17am UTC](https://community.wowza.com/t/re-stream-from-a-akamai-f4m-file/35201/12 "2014-01-20T07:17:57Z")

</div>

You can restream over RTMP from FMS.

However what your showing looks to be the manifest of a “smooth” stream that is played in Silverlight player. Smooth stream ingress is not supported.

I do not think there is a way to do this with Wowza.

Salvadore
