google-code-export / ffmpegthumbnailer

Automatically exported from code.google.com/p/ffmpegthumbnailer
GNU General Public License v2.0
1 stars 1 forks source link

Output quality #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There is a big filesize of output image, ~20 kb, jpeg and png writers. 
Does ffmpegthumbnailer supports any parameter to control quality (1..10) of
result image ? Or will be in next releases ?

Original issue reported on code.google.com by dan.sose...@gmail.com on 22 Jul 2008 at 2:29

GoogleCodeExporter commented 9 years ago
Currently quality settings are not supported.

I'll see what I can do... when I have some spare time :-)

Original comment by dirk.vdb on 22 Jul 2008 at 6:36

GoogleCodeExporter commented 9 years ago
Actually the FreeDesktop.Org thumbnail specification requires that all 
thumbnails be
PNG images with "the best possible quality".
http://jens.triq.net/thumbnail-spec/creation.html#AEN139

They leave the actual definition of "best possible quality" open, and it 
*could* mean
"the best quality at which it is still possible to recognise the image"...

Original comment by erlend.d...@gmail.com on 22 Jul 2008 at 10:37

GoogleCodeExporter commented 9 years ago
This will remain the default but the thumbnailer is also used for other purposes
which might require different quality setttings.

Original comment by dirk.vdb on 22 Jul 2008 at 10:53

GoogleCodeExporter commented 9 years ago
exactly, im using thumbnailer for flv video movies, that can be uploaded and
processed as fast as it possible. i found couple of solutions to make thumbs. 
ffmpeg
-> ffmpeg-php -> ffmpegthumbnailer. it`s very fast, so i decided to use it in 
future
project. 
maybe ill try to modify sources when get some spare time. 

Original comment by dan.sose...@gmail.com on 22 Jul 2008 at 4:43

GoogleCodeExporter commented 9 years ago
The version in the repository allows you to set the image quality. This is only 
for
jpeg and is ignored by png, since png is lossless. Png does allow you to set
compression but it would only influence processing time and filesize. The png 
library
already chooses the best settings for that.

Original comment by dirk.vdb on 25 Jul 2008 at 5:32