Copy link to clipboard
Copied
Guys,
Can we get Adobe Media Encoder to shutdown the pc after encoding done?
I have searched but have not found anything suitable?
Is there someone who has script that can monitor the exe and then shutdown pc after encoding done?
Please submit a feature request here: Adobe - Feature Request/Bug Report Form
Copy link to clipboard
Copied
Guys,
I have developed a simple script ( batch file *.bat)) that will check if encoding is still being done ( every 60+ secs ) and if the process is over, it will shutdown the PC. I tried to keep the code very very simple so that others can improve it.
For now , i have tested this on Windows 7 SP1 - 64 bits and it wokrs well.
Here is the code, copy and paste it into notepad - i named it AutoPowerOff-AdobeMediaEnCoder.bat
..........copy code below ..........
@echo off
echo.
date /t
time /t
echo.
:StartMonitoring
echo.
echo.
echo.
color 0f
echo Start monitoring Adobe Media Encoding Process
echo Check every 60 secs via KeepMonitoring
ping 127.0.0.1 -n 60 > nul
Goto Check
:KeepMonitoring
echo.
echo.
echo.
color 0f
echo Continue Monitoring Adobe Media Encoding Process - every 60s
ping 127.0.0.1 -n 60 > nul
Goto Check
:Check
echo.
echo.
echo.
color 0e
echo Checking If Encoding Process Over ?
echo.
echo.
color 0a
tasklist | find /i "PProHeadless.exe"
IF ERRORLEVEL 1 GOTO AutoPowerOFF
IF ERRORLEVEL 0 echo. && echo Encoding Still In Progress && GOTO KeepMonitoring
:AutoPowerOFF
echo.
echo.
echo.
color 0c
echo Process PProHeadless.exe does not exist anymore
echo Assume Encoding DONE
echo PC Poweroff Initiated
echo.
echo.
echo ShutDown PC After 60 sec
shutdown /s /t 60
:END
....... end of code ..............
If some of you can check it out on other platforms and report back, i can maintain this thread.
Regards,
Marco.
Copy link to clipboard
Copied
I just posted a free plugin that does this for you here:
Copy link to clipboard
Copied
Unfortunately none of these seem to work with the very latest Adobe Media Encoder CC. In the latest version it doesnt seem to use PProHeadless.exe anymore and the h264 plugin comes up in premiere as an option to choose but ends up encoding AAC in the media encoder and doesnt actually shut down.
Wondering if anyone has thought of a solution for Adobe CC as this is very handy to have it shutdown at the end.
Copy link to clipboard
Copied
I also really want to shutdown your computer after completion queue Adobe Encore.
No scripts will not work, because after encoding the files go on YouTube or Vimeo and CPU utilization does not play a role.
Developers need to pay attention to it.
Copy link to clipboard
Copied
Please submit a feature request here: Adobe - Feature Request/Bug Report Form
Copy link to clipboard
Copied
It's almost funny that Adobe needs us to "request" a feature that EVERY other media encoder already implements. Almost.
Copy link to clipboard
Copied
I've just wrote something that takes into account the load of the CPU for the specific process.
When AME finishes the CPU of the process "Adobe QT32 Server" used by AME to encode drops to 0.000000, and that's what I'm looking for.
This code is set to shutdown the pc if the that process reaches that condition, checking every 90s and in case it finds the process at 0.000000 it will wait other 90s to be sure that the encoding is really ended.
@echo off
SET "SERVICE=Themes"
SET USAGE="0.000000"
SET /A "INTERVAL=90"
SET prc=Adobe QT32 Server
:LOOP
cls
For /F "skip=1 tokens=2 delims=," %%P in ('typeperf "Process(%prc%)%% Processor time" -sc 1 ^| FINDSTR /rc:"[0-9]"') do (
IF %%P EQU %USAGE% (
echo Waiting 60s...
Ping -n %INTERVAL% Localhost >NUL
For /F "tokens=2 delims=," %%P in ('typeperf "Process(%prc%)%% Processor time" -sc 1 ^| FINDSTR /RC:"[0-9]"') do (
IF %%P EQU %USAGE% (
echo Encoding DONE!
echo Closing Adobe Media Encoder...
taskkill /IM "Adobe Media Encoder.exe" >NUL
echo Now Shutdown...
shutdown /s /t 60
))
) ELSE (
echo Encoding in Progress!
)
)
Ping -n %INTERVAL% Localhost >NUL
GOTO :LOOP
Hope you will find it useful.
LT
Copy link to clipboard
Copied
you wont believe from 2012 till date feb 2017 this feature is still not available.
WOW, Adobe has gone to sleep
Copy link to clipboard
Copied
Hi everyone, after struggling with the same problem I made a small script that shutdown the computer after AME finishes to encode the queue.
Unfortunately the moderators don't let me share it with you so..hope you find another solution.
Copy link to clipboard
Copied
thanks alot, but it's crazy that Adobe have not done something yet about it.
Copy link to clipboard
Copied
still this.
Adobe really are the worst aren't they.
Copy link to clipboard
Copied
Wow. Nothing has been done yet? Such a simple task. But Adobe you don't seem to have technical problems when getting your money from customers so.... where's the good relationship between developer and consumer going? Down the drain? Do you really not listen to the people putting bread on the table? Guess you got too big then...
Copy link to clipboard
Copied
2021 Release and still no "shut down @ the end"