Selur's Little Message Board

Full Version: Batch encode crash
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
About VBV: I just remembered there is an option for this, enable "x264->Misc->Misc->Adjustments->Keep VBV values".

Cu Selur
"x264->Misc->Main->Adjustments->Keep VBV values"
It works. Thx.
It is recommended to set a separated temporary folder for each video during batch conversion, so that the subtitles of the next video will not be merged into the previous video without subtitles. I've converted these videos with a low bitrate, don't care about the quality of  these videos, they can reproduce the debug above.
Here is the videos sample.
https://wwi.lanzoup.com/iiHGa1j0935i
https://wwi.lanzoup.com/i4eUl1j09i7a
If disable: 'Config->Paths->Create sub-folder per job in temp path. *experimental*',Hybrid batch mod won't crash. But S01E01B's first sub will merge into S01E01A.
Here is the debug4 : S01E01B's first sub merged into S01E01A.
https://wwi.lanzoup.com/iHtqn1iyqycb
If enable: 'Config->Paths->Create sub-folder per job in temp path. *experimental*',the sub won't match wrong, 1 audio  3subs/1 audio 4subs work fine, but 1 audios no subs/2 audios 3subs will crash.
Quote:It is recommended to set a separated temporary folder for each video during batch conversion,
this is what 'Create sub-folder per job in temp path. *experimental*' is for, but since it's not tested so much, it's experimental and like you noticed buggy.

=> got the files and I'm looking into it.

Cu Selur
Smal update:

Looking at the files:
S01E01A has no subtitles
S01E01B has 3 subtitles
S01E02A has 3 subtitles
S01E03A has 4 subtitles

What I did to reproduce the problem:
  • Start Hybrid
  • Set output and temp path
  • Drag&Drop the files into Hybrid
  • Set 'Base->Processing->Video' to 'passhtrough'
  • Set 'Base->Processing->Audio' to 'passhtrough (all)'
  • Set 'Base->Default container' to 'mkv'
  • Enable 'Base->Generate'
  • Switched through the sources (Base->Stream Selection->Title)
this showed that the subtiltes were not properly set for title 1.
Depending on which title was selected before, the subtitle count was kept. (so either 3 or 4)
Checking 'Base->Show All Data' showed that it was not a problem of the general analysis
After fixing that I tried:
  • Start Hybrid
  • Set output and temp path
  • Drag&Drop the files into Hybrid
  • Set 'Base->Processing->Video' to 'passhtrough'
  • Set 'Base->Processing->Audio' to 'passhtrough (all)'
  • Set 'Base->Default container' to 'mkv'
  • Enable 'Base->Generate'
  • Since it didn't seem like you enabled any of the automation routines to passthrough the subtitles, I then switched through the titles and for each eanbled 'Base->Processing->Subtitle->All subtiles' and pressed 'Base->Processing->Subtitle->Extract&Add Subtitle' to add the subtitles to the subtitle queue (see: Subtitle->Subtitle Queue')
    which now showed:
    [Image: grafik.png]
    (so all subtitles are queues
  • I then triggered the job creation and started the job processing.
From the looks of it, everything got processed properly. (subtitle counts in the output files were correct)
I then cleared the job queue, enabled 'Create Sub-folder per job in temp path. *experimental*' and triggered the job creation again.
This got me the:
---------------------------
Error
---------------------------
Invalid json options file 'J:\tmp\2023-12-26@11_06_02_8110\job_11_06_31_301.json' for
---------------------------
OK
---------------------------
error. Smile


=> I'm looking at that error now. Will report back.

Cu Selur
I did enable automation to add all the subtitles,and set the first sub as default,so videoplayer will auto display the first sub.

I recommend that the video, audio, and subtitles of each batch convert file all be put into a separate temporary folder so that nothing goes wrong.
Quote: I recommend that the video, audio, and subtitles of each batch convert file all be put into a separate temporary folder so that nothing goes wrong.
Subtitles can't be put in a separate folder, since on subtitle extraction, often no folders besides the output folder are set.
During job processing with 'Create Sub-folder per job in temp path. *experimental* enabled, all files of a job are in one folder per job.

Cu Selur
Think I fixed the problem. Send you a link to a dev version via PM.
Please try that version (jobs need to be recreated) and let me know whether this works for you now.
The crash happened due to a bug in the caching routine of Hybrid, which should not be used during job processing.

As a side note: the location of the files has nothing to do with mixups, those only happen if something is broken with the analysis or the job creation.

Cu Selur
(26.12.2023, 12:57)Selur Wrote: [ -> ]Think I fixed the problem. Send you a link to a dev version via PM.

Not Found
The requested URL was not found on this server.
Strange, send you a new link.

Cu Selur
It doesn't crash this time, but the matching subtitles still goes wrong, and the file  S01E01A without subtitles generates a file with subtitles, S01E01B's first sub still merged into S01E01A,  no mater enable or disable: 'Config->Paths->Create sub-folder per job in temp path. *experimental*'. Here are debugs.
https://wwi.lanzoup.com/igq901j2cgkb


[Image: 1plvcL7ahAw9K3C.png]
[Image: opvPR6j78YF4UsI.png]
[Image: wBHVMzptGfjOC9D.png]
Pages: 1 2 3