22.09.2024, 11:33
The feature that you are referring to is enabled only if the parameter "only_ref_frames" is set to True.
With the current GUI this parameter can be set only as shown in the picture below (see check box "Reference frames only")
![[Image: attachment.php?aid=2755]](https://forum.selur.net/attachment.php?aid=2755)
Currently your GUI don't allow to set "Ref FrameDir" when Method is in: 0, 1, 2
So I had, first set method = 3, set the reference dir and then change the method to 0 (please allow always the setting of this field, with the option to clear it)
I attached a new RC12 where now it is possible to set the flag "only_ref_frames" using a command like
As explained this option has been enabled to check the reference frames that are generated when is selected the method = 0 (HAVC).
The best way to use this feature is to open the preview window, open with vsedit or veViewer the script generated automatically and press "F7" or select "Script->Benchmark".
There is not reason to encode the generated movie, the Benchmark will run the script and the reference frames will be generated without encoding.
For example if you run the command described previously you will see that the following frames were not colored properly
![[Image: attachment.php?aid=2757]](https://forum.selur.net/attachment.php?aid=2757)
![[Image: attachment.php?aid=2758]](https://forum.selur.net/attachment.php?aid=2758)
You can create a new directory called "ref_fix" and put inside this directory these pictures
![[Image: attachment.php?aid=2759]](https://forum.selur.net/attachment.php?aid=2759)
![[Image: attachment.php?aid=2760]](https://forum.selur.net/attachment.php?aid=2760)
Then you can use a command like this
to useĀ DeepExMethod=1 -> HAVC + RF same as video
In this case the reference frames will be generated using HAVC but the 2 frames added in the directory "ref_fix" will override the frames generated automatically by HAVC, thus providing an improved colored image.
Dan
With the current GUI this parameter can be set only as shown in the picture below (see check box "Reference frames only")
Currently your GUI don't allow to set "Ref FrameDir" when Method is in: 0, 1, 2
So I had, first set method = 3, set the reference dir and then change the method to 0 (please allow always the setting of this field, with the option to clear it)
I attached a new RC12 where now it is possible to set the flag "only_ref_frames" using a command like
clip = HAVC_main(clip=clip, EnableDeepEx=True, DeepExRefMerge=0, ScFrameDir="ref_ext_stable", DeepExModel=1, VideoTune="Stable", DeepExOnlyRefFrames=True, ScThreshold=0.035)
As explained this option has been enabled to check the reference frames that are generated when is selected the method = 0 (HAVC).
The best way to use this feature is to open the preview window, open with vsedit or veViewer the script generated automatically and press "F7" or select "Script->Benchmark".
There is not reason to encode the generated movie, the Benchmark will run the script and the reference frames will be generated without encoding.
For example if you run the command described previously you will see that the following frames were not colored properly
You can create a new directory called "ref_fix" and put inside this directory these pictures
Then you can use a command like this
clip = HAVC_main(clip=clip, EnableDeepEx=True, DeepExRefMerge=0, ScFrameDir="ref_fix", DeepExModel=1, VideoTune="Stable", DeepExMethod=1, ScThreshold=0.035)
to useĀ DeepExMethod=1 -> HAVC + RF same as video
In this case the reference frames will be generated using HAVC but the 2 frames added in the directory "ref_fix" will override the frames generated automatically by HAVC, thus providing an improved colored image.
Dan