Opened 7 years ago

Last modified 7 years ago

#2097 open enhancement

Let Gradfun output an undithered image of higher bit depth.

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


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 Changed 7 years ago by pengvado

  • Analyzed by developer set
  • Reproduced by developer set
  • Status changed from new to open

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 Changed 7 years ago by cehoyos

  • Priority changed from normal to wish
  • Version changed from unspecified to git-master

comment:3 Changed 7 years ago by sun

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.