28.12.2025, 20:19
I would like to execute a .bat file after the queue completes. I tried to just supply the path to the .bat file, but that did not work.
|
[HELP] How do you use the external call on queue finished feature?
|
|
28.12.2025, 20:19
I would like to execute a .bat file after the queue completes. I tried to just supply the path to the .bat file, but that did not work.
28.12.2025, 22:04
Sounds right to me, but I have not tried this for ages,...
Debug output should show whether Hybrid tried to execute the bat file,... Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Yesterday, 19:02
Quote:I would like to execute a .bat file after the queue completes.Did set "On queue finished:" to "call external at queue finished external call" ? Or did you just set the file? Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Yesterday, 19:57
Yes. I just tried it again, and I get this message in the log when it fails:
Job 2025-12-29@11_48_24_9210 finished! An error occurred while calling: F:\SBP\RESIZE\Ladder - x265 SBP Tuned - CRF22 Slow - Full Color 10bit BT709 - Encode Aud.bat I will try putting the path in quotes next. I tried again and put the path in quotes since it had spaces. This time it said it was successfully called, but the .bat file was not kicked off. Job 2025-12-29@11_48_24_9210 finished! Successfully called: "F:\SBP\RESIZE\Ladder - x265 SBP Tuned - CRF22 Slow - Full Color 10bit BT709 - Encode Aud.bat"
Yesterday, 20:19
Ah, okay, that is to be expected. Hybrid simply calls the call you entered.
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Yesterday, 20:39
I am trying to get that feature to kick off a windows .bat file once the queue finishes. Any idea how I might accomplish that? I just tried calling cmd.exe to run it and that did not kick off the .bat file either.
Job 2025-12-29@11_48_24_9210 finished! Successfully called: C:\Windows\System32\cmd.exe /c ""F:\SBP\RESIZE\Ladder - x265 SBP Tuned - CRF22 Slow - Full Color 10bit BT709 - Encode Aud.bat""
Yesterday, 20:51
Just "F:\SBP\RESIZE\Ladder - x265 SBP Tuned - CRF22 Slow - Full Color 10bit BT709 - Encode Aud.bat" should be enough, the cmd part should not matter.
I created "c:\Users\Selur\Desktop\test.bat" with : @echo offlog shows: Successfully called: "c:\Users\Selur\Desktop\test.bat"=> seems to work fine here Maybe try something similar simple to test and then get more complex to see where the problem is. Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
8 hours ago
I did end up getting this to work as I wanted. I ended up using this for the external call:
"C:\Windows\System32\cmd.exe" /d /s /c start "Hybrid post-queue" cmd.exe /k ""F:\SBP\SCRIPTS\queue_done.cmd"" And this is the contents of queue_done.cmd: @echo offThen the encode .bat file is: @echo offThis kicks off a ladder encode of all files recently processed from the Hybrid queue in a new window, titled for the process, that shows the progress of the encode as if kicked off manually. The source file is encoded to 2160p, 1440p, 1080p, and 720p for each resolution that the source file supports. Ie a 1600p video gets encoded to 1440p, 1080p, and 720p, while preserving aspect ratio. It also encodes to BT709, full range color, which is specific to my workflow. Also PCM audio is converted to AAC 192KB, and all other audio formats are copied (again, specific to my flow). You can always tweak as needed for anyone interested in using it. The x265 encode command I literally spent a couple weeks testing to find the command that preserved original details the best. The result of this command even looks good when pixel peeping frame by frame. I have not tested it on animated content, but I expect it would require tweaks for that type of content.
8 hours ago
Happy you got it working the way you like it. Not really sure why you use Hybrid at all with this, but that's probably because I don't really know what you are doing.
![]() Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page. |
|
« Next Oldest | Next Newest »
|