Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Flac commandline (Read 5217 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Flac commandline

Hi! I want to use Flac 1.0.4. I also want to have VorbisComment Tags.

which command line should I use in EAC?

And what is "Padding"? free space for further tags? and how big should that space be? 4096 bytes?
FLAC and MPC supporter - but a nOOb

Christian.Denk2 at web dot de

Flac commandline

Reply #1
Quote
which command line should I use in EAC?


Look at the bottom of this page:

http://www.saunalahti.fi/~cse/EAC/

Quote
And what is "Padding"? free space for further tags? and how big should that space be? 4096 bytes?


If you don't use padding the entire file will have to be rewritten if you change the tags. This will be a major pain for a ~400 MB file. Around 1024 bytes of padding should be enough. Add the following to the commandline:
Code: [Select]
--padding=1024

Flac commandline

Reply #2
is -P 1024 the same as --padding=1024??


and what's up with replaygain in Flac 1.0.5?
FLAC and MPC supporter - but a nOOb

Christian.Denk2 at web dot de

Flac commandline

Reply #3
Quote
is -P 1024 the same as --padding=1024??


Yes, -P is the same.

Quote
and what's up with replaygain in Flac 1.0.5?


Josh is adding relaygain support in 1.0.5.

Flac commandline

Reply #4
and how much space will replaygain need? is a padding of 1024 bytes still enough??
FLAC and MPC supporter - but a nOOb

Christian.Denk2 at web dot de

Flac commandline

Reply #5
OT:
political statements do not belong into a signature if you ask me

Flac commandline

Reply #6
sorry - but nobody except the germans would understand this.

I'll correct this.
FLAC and MPC supporter - but a nOOb

Christian.Denk2 at web dot de

Flac commandline

Reply #7
Quote
and how much space will replaygain need? is a padding of 1024 bytes still enough??

ReplayGain will require about 100 bytes to store the Vorbis comments.

flac 1.0.5 will also allow you to import cuesheets and store them in a metadata block if you do whole CD rips.  The size of this block is still in flux while I figure out the format, and it will vary based on the size of the CD TOC (number of tracks), but if you are ripping whole CDs I would use around 8k padding if you plan to add cuesheets later.

Josh

Flac commandline

Reply #8
"flac 1.0.5 will also allow you to import cuesheets and store them in a metadata block if you do whole CD rips"

This is great news Josh but I have a question.

Say, for example, that I encode a CD with 10 tracks and each track is listed to the file's cuesheet. Can I decode just a particular track of the album to a wave file (say track 5) without decompressing the whole file first? If so, this would be great on on demand mp3 encoding.

Thanks!

Agent69

Flac commandline

Reply #9
Josh, I have another question. You've stated that FLAC 1.0.5 will allow ReplayGain (for playback), but will it allow the FLAC file to be decoded as a ReplayGained WAV? (That is, could I decode the FLAC file once as "album" and a second time as "track," and automatically have WAV files of differing volume? Or would the decoding process be restricted to the original, unmodified WAV?)

  Also, will FLAC 1.0.5 improve upon FLAC's compression levels? If anyone is considering a massive transcoding project, will the new version offer enough of an improvement to warrant holding off until its release?

    - M.

Flac commandline

Reply #10
Quote
Also, will FLAC 1.0.5 improve upon FLAC's compression levels? If anyone is considering a massive transcoding project, will the new version offer enough of an improvement to warrant holding off until its release?

I strongly doubt it... The format is finished, note the 1.x version number...  Unless you want CUE sheet support, you can start archiving right now...

Flac commandline

Reply #11
Quote
"flac 1.0.5 will also allow you to import cuesheets and store them in a metadata block if you do whole CD rips"

This is great news Josh but I have a question.

Say, for example, that I encode a CD with 10 tracks and each track is listed to the file's cuesheet. Can I decode just a particular track of the album to a wave file (say track 5) without decompressing the whole file first? If so, this would be great on on demand mp3 encoding.

Ooh, good idea.  flac already has --skip and I am adding --until, so a --cue option could just look at the cuesheet and transform itself into the proper --skip and --until values.

Quote
Josh, I have another question. You've stated that FLAC 1.0.5 will allow ReplayGain (for playback), but will it allow the FLAC file to be decoded as a ReplayGained WAV? (That is, could I decode the FLAC file once as "album" and a second time as "track," and automatically have WAV files of differing volume? Or would the decoding process be restricted to the original, unmodified WAV?)


I am real hesitant to add any lossy-type options to flac.  The code that actually does that is in a convenience library used by the plugins (see src/plugin_common/replaygain_synthesis.c in CVS), so you could probably roll your own pretty easily.

Quote
Also, will FLAC 1.0.5 improve upon FLAC's compression levels? If anyone is considering a massive transcoding project, will the new version offer enough of an improvement to warrant holding off until its release?


There are no new compression techniques and I don't know of any that are asymmetric enough.  I considered incorporating techniques from Monkey's Audio for just PC use but dropped the idea for several reasons.  In the absence of any other great and unpatented ideas I will probably keep hammering on features.  Monty has some ideas which we may experiment with in the future but I wouldn't hold back using flac for that chance.

After flac 1.0.4 went out I did make an optional 64-bit data path through the analysis and synthesis stages; the increased accuracy there leads to better compression of 24-bit files.  That will be in flac 1.0.5.

Josh