[FFmpeg-trac] #11320(undetermined:closed): ffmpeg DESTROYS input files
FFmpeg
trac at avcodec.org
Sun Nov 24 11:58:59 EET 2024
#11320: ffmpeg DESTROYS input files
-------------------------------------+-------------------------------------
Reporter: ffmpeg.pete | Owner: (none)
Type: defect | Status: closed
Priority: normal | Component:
| undetermined
Version: unspecified | Resolution: invalid
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by ffmpeg.pete):
Update: I made all the files uniform in height and width using imagemagick
command
- resize all input files to 64x64
- set background black
- pad as necessary
- center resulting
mogrify -path 64x64/ -resize 64x64 -background black -gravity center
-extent 64x64 *.jpg
I confirm the output file size in the directory 64x64/ to be 64x64 in
size:
...
00001_00.jpg: JPEG image data, JFIF standard 1.01, aspect ratio, density
1x1, segment length 16, baseline, precision 8, 64x64, components 1
...
Same result. So maybe I'm not allowed to create such a small mp4?
But!!! The input files are DESTROYED.
Even for stupid users like me. This should never happen.
Noticing lots of messages like this:
[swscaler @ 0x55a8763ab600] deprecated pixel format used, make sure you
did set range correctly
But the images look fine on inspection.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11320#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list