LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-17-2013, 10:22 PM   #1
annonyxxxx
Member
 
Registered: May 2013
Posts: 31

Rep: Reputation: 9
How to add artist and song title to flac files


hey everybody in LQ

my subject line says it all. I read the man page for flac but I couldn't grasp it. I know how to convert wav to flac but adding tags is unclear. Any help is grateful.
 
Old 05-17-2013, 10:35 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

iirc, flac files use the same type of tags as ogg files. So, there should be a huge number of programs you can use to add tags. Exactly which program depends on a number of things: most importantly (IMHO), do you want to do this by hand in a gui, or do you want to automate it? Som gui options include easytag, exfalso and tagtool.

Note that if you are creating these flac files directly from audo cds then there are ripping programs that will automatically query online databases for track metadata and populate the tags in the flac files when you produce them. My favourite is crip.

Evo2.
 
Old 05-18-2013, 01:21 AM   #3
annonyxxxx
Member
 
Registered: May 2013
Posts: 31

Original Poster
Rep: Reputation: 9
hey evo2, thx for the reply

I re-read the man page for flac and I found this info for tagging --tag=FIELD=VALUE. I gave it a test and the tagging worked.

I guess this case is solved.

I have one more question tho, my original wav file was 215MB, after the convert the flac file becomes 65MB. It's funny because I passed the -0 switch for zero compression. Isn't flac a lossless codec and shouldn't the flac file be close to the size of the original wav file.

if you or anybody knows please post

Last edited by annonyxxxx; 05-18-2013 at 01:23 AM.
 
Old 05-18-2013, 01:25 AM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

Quote:
Originally Posted by annonyxxxx View Post
I have one more question tho, my original wav file was 215MB, after the convert the flac file becomes 65MB. It's funny because I passed the -0 switch for zero compression. Isn't flac a lossless codec and shouldn't the flac file be close to the size of the original wav file.
why do you think that using the -0 option will turn off compression?

Evo2.

Last edited by evo2; 05-18-2013 at 01:27 AM.
 
Old 05-18-2013, 01:43 AM   #5
annonyxxxx
Member
 
Registered: May 2013
Posts: 31

Original Poster
Rep: Reputation: 9
Quote:
Originally Posted by evo2 View Post
Hi,



why do you think that using the -0 option will turn off compression?

Evo2.
Quote:
-0..-8, --compression-level-0..--compression-level-8
Fastest compression..highest compression (default is -5). These are synonyms
for other options:

-0, --compression-level-0
Synonymous with -l 0 -b 1152 -r 3

-1, --compression-level-1
Synonymous with -l 0 -b 1152 -M -r 3

-2, --compression-level-2
-3, --compression-level-3
Synonymous with -l 6 -b 4096 -r 4

-4, --compression-level-4
Synonymous with -l 8 -b 4096 -M -r 4

-5, --compression-level-5
Synonymous with -l 8 -b 4096 -m -r 5

-6, --compression-level-6
Synonymous with -l 8 -b 4096 -m -r 6

-7, --compression-level-7

-8, --compression-level-8
Synonymous with -l 12 -b 4096 -m -e -r 6

--fast Fastest compression. Currently synonymous with -0.

--best Highest compression. Currently synonymous with -8.
Excerpt from man flac

This is my first time encoding to flac so I am unaware of the effects after conversion. For years I've have always used wav mp3 and ogg. I heard that flac was lossless and became interested in better audio.

Last edited by annonyxxxx; 05-18-2013 at 01:45 AM.
 
Old 05-18-2013, 01:44 AM   #6
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

yes I read that man page too: nowhere does it say compression is turned off.

Evo2.
 
Old 05-18-2013, 01:53 AM   #7
annonyxxxx
Member
 
Registered: May 2013
Posts: 31

Original Poster
Rep: Reputation: 9
I guess this is normal then if flac decreases to a smaller size. The important thing is I got the tagging to work. Thx for your help

positive rep added to you
 
Old 05-19-2013, 12:38 PM   #8
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian + kde 4 / 5
Posts: 6,837

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
metaflac is another good application for working with tag data.

IIUC, "fast" compression means it uses an algorithm that takes less processing power to decompress, but at the cost of a relatively larger file size, while "high" compression gives a smaller file size, but requires more processing.

Unless you have a really underpowered player or system, there's really no reason not to use the highest compression.

PS: the flac tagging format is pretty much the same as vorbis, being a simple UTF8-encoded list of "tag=value" options. But it's a bit more complex in some ways, particularly with regard to the storing of cover images.

Last edited by David the H.; 05-19-2013 at 12:43 PM. Reason: addendum
 
Old 05-19-2013, 01:33 PM   #9
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,896

Rep: Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980
Quote:
Originally Posted by annonyxxxx View Post
I guess this is normal then if flac decreases to a smaller size. The important thing is I got the tagging to work. Thx for your help

positive rep added to you
The whole point of FLAC is to make the file smaller -- otherwise you would just rip to WAV and leave it there. FLAC is lossless in the same way that zipping is lossless -- a file will have repeated and similar sections and these can be expressed in relation to one another in a smaller space than the original data would have taken up.
What you may find is that some music compresses more than others so for some music the FLAC file might be 1/5 the size of the WAV but for others only 2/3 (numbers guessed).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
get song artist mp3 ted_chou12 Linux - Newbie 2 03-21-2011 05:16 AM
Shell script to build a list of karaoke music files sorted by artist and title! imix40 Linux - Newbie 4 08-13-2008 08:10 PM
Streamtuner: Show song Artist/Title MargNat Linux - Software 4 12-09-2006 11:32 AM
Amarok sorting song list - Artist THEN Title? ironfistchamp Linux - Software 0 06-02-2006 06:56 PM
add "Artist" and "Album Title" to mp3 files powah Linux - Software 2 04-05-2005 04:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration