![]() |
[BUG] Hybrid crashes when importing folder from CLI - Printable Version +- Selur's Little Message Board (https://forum.selur.net) +-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html) +--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html) +--- Thread: [BUG] Hybrid crashes when importing folder from CLI (/thread-2793.html) |
Hybrid crashes when importing folder from CLI - potejan - 30.05.2022 First of all, I want to say I absolutely love Hybrid, it's the video army knife I always wanted! I recently started deinterlacing a lot of Digital8 tapes and Hybrid works great, but it (expectedly) doesn't handle thousands of files opened at once - it simply hangs on analyzing them, while consuming more and more RAM. I suppose it will eventually finish, but it seems much slower than opening files one by one. I was able to find the sweet spot by opening ~30 files at once - it's as fast as opening one file at a time, but obviously much more convenient. However, given the amount of tapes I have, even 30 files at a time is a very tedious job. This is when I discovered the CLI ability to load a profile and start processing automatically - exactly what I needed! This way, I can supply one tape of about 30 files at a time, and repeat for all my tapes. Sadly, the CLI seems to crash on folders - no message given. The same folder works via GUI and its individual files work using CLI. Here's my exact setup: C:\Program Files\Hybrid\Hybrid.exe -global "C:\Users\User\AppData\Roaming\hybrid\profiles\global\test.xml" -autoAdd addAndStart "C:\Users\User\Desktop\test\" The test.xml file is all default settings, except I enabled the "Generate" output filename option, and I enabled "Output path to source path". The exact profile can be found here: https://transfer.sh/htIU3k/test.xml The folder of videos can actually be anything, I reproduced using this sample MP4 cloned a few times in an empty folder: https://file-examples.com/storage/fe8c47f0fd62947189d1a0b/2017/04/file_example_MP4_1920_18MG.mp4 EDIT: Forgot to mention, I am using the latest Hybrid (2022.03.20.1) on Windows 11 x64. Many thanks RE: Hybrid crashes when importing folder from CLI - Selur - 30.05.2022 What I did trying to reproduce the problem:
Loading: I:/Hybrid\settings\profiles\global\test.xml Cu Selur RE: Hybrid crashes when importing folder from CLI - Selur - 30.05.2022 argh used the wrong call RE: Hybrid crashes when importing folder from CLI - potejan - 30.05.2022 Funny enough, I made the same mistake as you when I first tried. I was wondering why it didn't start anything. Anyway, it seems like the crash happens during the queuing stage, more specifically, during output file/name generation. On further investigation, the crash only happens when `-autoAdd addAndStart` is used. Omitting that and manually pressing the queue button is okay. Could it be that the CLI performs queuing earlier than it should? RE: Hybrid crashes when importing folder from CLI - Selur - 30.05.2022 It's a problem with the indexing of the sources. Send you a link to a new dev version for testing. Cu Selur RE: Hybrid crashes when importing folder from CLI - potejan - 30.05.2022 New build working great! You're the best ![]() One last small issue - is there any way to disable this message box when loading a small file? It occurs twice during analysis, and it breaks automation since it just blocks until OK is clicked. In fact, why is a file size <1MB bad in the first place? Attached below. Thanks! RE: Hybrid crashes when importing folder from CLI - Selur - 30.05.2022 This happens if the currently selected encoder is set to aim for specific bitrate and the resulting file size would be below 1MB. -> Simply change your encoder settings to something that either doesn't aim at a specific bit rate or doesn't use bit rate to begin with. RE: Hybrid crashes when importing folder from CLI - potejan - 30.05.2022 Oh yes of course, I was wondering why I don't see this message during my production encoding. Have a wonderful day! |