Skip to content

Which codecs should be installed on every system?

I'm currently taking a look at codecs, (https://wiki.archlinux.org/index.php/Codecs), and it's safe to say I'm very confused.

Is it correct that as soon as I can play a file (be it audio, video or whatever), I don't have to worry about codecs anymore?

What I'm trying to do, is to basically use hardware decoding on my laptop, everywhere I can, in order to save battery and reduce cpu load. How do I know which codecs I need to have installed? Would it make sense to install x264 or x265 in order to be able to better watch youtube videos or downloaded movies? How would I know if these are the right codecs, and if I even need them at all?

Edited 2 Apr 2015. We only hold this version.

6 points12 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
6 · 100% up
Kind
Text
ID
316bl2

Author

18
posts
90
comments
1
media
View profile

12 comments

If you are sure that you don't need a particular codec (e.g. you would need it for AV production), then the easiest solution is to pick an audio / video player. All the required codecs for the most commonly used AV formats will then be automatically installed. No need to manually select codecs (unless you are sure you need a particular one).

7 points

To add to this VLC will play anything. If you install VLC then all the necessary codes will be installed as well.

Not sure about hardware decoding. VLC might have a setting though come to think of it.

Edit: VLC WIKI explains more. At first glance it may be something enabled by the application in use. So enabling VLC hardware decoding won't enable it in Firefox, etc.

And I'd suggest reading the first four paragraphs of this article as well.

5 points

If you want your linking to work properly, remove the space between the "(" and the start of your URLs. :P Your first URL also has an extra space in it.

What you typed:

[VLC WIKI]( https:// wiki.videolan.org/VLC_GPU_Decoding/)

What you want:

[VLC WIKI](https://wiki.videolan.org/VLC_GPU_Decoding/)
3 points

What about all the vaapi and vdpau related stuff? That's an entirely different problem, right? I suppose I should just install all of it depending on which graphics card I have? Would it make sense to install the stuff for intel as well, even though I have an nvidia card as well (integrated intel gpu inside cpu + gtx 770 on my desktop pc)?

2 points

With Intel/NVIDIA it's actually better to use VAAPI when possible. Intel has much faster hardware decoder.

2 points

x264 and x265 are encoders for H.264/AVC and H.265/HEVC respectively. You don't use encoders to decode.

3 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.