ping

2018.02.25. 17:07 keltezéssel, Bodecs Bela írta:
Dear All,

this patch makes it possible to dinamically close the current segment
and step to the next one by introducing command handling capabilities
into the filter. This new feature is very usefull when working with
real-time sources or live streams as source. Combinig usage with zmqsend
tool you can interactively end the current segment and step to next one.

it is very usefull in case of event streaming when sending an intro then a live section and then an outro and you want to start and stop the live event manually.

example:

ffmpeg -re -i very_long_intro.mp4 -i <event_source> -re -i very_long_outro.mp4     -filter_complex   '[0:v][0:a] [1:v][1:a] [2:v][2:a] concat=n=3:v=1:a=1 [v] [a];                                   [v] zmq=b=tcp\\:\\/\\/127.0.0.1\\:5555  [v_out]'
    -map '[v_out]' -map '[a]'  <output>

When you you want to start the live event, issue in another window:
echo "Parsed_concat_0 next" | zmqsend  -b tcp://127.0.0.1:5555

When you want to end the live session:
echo "Parsed_concat_0 next" | zmqsend  -b tcp://127.0.0.1:5555


Please review this patch. Thank you in advance.

Bela Bodecs




_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to