Open PMKrol opened 1 year ago
Also, this works:
/home/user/.local/lib/python3.8/site-packages/imageio_ffmpeg/binaries/ffmpeg-linux64-v4.2.2 -i RPRq-2.mp4 -an -vcodec libx264 -pix_fmt yuv420p -v warning -crf 18 -vf vidstabtransform=input=RPRq.trf:smoothing=10,smartblur=lr=1.5:ls=-0.25:lt=-3.5:cr=0.75:cs=0.250:ct=0.5 -v 40 /media/Data/GoPro/test/RPRq-2_anonymized-test.mp4
I have tried this with my own test video and a .trf
file from a vidstabdect
run. My experience is the same: With the direct ffmpeg commands it works but supplying them to the ffmpeg config args in deface
crashes the process. I haven't found out why that happens either. Replacing the vidstabtransform filter with the scale=-2:360
filter doesn't crash either so there seems to be either a problem specific to the vidstabtransform filter, with 2 pass filters or with the option parsing.
I don't know if that's a real alternative for your use case but on my machine the single-pass deshake filter works fine with deface
. In your example that would be:
deface --thresh 0.5 --ffmpeg-config '{"codec": "libx264", "macro_block_size": 1, "ffmpeg_params": ["-crf","18", "-vf", "deshake"]}' RPRq-2.mp4
Hi!
I'm trying to execute this command:
to execute all those three commands at once (tested and works for ffmpeg v5:
But I'm getting this:
There is no problem with rights to write to file and I don't have any other idea...
And verbose output: