Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.


Go Back   Doom9's Forum > Capturing and Editing Video > VapourSynth

Thread Tools Search this Thread Display Modes
Old 29th October 2019, 15:31   #1  |  Link
Registered User
Join Date: Oct 2015
Posts: 49
Age's HDR to SDR tone mapping

age is offline   Reply With Quote
Old 29th October 2019, 16:34   #2  |  Link
Registered User
redbtn's Avatar
Join Date: Jan 2019
Location: Russia
Posts: 141
Error if c=age_tm.reinhard_rgby(c,target_nits=120,source_peak=None). If i manually set source_peak=4000 works fine.

And can i ask why chromaloc=center?
2019-10-29 20:29:32.603
Failed to evaluate the script:
Python exception:

Traceback (most recent call last):
File "src\cython\vapoursynth.pyx", line 872, in vapoursynth.VideoProps.__getattr__
File "src\cython\vapoursynth.pyx", line 772, in vapoursynth.VideoProps.__getitem__
KeyError: 'No key named MasteringDisplayMaxLuminance exists'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "src\cython\vapoursynth.pyx", line 1946, in vapoursynth.vpy_evaluateScript
File "src\cython\vapoursynth.pyx", line 1947, in vapoursynth.vpy_evaluateScript
File "E:/test/sample.vpy", line 11, in
File "C:\Users\intel\AppData\Roaming\Python\Python37\site-packages\age_tm.py", line 314, in reinhard_rgby
File "src\cython\vapoursynth.pyx", line 874, in vapoursynth.VideoProps.__getattr__
My script
import vapoursynth as vs
import age_tm
core = vs.get_core()
clip = core.lsmas.LWLibavSource(source="E:/test/sample.mkv", format="YUV420P10", cache=1)
clip = core.std.AssumeFPS(clip, fpsnum=24000, fpsden=1001)
c = clip
Also it’s not written anywhere that it automatically does resize to FHD by bicubic

Last edited by redbtn; 29th October 2019 at 17:38.
redbtn is online now   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 14:58.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.