Skip to content

Commit

Permalink
* Fixing #605 HDR2SDR double tonemapping in Rigaya NVENC and QSV Enco…
Browse files Browse the repository at this point in the history
…ders (thanks to Darksyderz)
  • Loading branch information
cdgriffith committed Aug 18, 2024
1 parent 250c9de commit cf18ea3
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 9 deletions.
1 change: 1 addition & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

* Fixing #598 'dict' object has no attribute 'to_yaml' (thanks to dmo marillat)
* Fixing #599 Italian language translations (thanks to bovirus)
* Fixing #605 HDR2SDR double tonemapping in Rigaya NVENC and QSV Encoders (thanks to Darksyderz)

## Version 5.8.0

Expand Down
1 change: 0 additions & 1 deletion fastflix/encoders/nvencc_av1/command_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ def build(fastflix: FastFlix):
f"--avsync {vsync_setting}",
(f"--interlace {video.interlaced}" if video.interlaced and video.interlaced != "False" else ""),
("--vpp-yadif" if video.video_settings.deinterlace else ""),
(f"--vpp-colorspace hdr2sdr=mobius" if video.video_settings.remove_hdr else ""),
remove_hdr,
"--psnr --ssim" if settings.metrics else "",
build_audio(video.audio_tracks, video.streams.audio),
Expand Down
1 change: 0 additions & 1 deletion fastflix/encoders/nvencc_avc/command_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ def build(fastflix: FastFlix):
f"--avsync {vsync_setting}",
(f"--interlace {video.interlaced}" if video.interlaced and video.interlaced != "False" else ""),
("--vpp-yadif" if video.video_settings.deinterlace else ""),
(f"--vpp-colorspace hdr2sdr=mobius" if video.video_settings.remove_hdr else ""),
remove_hdr,
"--psnr --ssim" if settings.metrics else "",
build_audio(video.audio_tracks, video.streams.audio),
Expand Down
1 change: 0 additions & 1 deletion fastflix/encoders/nvencc_hevc/command_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ def build(fastflix: FastFlix):
f"--avsync {vsync_setting}",
(f"--interlace {video.interlaced}" if video.interlaced and video.interlaced != "False" else ""),
("--vpp-yadif" if video.video_settings.deinterlace else ""),
(f"--vpp-colorspace hdr2sdr=mobius" if video.video_settings.remove_hdr else ""),
remove_hdr,
"--psnr --ssim" if settings.metrics else "",
build_audio(video.audio_tracks, video.streams.audio),
Expand Down
1 change: 0 additions & 1 deletion fastflix/encoders/qsvencc_av1/command_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ def build(fastflix: FastFlix):
f"--avsync {vsync_setting}",
(f"--interlace {video.interlaced}" if video.interlaced and video.interlaced != "False" else ""),
("--vpp-yadif" if video.video_settings.deinterlace else ""),
(f"--vpp-colorspace hdr2sdr=mobius" if video.video_settings.remove_hdr else ""),
remove_hdr,
("--adapt-ref" if settings.adapt_ref else ""),
("--adapt-ltr" if settings.adapt_ltr else ""),
Expand Down
1 change: 0 additions & 1 deletion fastflix/encoders/qsvencc_avc/command_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ def build(fastflix: FastFlix):
f"--avsync {vsync_setting}",
(f"--interlace {video.interlaced}" if video.interlaced and video.interlaced != "False" else ""),
("--vpp-yadif" if video.video_settings.deinterlace else ""),
(f"--vpp-colorspace hdr2sdr=mobius" if video.video_settings.remove_hdr else ""),
remove_hdr,
("--adapt-ref" if settings.adapt_ref else ""),
("--adapt-ltr" if settings.adapt_ltr else ""),
Expand Down
1 change: 0 additions & 1 deletion fastflix/encoders/qsvencc_hevc/command_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ def build(fastflix: FastFlix):
f"--avsync {vsync_setting}",
(f"--interlace {video.interlaced}" if video.interlaced and video.interlaced != "False" else ""),
("--vpp-yadif" if video.video_settings.deinterlace else ""),
(f"--vpp-colorspace hdr2sdr=mobius" if video.video_settings.remove_hdr else ""),
remove_hdr,
("--adapt-ref" if settings.adapt_ref else ""),
("--adapt-ltr" if settings.adapt_ltr else ""),
Expand Down
1 change: 0 additions & 1 deletion fastflix/encoders/vceencc_av1/command_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ def build(fastflix: FastFlix):
f"--avsync {vsync_setting}",
(f"--interlace {video.interlaced}" if video.interlaced and video.interlaced != "False" else ""),
("--vpp-nnedi" if video.video_settings.deinterlace else ""),
(f"--vpp-colorspace hdr2sdr=mobius" if video.video_settings.remove_hdr else ""),
remove_hdr,
"--psnr --ssim" if settings.metrics else "",
build_audio(video.audio_tracks, video.streams.audio),
Expand Down
1 change: 0 additions & 1 deletion fastflix/encoders/vceencc_avc/command_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ def build(fastflix: FastFlix):
f"--avsync {vsync_setting}",
(f"--interlace {video.interlaced}" if video.interlaced and video.interlaced != "False" else ""),
("--vpp-nnedi" if video.video_settings.deinterlace else ""),
(f"--vpp-colorspace hdr2sdr=mobius" if video.video_settings.remove_hdr else ""),
remove_hdr,
"--psnr --ssim" if settings.metrics else "",
build_audio(video.audio_tracks, video.streams.audio),
Expand Down
1 change: 0 additions & 1 deletion fastflix/encoders/vceencc_hevc/command_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ def build(fastflix: FastFlix):
f"--avsync {vsync_setting}",
(f"--interlace {video.interlaced}" if video.interlaced and video.interlaced != "False" else ""),
("--vpp-nnedi" if video.video_settings.deinterlace else ""),
(f"--vpp-colorspace hdr2sdr=mobius" if video.video_settings.remove_hdr else ""),
remove_hdr,
"--psnr --ssim" if settings.metrics else "",
build_audio(video.audio_tracks, video.streams.audio),
Expand Down

0 comments on commit cf18ea3

Please sign in to comment.