[FFmpeg-trac] #10447(ffmpeg:new): On macOS ffmpeg should create a power assertion to prevent system sleep while job runs

FFmpeg trac at avcodec.org
Wed Jul 5 22:40:21 EEST 2023


#10447: On macOS ffmpeg should create a power assertion to prevent system sleep
while job runs
-------------------------------------+----------------------------------
             Reporter:  porg         |                    Owner:  (none)
                 Type:  enhancement  |                   Status:  new
             Priority:  normal       |                Component:  ffmpeg
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+----------------------------------
Comment (by porg):

 As written in the ticket:
 - On macOS the convention is that apps which perform long term jobs
 usually themselves start their process with a power assertion. And not
 hand that over as a user responsibility.
 - Even Pro apps, with the respective Pro user base.
 - Needing to manage power/CPU per app is simply not a Mac thing. (Luckily,
 I say).
 - I stated [https://handbrake.fr HandBrake] as an example for another
 popular multi platform video encoding app, which adheres to this.
 - And also several other batch processing apps (e.g. image processing) on
 the Mac set a power assertion for their long jobs automatically.

 It's how things work on the Mac platform
 - and I'd love if the `ffmpeg` team would add a generic power-option a for
 all platforms which then bind to the platform specific calls
 - and ship/build the Mac `ffmpeg` version with the power assertion option
 ON by default.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10447#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list