# Is it possible to re-stream from mms://\*\*\*.\*\*\*.\*\*/live  connection

**URL:** <https://community.wowza.com/t/is-it-possible-to-re-stream-from-mms-live-connection/34683>\
**Category:** Wowza Streaming Engine\
**Created:** [February 16, 2011, 10:18pm UTC](https://community.wowza.com/t/is-it-possible-to-re-stream-from-mms-live-connection/34683 "2011-02-16T22:18:37Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abdul\_al](https://avatars.discourse-cdn.com/v4/letter/a/8edcca/32.png) [@Abdul\_al](https://community.wowza.com/u/Abdul_al)\
**Post date:** [February 16, 2011, 10:18pm UTC](https://community.wowza.com/t/is-it-possible-to-re-stream-from-mms-live-connection/34683/1 "2011-02-16T22:18:37Z")

</div>

Dears…

I’m wondring if I’m able to restream a live video streaming (mms://_ **.** _.\*\*/live) from an external provider, via my wowza server for live flash streaming.

Thanks

---

<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:** [February 16, 2011, 7:32pm UTC](https://community.wowza.com/t/is-it-possible-to-re-stream-from-mms-live-connection/34683/2 "2011-02-16T19:32:38Z")

</div>

Not directly, but you can use VLC or FFMPEG in between. Take a look at the examples for transcoding an rtsp stream in the following examples. Replace the rtsp url with mms url. I’ve tried it and it works great:

[https://www.wowza.com/docs/how-to-use-ffmpeg-with-wowza-media-server-mpeg-ts](https://www.wowza.com/docs/how-to-use-ffmpeg-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](https://www.wowza.com/docs/how-to-use-vlc-as-a-live-stream-encoder-with-wowza-media-server-mpeg-ts))

Richard

---

<div class="post-metadata">

**Author:** ![Will\_Hetherington](https://avatars.discourse-cdn.com/v4/letter/w/db5fbb/32.png) [@Will\_Hetherington](https://community.wowza.com/u/Will_Hetherington)\
**Post date:** [February 16, 2011, 11:31am UTC](https://community.wowza.com/t/is-it-possible-to-re-stream-from-mms-live-connection/34683/3 "2011-02-16T11:31:32Z")

</div>

As far as I am aware, this is not possible - mms:// feeds are served by Windows Media Server - which generally uses WMV 9.2 codec, which is not supported.

---

<div class="post-metadata">

**Author:** ![Roger\_Littin](https://avatars.discourse-cdn.com/v4/letter/r/d26b3c/32.png) [@Roger\_Littin](https://community.wowza.com/u/Roger_Littin)\
**Post date:** [February 18, 2011, 5:38am UTC](https://community.wowza.com/t/is-it-possible-to-re-stream-from-mms-live-connection/34683/4 "2011-02-18T05:38:57Z")

</div>

I think you are going to have to ask on the ffmpeg forums. A quick google on ffmpeg mms suggests that it is not easy. Once you can ingest the mms stream though, the output part of the ffmpeg command that Richard suggests should work fine.

---

<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:** [February 17, 2011, 8:52pm UTC](https://community.wowza.com/t/is-it-possible-to-re-stream-from-mms-live-connection/34683/5 "2011-02-17T20:52:59Z")

</div>

The ffmpeg command would be:

```auto
ffmpeg -i "mms://193.164.132.195:2124/aguizzardi" -vcodec libx264 -vpre default -vpre baseline -g 60 -vb 150000 -strict experimental -acodec aac -ab 96000 -ar 48000 -ac 2 -vbsf h264_mp4toannexb -f mpegts udp://127.0.0.1:10000?pkt_size=1316

```

We don’t support directly, but follow the setup in that article, then try the command above, then the follow this article to playback the transcoded stream:

[https://www.wowza.com/docs/how-to-publish-and-play-a-live-stream-mpeg-ts-based-encoder](https://www.wowza.com/docs/how-to-publish-and-play-a-live-stream-mpeg-ts-based-encoder)

Richard

---

<div class="post-metadata">

**Author:** ![javier\_pepe](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@javier\_pepe](https://community.wowza.com/u/javier_pepe)\
**Post date:** [December 2, 2011, 10:10pm UTC](https://community.wowza.com/t/is-it-possible-to-re-stream-from-mms-live-connection/34683/6 "2011-12-02T22:10:41Z")

</div>

Hope this helps someone, to transcode mms streams, use mmsh:// or mmst:// as input rather than mms://

(check: [http://ffmpeg.org/ffmpeg.html#mmst](http://ffmpeg.org/ffmpeg.html#mmst))

so change this

```auto
ffmpeg -i [COLOR="#FF0000"]mms:[/COLOR]//193.164.132.195:2124/aguizzardi -vcodec libx264 -vpre default -vpre baseline -g 60 -vb 150000 -strict experimental -acodec aac -ab 96000 -ar 48000 -ac 2 -vbsf h264_mp4toannexb -f mpegts udp://127.0.0.1:10000?pkt_size=1316

```

Into this

```auto
ffmpeg -i [COLOR="#2F4F4F"]mmsh:[/COLOR]//193.164.132.195:2124/aguizzardi -vcodec libx264 -vpre default -vpre baseline -g 60 -vb 150000 -strict experimental -acodec aac -ab 96000 -ar 48000 -ac 2 -vbsf h264_mp4toannexb -f mpegts udp://127.0.0.1:10000?pkt_size=1316

```

and it will work just fine.

Regards

---

<div class="post-metadata">

**Author:** ![Abdul\_al](https://avatars.discourse-cdn.com/v4/letter/a/8edcca/32.png) [@Abdul\_al](https://community.wowza.com/u/Abdul_al)\
**Post date:** [February 17, 2011, 11:34pm UTC](https://community.wowza.com/t/is-it-possible-to-re-stream-from-mms-live-connection/34683/7 "2011-02-17T23:34:46Z")

</div>

Thank you rrlamham

I read these threads before, I’m facing difficulty reading the stream via VLC

would you please help me to re-stream something similar to this:

mms://193.164.132.195:2124/aguizzardi

Providing me the code to re-stream it is highly appreciated cause I reach dead end 🙂

Thanks.

---

<div class="post-metadata">

**Author:** ![Bilal\_Ahmad](https://avatars.discourse-cdn.com/v4/letter/b/e9a140/32.png) [@Bilal\_Ahmad](https://community.wowza.com/u/Bilal_Ahmad)\
**Post date:** [February 17, 2011, 9:51pm UTC](https://community.wowza.com/t/is-it-possible-to-re-stream-from-mms-live-connection/34683/8 "2011-02-17T21:51:18Z")

</div>

> The ffmpeg command would be:
> 
> ```auto
> ffmpeg -i "mms://193.164.132.195:2124/aguizzardi" -vcodec libx264 -vpre default -vpre baseline -g 60 -vb 150000 -strict experimental -acodec aac -ab 96000 -ar 48000 -ac 2 -vbsf h264_mp4toannexb -f mpegts udp://127.0.0.1:10000?pkt_size=1316
> 
> ```
> 
> We don’t support directly, but follow the setup in that article, then try the command above, then the follow this article to playback the transcoded stream:
> 
> [https://www.wowza.com/docs/how-to-publish-and-play-a-live-stream-mpeg-ts-based-encoder](https://www.wowza.com/docs/how-to-publish-and-play-a-live-stream-mpeg-ts-based-encoder)
> 
> Richard

That command didn’t work for me. Here’s the output I get.

```auto
C:\ffmpeg\bin>ffmpeg -i "mms://193.164.132.195:2124/aguizzardi" -vcodec libx264 -vpre default -vpre baseline -g 60 -vb 150000 -strict experimental -acodec aac -ab 96000 -ar 48000 -ac 2 -vbsf h264_mp4toannexb -f mpegts udp://127.0.0.1:10000?pkt_size=1316
FFmpeg version SVN-r26400, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jan 18 2011 04:07:05 with gcc 4.4.2
  configuration: --enable-gpl --enable-version3 --enable-libgsm --enable-libvorbis --enable-libtheora --enable-libspeex
--enable-libmp3lame --enable-libopenjpeg --enable-libschroedinger --enable-libopencore_amrwb --enable-libopencore_amrnb
--enable-libvpx --disable-decoder=libvpx --arch=x86 --enable-runtime-cpudetect --enable-libxvid --enable-libx264 --enable-librtmp --extra-libs='-lrtmp -lpolarssl -lws2_32 -lwinmm' --target-os=mingw32 --enable-avisynth --enable-w32threads --cross-prefix=i686-mingw32- --cc='ccache i686-mingw32-gcc' --enable-memalign-hack
  libavutil 50.36. 0 / 50.36. 0
  libavcore 0.16. 1 / 0.16. 1
  libavcodec 52.108. 0 / 52.108. 0
  libavformat 52.93. 0 / 52.93. 0
  libavdevice 52. 2. 3 / 52. 2. 3
  libavfilter 1.74. 0 / 1.74. 0
  libswscale 0.12. 0 / 0.12. 0
mms://193.164.132.195:2124/aguizzardi: No such file or directory

```

I understand this is more of an ffmpeg question, but if any hint could be provided, it would be very helpful.
