Opened 10 years ago

Last modified 10 years ago

#2097 open enhancement

Let Gradfun output an undithered image of higher bit depth.

Reported by: Björn Sonnenschein Owned by:
Priority: wish Component: avfilter
Version: git-master Keywords: gradfun
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: yes

Description

For my understanding the gradfun filter takes an 8 bit per channel image, converts it to a higher bit depth and then smoothes gradiation steps with little color delta to achieve an image of virtually higher bit depth. Then the data is converted to 8 bit again and dithered.

As, beneath viewing movies, an other very useful application of gradfun is to convert 8 bit material from cameras (which produce banding) to higher depth intermediate codecs (like DNxHD 185x which uses 10 bit) for video editing tasks, it would be helpful if the filter could also skip the dithering and output an image with higher depth directly for such purposes.

Change History (3)

comment:1 by Loren Merritt, 10 years ago

Analyzed by developer: set
Reproduced by developer: set
Status: newopen

Valid request. I don't, however, know how to make a single filter with a single input return different output colorspaces depending on what the next filter supports.

comment:2 by Carl Eugen Hoyos, 10 years ago

Priority: normalwish
Version: unspecifiedgit-master

comment:3 by Björn Sonnenschein, 10 years ago

Hmm, could the format filter give some hints? It converts the video to different pixel formats and also tries to match the format the next filter supports.

Note: See TracTickets for help on using tickets.