Can we get Adobe Media Encoder to shutdown the pc after encoding done?

Community Beginner ,
Sep 21, 2012 Sep 21, 2012

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?

TOPICS
Feature request

Views

31.6K

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Jan 29, 2015 Jan 29, 2015
Please submit a feature request here: Adobe - Feature Request/Bug Report Form

Likes

Translate

Translate
Community Beginner ,
Sep 24, 2012 Sep 24, 2012

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.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Sep 25, 2012 Sep 25, 2012

Copy link to clipboard

Copied

I just posted a free plugin that does this for you here:

http://forums.adobe.com/message/4726064#4726064

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 01, 2013 Dec 01, 2013

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.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 29, 2015 Jan 29, 2015

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.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jan 29, 2015 Jan 29, 2015

Copy link to clipboard

Copied

Please submit a feature request here: Adobe - Feature Request/Bug Report Form

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Sep 08, 2015 Sep 08, 2015

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.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 19, 2015 Oct 19, 2015

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

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Feb 17, 2017 Feb 17, 2017

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

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 18, 2017 Feb 18, 2017

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.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Feb 19, 2017 Feb 19, 2017

Copy link to clipboard

Copied

thanks alot, but it's crazy that Adobe have not done something yet about it.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jan 28, 2019 Jan 28, 2019

Copy link to clipboard

Copied

still this.

Adobe really are the worst aren't they.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 15, 2020 May 15, 2020

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...

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 15, 2021 Mar 15, 2021

Copy link to clipboard

Copied

LATEST

2021 Release and still no "shut down @ the end"

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines