I am using ffmpeg on Ubuntu 22.04 to create 1 second mp4 videos from piped 
jpgs. The only issue that I have is that ffmpeg stops executing after the first 
set of jpgs is piped in. I need ffmpeg to continuously take in jpgs so that it 
can keep creating more mp4s.
This is the command line that got me closest to what I want:
ffmpeg -framerate 5 -i /tmp/ffmpeg_pipe -c:v libx264 -vf "fps=5" -f segment 
-segment_time 1 "output_%d.mp4"

When I piped in 10 images, cat image_*.jpg > /tmp/ffmpeg_pipe, I got 2 output 
files like expected, but ffmpeg stopped executing right after.
What can I do to be able to pipe more jpgs after the first set without having 
to restart ffmpeg?

_______________________________________________
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".

Reply via email to