IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Command line help needed
nastea
post Feb 13 2013, 03:52
Post #1





Group: Members
Posts: 39
Joined: 30-July 12
Member No.: 101867



I'm using bat files to create flac files, and although I never cared about proper tagging, I'm finally trying to get things right.
But because I can't find any documentation about it, at least not in my language (Dutch), I desperately trying to get some help here.
There are probably better ways to do this, but I'm just old fashioned smile.gif

Usually I use something like this to convert wav-files to flac (using a batch file, and sometimes using the command line)

MAKEFLAC.BAT (filename)
flac -8 --picture=front.jpg "Track 01.wav"
flac -8 --picture=front.jpg "Track 02.wav"
flac -8 --picture=front.jpg "Track 03.wav"
flac -8 --picture=front.jpg "Track 04.wav"
flac -8 --picture=front.jpg "Track 05.wav"
flac -8 --picture=front.jpg "Track 06.wav"
flac -8 --picture=front.jpg "Track 07.wav"
flac -8 --picture=front.jpg "Track 08.wav"

Strange enough, I know how to include album art, but how do I get Artist, TrackTitle, Tracknumber, Albumtitle, Year, and Genre in the file?
Thanks in advance.
Go to the top of the page
+Quote Post
pdq
post Feb 13 2013, 04:14
Post #2





Group: Members
Posts: 3368
Joined: 1-September 05
From: SE Pennsylvania
Member No.: 24233



I find it odd that you would have wav files at all. Are these files that you ripped yourself, and if so, why didn't you rip directly to flac or some other file format that the ripper could tag for you?
Go to the top of the page
+Quote Post
andrew_berge
post Feb 13 2013, 05:39
Post #3





Group: Members
Posts: 108
Joined: 17-November 09
From: Canada
Member No.: 75012



You sir, are making things hard for yourself smile.gif

Foobar2000 can batch convert them all for you, you can add tags with it, too.
For a more advanced and easier to use tagging app i recommend Mp3Tag.
Foobar can be installed portably (on a thumbdrive), Mp3Tag unfortunately can't.


But if you absolutely want command line...

You add something like this:
-T "title=TRACKTITLE" -T "artist=TRACKARTIST"

Replace the words in caps with your own.

This post has been edited by andrew_berge: Feb 13 2013, 05:48
Go to the top of the page
+Quote Post
nu774
post Feb 13 2013, 06:28
Post #4





Group: Developer
Posts: 514
Joined: 22-November 10
From: Japan
Member No.: 85902



If those WAV files were ripped from CD, try CUETools.
With a few clicks, it will automatically pull metadata from MusicBraniz/FreeDB, allow you to encode to one of your favorite formats, automatically write tags and cuesheet, and even checks with AccurateRip.
No need to write batch files or something.
Go to the top of the page
+Quote Post
harto69
post Feb 13 2013, 08:45
Post #5





Group: Members
Posts: 35
Joined: 12-July 05
From: Southtyrol
Member No.: 23281



QUOTE (andrew_berge @ Feb 13 2013, 05:39) *
Mp3Tag unfortunately can't.


There is a portable version at portableapps.

This post has been edited by harto69: Feb 13 2013, 09:42
Go to the top of the page
+Quote Post
andrew_berge
post Feb 13 2013, 18:53
Post #6





Group: Members
Posts: 108
Joined: 17-November 09
From: Canada
Member No.: 75012



QUOTE (harto69 @ Feb 13 2013, 02:45) *
There is a portable version at portableapps.


Oh man, thanks for that link. I've often missed Mp3Tag when using someone else's computer.
Go to the top of the page
+Quote Post
nastea
post Mar 24 2013, 04:18
Post #7





Group: Members
Posts: 39
Joined: 30-July 12
Member No.: 101867



QUOTE (andrew_berge @ Feb 13 2013, 05:39) *
You sir, are making things hard for yourself smile.gif

Foobar2000 can batch convert them all for you, you can add tags with it, too.
For a more advanced and easier to use tagging app i recommend Mp3Tag.
Foobar can be installed portably (on a thumbdrive), Mp3Tag unfortunately can't.


But if you absolutely want command line...

You add something like this:
-T "title=TRACKTITLE" -T "artist=TRACKARTIST"

Replace the words in caps with your own.


Thanks man, this is really helpful. smile.gif
I've got lots of recordings which are not from cd, like live recordings from FM radio, digitized vinyl, and even some digitized cassette tapes,
so I can't let EAC do the job.

It's all working pretty well as I want it right now, (in a batch file) except I can't seem to get the total number of tracks in the tag.
And what are all the possible field values, like TITLE, ARTIST etc. ?
Go to the top of the page
+Quote Post
andrew_berge
post Mar 24 2013, 04:46
Post #8





Group: Members
Posts: 108
Joined: 17-November 09
From: Canada
Member No.: 75012



FLAC uses Vorbis Comments for tagging, which means you can use pretty much anything you want as a field value.
Xiph.org's Specification for Vorbis Comments proposes a few tags about halfway down the page.
That list is missing a few tags that i think have become pretty popular, such as 'comment', 'totaltracks', 'discnumber' and 'totaldiscs'.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd July 2014 - 09:26