This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[BUG] Batch encode crash
#11
About VBV: I just remembered there is an option for this, enable "x264->Misc->Misc->Adjustments->Keep VBV values".

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#12
"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.
Reply
#13
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
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#14
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
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#15
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.
Reply
#16
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
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#17
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
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#18
(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.
Reply
#19
Strange, send you a new link.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#20
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]
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)