|
Technobabble Post your general Need for Help questions here.
• Lossy or Lossless? Moderators |
|
Thread Tools |
#1
|
||||
|
||||
Foobar2000 SHN > FLAC Conversion: A Visual Guide
Here's the visual tutorial based on (and quoting from) these threads:
http://www.thetradersden.org/forums/...read.php?t=761 http://www.thetradersden.org/forums/...read.php?t=928 Lemmieknow what you think. SHN to FLAC Conversions Using Foobar2000 First off, special thanks to RainDawg who wrote much of the text included here and gave me the knowledge to create this visual tutorial. As for converting, it is acceptable and encouraged to convert SHN to FLAC, as the former is an outdated and obsolete codec. FLAC has numerous advantages, and you can read a little more about the major differences in the FAQ's audio types and descriptions entry: http://www.thetradersden.org/forums/...#faq_filetypes Foobar2000 Installation and Configuration Now, foobar2000 is the complete solution to PLAYING your files, but you may not realize that it comes with an enormous amount of plugins that help you do everything else with those files too. First, make sure you've got the Special Installer version 0.8.3 (the most complete and up to date version) from the foobar2000 blogiste. When you install this program, make sure you include all of the plugins (some may not be useful to you, but they are all fun to play with and learn what options are out there). This will make sure that you have the diskwriter plugin, which will allow you to do direct file conversions. When the foobar2000 installer promts you to select installation type, select "Full". The next thing you need to do is configure foobar2000. Go to Foobar2000>Preferences. On the left, click on "Diskwriter". Under "Output presets" press the "Add new" button. A new window will appear with the title "Select file writer". Select FLAC. A new window will appear with the title "FLAC encoding settings". Set "Compression level" to 8. Since FLAC decompresses at the same speed no matter what the compression setting is during encoding, it is best to encode your FLACs with the maximum available compression. The padding is a certain amount of space left at the beginning of the file, before the audio portion, for adding tags (aka Vorbis comments). You can force this to be something other than the default 4096, but it's not recommended. What creating this default space does is allow people to add and edit tags without having to rewrite the entire file.... Unles you're putting a sick amount of information (pages of text for a single track) the 4096 should be plenty. Of couse, it's awfully rude to decrease this value as people who download your seeds WILL want the freedom to add whatever tags they choose. Click "OK". Next, configure foobar2000 so that filenames aren't changed and the output is in the same directory as the source files. Set "Output directory" to "Same as source file directory" and under "Output file name formatting put "%_filename%" (no quotes). More formatting options can be found here. Your diskwriter preferences should appear as below. Click "Save all". foobar2000 is now installed and configured for the conversion. Conversion Before starting the conversion, check the md5s using md5summer or similar program. All files must be "OK". Now rename the .md5 file in a way that reflects that it is only associated with the old SHN files. I usually add "shn_" to the beginning of the filename. Do not delete this file. It can be useful as another means to identify which version of the show this is. Do not edit this file other than the filename. Now you are almost ready to begin conversion. This is a good time to fix spelling mistakes, rename your files to etree format, add a zero before the track numbers 1-9, etc. When you're done, drag and drop all of the SHN files into foobar2000. Press Ctrl + A to select all files, then right-click on one of the files and select Convert>Run conversion. A new window will appear with the title "Select file writer preset". FLAC : compression level 8, 4096 bytes padding should be the default setting, if not then select it from the drop-down menu and click "OK". A progress window will appear. This will take a few minutes. Bit-compare When the conversion is finished, select all of the newly-created FLACs and drag and drop them into foobar2000 together with the SHNs which are still there. At this point you should have the complete SHN and FLAC sets in foobar2000's playlist. Do some simple math... in my example I have 14 SHNs + 14 FLACs = 28 files in foobar2000... yup, we're ready to start. Select all (Ctrl + A), right-click and select "Bit-compare tracks..." First time you will see some one-time information. Click "OK". A progress bar will appear, as well as the Console window. Wait a few minutes for it to finish. Now it's time to check the results: INFO (foo_bitcompare) : Comparing: INFO (foo_bitcompare) : location: "file://D:\sp1992-09-12.flac16\sp1992-09-12d1t01.shn" (0) INFO (foo_bitcompare) : location: "file://D:\sp1992-09-12.flac16\sp1992-09-12d1t01.flac" (0) INFO (foo_shn) : cannot find / read external metadata tag file INFO (foo_shn) : internal seektable will be used. INFO (foo_bitcompare) : No differences in decoded data found. INFO (foo_bitcompare) : Finished successfully. INFO (foo_bitcompare) : Comparing: INFO (foo_bitcompare) : location: "file://D:\sp1992-09-12.flac16\sp1992-09-12d1t02.shn" (0) INFO (foo_bitcompare) : location: "file://D:\sp1992-09-12.flac16\sp1992-09-12d1t02.flac" (0) INFO (foo_shn) : cannot find / read external metadata tag file INFO (foo_shn) : internal seektable will be used. INFO (foo_bitcompare) : No differences in decoded data found. INFO (foo_bitcompare) : Finished successfully. INFO (foo_bitcompare) : Comparing: INFO (foo_bitcompare) : location: "file://D:\sp1992-09-12.flac16\sp1992-09-12d1t03.shn" (0) INFO (foo_bitcompare) : location: "file://D:\sp1992-09-12.flac16\sp1992-09-12d1t03.flac" (0) INFO (foo_shn) : cannot find / read external metadata tag file INFO (foo_shn) : internal seektable will be used. INFO (foo_bitcompare) : No differences in decoded data found. INFO (foo_bitcompare) : Finished successfully. INFO (foo_bitcompare) : Comparing: INFO (foo_bitcompare) : location: "file://D:\sp1992-09-12.flac16\sp1992-09-12d1t04.shn" (0) INFO (foo_bitcompare) : location: "file://D:\sp1992-09-12.flac16\sp1992-09-12d1t04.flac" (0) INFO (foo_shn) : cannot find / read external metadata tag file INFO (foo_shn) : internal seektable will be used. INFO (foo_bitcompare) : No differences in decoded data found. INFO (foo_bitcompare) : Finished successfully. INFO (foo_bitcompare) : Comparing: INFO (foo_bitcompare) : location: "file://D:\sp1992-09-12.flac16\sp1992-09-12d1t05.shn" (0) INFO (foo_bitcompare) : location: "file://D:\sp1992-09-12.flac16\sp1992-09-12d1t05.flac" (0) INFO (foo_shn) : cannot find / read external metadata tag file INFO (foo_shn) : internal seektable will be used. INFO (foo_bitcompare) : No differences in decoded data found. INFO (foo_bitcompare) : Finished successfully. INFO (foo_bitcompare) : Comparing: INFO (foo_bitcompare) : location: "file://D:\sp1992-09-12.flac16\sp1992-09-12d1t06.shn" (0) INFO (foo_bitcompare) : location: "file://D:\sp1992-09-12.flac16\sp1992-09-12d1t06.flac" (0) INFO (foo_shn) : cannot find / read external metadata tag file INFO (foo_shn) : internal seektable will be used. INFO (foo_bitcompare) : No differences in decoded data found. INFO (foo_bitcompare) : Finished successfully. INFO (foo_bitcompare) : Comparing: INFO (foo_bitcompare) : location: "file://D:\sp1992-09-12.flac16\sp1992-09-12d1t07.shn" (0) INFO (foo_bitcompare) : location: "file://D:\sp1992-09-12.flac16\sp1992-09-12d1t07.flac" (0) INFO (foo_shn) : cannot find / read external metadata tag file INFO (foo_shn) : internal seektable will be used. INFO (foo_bitcompare) : No differences in decoded data found. INFO (foo_bitcompare) : Finished successfully. INFO (foo_bitcompare) : Comparing: INFO (foo_bitcompare) : location: "file://D:\sp1992-09-12.flac16\sp1992-09-12d1t08.shn" (0) INFO (foo_bitcompare) : location: "file://D:\sp1992-09-12.flac16\sp1992-09-12d1t08.flac" (0) INFO (foo_shn) : cannot find / read external metadata tag file INFO (foo_shn) : internal seektable will be used. INFO (foo_bitcompare) : No differences in decoded data found. INFO (foo_bitcompare) : Finished successfully. INFO (foo_bitcompare) : Comparing: INFO (foo_bitcompare) : location: "file://D:\sp1992-09-12.flac16\sp1992-09-12d1t09.shn" (0) INFO (foo_bitcompare) : location: "file://D:\sp1992-09-12.flac16\sp1992-09-12d1t09.flac" (0) INFO (foo_shn) : cannot find / read external metadata tag file INFO (foo_shn) : internal seektable will be used. INFO (foo_bitcompare) : No differences in decoded data found. INFO (foo_bitcompare) : Finished successfully. INFO (foo_bitcompare) : Comparing: INFO (foo_bitcompare) : location: "file://D:\sp1992-09-12.flac16\sp1992-09-12d1t10.shn" (0) INFO (foo_bitcompare) : location: "file://D:\sp1992-09-12.flac16\sp1992-09-12d1t10.flac" (0) INFO (foo_shn) : cannot find / read external metadata tag file INFO (foo_shn) : internal seektable will be used. INFO (foo_bitcompare) : No differences in decoded data found. INFO (foo_bitcompare) : Finished successfully. INFO (foo_bitcompare) : Comparing: INFO (foo_bitcompare) : location: "file://D:\sp1992-09-12.flac16\sp1992-09-12d1t11.shn" (0) INFO (foo_bitcompare) : location: "file://D:\sp1992-09-12.flac16\sp1992-09-12d1t11.flac" (0) INFO (foo_shn) : cannot find / read external metadata tag file INFO (foo_shn) : internal seektable will be used. INFO (foo_bitcompare) : No differences in decoded data found. INFO (foo_bitcompare) : Finished successfully. INFO (foo_bitcompare) : Comparing: INFO (foo_bitcompare) : location: "file://D:\sp1992-09-12.flac16\sp1992-09-12d1t12.shn" (0) INFO (foo_bitcompare) : location: "file://D:\sp1992-09-12.flac16\sp1992-09-12d1t12.flac" (0) INFO (foo_shn) : cannot find / read external metadata tag file INFO (foo_shn) : internal seektable will be used. INFO (foo_bitcompare) : No differences in decoded data found. INFO (foo_bitcompare) : Finished successfully. INFO (foo_bitcompare) : Comparing: INFO (foo_bitcompare) : location: "file://D:\sp1992-09-12.flac16\sp1992-09-12d1t13.shn" (0) INFO (foo_bitcompare) : location: "file://D:\sp1992-09-12.flac16\sp1992-09-12d1t13.flac" (0) INFO (foo_shn) : cannot find / read external metadata tag file INFO (foo_shn) : internal seektable will be used. INFO (foo_bitcompare) : No differences in decoded data found. INFO (foo_bitcompare) : Finished successfully. INFO (foo_bitcompare) : Comparing: INFO (foo_bitcompare) : location: "file://D:\sp1992-09-12.flac16\sp1992-09-12d1t14.shn" (0) INFO (foo_bitcompare) : location: "file://D:\sp1992-09-12.flac16\sp1992-09-12d1t14.flac" (0) INFO (foo_shn) : cannot find / read external metadata tag file INFO (foo_shn) : internal seektable will be used. INFO (foo_bitcompare) : No differences in decoded data found. INFO (foo_bitcompare) : Finished successfully. Q: Now, it says that there were no differences found, and I'm cool with that. The part where it says that it cannot find / read external blah blah blah. No seektable loaded, etc. Is this cause for concern? A: No cause for concern here. foo_shn is the SHN decoder plugin for foobar2000. This is just giving you a little feedback about the SHN file: INFO (foo_shn) : cannot find / read external metadata tag file This means that there is no .tag file associated with the SHN file. Since SHN does not have any inherant support for tagging, foo_shn can write metadeta to a .tag file. This obviously doesn't have one, but that's fine. INFO (foo_shn) : cannot find / load external seektable file. Again, foo_shn is looking for either appended to external seektables. It didn't find any, which means that the SHNs are not seekable (in most other players). The line below that, however, shows just one reason why foobar is the best player out there: it is making up for the lack of a seektable by generating one on the fly so that the end user will never have to worry if the original files were seekable or not. The foo_bitcompare plugin is just telling you which files it is comparing, and then returns the result that no differences were found. You've successfully completed a SHN > FLAC conversion! The fastest way to check for errors is to look for the word "ERROR" anywhere on the left-hand side of the log. If you only see the word "INFO", then there were no errors. For an example of what an error looks like, I compared two different files and snapped a pic of the Console window: Don't rely on your machine "beeping". Mine didn't. So long as there are no errors, feel free to delete the SHN files now. Fingerprinting and Updating Lineage So at this point hopefully you've finished your conversion and have finished a successful verification. Congratulations! There is just a little bit more to do. FLAC fingerprints: Get FLAC frontend and install it if you haven't already. Drag and drop your new FLAC files into FLAC frontend. It's a nice touch to keep them in the correct order, so grab the set from the first file (circled). Push "Fingerprint". Save the generated .txt file in the same folder with the FLACs. If you are feeling paranoid, push the "Test" button to verify your FLACs again using FLAC frontend. Always include in your lineage how you did to the files what you did. The above example would include: SHN > foobar2000 0.8.3 (convered and bitverified identical) > FLAC Note: this will NOT look at, change, or correct any sector boundary issues. If you have SBEs that you need to correct, this needs to be done with shntool. If you run a conversion with FLAC Frontend, there IS an option to correct SBEs, but if the files are in the wrong order in the original window, you're going to have screwed up the entire set. Feel free to also add tags to your FLAC files: http://www.thetradersden.org/forums/...ead.php?t=1140 Quote:
__________________
Checksums Demystified | ask for help in Technobabble thetradersden.org | ttd recommended free software/freeware webring shntool tlh eac foobar2000 spek audacity cdwave vlc Quote:
No members have liked this post.
Last edited by Five; 2005-02-26 at 05:43 AM. |
#2
|
||||
|
||||
Re: Foobar2000 SHN > FLAC Conversion: A Visual Guide
Awesome Five! Thanks for putting this together. I am going to go through and correct some spelling mistakes that were actually mine from the original comments I made in other threads . Also, I am going to add the link at the top for the Special Installer, which is required if you want diskwriter, bitcompare, and shn all in one easy to install package.
Thanks a lot for putting this up, it looks great and a lot of people should get some use out of it.
__________________
Through the clouds, Throught the lies, We'll never see, What's never been, At the ending of life and the coming of death, Pass not through its gates but into the dark. No members have liked this post.
|
#3
|
||||
|
||||
Re: Foobar2000 SHN > FLAC Conversion: A Visual Guide
I fixed a couple of the spelling mistakes just now and added a link to the blogsite... fix it up as you see fit just let me know if you do anything drastic.
__________________
Checksums Demystified | ask for help in Technobabble thetradersden.org | ttd recommended free software/freeware webring shntool tlh eac foobar2000 spek audacity cdwave vlc Quote:
No members have liked this post.
|
#4
|
|||
|
|||
Re: Foobar2000 SHN > FLAC Conversion: A Visual Guide
Nice guide there, Five. I never knew that FLAC decompresses at the same speed regardless of compression setting.
Maybe you (i.e. the mods) could make it site policy to include foo_bitcompare logs with a seed whenever a format conversion has been done? If someone is prepared to follow that tutorial through from beginning to end, a quick copy and paste job to a text file wouldn't hurt. No members have liked this post.
|
#5
|
||||
|
||||
Re: Foobar2000 SHN > FLAC Conversion: A Visual Guide
Quote:
As for requiring a foo_bitcompare log this is a great idea I'll think about that. Gotta say, since it requires copying and pasting a lot of data from a small window which can contain data from previous comparisons I'm not sure if everyone would find it easy to comply. When every seed with EAC in the lineage has a log included we can begin to ask for this as well.
__________________
Checksums Demystified | ask for help in Technobabble thetradersden.org | ttd recommended free software/freeware webring shntool tlh eac foobar2000 spek audacity cdwave vlc Quote:
No members have liked this post.
|
#6
|
||||
|
||||
Re: Foobar2000 SHN > FLAC Conversion: A Visual Guide
Thanks Five! Looking forward to trying this out. And using up any free time I thought I would have to go through ALL my shows and convert them when necessary.
No members have liked this post.
|
#7
|
||||
|
||||
Re: Foobar2000 SHN > FLAC Conversion: A Visual Guide
Five,
I have problems configuring the output of Diskwriter. After installing FLAC 1.1.1 which includes a new foobar2000 plugin, FLAC no longer appears on the list of file writers, but below Diskwriter on the left. It seems the only way to create a profile for FLAC is using the Legacy 0.7 output... thanks dBG No members have liked this post.
|
#8
|
||||
|
||||
Re: Foobar2000 SHN > FLAC Conversion: A Visual Guide
is there a way to check for SBEs from recently downloaded .flac files? The Frontend seems to only allow for that check during encoding.
thanks, and I'll be getting the latest foobar in just a second...
__________________
"I see The Nile Song ... Ok alright fine wonderful good right terrific great wonderful The Nile Song, ....... never heard of it" Roger Waters - Hamburg 1970 No members have liked this post.
|
#9
|
||||
|
||||
Re: Foobar2000 SHN > FLAC Conversion: A Visual Guide
Quote:
shntool is the only way to do this: http://www.audiophilia.net/shntool-shnlen.htm
__________________
Through the clouds, Throught the lies, We'll never see, What's never been, At the ending of life and the coming of death, Pass not through its gates but into the dark. No members have liked this post.
|
#10
|
|||
|
|||
Re: Foobar2000 SHN > FLAC Conversion: A Visual Guide
Quote:
No members have liked this post.
|
#11
|
||||
|
||||
Re: Foobar2000 SHN > FLAC Conversion: A Visual Guide
Quote:
hope this helps
__________________
Checksums Demystified | ask for help in Technobabble thetradersden.org | ttd recommended free software/freeware webring shntool tlh eac foobar2000 spek audacity cdwave vlc Quote:
No members have liked this post.
|
#12
|
||||
|
||||
Re: Foobar2000 SHN > FLAC Conversion: A Visual Guide
Quote:
__________________
Checksums Demystified | ask for help in Technobabble thetradersden.org | ttd recommended free software/freeware webring shntool tlh eac foobar2000 spek audacity cdwave vlc Quote:
No members have liked this post.
|
#13
|
||||
|
||||
Re: Foobar2000 SHN > FLAC Conversion: A Visual Guide
Quote:
No members have liked this post.
|
#14
|
||||
|
||||
Re: Foobar2000 SHN > FLAC Conversion: A Visual Guide
Hi, Jamie - tried this today for the first time, and......IT WORKED! LOL Thanks, man, excellent tutorial.
Dennis
__________________
DON'T MESSAGE ME FOR RE-SEEDS. I DO NOT DO THEM! AND UNLESS THEY WERE RECORDED THAT WAY, THERE WILL BE NO MORE 16 BIT VERSIONS. No members have liked this post.
|
#15
|
||||
|
||||
Re: Foobar2000 SHN > FLAC Conversion: A Visual Guide
Quote:
__________________
Checksums Demystified | ask for help in Technobabble thetradersden.org | ttd recommended free software/freeware webring shntool tlh eac foobar2000 spek audacity cdwave vlc Quote:
No members have liked this post.
|
The Traders' Den |
Similar Threads | ||||
Thread | Forum | Replies | Last Post | |
Foobar2000 Flac conversion - unholyone | Technobabble | 14 | 2006-02-20 11:18 AM | |
Foobar conversion or shntool conversion? - dancin_carrot | Technobabble | 14 | 2005-03-29 09:10 PM | |
SHN > FLAC conversions with foobar2000 0.8.3 - TheMamba | Technobabble | 4 | 2004-11-28 09:44 AM |
Thread Tools | |
|
|