[FFmpeg-user] FFmpeg_Book.pdf 2.148

Michael Koch astroelectronic at t-online.de
Mon Jun 12 09:16:16 EEST 2023


Am 12.06.2023 um 06:06 schrieb Gyan Doshi:
>
>
> On 2023-06-12 02:24 am, Michael Koch wrote:
>> Am 11.06.2023 um 22:39 schrieb Cecil Westerhof via ffmpeg-user:
>>> In FFmpeg_Book.pdf chapter 2.148 is about video stabilisation.
>>> Part of the code is:
>>>      ffmpeg -i %IN% -vf vidstabdetect -y dummy.mov
>>>      del dummy.mov
>>>      ffmpeg -i %IN% -vf vidstabtransform -y %OUT%
>>>
>>> But line two removes what is generated in line one. So what are thos
>>> two lines doing?
>>>
>>
>> It's described in the documentation for those two filters. The 
>> vidstabdetect filter has two outputs. The stabilization data is 
>> written to a file "transforms.trf", and the output of the filter 
>> chain is the same as the input. Because this output isn't required, 
>> it can be deleted.
>
> The first command will go through with encoding the filter output and 
> then saving it.
>
> Just change to
>
>   ffmpeg -i %IN% -vf vidstabdetect -an -f null -
>
> and remove line 2.

Thank you, I've added it to the book.

Michael



More information about the ffmpeg-user mailing list