IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
FLAC command line not doing what it should, even though it worked before...
ChronoSphere
post Sep 4 2008, 00:26
Post #1





Group: Members
Posts: 489
Joined: 11-March 07
Member No.: 41384



Hello,

this is the command line i use to create an album image:
CODE
"d:\Program Files\Codecs\FLAC\flac.exe" --replay-gain --cuesheet="CDImage.cue" --picture="CDImage.jpg" --verify -8 CDImage.wav


Now, it does add the album art & cuesheet but somehow doesn't add the replay gain info - at least foobar doesn't see any.

The weird thing about it is, it was working fine before, so i'm not sure if it's FLAC's, mine or foobar's fault <.<
I did update the flac encoder & foobar some time ago, but i can't remember if it stopped working after i did so or if there was something else.

Does anyone know what i am doing wrong?

OS is Vista x64 SP1, UAC disabled.
Flac version: reference libFLAC 1.2.1 20070917
foobar version: 0.9.5.4

Another question: --cuesheet="CDImage.cue" only marks where tracks start in an album image, is there any way to auto-include the tags, too?
Go to the top of the page
+Quote Post
tuffy
post Sep 4 2008, 02:07
Post #2





Group: Members
Posts: 111
Joined: 20-August 07
Member No.: 46367



QUOTE (ChronoSphere @ Sep 3 2008, 18:26) *
Hello,

this is the command line i use to create an album image:
CODE
"d:\Program Files\Codecs\FLAC\flac.exe" --replay-gain --cuesheet="CDImage.cue" --picture="CDImage.jpg" --verify -8 CDImage.wav


Now, it does add the album art & cuesheet but somehow doesn't add the replay gain info - at least foobar doesn't see any.

To see if your file actually has ReplayGain, try:
CODE
metaflac.exe --list --block-type=VORBIS_COMMENT file.flac

and look for the REPLAYGAIN_* tags. If the tags aren't found, metaflac can also add them with the "--add-replay-gain" flag.

QUOTE
Another question: --cuesheet="CDImage.cue" only marks where tracks start in an album image, is there any way to auto-include the tags, too?

FLAC's cuesheet block only has room for catalog number, lead-in, track numbers, track offsets, ISRC, indexes and a few other 1-bit flags. It can't hold title or performer tags.
Go to the top of the page
+Quote Post
drbeachboy
post Sep 4 2008, 03:27
Post #3





Group: Members
Posts: 500
Joined: 22-October 04
From: Southern NJ
Member No.: 17776



If you embed the cuesheet as a Vorbis Comment then you will see the other tag information; such as artist, album, genre etc.


--------------------
Surf's Up!
"Columnated Ruins Domino"
Go to the top of the page
+Quote Post
ChronoSphere
post Sep 5 2008, 19:20
Post #4





Group: Members
Posts: 489
Joined: 11-March 07
Member No.: 41384



QUOTE (tuffy @ Sep 4 2008, 03:07) *
To see if your file actually has ReplayGain, try:
CODE
metaflac.exe --list --block-type=VORBIS_COMMENT file.flac

and look for the REPLAYGAIN_* tags. If the tags aren't found, metaflac can also add them with the "--add-replay-gain" flag.


This is the output right after encoding:



This is the output after replay gaining with foobar 0.9.5.4


Looks like either foobar adding something own to the file or the --replay-gain switch not writing the whole info?


QUOTE (drbeachboy @ Sep 4 2008, 04:27) *
If you embed the cuesheet as a Vorbis Comment then you will see the other tag information; such as artist, album, genre etc.
should i use
CODE
metaflac --import-cuesheet-from=CDImage.cue
command or something else to do that?
Go to the top of the page
+Quote Post
chromium
post Sep 6 2008, 09:01
Post #5





Group: Members
Posts: 82
Joined: 3-February 08
Member No.: 51007



QUOTE
Looks like either foobar adding something own to the file or the --replay-gain switch not writing the whole info?

None of the two. However, flac stores the CUE data elsewhere, in the CUESHEET metadata block, which is why you do not see it with your current vorbisgain command. It should appear when you remove the --block-type option from your command. Foobar stored the information in the VORBIS_COMMENT block.
Go to the top of the page
+Quote Post
ChronoSphere
post Sep 6 2008, 22:39
Post #6





Group: Members
Posts: 489
Joined: 11-March 07
Member No.: 41384



I'm confused about what does what.

what is the purpose of the --replay-gain switch for flac.exe?
as i see it, it is used to compute the replay gain values for the album image and save them as VORBIS_COMMENTs, but why doesn't foobar see them then?

foobar is re-calculating exactly the same info as it already has and writes it into it's own vorbis comment, included into the cuesheet? shouldn't it just read the existing info and use this instead?

i do understand that the CUESHEET block and the cuesheet VORBIS_COMMENT are 2 different things, but why using the CUESHEET block to store the basic cuesheet, if the applications are supposed to read this info from the VORBIS_COMMENT block?

edit: Foobar is definitely writing the replay gain values only to the cuesheet comment! if this implementation is correct, why is flac.exe creating separate comments for the replaygain info?

this is the metaflac output of a file encoded w/o the --replaygain switch - when foobar calculated it's values, it wrote it inside the cuesheet comment....


oh, and metaflac doesn't handle utf-8 well, so it seems.
CODE
metaflac --set-tag-from-file="CUESHEET=CDImage.cue"

creates an invalid tag and foobar cannot see the embedded cuesheet anymore.

This post has been edited by ChronoSphere: Sep 6 2008, 23:10
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: 30th August 2014 - 01:52