Hi everyone!<div><br></div><div>I want to to develop a cctv recording daemon using python and gstreamer 1.0 which would:</div><div><br></div>1) Buffer about 10-30s of live video with queue/queue2 element<br><br><div>2) Dynamically attach and detach file sinks with mpeg ps containers either by timer every 3 minutes or by receiving an event on tcp socket from motion detection server.</div><div><br></div>3) Convert files to mp4 fast start container after data writing is done. ( maybe i can use ffmpeg magic for this)<div><br></div><div>4) If the source pad is http/ mjpeg, i would like to dump jpeg pictures without reencoding them from raw video with specified rate. (This is optional for legacy support)</div><div><br></div><div>5) Attach audio from rtsp alaw/ulaw to finished files. I know thet mp4 does not allow alaw/ulaw so i should encode audio to mp3 in real time as well</div><div><br></div><div>I need suggestion and python examples to all of those features, but specially for 2, 3, 4 and 5. </div><div><br></div><div>Thanks in advance!</div><div><br></div><br><div><br></div><div><br><div><br></div><div><br></div></div>