I
I
Ilya Plotnikov2012-11-28 16:26:04
Video broadcast
Ilya Plotnikov, 2012-11-28 16:26:04

How to broadcast RSTP h.264 stream to website as flv?

Tried a bunch of ways, none worked. Various errors got out, there was not a single answer on the forums.
Tried ffmpeg, openRSTP, vlc.
I will be glad for any information.
OS ubuntu 12.04

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
subvillion, 2012-11-29
@ilyaplot

In this case, you will need a media server, for example wowza:
ffmpeg -i rtsp://192.168.100.248:554/video.h264 -acodec copy -vcodec copy -f flv rtmp:///live/myStream.sdp
VLC:
cvlc -vvv rtsp://192.168.100.248:554/video.h264 --http-caching=5000 --sout '#transcode{vcodec=FLV1}:standard{mux=ffmpeg{mux=flv},access=http{mime=video/x-flv},dst=0.0.0.0:8095/stream.flv}'

S
subvillion, 2012-11-29
@subvillion

1. vlc on Gateway1 is built without pcm_mulaw, update or build by hand. On your desktop, there is probably a different vlc, even if the versions are the same (the build keys are different)
2. ffmpeg is suitable if there is a flash mediaserver for example wowza, I don’t know of other ways to send an flv stream directly from it (perhaps they exist)
3. It makes no sense to build x264 from sorts, if you do not rebuild after ffmpeg
4. Version 0.8.4 of ffmpeg is a bit old, 1.0 is on the site (not to mention what I built from git)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question