-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails on some files when being used during FEL baking #67
Comments
If you run only the script (for avs with avsmeter, avsr, ffmpeg, for vs with vspipe), is there a crash? |
Sent an email for the video file. |
Grabbing the source again as I must have deleted it. I'll have it uploaded and i'll send you the link tomorrow before the afternoon.
…________________________________
From: Asd-g ***@***.***>
Sent: Tuesday, August 6, 2024 7:50 PM
To: HomeOfAviSynthPlusEvolution/L-SMASH-Works ***@***.***>
Cc: Jessie Wilson ***@***.***>; Author ***@***.***>
Subject: Re: [HomeOfAviSynthPlusEvolution/L-SMASH-Works] Fails on some files when being used during FEL baking (Issue #67)
Sent an email for the video file.
—
Reply to this email directly, view it on GitHub<#67 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ALQP2ER6ATFAWHPMKDNUGKDZQFOK5AVCNFSM6AAAAABLRDA43WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZSGM2TKMBQGE>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Thanks. Downloaded. I'll take a look later. |
Awesome, let me know what you come up with! |
There is archive password. |
Sorry, I believe it is just |
Where is EL? |
I provided it via email to the author. The EL is inside the source. |
Sorry but the link is visible here... (you might want to remove it?) |
Thanks, I wonder what the point is sending something via email if it just publicly displays it? 🤣 But yes, in a remux the EL layer is embedded into the video stream (if it exists). |
At frame 171174 (second last frame) LWLibavSource can't or didn't insert RPU to frame props (FFMS2 can) and placebo.Tonemap crashed because of it. That's the culprit. |
If this was the case, why does FFMS2 not fail under the same conditions? |
It's reproducible every single time for sure! |
I suggest to ask for fixing the video file so the rpu data is signaled for every frame. Edit:
From Here Btw using the latest ffms2 release the frame type is |
Unfortunately this is quite common when it comes to dolby vision sources. This can happen directly from the BluRay source in my experience. Is there a suggested work flow for detecting this issue and fixing the video file before processing or should L-Smash work like FFMS2 in this case? |
I'm using FFMS2 version from https://github.com/FFMS/ffms2/releases/tag/5.0, is this version have some problem compared to the one you linked? |
I believe these are two different forks. If you notice on the original repo it was 4 years without updates. https://github.com/FFMS/ffms2/releases Where as stvg has updated his fork several times during that 4 year period on doom9 etc. https://codeberg.org/StvG/ffms2/releases I'm not sure of how different they are and which would be considered better. |
Can you name such UHD-BD source that cause this issue? The UHD-BD (m2ts) has the streams separated while remuxes (mkv) have the streams merged. I've been told that the incorrectly merged streams can be the cause for this issue (old makemkv). Also remuxing the file with new makemkv should fix the issue. To check if a remux has this issue you can use that ffprobe line I shared and check if the rpu side data exist for latest few frames. Or you can use this avs script:
I wouldn't change the behavior for setting As to ffms2... I tested the ffms2 - both 5.0 and 5.0-RC4 have wrong |
Sorry, I meant remuxes ripped directly from the BluRay disc. I realize in my initial statement that's not what I said. Do you think it would be possible to "repair" a remux that was generated with the older version of makemkv that would cause this error? I haven't tested it yet, but I wonder if dovi_tool demux/remux would repair such an issue, or even mkvmerge?
Thanks for the script! I'll likely setup some sort of check to run through it with VapourSynth/python based on the script you provided above!
I understand, this makes sense!
Thanks for the detailed responses/information on this subject. I can report the regression there. |
I cut a small sample of the end of the video file. |
Maybe you can send the sample to FFMS/ffms2#445? |
Thanks for looking into it for me! Again, I appreciate you taking the time and explaining things.
I sent the full size file and the sample links to them @Asd-g you can close this when ever you see fit! |
It happens once maybe every 5 different remuxes I process while encoding with
x265
in2-pass
mode.Basic avs script that it would fail on:
Basic vpy script that it would fail on:
Error:
Utilizing
FFMS2
orDGDecNV
results in completed encodes/outputs. However, there is some caveats. It's hard to reproduce, it requires the full file to reproduce. Testing it with just a small snip doesn't make the crash happen. The file in question is around 70GB. If you would like to contact me I could FTP it to you or something of that nature so you could test it yourself if required/desired. Also, it fails when swapping from the first pass to the second pass. Meaning you will have to encode the entire first pass to reproduce it.The text was updated successfully, but these errors were encountered: