[FFmpeg-user] Converting BT2020 HVEC Videos to H.264 without Color Washout

Pavel Koshevoy pkoshevoy at gmail.com
Fri Mar 26 01:59:37 EET 2021


On Thu, Mar 25, 2021, 16:34 Craig L. <ffmpeg at trafficality.com> wrote:

> I think I tried exactly that based upon this stackoverflow question:
>
>
> https://stackoverflow.com/questions/64981984/ffmpeg-transcode-uhd-h265-to-sdr-h264-without-color-loss
>
> The example in that post uses this command:
>
> |ffmpeg -i 4K.ts -vf
> zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=bt709,tonemap=tonemap=hable:desat=0,zscale=t=bt709:m=bt709:r=tv,format=yuv420p
>
> -c:v h264 -crf 19 -preset ultrafast output.mp4 |
>


I think tonemap should be upstream from the 2nd zscale filter


More information about the ffmpeg-user mailing list