The Traders' Den  

  The Traders' Den > Where we go to learn ..... > Technobabble
 

Notices

Technobabble Post your general Need for Help questions here.
Lossy or Lossless?
Moderators

Reply
 
Thread Tools
  #1  
Old 2005-04-25, 10:26 PM
pmonk's Avatar
pmonk pmonk is offline
520.32 GB/630.74 GB/1.21
 
Join Date: Nov 2004
Flac.exe????

I've been trying decode/encode/test, etc... flac files without using the frontend. So far, I am unable to figure out the proper commands.


===============================================================================

This is the short help; for all options use 'flac --help'; for even more
instructions use 'flac --explain'

To encode:
flac [-#] [INPUTFILE [...]]

-# is -0 (fastest compression) to -8 (highest compression); -5 is the default

To decode:
flac -d [INPUTFILE [...]]

To test:
flac -t [INPUTFILE [...]]

This does not seem to help me one bit
Reply With Quote Reply with Nested Quotes
  #2  
Old 2005-04-25, 10:32 PM
ozzyzak's Avatar
ozzyzak ozzyzak is offline
Eater of Babies
5.95 GB/875.14 MB/0.14
 
Join Date: Nov 2004
Location: National City, CA
Re: Flac.exe????

Seems easy to figure out. I don't use it without the front end but it seems simple enough.

Looks like you would type flac -d and path to the file after that. That doesn't work?
Reply With Quote Reply with Nested Quotes
  #3  
Old 2005-04-26, 02:15 AM
Five's Avatar
Five Five is offline
189.30 GB/594.78 GB/3.14
 
Join Date: Oct 2004
Location: Canada
Re: Flac.exe????

I don't have the answer... I do have another question: does anybody know how to generate FLAC fingerprints from cmd?
__________________
Checksums Demystified | ask for help in Technobabble

thetradersden.org | ttd recommended free software/freeware webring
shntool tlh eac foobar2000 spek audacity cdwave vlc

Quote:
Originally posted by oxymoron
Here you are in a place of permanent madness, be careful!
Reply With Quote Reply with Nested Quotes
  #4  
Old 2005-04-26, 02:31 AM
4candles 4candles is offline
6.36 GB/18.25 GB/2.87
 
Join Date: Nov 2004
Re: Flac.exe????

To encode a set of WAV files to FLAC:

flac -8 *.wav

To decode a set of FLAC to WAV:

flac -d *.flac

Both of those commands preserves (i.e. doesn't delete) the input files.

Another useful option is "-t" (test) - this does the same as "-d" but doesn't write the decoded data to a file:

flac -t *.flac

To create a set of fingerprints from a set of FLAC files you need to use the companion program "metaflac" - because the MD5 checksum is stored as metadata inside the FLAC file:

metaflac --show-md5sum *.flac > fingerprints.txt


Dave.
Reply With Quote Reply with Nested Quotes
  #5  
Old 2005-04-26, 02:33 AM
feralicious's Avatar
feralicious feralicious is offline
dare to discover
63.44 GB/133.91 GB/2.11
 
Join Date: Nov 2004
Location: occasionally
Re: Flac.exe????

Here's my batch file for them. Makes a txt file like this <foldername>.ffp.txt in the show's folder:

Quote:
@echo off
%~d1 & cd "%~1"
for %%F in (*.flac) do metaflac --show-md5sum --with-filename "%%F" >> "%~n1.ffp.txt"
__________________
feralicious goodies
Don't get even.
Get odd.

....
Reply With Quote Reply with Nested Quotes
  #6  
Old 2005-04-26, 08:46 AM
pmonk's Avatar
pmonk pmonk is offline
520.32 GB/630.74 GB/1.21
 
Join Date: Nov 2004
Re: Flac.exe????

This is what I keep getting

Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.

C:\Documents and Settings\Paul XXX>E:

E:\>cd "E:\Music Downloads\My Music\The Who\Who1971.12.02 Dallas"

E:\Music Downloads\My Music\The Who\Who1971.12.02 Dallas>dir
Volume in drive E is New Volume
Volume Serial Number is 809D-0046

Directory of E:\Music Downloads\My Music\The Who\Who1971.12.02 Dallas

04/22/2005 12:32p <DIR> .
04/22/2005 12:32p <DIR> ..
04/22/2005 12:01p 60,721,628 who1971-12-02t01.wav
04/22/2005 12:01p 97,537,484 who1971-12-02t02.wav
04/22/2005 12:01p 187,075,772 who1971-12-02t03.wav
04/22/2005 12:01p 40,096,940 who1971-12-02t04.wav
04/22/2005 12:01p 79,883,372 who1971-12-02t05.wav
04/22/2005 12:02p 32,942,156 who1971-12-02t06.wav
04/22/2005 12:02p 29,444,732 who1971-12-02t07.wav
04/22/2005 12:02p 45,537,116 who1971-12-02t08.wav
8 File(s) 573,239,200 bytes
2 Dir(s) 32,357,093,376 bytes free

E:\Music Downloads\My Music\The Who\Who1971.12.02 Dallas>flac -8 *.wav

flac 1.1.2, Copyright (C) 2000,2001,2002,2003,2004,2005 Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under certain conditions. Type `flac' for details.

options: -P 4096 -b 4608 -m -l 12 -e -q 0 -r 0,6
ERROR: can't open input file *.wav

E:\Music Downloads\My Music\The Who\Who1971.12.02 Dallas>


What am I doing wrong?????????????
Reply With Quote Reply with Nested Quotes
  #7  
Old 2005-04-26, 08:56 AM
pmonk's Avatar
pmonk pmonk is offline
520.32 GB/630.74 GB/1.21
 
Join Date: Nov 2004
Re: Flac.exe????

Actually - my question is now HOW do you decode/encode multiple files.

I can get it to work one file at a time
Reply With Quote Reply with Nested Quotes
  #8  
Old 2005-04-26, 09:56 AM
pmonk's Avatar
pmonk pmonk is offline
520.32 GB/630.74 GB/1.21
 
Join Date: Nov 2004
Re: Flac.exe????

Quote:
Originally Posted by pmonk66
Actually - my question is now HOW do you decode/encode multiple files.

I can get it to work one file at a time
Actually - when using flac.exe do you have to add each track individually i.e.



E:\>flac -5 --sector-align --delete-input-file -m -P 4096 -V "E:\Music Download
s\My Music\The Who\Who1971.12.02 Dallas\who1971-12-02t03.wav" "E:\Music Download
s\My Music\The Who\Who1971.12.02 Dallas\who1971-12-02t04.wav" "E:\Music Download
s\My Music\The Who\Who1971.12.02 Dallas\who1971-12-02t05.wav" "E:\Music Download
s\My Music\The Who\Who1971.12.02 Dallas\who1971-12-02t06.wav" "E:\Music Download
s\My Music\The Who\Who1971.12.02 Dallas\who1971-12-02t07.wav" "E:\Music Download
s\My Music\The Who\Who1971.12.02 Dallas\who1971-12-02t08.wav"

flac 1.1.2, Copyright (C) 2000,2001,2002,2003,2004,2005 Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under certain conditions. Type `flac' for details.

options: --delete-input-file --sector-align -P 4096 -b 4608 -m -l 8 -q 0 -r 3,3
-V
who1971-12-02t03.wav: Verify OK, wrote 115280333 bytes, ratio=0.616
who1971-12-02t04.wav: Verify OK, wrote 24930633 bytes, ratio=0.622
who1971-12-02t05.wav: Verify OK, wrote 49849357 bytes, ratio=0.624
who1971-12-02t06.wav: Verify OK, wrote 20365486 bytes, ratio=0.618
who1971-12-02t07.wav: Verify OK, wrote 18307049 bytes, ratio=0.622
who1971-12-02t08.wav: 100% complete, ratio=0.587

Reply With Quote Reply with Nested Quotes
  #9  
Old 2005-04-26, 10:04 AM
Five's Avatar
Five Five is offline
189.30 GB/594.78 GB/3.14
 
Join Date: Oct 2004
Location: Canada
Re: Flac.exe????

and so I guess this is the #1 reason why a frontend is convenient!
__________________
Checksums Demystified | ask for help in Technobabble

thetradersden.org | ttd recommended free software/freeware webring
shntool tlh eac foobar2000 spek audacity cdwave vlc

Quote:
Originally posted by oxymoron
Here you are in a place of permanent madness, be careful!
Reply With Quote Reply with Nested Quotes
  #10  
Old 2005-04-26, 10:10 AM
ffooky ffooky is offline
55.87 GB/72.62 GB/1.30
 
Join Date: Nov 2004
Re: Flac.exe????

I don't know about Windows but from the OS X command line you can just type:

$ flac -V -5 <select and drag all the files you want to encode here> and Bob's your uncle.

If you want to sector align them (assuming they're named 01,02 etc) then just

$ cd <drag folder containg your WAVs here>
$ flac -5 --sector-align *.wav
__________________
Two tracks for a desert island:

Black Keys - I Got Mine
Tintern Abbey - Vacuum Cleaner
Reply With Quote Reply with Nested Quotes
  #11  
Old 2005-04-26, 10:11 AM
uhclem
0.00 KB/0.00 KB/---
 
Re: Flac.exe????

Quote:
Originally Posted by pmonk66
Actually - when using flac.exe do you have to add each track individually i.e.



E:\>flac -5 --sector-align --delete-input-file -m -P 4096 -V "E:\Music Download
s\My Music\The Who\Who1971.12.02 Dallas\who1971-12-02t03.wav" "E:\Music Download
s\My Music\The Who\Who1971.12.02 Dallas\who1971-12-02t04.wav" "E:\Music Download
s\My Music\The Who\Who1971.12.02 Dallas\who1971-12-02t05.wav" "E:\Music Download
s\My Music\The Who\Who1971.12.02 Dallas\who1971-12-02t06.wav" "E:\Music Download
s\My Music\The Who\Who1971.12.02 Dallas\who1971-12-02t07.wav" "E:\Music Download
s\My Music\The Who\Who1971.12.02 Dallas\who1971-12-02t08.wav"

flac 1.1.2, Copyright (C) 2000,2001,2002,2003,2004,2005 Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under certain conditions. Type `flac' for details.

options: --delete-input-file --sector-align -P 4096 -b 4608 -m -l 8 -q 0 -r 3,3
-V
who1971-12-02t03.wav: Verify OK, wrote 115280333 bytes, ratio=0.616

who1971-12-02t04.wav: Verify OK, wrote 24930633 bytes, ratio=0.622
who1971-12-02t05.wav: Verify OK, wrote 49849357 bytes, ratio=0.624
who1971-12-02t06.wav: Verify OK, wrote 20365486 bytes, ratio=0.618
who1971-12-02t07.wav: Verify OK, wrote 18307049 bytes, ratio=0.622
who1971-12-02t08.wav: 100% complete, ratio=0.587

Pmonk, your output shows that you have to feed all the tracks to flac at the same time but as individual files, e.g.

flac -V -6 file1.wav file2.wav file3.wav

This method is ESSENTIAL if you want to sector align the tracks as you compress them. If you aren't trying to sector align them, then you can pass your wave files to flac.exe one at a time.

This is why the frontend is generally the way to go. Why not just stick with the frontend?
Reply With Quote Reply with Nested Quotes
  #12  
Old 2005-04-26, 10:11 AM
pmonk's Avatar
pmonk pmonk is offline
520.32 GB/630.74 GB/1.21
 
Join Date: Nov 2004
Re: Flac.exe????

Quote:
Originally Posted by Five
and so I guess this is the #1 reason why a frontend is convenient!
You fucking said it

But its always good to know if I ever get into a situation where I don't have a frontend available
Reply With Quote Reply with Nested Quotes
  #13  
Old 2005-04-26, 10:33 AM
Five's Avatar
Five Five is offline
189.30 GB/594.78 GB/3.14
 
Join Date: Oct 2004
Location: Canada
Re: Flac.exe????

yes, it's always good to know more than you need to!
__________________
Checksums Demystified | ask for help in Technobabble

thetradersden.org | ttd recommended free software/freeware webring
shntool tlh eac foobar2000 spek audacity cdwave vlc

Quote:
Originally posted by oxymoron
Here you are in a place of permanent madness, be careful!
Reply With Quote Reply with Nested Quotes
  #14  
Old 2005-04-26, 10:56 AM
pmonk's Avatar
pmonk pmonk is offline
520.32 GB/630.74 GB/1.21
 
Join Date: Nov 2004
Re: Flac.exe????

Quote:
Originally Posted by uhclem
This is why the frontend is generally the way to go. Why not just stick with the frontend?
I don't plan on giving up on the frontend just curious on how the frontend works!
Reply With Quote Reply with Nested Quotes
  #15  
Old 2005-04-26, 11:05 AM
feralicious's Avatar
feralicious feralicious is offline
dare to discover
63.44 GB/133.91 GB/2.11
 
Join Date: Nov 2004
Location: occasionally
Re: Flac.exe????

Quote:
Originally Posted by pmonk66
I don't plan on giving up on the frontend just curious on how the frontend works!
Well keep experimenting. I love it when you talk to yourself in a thread.
__________________
feralicious goodies
Don't get even.
Get odd.

....
Reply With Quote Reply with Nested Quotes
Reply

The Traders' Den > Where we go to learn ..... > Technobabble


Thread Tools

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 On
HTML code is Off

Forums


All times are GMT -5. The time now is 06:53 AM.


Powered by: vBulletin, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004 - , TheTradersDen.org - All Rights Reserved - Hosted at QuickPacket