Thanks for so wonderful software as VLC.
We have a project with a lot of IP Cams, they produce MPEG-4 stream over RTSP.
Web based apllication has a flash player to show streams to customers.
Firstly streams are gathered in this way from rtsp://sources
Code: Select all
#std{access=http,mux=ts,dst=127.0.0.1:7112}
If look practically the quality of transcoding to FLV is not so good...
Code: Select all
#transcode{vcodec=FLV1}:std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=127.0.0.1:8112/stream.flv}
Code: Select all
#transcode{vcodec=h264}:std{access=file,mux=mp4,dst=./cam112stream.tmp}
Here is a question: is a posibility in VLC to save amount of seconds or bytes of stream to the file and then start another, i.e. using a prefix such cam112-30s-stream, and get as a rezult files cam112-30s-stream1.mp4, cam112-30s-stream2.mp4, cam112-30s-stream3.mp4 and so on.
If this feature is absent, may it be added soon?
There is another way - stream to FIFO file, and grab by an another script and save every 30 seconds the data to external files, but here issue with file Headers (posssible with Footers too). Maybe some one can help how to add these headers/footers to grabbed video data.
P.S. stoping and starting vlc instances is not good because there are a lot of Cams and for gathering RTSP i have one VLM-config, for transcoding has more one, so this way give me two instances of VLC instead of 40.
Any advices or suggestions would be nice
Thanks beforehand.