
In this article, I’ll show you how to perform six of these tasks. But it also performs many simple and essential tasks that crop up in a studio or encoding facility, particularly if you do performance or benchmark testing. I've tried inspecting a hung ffmpeg.FFMPEG is a free command-line utility that serves as the engine for most of the largest cloud encoding farms in the world, public and private. Here are the last lines of the (934 line) log file, it seems to have stopped after frame 10 for some reason: frame= 6 QP=18.00 NAL=2 Slice:P Poc:12 I:0 P:0 SKIP:3600 size=11 bytes I have the -report switch on and there doesn't appear to be anything in the log file which indicates why it has failed and not terminated. I can take the same image and mp3 and run it through again and it will work fine. mp4 it has created is incomplete and not getting any bigger, the log file is not changing and the modification times on all the files are not changing. However, every now and again the ffmpeg.exe process 'hangs' using 100% CPU and will stay there until manually 'killed'.įfmpeg.exe doesn't seem to be doing anything, the. This is the command I am executing: "C:\\Program Files\\ffmpeg\\bin\\ffmpeg.exe" -loop 1 -r 0.1 -i image.jpg -i mp3.mp3 -c:v libx264 -preset ultrafast -crf 18 -tune stillimage -c:a copy -filter:v " scale=-1:720, pad=1280:720:640-iw/2 " -shortest out.mp4 -reportįor the vast majority of the time, it works fine, takes about 5 seconds and then ends. I have a script in php that shells out to ffmpeg using exec() - it creates an mp4 out of an image and an mp3.
