H.264 ffmpeg muxer options
Posted: 20 Jun 2012 15:54
Hi,
How to add some ffmpeg muxer options to vlc's transcode ? I think I need the muxer to produce a "mp4 fragmented file", i.e. metadata stored every now and then instead of just once at the beginning/end of the file, suitable for H.264 streaming.
Situation:
I am trying to stream a RTSP webcam stream to a web/flash player (jplayer, flowplayer, jwplayer). I had success with jwplayer and flowplayer using FLV1 codec. (I do get some vbv buffer overflow errros, but I can live with that.)
I would like to try to make this work with the H.264 codec. The web/flash players can't take my H.264 stream no matter how hard I try, something like this never works, using either flv or mov muxer..
The movflags=keyframe option I got from an outdated ffmpeg documentation is unknown.
How to add some ffmpeg muxer options to vlc's transcode ? I think I need the muxer to produce a "mp4 fragmented file", i.e. metadata stored every now and then instead of just once at the beginning/end of the file, suitable for H.264 streaming.
Situation:
I am trying to stream a RTSP webcam stream to a web/flash player (jplayer, flowplayer, jwplayer). I had success with jwplayer and flowplayer using FLV1 codec. (I do get some vbv buffer overflow errros, but I can live with that.)
Code: Select all
cvlc -vv rtsp://10.11.12.13:554/live/ch01_0 --sout '#transcode{threads=2,vcodec=FLV1,vb=2000}:std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=0.0.0.0:5555/stream.flv}' --rtsp-tcp --clock-jitter=0 --network-caching=1000 --sout-mux-caching=1000
Code: Select all
cvlc -v rtsp://10.11.12.13:554/live/ch01_0 --sout '#transcode{threads=2,vcodec=h264}:std{access=http{mime=video/x-m4v},mux=ffmpeg{mux=mp4,movflags=frag_keyframe},dst=0.0.0.0:5555/stream.flv}' --rtsp-tcp