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.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

Go Back   Doom9's Forum > Video Encoding > High Efficiency Video Coding (HEVC)

Reply
 
Thread Tools Search this Thread Display Modes
Old 10th January 2026, 19:20   #1641  |  Link
Rootdown4594
Registered User
 
Join Date: Dec 2025
Posts: 4
Quote:
Originally Posted by Kuler087 View Post
Yes, don’t do that.

dovi_script does not support AV1 (I could add support eventually), but you can still use it to generate the FEL Baker AviSynth script and then encode to AV1 using a GUI like StaxRip.

1- Run 8-2-1 and cancel the process as soon as the encode starts.
2- Go to the dovi_script TEMP folder and import ''script.avs'' into StaxRip. From there, you can bake the FEL and encode directly to AV1.

*It’s also possible that StaxRip now supports FEL directly, but I haven’t followed its development recently.

I get this error when I drag and dop the scipt.avs file into Straxrip and select automatic:

Script Error

Python exception: name 'core' is not defined

Traceback (most recent call last):
File "src/cython/vapoursynth.pyx", line 3393, in vapoursynth._vpy_evaluate
File "src/cython/vapoursynth.pyx", line 3394, in vapoursynth._vpy_evaluate
File "D:\DoVi\DoVi.Scripts\temp.folder31\script.avs_temp\script_source.vpy", line 1, in <module>
clip = core.avisource.AVISource(r"D:\DoVi\DoVi.Scripts\temp.folder31\script.avs")
^^^^
NameError: name 'core' is not defined
Rootdown4594 is offline   Reply With Quote
Old 10th January 2026, 19:30   #1642  |  Link
Kuler087
Registered User
 
Kuler087's Avatar
 
Join Date: Aug 2021
Location: Canada
Posts: 797
You have to change your staxrip project to avisynth.

__________________
DoVi_Scripts //// Dolby Vision Stuff (more tabs below)
LG OLED G5 77'' + 7.2.4 Denon AVR + Ugoos AM6Bplus + Kaleidescape Strato E
Sorry for my English
Kuler087 is offline   Reply With Quote
Old 10th January 2026, 19:52   #1643  |  Link
Rootdown4594
Registered User
 
Join Date: Dec 2025
Posts: 4
Thank you
Rootdown4594 is offline   Reply With Quote
Old 13th January 2026, 20:30   #1644  |  Link
dkangel
Registered User
 
Join Date: Jun 2023
Location: Belgium
Posts: 40
hello
i'm trying to inject your L5 offsets data in the rpu of interstellar.
copy the text into a samename.json file
everything good except at the end, i've this message

01/13/2026/20:29:54.198000000 metafier: ERROR Illegal Per-frame Level Data: 5
Parsing RPU file...

Summary:
Frames: 243218
Profile: 8
DM version: 1 (CM v2.9)
Scene/shot count: 2358
RPU mastering display: 0.0050/4000 nits
RPU content light level (L1): MaxCLL: 3056.40 nits, MaxFALL: 588.84 nits
L6 metadata: Mastering display: 0.0050/4000 nits. MaxCLL: 0 nits, MaxFALL: 0 nits
L5 offsets: top=0..280, bottom=0..280, left=0, right=0
L2 trims: 100 nits

do you know what it is ? ERROR illegal per frame

thank you

Last edited by dkangel; 13th January 2026 at 20:41.
dkangel is offline   Reply With Quote
Old 13th January 2026, 21:03   #1645  |  Link
Kuler087
Registered User
 
Kuler087's Avatar
 
Join Date: Aug 2021
Location: Canada
Posts: 797
It means that some L5 change happens on a frame that is not a scene cut.
Is this the json edit you've used? I just checked my RPU, and everything is fine.



Code:
{
    "mode": 0,
    "active_area": {
        "presets": [
            {
                "id": 0,
                "left": 0,
                "right": 0,
                "top": 280,
                "bottom": 281
            },
            {
                "id": 1,
                "left": 0,
                "right": 0,
                "top": 0,
                "bottom": 0
            }
        ],
        "edits": {
            "0-2117": 0,
            "2118-2589": 1,
            "2590-4429": 0,
            "4430-4588": 1,
            "4589-4657": 0,
            "4658-4736": 1,
            "4737-9349": 0,
            "9350-12547": 1,
            "12548-20071": 0,
            "20072-20228": 1,
            "20229-26005": 0,
            "26006-27624": 1,
            "27625-29207": 0,
            "29208-29379": 1,
            "29380-32410": 0,
            "32411-33439": 1,
            "33440-52177": 0,
            "52178-52270": 1,
            "52271-59929": 0,
            "59930-61037": 1,
            "61038-61098": 0,
            "61099-61199": 1,
            "61200-61306": 0,
            "61307-61411": 1,
            "61412-62296": 0,
            "62297-62454": 1,
            "62455-62779": 0,
            "62780-62895": 1,
            "62896-62984": 0,
            "62985-63072": 1,
            "63073-63310": 0,
            "63311-63407": 1,
            "63408-65118": 0,
            "65119-65269": 1,
            "65270-65475": 0,
            "65476-65745": 1,
            "65746-65790": 0,
            "65791-65886": 1,
            "65887-65951": 0,
            "65952-66059": 1,
            "66060-66179": 0,
            "66180-66318": 1,
            "66319-66770": 0,
            "66771-66917": 1,
            "66918-67974": 0,
            "67975-68163": 1,
            "68164-69114": 0,
            "69115-69530": 1,
            "69531-69652": 0,
            "69653-69843": 1,
            "69844-70575": 0,
            "70576-70774": 1,
            "70775-71548": 0,
            "71549-71652": 1,
            "71653-71835": 0,
            "71836-71865": 1,
            "71866-71945": 0,
            "71946-72079": 1,
            "72080-72124": 0,
            "72125-72403": 1,
            "72404-76948": 0,
            "76949-77258": 1,
            "77259-78833": 0,
            "78834-79911": 1,
            "79912-82014": 0,
            "82015-82265": 1,
            "82266-82856": 0,
            "82857-82985": 1,
            "82986-83345": 0,
            "83346-83474": 1,
            "83475-84866": 0,
            "84867-84986": 1,
            "84987-85142": 0,
            "85143-85255": 1,
            "85256-85479": 0,
            "85480-85719": 1,
            "85720-85877": 0,
            "85878-86018": 1,
            "86019-86094": 0,
            "86095-86191": 1,
            "86192-86423": 0,
            "86424-86551": 1,
            "86552-86615": 0,
            "86616-86700": 1,
            "86701-86840": 0,
            "86841-86893": 1,
            "86894-87014": 0,
            "87015-87113": 1,
            "87114-87457": 0,
            "87458-87556": 1,
            "87557-88210": 0,
            "88211-88456": 1,
            "88457-88841": 0,
            "88842-89377": 1,
            "89378-94039": 0,
            "94040-94168": 1,
            "94169-94328": 0,
            "94329-94490": 1,
            "94491-94574": 0,
            "94575-94638": 1,
            "94639-95152": 0,
            "95153-95210": 1,
            "95211-95399": 0,
            "95400-95516": 1,
            "95517-96608": 0,
            "96609-96705": 1,
            "96706-96820": 0,
            "96821-96911": 1,
            "96912-96953": 0,
            "96954-97019": 1,
            "97020-97372": 0,
            "97373-97397": 1,
            "97398-97441": 0,
            "97442-97491": 1,
            "97492-97540": 0,
            "97541-97620": 1,
            "97621-97663": 0,
            "97664-97727": 1,
            "97728-97770": 0,
            "97771-97869": 1,
            "97870-97918": 0,
            "97919-98070": 1,
            "98071-98112": 0,
            "98113-98203": 1,
            "98204-98607": 0,
            "98608-105200": 1,
            "105201-110488": 0,
            "110489-110578": 1,
            "110579-110783": 0,
            "110784-110833": 1,
            "110834-110870": 0,
            "110871-110910": 1,
            "110911-110956": 0,
            "110957-111007": 1,
            "111008-111039": 0,
            "111040-111106": 1,
            "111107-111135": 0,
            "111136-111158": 1,
            "111159-111181": 0,
            "111182-111443": 1,
            "111444-128219": 0,
            "128220-129099": 1,
            "129100-130228": 0,
            "130229-130512": 1,
            "130513-135990": 0,
            "135991-137775": 1,
            "137776-142345": 0,
            "142346-142941": 1,
            "142942-150171": 0,
            "150172-151096": 1,
            "151097-154631": 0,
            "154632-156627": 1,
            "156628-156817": 0,
            "156818-157207": 1,
            "157208-157847": 0,
            "157848-159661": 1,
            "159662-159951": 0,
            "159952-161259": 1,
            "161260-161479": 0,
            "161480-162074": 1,
            "162075-162476": 0,
            "162477-163947": 1,
            "163948-165059": 0,
            "165060-170806": 1,
            "170807-170925": 0,
            "170926-175489": 1,
            "175490-175689": 0,
            "175690-176841": 1,
            "176842-177228": 0,
            "177229-200823": 1,
            "200824-201104": 0,
            "201105-204170": 1,
            "204171-204414": 0,
            "204415-204477": 1,
            "204478-204553": 0,
            "204554-204700": 1,
            "204701-204873": 0,
            "204874-205839": 1,
            "205840-206259": 0,
            "206260-206443": 1,
            "206444-206504": 0,
            "206505-206829": 1,
            "206830-206849": 0,
            "206850-206892": 1,
            "206893-207033": 0,
            "207034-207082": 1,
            "207083-207172": 0,
            "207173-207243": 1,
            "207244-207302": 0,
            "207303-207343": 1,
            "207344-207380": 0,
            "207381-207621": 1,
            "207622-207637": 0,
            "207638-207790": 1,
            "207791-207882": 0,
            "207883-208172": 1,
            "208173-208290": 0,
            "208291-208976": 1,
            "208977-209112": 0,
            "209113-209376": 1,
            "209377-209558": 0,
            "209559-210406": 1,
            "210407-210990": 0,
            "210991-212925": 1,
            "212926-213076": 0,
            "213077-214127": 1,
            "214128-214235": 0,
            "214236-214672": 1,
            "214673-214762": 0,
            "214763-214840": 1,
            "214841-215120": 0,
            "215121-215403": 1,
            "215404-215498": 0,
            "215499-215613": 1,
            "215614-215687": 0,
            "215688-217571": 1,
            "217572-217634": 0,
            "217635-217691": 1,
            "217692-217781": 0,
            "217782-217977": 1,
            "217978-218091": 0,
            "218092-218575": 1,
            "218576-218628": 0,
            "218629-218697": 1,
            "218698-218858": 0,
            "218859-222520": 1,
            "222521-222594": 0,
            "222595-222722": 1,
            "222723-222737": 0,
            "222738-223265": 1,
            "223266-225789": 0,
            "225790-227094": 1,
            "227095-229653": 0,
            "229654-229822": 1,
            "229823-233190": 0,
            "233191-235847": 1,
            "235848-243202": 0
        }
    }
}
__________________
DoVi_Scripts //// Dolby Vision Stuff (more tabs below)
LG OLED G5 77'' + 7.2.4 Denon AVR + Ugoos AM6Bplus + Kaleidescape Strato E
Sorry for my English
Kuler087 is offline   Reply With Quote
Old 13th January 2026, 21:18   #1646  |  Link
dkangel
Registered User
 
Join Date: Jun 2023
Location: Belgium
Posts: 40
it's this one

https://justpaste.it/bhv73 from your excell sheet

my last frame is 243218

EDIT : ok if i change the last line with "235848-243217": 0

Last edited by dkangel; 13th January 2026 at 21:21.
dkangel is offline   Reply With Quote
Old 13th January 2026, 21:33   #1647  |  Link
Kuler087
Registered User
 
Kuler087's Avatar
 
Join Date: Aug 2021
Location: Canada
Posts: 797
Yeah, my RPU frame count comes from the WEB-DL before it’s injected into the Blu-ray remux, which automatically duplicates frames at the end to match the video length.

Other than that, there’s no difference with that JSON, so you shouldn’t be getting a Metafier error. Are you using an older version of DoVi_meta.exe? I know that a while ago, it had an issue when converting RPU to XML, which caused this kind of error in Metafier.
__________________
DoVi_Scripts //// Dolby Vision Stuff (more tabs below)
LG OLED G5 77'' + 7.2.4 Denon AVR + Ugoos AM6Bplus + Kaleidescape Strato E
Sorry for my English
Kuler087 is offline   Reply With Quote
Old 13th January 2026, 21:41   #1648  |  Link
dkangel
Registered User
 
Join Date: Jun 2023
Location: Belgium
Posts: 40
no everything is up to date, dovi script 3.1.0 with last tools directory

it seems ok now with changing the number of the last frame

if i put 243217

01/13/2026/21:43:58.811000000 metafier: INFO No issues found in the Metadata
Parsing RPU file...

Summary:
Frames: 243218
Profile: 8
DM version: 1 (CM v2.9)
Scene/shot count: 2335
RPU mastering display: 0.0050/4000 nits
RPU content light level (L1): MaxCLL: 3056.40 nits, MaxFALL: 588.84 nits
L6 metadata: Mastering display: 0.0050/4000 nits. MaxCLL: 0 nits, MaxFALL: 0 nits
L5 offsets: top=0..280, bottom=0..280, left=0, right=0
L2 trims: 100 nits

Last edited by dkangel; 13th January 2026 at 21:44.
dkangel is offline   Reply With Quote
Old 13th January 2026, 21:49   #1649  |  Link
Kuler087
Registered User
 
Kuler087's Avatar
 
Join Date: Aug 2021
Location: Canada
Posts: 797
This movie trim pass is useless, FYI. You'll get better quality if you generate new CMV4.0 metadata.
__________________
DoVi_Scripts //// Dolby Vision Stuff (more tabs below)
LG OLED G5 77'' + 7.2.4 Denon AVR + Ugoos AM6Bplus + Kaleidescape Strato E
Sorry for my English
Kuler087 is offline   Reply With Quote
Old 13th January 2026, 21:52   #1650  |  Link
dkangel
Registered User
 
Join Date: Jun 2023
Location: Belgium
Posts: 40
ok i will do that with resolve, is it possible to import your l5 metadata in resolve to avoid all the cuting stuff ?

Last edited by dkangel; 13th January 2026 at 21:55.
dkangel is offline   Reply With Quote
Old 13th January 2026, 22:01   #1651  |  Link
Kuler087
Registered User
 
Kuler087's Avatar
 
Join Date: Aug 2021
Location: Canada
Posts: 797
No. You can only import the scene cuts, but not L5.

You can use my Resolve project:
with homemade trims: https://drive.google.com/file/d/1M1t...usp=drive_link
without trims: https://drive.google.com/file/d/1Vrm...usp=drive_link
__________________
DoVi_Scripts //// Dolby Vision Stuff (more tabs below)
LG OLED G5 77'' + 7.2.4 Denon AVR + Ugoos AM6Bplus + Kaleidescape Strato E
Sorry for my English
Kuler087 is offline   Reply With Quote
Old 13th January 2026, 22:03   #1652  |  Link
dkangel
Registered User
 
Join Date: Jun 2023
Location: Belgium
Posts: 40
ok i'll try this tomorrow, thank you for your time
dkangel is offline   Reply With Quote
Old 14th January 2026, 17:33   #1653  |  Link
dkangel
Registered User
 
Join Date: Jun 2023
Location: Belgium
Posts: 40
i've import your project with my mov file, scene cuts are ok and so L5 changes seems synchro too, i'm analysing for dv and give a try on my tv
but i think it will be ok

Last edited by dkangel; 14th January 2026 at 17:50.
dkangel is offline   Reply With Quote
Old 14th January 2026, 23:21   #1654  |  Link
prudentavocado
Registered User
 
Join Date: Jan 2025
Posts: 13
Quote:
Originally Posted by Kuler087 View Post
Right, on a 5000-nits TV, there is no advantage to converting HDR10 to Dolby Vision in 3-1(or resolve).
For a native DV Blu-ray rip, some FEL titles do restore a brighter master, but that benefit is lost once they are converted to Profile 8. You need a device like the Ugoos Am6B+ to get that brighter DV from FEL playback.
Baking in the FEL properly to get a p8 is still lower on the picture quality scale than a Web p5 (due to the color space), correct?
prudentavocado is offline   Reply With Quote
Old 15th January 2026, 03:08   #1655  |  Link
Kuler087
Registered User
 
Kuler087's Avatar
 
Join Date: Aug 2021
Location: Canada
Posts: 797
yes but streaming DV5 has worse hevc compression due to the lower bitrate
__________________
DoVi_Scripts //// Dolby Vision Stuff (more tabs below)
LG OLED G5 77'' + 7.2.4 Denon AVR + Ugoos AM6Bplus + Kaleidescape Strato E
Sorry for my English
Kuler087 is offline   Reply With Quote
Old 15th January 2026, 05:45   #1656  |  Link
prudentavocado
Registered User
 
Join Date: Jan 2025
Posts: 13
Quote:
Originally Posted by Kuler087 View Post
yes but streaming DV5 has worse hevc compression due to the lower bitrate
Damn, so what do you choose? I suppose whatever looks pleasing to the eyes on your display?

I guess p8 remux > p5 > p8 encode

Last edited by prudentavocado; 15th January 2026 at 05:50.
prudentavocado is offline   Reply With Quote
Old 15th January 2026, 14:12   #1657  |  Link
Kuler087
Registered User
 
Kuler087's Avatar
 
Join Date: Aug 2021
Location: Canada
Posts: 797
When compressed properly, a P8 encode will be better than streaming DV5.
remux > p8 encode > P5
__________________
DoVi_Scripts //// Dolby Vision Stuff (more tabs below)
LG OLED G5 77'' + 7.2.4 Denon AVR + Ugoos AM6Bplus + Kaleidescape Strato E
Sorry for my English
Kuler087 is offline   Reply With Quote
Old 16th January 2026, 00:06   #1658  |  Link
prudentavocado
Registered User
 
Join Date: Jan 2025
Posts: 13
Quote:
Originally Posted by Kuler087 View Post
When compressed properly, a P8 encode will be better than streaming DV5.
remux > p8 encode > P5
No kidding, does that mean if the p8 encode and p5 are identical bitrate you'd go with the p8?

Thanks in advance.
prudentavocado is offline   Reply With Quote
Old 16th January 2026, 00:41   #1659  |  Link
Kuler087
Registered User
 
Kuler087's Avatar
 
Join Date: Aug 2021
Location: Canada
Posts: 797
If the P8 encode comes from the UHD Blu-ray and I compressed it myself, yes.
Streaming compression is subpar. iTunes is DNR garbage, MA has a lot of compression noise and introduces visible artifacts with grain-heavy content, Disney’s and Fandango bitrate is too low, and Amazon’s HEVC compression is horrible.
__________________
DoVi_Scripts //// Dolby Vision Stuff (more tabs below)
LG OLED G5 77'' + 7.2.4 Denon AVR + Ugoos AM6Bplus + Kaleidescape Strato E
Sorry for my English
Kuler087 is offline   Reply With Quote
Old 18th January 2026, 01:56   #1660  |  Link
prudentavocado
Registered User
 
Join Date: Jan 2025
Posts: 13
Quote:
Originally Posted by Kuler087 View Post
If the P8 encode comes from the UHD Blu-ray and I compressed it myself, yes.
Streaming compression is subpar. iTunes is DNR garbage, MA has a lot of compression noise and introduces visible artifacts with grain-heavy content, Disney’s and Fandango bitrate is too low, and Amazon’s HEVC compression is horrible.
Interesting note about MA, everything else I've read about it is exceptional and potentially equal/better than the UHD disks.
prudentavocado is offline   Reply With Quote
Reply

Tags
batch scripts, dolby vision processing, dovi_scripts

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 11:34.


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