I am trying to stream a file , starting from an arbitrary position , that i am recording to at the same time. But until i stop recording the file seems to be not playable.
Recording
gst-launch-1.0 -e videotestsrc ! x264enc ! mp4mux ! filesink location=test.mp4
Streaming from udp, starting from minute 1.
ffmpeg -i test.mp4 -re -ss 00:01:00 -f mpegts udp://127.0.0.1:1453
ffmpeg says moov atom not found
and just quits.
After I stop the recording pipeline. Its works as expected.
Thank you all in advance.
-re
flag means process in realtime, and thess
switch when used as an output option means 'decode and discard till timestamp is reached'. Try putting the ss/t before-i
– Gyan Sep 25 '16 at 17:47