JPEG chroma subsampling (for Sony Bravia TVs)

Hi,

 

I'm continuing one of my previous posts on the users forum (http://forums.plexapp.com/index.php/topic/77621-bravia-tvs-needs-jpeg-transcoding-actually-chroma-subsampling/), in search for some help so that I can try to develop a plugin.

 

Is it possible to develop a plugin that would intercept a photo (JPEG) that is served by PMS to a DLNA client and to process it a bit before sending it to the client? I would need to "add" chroma subsampling for photos that are server to Sony Bravia 2012 TVs, which don't support non-subsampled JPEGs.

 

It would be great if somebody would tell me if PMS would allow such a plugin and, if true, to provide me with some details on where should I look and how would I do this. I have searched the dev forum for two days but couldn't find anything related to that.

 

Note: I can see that freeimage is the library that is used by PMS and I have played a bit with the library (in C) on how to accomplish the chroma subsampling, and it works (of course :) ). I would need to write the code in Python and add this as a plugin, right?

 

Thank you for the help.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.