Hello,
I am writing a program in which I am using a udp stream as an input and
outputting a simple .ts file. I am using this command within the program:

ffmpeg -i udp://239.0.0.1:1234 output.ts

However, when I stop receiving packets, I want ffmpeg to stop running.
Otherwise, it blocks the rest of the program.

I read about different ways to make the command run in the background,
which would be fine except the next part of the script uses the output file
to do other stuff.

So, is there any way to make ffmpeg stop automatically when udp packets
stop arriving? And if there isn't a "conventional" way to do it, do you
know of any workarounds?

Cheers,
Victor
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to