Hi, > How can this be done with FFmpeg? Do you have an example? I know how commands > / sendcmd works. The opacity could be toggled, or the streamselect filter > could be used. But where does the switching signal come from, while FFmpeg is > running?
The specific messaging protocol/method would depend on a variety of factors including personal preference, but to parrot an example given in the manual using zmq, % ffmpeg -i INPUT -filter_complex 'null[main];movie=INPUT2,zmq,lumakey@toggle=tolerance=1,[main]overlay,realtime' OUTPUT and sending commands to the named lumakey filter would mimic toggling between the two streams if they were the same size and position. i.e. using the zmqsend example program, % zmqsend <<<"lumakey@toggle tolerance 0" Regards, Ted Park _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".