Pipe series of images from java application to ffmpeg subprocess
问题 I am looking for a way to stream series of images (jpegs) from java application into FFMpeg STDIN pipe. FFMpeg should process these images and create a video file as an output. FFMpeg is executed as sub process of java application with the following command "ffmpeg.exe -i pipe:0 out.avi" When i run "ffmpeg -i input.jpg out.avi" command in the console, i get the "out.avi" file as expected But when i use the following tester code in my java application, i got an error. Code in Java application: