E
E
Evgeny Ivanov2020-01-02 16:56:55
fmpeg
Evgeny Ivanov, 2020-01-02 16:56:55

How to remove distortion when assembling video from png (ffmpeg)?

I collect video from png files using ffmpeg. I use the command

ffmpeg -framerate 24 -i Output\%%06d.png -vcodec png output_from_images.avi

Usually, video quality is equal to png quality. There are no statements.
But in some cases, there is an incomprehensible distortion. Something is ruining the quality of the video.
Here is an example of a part of the picture with an increase. PNG file on the left. Right - avi.
5e0df4aa25683933222209.png
On the avi file (on the right) the line is smeared. And on png it is quite clear - straight.
Moreover, such a glitch is observed only in this place.
You can edit png files by drawing a line larger or at a different angle and the glitch will disappear.
The video will look exactly like png images. Without distortion.
Weird.
How to remove distortion when assembling video from png (ffmpeg)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yaroslav Semenov, 2020-01-29
@AMCDM

Try using -vcodec copy instead of -vcodec png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question