[FFmpeg-user] Media Express vs FFmpeg CPU use

Bouke bouke at editb.nl
Wed Apr 28 13:03:40 EEST 2021

Trying to capture decklink input to ProRes.
FFmpeg is VERY cpu hungry (230 % on my sytem in the example below, increasing when upping the quality of Prores)
Media Express / VTEncoderXPCservice use just half the CPU.

Is there a way to speed up FFmpeg in a similar way?
(Eventually I want to do multiple streams on a single machine.)


bouke at Boukes-iMac ~ % /Applications/ffmpeg -hide_banner -f decklink -raw_format auto -format_code Hi50 -channels 2 -timecode_format rp188vitc -video_input sdi -audio_input embedded -audio_depth 16 -threads 0 -rtbufsize 1024000k -i "UltraStudio Mini Recorder" -c:v prores -profile:v 1 -vendor ap10 -pix_fmt yuv422p10le -c:a copy /Volumes/Data/test.mov -y 
[decklink @ 0x7fe924019200] Found Decklink mode 1920 x 1080 with rate 25.00(i)
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, decklink, from 'UltraStudio Mini Recorder':
  Duration: N/A, start: 0.000000, bitrate: 830976 kb/s
    Stream #0:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
    Stream #0:1: Video: rawvideo (UYVY / 0x59565955), uyvy422(top first), 1920x1080, 829440 kb/s, 25 tbr, 1000k tbn, 1000k tbc
      timecode        : 21:59:13:11
Stream mapping:
  Stream #0:1 -> #0:0 (rawvideo (native) -> prores (native))
  Stream #0:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
Output #0, mov, to '/Volumes/Data/test.mov':
    encoder         : Lavf58.65.101
    Stream #0:0: Video: prores (apcs / 0x73637061), yuv422p10le(tv, top coded first (swapped)), 1920x1080, q=2-31, 200 kb/s, 0.04 fps, 12800 tbn
      timecode        : 21:59:13:11
      encoder         : Lavc58.117.101 prores
    Stream #0:1: Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s
frame=    1 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=N/Aframe=   15 fps=0.0 q=-0.0 size=    4096kB time=00:00:00.56 bitrate=59919.2kbitsframe=   28 fps= 27 q=-0.0 size=    9216kB time=00:00:01.08 bitrate=69905.4kbitsframe=   41 fps= 26 q=-0.0 size=   14336kB time=00:00:01.60 bitrate=73400.5kbitsframe=   54 fps= 26 q=-0.0 size=   19200kB time=00:00:02.12 bitrate=74191.8kbitsframe=   67 fps= 26 q=-0.0 size=   24320kB time=00:00:02.64 bitrate=75465.8kbitsframe=   80 fps= 26 q=-0.0 size=   29440kB time=00:00:03.16 bitrate=76320.5kbitsframe=   93 fps= 26 q=-0.0 size=   34304kB time=00:00:03.68 bitrate=76363.8kbitsframe=  106 fps= 26 q=-0.0 size=   39424kB time=00:00:04.20 bitrate=76895.6kbitsframe=  119 fps= 25 q=-0.0 size=   44544kB time=00:00:04.72 bitrate=77310.3kbitsframe=  132 fps= 25 q=-0.0 size=   49664kB time=00:00:05.24 bitrate=77642.7kbitsframe=  145 fps= 25 q=-0.0 size=   54528kB time=00:00:05.76 bitrate=77551.0kbitsframe=  158 fps= 25 q=-0.0 size=   59648kB time=00:00:06.28 bitrate=77808.4kbitsframe=  164 fps= 25 q=-0.0 Lsize=   63700kB time=00:00:06.52 bitrate=80034.4kbits/s speed=0.998x    
video:62474kB audio:1222kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.005828%

More information about the ffmpeg-user mailing list