I am running a ffmpeg command from java Runtime.getRuntime().exec. ffmpeg command basically cut the images from live stream. Actually when i run this command without & then it works fine for five minutes after that it stops cutting images.
but when i use "&" in ffmpeg command it does not work at all.
there is no problem in live stream as when i ran this ffmpeg command from linux its working fine.
My main question is how to run a ffmpeg command in background from java.