[FFmpeg-user] {Spam?} Re: crop and fade
Michael Koch
astroelectronic at t-online.de
Fri Nov 20 08:43:42 EET 2020
Am 20.11.2020 um 07:27 schrieb RAPPAZ Francois via ffmpeg-user:
> Am 19.11.2020 um 16:37 schrieb RAPPAZ Francois via ffmpeg-user:
>>> Hi
>>>
>>> I tried the fading between pictures and cropping to there original
>>> size (5152 x 3864), so that they are not distorted
>>>
>>> ffmpeg -y -i %%02d.JPG -i SligoAir_WhiteBlanket.mp3 ^ -vf
>>> zoompan=d=10:fps=1,framerate=fps=25:interp_start=0:interp_end=255:scen
>>> e=100 ^ -pix_fmt yuv420p -s 5152x3864 out.mp4
>>>
>>> It seems that -s 5152x3864 destroy the fading effect achieved with the
>>> second line
>>>
>>> How can I correct this ?
>> You must bring all pictures to the same size _before_ you read them with FFmpeg.
>> Re-scaling one image with FFmpeg:
>> ffmpeg -i input.jpg -s 5152x3864 output.jpg
>> Re-scaling all images with FFmpeg:
>> I think that's only possible with a loop in a script. Too complicated.
>> Re-scaling one image with IrfanView:
>> Open the image, Image --> Resize/Resample, Save as...
>>
>> Michael
> But my individual pictures are already at 5152x3864. The problem is that when I do the above command without -s ...x... they are stretched in the horizontal axis
> What should be the size to use for my pictures to be displayed without distortion ?
And the individual images are not stretched in the horizontal axis?
Please show the uncut console output.
Michael
More information about the ffmpeg-user
mailing list