Comment to 'how to tweak ffmpeg image compression settings?'
  • You may see the example set on the albums:

    INSERT INTO `sys_transcoder_filters` (`transcoder_object`, `filter`, `filter_params`, `order`) VALUES 

    ('bx_albums_preview', 'Resize', 'a:3:{s:1:"w";s:3:"300";s:1:"h";s:3:"300";s:13:"square_resize";s:1:"1";}', '0'),

    ('bx_albums_browse', 'Resize', 'a:1:{s:1:"h";s:3:"180";}', '0'),

    ('bx_albums_big', 'Resize', 'a:2:{s:1:"w";s:4:"1280";s:1:"h";s:4:"1280";}', '0'),

    So the bold parts mean the width / height and the size in pixels.

    • :)  is this arguments fed to scale2ref ?  
      i'm looking to specify lanczos3 vs bicubic or bilinear, for example, and adjust the quality to be higher (less compression.)
      i am not a fan of bilinear pixel order, and bicubic destroys most things except graphics. the advantage of lanczos3 seperable is it allows the pixel data to create its own matrix per image, rather than the way the matrixes are fit / averaged / weighted in other image algorithms. :)
      so this is what i would like to adjust, again, it's one of those php files :) would love to know which one, pleased to be advised,
      and thank you Leonid.
      :D
      oh and about earlier, yes snakes make their way into all software documentation, its part of the fun until you cannot find how to do something without grepping endless directories of code :D  // all things in good time..  at some point i would love to help author some documentation once i've learned more of the systems workings...