Answers.Body: <p>It depends on a lot of factors, but mainly the codec, bitrate and resolution of the source and output files. Unfortunately, I don't know of any websites that catalog the performance of quicksync, but you'll find a lot of user experiences when searching &quot;plex quicksync (CPU model) max streams&quot;. Plex is a media player that uses a slightly modified version of ffmpeg to transcode media so it's compatible on client devices.</p>
  <p>For instance, <a href="https://www.reddit.com/r/PleX/comments/hrpuhf/wow_quicksync_on_newer_gen_intels_are_transcode/" rel="nofollow noreferrer">this user</a> was able to get 24 1080p to 720p transcodes (mix of H264 and some HEVC) at 1.12x using a 9600k. There's <a href="https://www.reddit.com/r/PleX/comments/s2g4iq/can_we_aggregate_some_numbers_for_transcoder/" rel="nofollow noreferrer">another discussion</a> that's in line with what you're requesting but unfortunately, it doesn't exist or no one has been able to find the data.</p>
  <p>The performance will be limited by the iGPUs &quot;Graphics Max Dynamic Frequency&quot;, which in the case of the 12900k has a base clock of 300MHz and a max of 1.55GHz. But as you know that doesn't exactly translate to real-world performance.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-05-25T10:05:15.630Z
Answers.Text: Thanks!  The info from u/r34p3rex is quite promising. The search term is promising.  I'll post back here anything I find.
Answers.UserDisplayName: Danny
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-05-24T07:06:54.093Z
Answers.LastActivityDate: 2022-05-24T07:06:54.093Z
Answers.UserDisplayName: D34DC3N73R
Body: <p>I'm using Intel QuickSync to lower CPU loading of real time video transcode with FFmpeg.</p>
  <p>Specifically, qsv is used to deinterlace and decode the input video. A special HW module is used for the encoding side.  It works very well, but I'd like to do many streams in parallel (ie, launch multiple FFmpeg processes each transcoding different streams)</p>
  <p>My question is: what is the capacity limit of quick sync?  What is it limited by?</p>
  <p>The Intel documentation is not very clear other than it uses the internal GPU within the CPU, but not much more.</p>
  <p>For example, picking a random <a href="https://ark.intel.com/content/www/us/en/ark/products/134597/intel-core-i912900-processor-30m-cache-up-to-5-10-ghz.html" rel="nofollow noreferrer">i9 CPU from Intel's website</a> says it:</p>
  <ul>
  <li>supports QuickSync</li>
  <li>has Intel® UHD Graphics 770</li>
  </ul>
  <p>But that's about all.  Searching for specs on UHD Graphics 770 only gives a list of CPUs which support it but does not explain anything about the quick sync capabilities.</p>
  <p>So, other than trial and error, how would I calculate how many streams are possible with QuickSync on a given CPU?</p>
  <hr />
  <p>FFmpeg command line something like:</p>
  <pre><code>ffmpeg -loglevel info \
    -hwaccel qsv -c:v h264_qsv \
    -i udp://224.0.0.1:10001?fifo_size=1000000 -map 0:p:72 \
    -c:a aac -b:a 64k \
    -c:s copy \
    -c:v special_hw_encoder \
    -b:v 4M \
    -filter_complex [v:0]deinterlace_qsv,scale_qsv=w=1280:h=720:format=rgb32:mode=hq,hwdownload,format=rgb32,format=yuv420p \
    -flush_packets 0 \
    -f mpegts \
    -mpegts_copyts 1 \
    -mpegts_flags initial_discontinuity \
    -muxrate 5M \
    'udp://239.0.0.1:11001?pkt_size=1316&amp;fifo_size=1000000&amp;bitrate=5000000'
  </code></pre>
  
Tags: <ffmpeg><encoding><transcoding><decoding>
Title: Parallel throughput of Intel QuickSync (QSV) for real time streams
UserDisplayName: Danny
ThreadText: # Parallel throughput of Intel QuickSync (QSV) for real time streams
  
  (Asked by: username_0 on 2022-05-24)
  
  I'm using Intel QuickSync to lower CPU loading of real time video transcode with FFmpeg.
  
  Specifically, qsv is used to deinterlace and decode the input video. A special HW module is used for the encoding side. It works very well, but I'd like to do many streams in parallel (ie, launch multiple FFmpeg processes each transcoding different streams)
  
  My question is: what is the capacity limit of quick sync? What is it limited by?
  
  The Intel documentation is not very clear other than it uses the internal GPU within the CPU, but not much more.
  
  For example, picking a random [i9 CPU from Intel's website](https://ark.intel.com/content/www/us/en/ark/products/134597/intel-core-i912900-processor-30m-cache-up-to-5-10-ghz.html) says it:
  
  * supports QuickSync
  * has Intel® UHD Graphics 770
  
  But that's about all. Searching for specs on UHD Graphics 770 only gives a list of CPUs which support it but does not explain anything about the quick sync capabilities.
  
  So, other than trial and error, how would I calculate how many streams are possible with QuickSync on a given CPU?
  
  ---
  
  FFmpeg command line something like:
  
  ```
  ffmpeg -loglevel info \
    -hwaccel qsv -c:v h264_qsv \
    -i udp://224.0.0.1:10001?fifo_size=1000000 -map 0:p:72 \
    -c:a aac -b:a 64k \
    -c:s copy \
    -c:v special_hw_encoder \
    -b:v 4M \
    -filter_complex [v:0]deinterlace_qsv,scale_qsv=w=1280:h=720:format=rgb32:mode=hq,hwdownload,format=rgb32,format=yuv420p \
    -flush_packets 0 \
    -f mpegts \
    -mpegts_copyts 1 \
    -mpegts_flags initial_discontinuity \
    -muxrate 5M \
    'udp://239.0.0.1:11001?pkt_size=1316&fifo_size=1000000&bitrate=5000000'
  
  ```
  
  **Tags:** ffmpeg, encoding, transcoding, decoding
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2022-05-24. Score: 1 | Accepted answer
  
  It depends on a lot of factors, but mainly the codec, bitrate and resolution of the source and output files. Unfortunately, I don't know of any websites that catalog the performance of quicksync, but you'll find a lot of user experiences when searching "plex quicksync (CPU model) max streams". Plex is a media player that uses a slightly modified version of ffmpeg to transcode media so it's compatible on client devices.
  
  For instance, [this user](https://www.reddit.com/r/PleX/comments/hrpuhf/wow_quicksync_on_newer_gen_intels_are_transcode/) was able to get 24 1080p to 720p transcodes (mix of H264 and some HEVC) at 1.12x using a 9600k. There's [another discussion](https://www.reddit.com/r/PleX/comments/s2g4iq/can_we_aggregate_some_numbers_for_transcoder/) that's in line with what you're requesting but unfortunately, it doesn't exist or no one has been able to find the data.
  
  The performance will be limited by the iGPUs "Graphics Max Dynamic Frequency", which in the case of the 12900k has a base clock of 300MHz and a max of 1.55GHz. But as you know that doesn't exactly translate to real-world performance.
  
  > **Comments:**
  > **username_0**: Thanks!  The info from u/r34p3rex is quite promising. The search term is promising.  I'll post back here anything I find.  
  
  ---
  
  