With no graphics card specific compilation to the ffmpeg, which among intel or AMD is better for executing

ffmpeg -i input -c:v libx265 -crf 26 -preset fast -c:a aac -b:a 128k output.mp4

Would tight integration between amd cpu + gpu help in this case?

Fyi. Currently i am using intel with cpu only mode for this and its pretty slow.

  • OpticalMoose@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    11 months ago

    AMD APUs have Video Coding Engine / Unified Video Decoder, while Intel CPUs have QuickSync. FFMPEG’s hardware page says that AMD support is incomplete.

    You may want to ask over in !datahoarder@lemmy.ml . This topic often came up back on Reddit, and the general vibe I got was that most people prefer QuickSync. Intel may not be great in a lot of areas, but they are a beast in video encoding/decoding. That being said, I use a Ryzen APU and it’s perfectly fine. There are way more important things to look at when choosing a CPU.

    If your performance is slow, I would check your CPU is listed on the chart I linked above. Not all CPUs support all codecs.

    Edit: If your CPU doesn’t support the codec, it will still work, it just won’t be accelerated.

    • drwankingstein@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      0
      ·
      11 months ago

      quicksync really doesn’t have good quality:compression buying a used nvidia gpu and using that would be far better. but really, any moderatly up to date cpu should get good x265 or svtav1 perf

  • drwankingstein@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 months ago

    none, you aren’t using gpu, just whatever cpu is the fastest. if you want gpu acceleration you have to specify it. and keep note gpu acceleration is less efficient then cpu so your files will be bigger. though at preset fast it might actually be pretty close

    • Disonantezko@lemmy.sdf.org
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      11 months ago
      • Hardware (GPU) encoders are worst than software encoders.
      • GPU Acceleration is good for faster encoding and free CPU to do other things. But you get bigger files at similar quality.
      • Maybe is useful for live streaming or if you really really need CPU do other things.
      • drwankingstein@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        0
        ·
        11 months ago

        Yes this is indeed what I said. but well calling gpu encoders “worse” isnt really fair, it’s all trade offs, they for sure have worse efficiency as we both said, but their speed is significantly faster usually. I would say that doesn’t make the encoder “worse” just different.

      • scholar@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        11 months ago

        Running on cpu will give you better quality and (maybe) smaller output file size, but will take longer.

        Everything’s a compromise and it all depends on what matters more to you