[FFmpeg-trac] #10005(undetermined:closed): ffmpeg creates different output when jpeg file does not have a .jpg extension
FFmpeg
trac at avcodec.org
Fri Nov 4 00:51:08 EET 2022
#10005: ffmpeg creates different output when jpeg file does not have a .jpg
extension
-------------------------------------+-------------------------------------
Reporter: Brett | Owner: (none)
Type: defect | Status: closed
Priority: normal | Component:
| undetermined
Version: git-master | Resolution: invalid
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Changes (by Carl Eugen Hoyos):
* keywords: jpeg =>
* resolution: => invalid
* status: new => closed
* component: ffmpeg => undetermined
Comment:
The file IMG contains two concatenated jpeg images, you can test this for
example with:
$ ffmpeg -i IMG -vcodec copy out%1d.jpg
The pipe demuxer (that correctly auto-detected the format of IMG being
jpeg) cannot know that you only want to decode the first image unless you
tell it while the image2 demuxer (that at least in some cases is preferred
for files with suffix .jpg over the pipe demuxer) only reads the first
image. There is no issue that can be fixed.
Please note that you cannot create "good" gifs with your command line,
please look at the documentation for the palettegen and paletteuse
filters:
https://ffmpeg.org/ffmpeg-filters.html#palettegen-1
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10005#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list