[FFmpeg-trac] #9410(avfilter:new): Problem in vidstabtransform
FFmpeg
trac at avcodec.org
Tue Sep 7 18:33:33 EEST 2021
#9410: Problem in vidstabtransform
-------------------------------------+-------------------------------------
Reporter: Michael | Type: defect
Koch |
Status: new | Priority: normal
Component: avfilter | Version: git-
| master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
It seems in the "vidstabtransform" filter the option "crop=black" doesn't
work. Can be reproduced as follows:
rem Make a video with vertical jitter:
ffmpeg -f lavfi -i testsrc2=d=10 -lavfi
sendcmd=f=cmd.txt,rgbashift=rv=0:gv=0:bv=0 -y shaky.mp4
The file cmd.txt contains these 3 lines:
0 [expr] rgbashift rv 'mod(3*N,10)';
0 [expr] rgbashift gv 'mod(3*N,10)';
0 [expr] rgbashift bv 'mod(3*N,10)';
rem Stabilize the video:
ffmpeg -i shaky.mp4 -lavfi vidstabdetect -y dummy.mp4
ffmpeg -i shaky.mp4 -lavfi vidstabtransform=crop=black:optzoom=0 -y
out.mp4
I would expect sometimes to see black borders.
Either these areas are filled with other colors, or a zoom is active,
which shouldn't be the case with optzoom=0.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9410>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list