IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Is is possible to find out encoder settings from a .flac file?, Mainly interested in the level used
kidamnesiac
post Jul 20 2012, 21:25
Post #1





Group: Members
Posts: 3
Joined: 20-May 12
Member No.: 100018



Since I have in the past years amassed more than 463 GiB of .flac files, I'm running out of space on my dedicated 500 GB hard drive. That is why I am thinking of writing a simple Python script that would flag out the files that for some reason weren't compressed using the maximum compression (level 8) settings and then recompress them properly. But is this even possible? I know you can somehow find out the encoder that was used and its version (foobar lists this as 'Tool').

Thanks for any answers, hints, suggestions; I'll work out the script myself, I just need to know if this information stored or can in some other way be deduced with an analysis.

This post has been edited by kidamnesiac: Jul 20 2012, 21:46
Go to the top of the page
+Quote Post
mjb2006
post Jul 20 2012, 22:38
Post #2





Group: Members
Posts: 712
Joined: 12-May 06
From: Colorado, USA
Member No.: 30694



Probably not, unless you went to the trouble of saving the settings in a tag. Take a look at http://flac.sourceforge.net/documentation_tools_flac.html
and note the compression levels are actually shorthand for various combinations of settings, most of which result in adjustments to the algorithms used during encoding, not so much anything you can deduce by looking at the file. Maybe you can look at block size, but that doesn't narrow it down much.

If you have your files in small batches encoded at once (e.g., albums), you can have your script just do a test re-encode of the smallest file in each folder, and if it comes out X% smaller, go ahead and re-encode the whole album. With 463 GB, even a 1% improvement is worthwhile.

This post has been edited by mjb2006: Jul 20 2012, 22:39
Go to the top of the page
+Quote Post
AliceWonder
post Jul 20 2012, 23:14
Post #3





Group: Members
Posts: 119
Joined: 13-July 12
From: California
Member No.: 101393



You probably won't gain much space. I would suggest if any way possible, look into getting a 1TB dedicated drive.
I don't know what your money is like, but best buy has 1TB USB2/3 drives for about $100
Go to the top of the page
+Quote Post
kidamnesiac
post Jul 21 2012, 13:28
Post #4





Group: Members
Posts: 3
Joined: 20-May 12
Member No.: 100018



No, I even have an extra drive lying around, it's just that this one feels perfect for FLAC storage and I have no other real use for it (5400 RPM, IDE). But thanks anyway, as I just realised it must be five or six years old and considering it is a Seagate, it is getting a little risky keeping my collection on it, so I will probably be moving the files somewhere else in any case (Murphy: The new drive will fail completely in two weeks.)

Thanks for the idea mjb2006, I'll try your script and maybe post the results ... I just like the idea of having everything optimised and I'm really interested on how much space can be saved.
Go to the top of the page
+Quote Post
Porcus
post Jul 21 2012, 14:02
Post #5





Group: Members
Posts: 1789
Joined: 30-November 06
Member No.: 38207



You should of course have backup in any case, right? wink.gif


--------------------
One day in the Year of the Fox came a time remembered well
Go to the top of the page
+Quote Post
mjb2006
post Jul 22 2012, 07:42
Post #6





Group: Members
Posts: 712
Joined: 12-May 06
From: Colorado, USA
Member No.: 30694



QUOTE (Porcus @ Jul 21 2012, 07:02) *
You should of course have backup in any case, right? wink.gif

One of the best investments I ever made for my digital audio/video/document collection was buy a pair of high-capacity hard drives and just mirror one to the other on occasion. Even with a sporadic backup schedule, it has meant much more than peace-of-mind. I've recovered multiple accidental deletions already, and am prepared to go pick up a replacement drive the moment either of them dies. They've both lived long enough that for the same price, I can get double the capacity now.

This post has been edited by mjb2006: Jul 22 2012, 07:45
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: 23rd April 2014 - 19:00