Skip to content

How do I play FLAC files?

Reinstalled arch recently and FLAC files are not playing in any player (Amarok, Clementine, VLC). flac package is already installed. gstreamer plugins are installed. Is there anything else required to play FLAC files?

I think they used to play in my earlier installation but not very sure since I don't play flac files often.

Edit: Seems like there was some problem with the file i was playing. Other files are playing fine. So all good now. Thanks.

Edited 26 Jan 2016. We only hold this version.

0 points10 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
0 · 100% up
Kind
Text
ID
42ppli

Author

8
posts
44
comments
2
media
View profile

11 comments

Easy way? use VLC media player.

Hard way? I never got past easy way..didn't ever need to.

4 points

Doesn't play in vlc either

1 points

One time I inserted a peanut butter sandwich in my disk drive. VLC opened it, and asked if I wanted any jelly. Point being, VLC plays everything, your file is probably messed up somehow.

3 points

Do you have the flac(/lib32-flac) package installed? How about gstreamer (gstreamer, gst-plugins-...)?

3 points

yea i had all the plugins. problem was with the files i was playing. all good now.

2 points

gstreamer is just another example of the confusing, conflicting and ridiculously complex linux audio experience.

Have a look at the arch wiki to get a good overview.

Some applications use gstreamer current (gstreamer) and some use gstreamer legacy( gstreamer0.10.)

Each of those has its own set of plugins gst-plugins-* for current and gstreamer0.10-plugins-* for legacy and for the legacy plugins they each have their own separate library to install as well.

I think flac support is included with the good plugins so to play flac files with clementine (which you mentioned) you need gstreamer0.10-base, gstreamer0.10-base-plugins, gstreamer0.10-good and gstreamer0.10-good-plugins.

At least I think that's true. It's such a mess. Maybe most archers will think I'm an idiot but I've reached the stage where I just install all of them :( None of those were researched packages I generally just install whatever is required by other packages or in frustration when some kind of media file won't play with my current setup.

extra/gst-libav 1.6.3-1
extra/gst-plugins-bad 1.6.3-1
extra/gst-plugins-base 1.6.3-1
extra/gst-plugins-base-libs 1.6.3-1
extra/gst-plugins-good 1.6.3-1
extra/gst-plugins-ugly 1.6.3-1
extra/gstreamer 1.6.3-1
extra/gstreamer0.10 0.10.36-4
extra/gstreamer0.10-bad 0.10.23-12
extra/gstreamer0.10-bad-plugins 0.10.23-12
extra/gstreamer0.10-base 0.10.36-3
extra/gstreamer0.10-base-plugins 0.10.36-3 (gstreamer0.10-plugins)
extra/gstreamer0.10-ffmpeg 0.10.13-2 (gstreamer0.10-plugins)
extra/gstreamer0.10-good 0.10.31-10
extra/gstreamer0.10-good-plugins 0.10.31-10 (gstreamer0.10-plugins)
extra/gstreamer0.10-python 0.10.22-2
extra/gstreamer0.10-ugly 0.10.19-16
extra/gstreamer0.10-ugly-plugins 0.10.19-16 (gstreamer0.10-plugins)
extra/phonon-qt4-gstreamer 4.8.2-4
extra/phonon-qt5-gstreamer 4.8.2-4
extra/qt4-gstreamer 1.2.0-2
0 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.