Answer the question
In order to leave comments, you need to log in
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
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}'
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 questionAsk a Question
731 491 924 answers to any question