[FFmpeg-devel] [PATCH] avcodec/tiff: Add support for recognizing DNG files

Nick Renieris velocityra at gmail.com
Sun Mar 17 23:12:09 EET 2019


Στις Κυρ, 17 Μαρ 2019 στις 10:41 μ.μ., ο/η Paul B Mahol
<onemda at gmail.com> έγραψε:
> Give link to input you use.

All DNGs I've tried. An example is the samples linked in the ticket:
https://kenrockwell.com/leica/m9/sample-photos-3.htm
Running
ffmpeg -i L1004220.DNG out.jpg
with the 'return AVERROR_PATCHWELCOME;' commented, results in the
following image being generated: https://i.imgur.com/FjvWaDY.jpg

> > What I would propose - if you want to keep this thumbnail
> > functionality - would be to add a -dngthumbnail or -thumbnail option
> > and keep the default as is in the commit, which is, from a users
> > perspective (IMO) much more intuitive. Perhaps the -thumbnail option
> > could then be mentioned in the warning, should the user want to use
> > it.
> >
> > How does that sound?
>
> Yes that is fine, thumbnails should be detected and only displayed
> when option is set.

Ok, I'll post an updated patch here soon.


More information about the ffmpeg-devel mailing list