# Restream rtmp stream

**URL:** <https://community.wowza.com/t/restream-rtmp-stream/148>\
**Category:** Wowza Streaming Engine\
**Created:** [June 21, 2014, 12:11pm UTC](https://community.wowza.com/t/restream-rtmp-stream/148 "2014-06-21T12:11:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)\
**Post date:** [June 21, 2014, 12:11pm UTC](https://community.wowza.com/t/restream-rtmp-stream/148/1 "2014-06-21T12:11:04Z")

</div>

Hi,

I’d like to re stream a live RTMP stream (for example, let’s take this one: rtmp://cp39414.live.edgefcs.net/live/argent@9751) using ffmepg to a Wowza server.

On the Wowza server, I added a “stream file” (rtmp://127.0.0.1:10000)

I tried these commands with no success (connection refused)

```auto
ffmpeg -re -i "rtmp://cp39414.live.edgefcs.net/live/argent@9751" -c:v copy -c:a libfaac -f flv rtmp://127.0.0.1:10000
ffmpeg -i "rtmp://cp39414.live.edgefcs.net app=live playpath=argent@9751 live=1" -f flv rtmp://127.0.0.1:10000

```

Do you know what command I should use to restream a live RTMP stream to Wowza?

Thanks

---

<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:** [June 21, 2014, 7:28am UTC](https://community.wowza.com/t/restream-rtmp-stream/148/2 "2014-06-21T07:28:32Z")

</div>

Hi there,

This article may be of some help to you:

[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:** ![joe\_duriche](https://avatars.discourse-cdn.com/v4/letter/j/8dc957/32.png) [@joe\_duriche](https://community.wowza.com/u/joe_duriche)\
**Post date:** [June 26, 2014, 3:01pm UTC](https://community.wowza.com/t/restream-rtmp-stream/148/3 "2014-06-26T15:01:05Z")

</div>

Thanks, it helps.

I was wondering how to restream a live m3u8 streaming.

I am using ffmpeg as well to stream mpeg-ts file to Wowza with UDP (and stream files) but I got messages like those ones:

```auto
frame=19957 fps= 25 q=-1.0 size= 179883kB time=00:13:18.44 bitrate=1845.6kbits/s
[mpegts @ 0x6650c0] PES packet size mismatch
frame=19965 fps= 25 q=-1.0 Lsize= 179994kB time=00:13:18.74 bitrate=1846.0kbits/s
video:151328kB audio:12736kB subtitle:0 data:0 global headers:0kB muxing overhead 9.710015%

```

I don’t know if it’s coming from ffmpeg.

Do you know another encoder that i can use to live stream mpeg-ts files to Wowza?

Would it be possible with VLC ?

---

<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:** [June 26, 2014, 9:10am UTC](https://community.wowza.com/t/restream-rtmp-stream/148/4 "2014-06-26T09:10:45Z")

</div>

Yes, VLC is a good solution, here is a guide to set this up:

[How to use VLC as a live stream encoder with Wowza Media Server (MPEG-TS)](https://www.wowza.com/docs/how-to-use-vlc-as-a-live-stream-encoder-with-wowza-media-server-mpeg-ts%28MPEG-TS%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:** [June 25, 2015, 6:09am UTC](https://community.wowza.com/t/restream-rtmp-stream/148/5 "2015-06-25T06:09:10Z")

</div>

Tom.

Yes, they are applicable to Wowza 4.2

Regards,

Salvadore

---

<div class="post-metadata">

**Author:** ![Tom\_T](https://avatars.discourse-cdn.com/v4/letter/t/4bbf92/32.png) [@Tom\_T](https://community.wowza.com/u/Tom_T)\
**Post date:** [June 25, 2015, 5:45am UTC](https://community.wowza.com/t/restream-rtmp-stream/148/6 "2015-06-25T05:45:58Z")

</div>

> Hi there,
> 
> This article may be of some help to you:
> 
> [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

Salvatore, Are these instructions applicable to version 4.2

Tom

.
