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
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
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-vlc-as-a-live-stream-encoder-with-wowza-media-server-mpeg-ts)
Richard
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.
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.
The ffmpeg command would be:
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
Richard
Hope this helps someone, to transcode mms streams, use mmsh:// or mmst:// as input rather than mms://
(check: http://ffmpeg.org/ffmpeg.html#mmst)
so change this
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
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
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.
The ffmpeg command would be:
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
Richard
That command didn’t work for me. Here’s the output I get.
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.