Closed boohboot closed 7 months ago
Yes, I know how the resynced json is supposed to look but I don't have a script to do it and as explained on youtube, I was only to write a python script that can resync all the scene blocks but I couldn't get the scene summary right at the end of the json. If you have a script that works, I'll be happy to integrate into the dovi_scripts and allow HDR10plus resync. thanks
But thats what im telling you, it is done upon injection.
What? I don't understand... I dont follow the hdr10plus_tool dev a lot but please tell me what CLI you use that can resync HDR10plus. AFAIK, if you just inject metadata that is not in sync with the BL, the outcome will be OOS. You can verify with workflow 2-3 in dovi_scripts
I did it manually with a text editor just added 16 frames to the sceneinfo and injected.
Sorry I dont follow. Please give me your original and edited json. if I understand you, you're saying that you only have to edit the ''SceneInfoSummary'' ?
In my book, you have to remove or duplicate sceneinfo blocks and adjust all the shots frame index/scene cuts and adjust the summary which is something that would take forever to do manually.
no, I dont edit the summary just the sceneinfo.
i copied 16 of these :
"BezierCurveData": { "Anchors": [ 178, 359, 542, 702, 750, 794, 848, 902, 936 ], "KneePointX": 36, "KneePointY": 76 }, "LuminanceParameters": { "AverageRGB": 9, "LuminanceDistributions": { "DistributionIndex": [ 1, 5, 10, 25, 50, 75, 90, 95, 99 ], "DistributionValues": [ 0, 9996, 100, 0, 0, 1, 11, 31, 10447 ] }, "MaxScl": [ 17726, 11224, 30127 ] }, "NumberOfWindows": 1, "TargetedSystemDisplayMaximumLuminance": 500, "SceneFrameIndex": 0, "SceneId": 0, "SequenceFrameIndex": 0 }, {
to the start and injected it, the tool did the rest.
here are the jsons.
ok, now I understand. I should be able to script something...
Did you try if it works when you remove blocks?
Yes, both trimming and adding affect the sync :)
please try this version And you have to put this python script in your tools folder
Workflow 1-1.. metadata input must be a json
First run didnt work, maybe i dont dependencies for the py script.
whats this?
Input frame rate seems messed up, it was forced to 23.976 but you should fix it in 2-1-3...
when i try to extract the hevc from the injected file i also get this
Application provided invalid, non monotonically increasing dts to muxer in stream 0: 3502 >= 3502
It works fine on my end. Try manually:
python D:\DoVi_Scripts\tools\HDR10plus_resync.py -input D:\input.json -output D:\output.json -r 120 python D:\DoVi_Scripts\tools\HDR10plus_resync.py -input D:\input.json -output D:\output.json -d 120
''Application provided invalid, non monotonically increasing dts to muxer in stream 0: 3502 >= 3502'' I don't know, ffmpeg reports that sometimes.
there is seems to be a problem with the final mkv output of your script. i think the jsons are identical (after extraction) but its a remuxing problem. scenecut 2336 is off by +1 frame.
i remuxed it manually with toolnix and it was ok.
https://uploadnow.io/f/35cg9nC
use scenecut number 2336 for testing
Theres a bug in 2.0.2 for workflow 2-1-3, so if you tried to fix the framerate first, it is probably the source of your problem. use the latest beta I gave you if you want to fix the framerate first.
I didn't fix anything. (what's there is to fix?) just used 1-1 like u told me.
I use 1-1 every day, theres no muxing issue. And you're the one who talked about messed up framerate and 2-1-3
''Input frame rate seems messed up, it was forced to 23.976 but you should fix it in 2-1-3...''
I don't know man, i have a headache. lol...
hi i used your script to sync the metadata, but i noticed some parts are not resyned in the plot. is it correct?
I guess... But you should always double-check your synced scene cuts compared to the BL in workflow 2-3
well i tried but it gives me an error for the resynced json
Error: Config length is not the same as shots total duration. Config: 172388, Shots: 172401 Parsing RPU file... Error: No RPU found
Update your HDR10plus_tool.exe
its the lastest one
then, you'll have to extract the synced HDR10plus json from your video. I think you can input the mkv in 2-3 and if your input has both DV and HDR10plus, you can add ''FORCEHDR10PLUS'' in the filename.
matches perfectly!
thank you :)
Hey, its BooHboot from youtube, I was no longer able to reply.
check this out
https://uploadnow.io/f/C9wsqCq