FFMPEG command not working?

ca
3

I would like to type this command (https://www.reddit.com/r/Minecraft/comments/aqz4tx/how_to_create_your_own_animated_video_paintings/) in the command prompt. However, when I do this, it tells me that the filters could not be initialized and says "Invalid Argument".

I have already tried it with administrator rights. What's the correct order?

Hi

No admin can help…

The specified scripts are for Linux without adjustments that do not work in the Windows console.

In any case, each of the given commands is a line! The \ at the end of a line must be removed and the next line at the end of the preceding one.

e.g.

ffmpeg -i GravityFalls.mp4 -filter_complex "[0: v] scale = iw / 2: iw / 4, crop = iw / 2: ih: 0: 0, tile = 1x900, select = not (mod (n \, 20 )) [out1]; [0: v] scale = iw / 2: iw / 4, crop = iw / 2: ih: iw / 2: 0, tile = 1x900, select = not (mod (n \, 20)) [out2] "-map [out1] ./falls/burning_skull.png -map [out2] ./falls/pointer.png

… It should be something like this in Batch / Windows console…

of course you also have to adjust paths and various other things…

Simply copying ffmpeg command line really only works if the requirements are identical.

In addition, you should already know what exactly which filter does.

FFmpeglines in batch are nasty monsters, you won't get very far without programming knowledge…

https://ffmpeg.org/ffmpeg-filters.html
https://trac.ffmpeg.org/wiki/FilteringGuide

Hi

PS: editing / filtering videos is much more convenient with a video editing program such as https://shotcut.org/.

This will get you to your goal, but interactively and without any programming knowledge.

Instructions are a dime a dozen.

little tip: do not use the German translation of Shotcut! The Germanized names of the filters are often misleading.

The English terms largely correspond to the general usage in video technology and can thus be implemented more easily.

ca

Thank you, that worked.