> Do I understand you correctly that "-f mjpeg" allows > you to receive one frame and that you can correctly > (re-)encode that frame but that your use-case requires > "loop" which does not work with "-f mjpeg"? yes. the first frame is probably lost (not displayed by ffplay) but that doesn't matter.