this post was submitted on 10 Dec 2023
20 points (91.7% liked)

Linux

48143 readers
770 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] drwankingstein@lemmy.dbzer0.com 12 points 11 months ago (2 children)

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 3 points 11 months ago* (last edited 11 months ago) (1 children)
  • 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 3 points 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.

[–] cmgvd3lw@discuss.tchncs.de 2 points 11 months ago (2 children)

So what you are saying is its better to run on cpu alone?

[–] scholar@lemmy.world 6 points 11 months ago (1 children)

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

[–] drwankingstein@lemmy.dbzer0.com 1 points 11 months ago

Better quality:Compression ratio you can easily get better quality out of a gpu then a cpu depending on your settings, but it will rarely be better quality AND compression unless you have a quite slow CPU and cant run a sensible preset

[–] drwankingstein@lemmy.dbzer0.com 1 points 11 months ago

when possible yes, sometime sits not possible, and it will be better to run on gpu alone