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
  #16  
Old 2004-12-11, 08:05 PM
ssamadhi97's Avatar
ssamadhi97 ssamadhi97 is offline
meow.
87.81 GB/69.41 GB/0.79
 
Join Date: Nov 2004
Location: Old Europe
Re: Foobar2000 SHN > FLAC Conversion: A Visual Guide

Quote:
Originally Posted by malick
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...
SBE checking code for foobar2000

To add file format independent SBE indication to your playlist, append the following code to your playlist formatting string (Preferences -> Display -> Title formatting, Playlist tab):

$ifgreater($mod(%_length_samples%,588),0,$rgb(180,90,90,180,90,90)$num($mod(%_length_samples%,588),3 ),)

The result looks kinda like this:


Tracks with a red number after the playing time have an SBE. For example, in the screenshot above, only the Stolen Ogre tracks have SBEs.


note the nifty PacMan progress bar
Reply With Quote Reply with Nested Quotes
  #17  
Old 2004-12-21, 05:16 PM
jbeck57143 jbeck57143 is offline
541.04 GB/284.87 GB/0.53
 
Join Date: Nov 2004
Re: Foobar2000 SHN > FLAC Conversion: A Visual Guide

I just converted some SHNS to FLAC. The SHN file was 740MB, the resultant FLAC file was only 344MB--Everything bit compared okay, but when I converted the flac files to wav one track failed the md5 check. I converted the shn of the same track to wav and that one was okay. The two wavs aren't quite the same size: The one from the flac file is 60,153KB, the one from the SHN (which was okay) is 60,154KB

i have no idea why that is

Jim
Reply With Quote Reply with Nested Quotes
  #18  
Old 2004-12-21, 05:25 PM
RainDawg's Avatar
RainDawg RainDawg is offline
Renegade Geek
10.20 GB/20.72 GB/2.03
 
Join Date: Oct 2004
Location: Passing swiftly through The Moor
Re: Foobar2000 SHN > FLAC Conversion: A Visual Guide

99/100 times this is caused by addition data being embedded into the header of the .wav file. FLAC ignores and throws away non-audio data, so this header would dissappear during a WAV > FLAC > WAV transition. SHN does not trash this data, so the audio fingerprints will match even though the expanded .wav file is not identical to the one that created the initial shns.

You can run an shntool -len check on the .shn files, and it will tell if you there is additional data in the header, confirming this suspicion.
__________________
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.
Reply With Quote Reply with Nested Quotes
  #19  
Old 2004-12-21, 05:34 PM
jbeck57143 jbeck57143 is offline
541.04 GB/284.87 GB/0.53
 
Join Date: Nov 2004
Re: Foobar2000 SHN > FLAC Conversion: A Visual Guide

I just looked at the shntool results that came with the shn file. Here's what it says for the track in question:

length
5:49.14

expanded size
61596688

cd
---

WAVE
-e

problems
---xx

filename
bd1980-01-21d1t08.shn

What does "e" mean under "wave"?
Jim
Reply With Quote Reply with Nested Quotes
  #20  
Old 2004-12-21, 06:16 PM
ssamadhi97's Avatar
ssamadhi97 ssamadhi97 is offline
meow.
87.81 GB/69.41 GB/0.79
 
Join Date: Nov 2004
Location: Old Europe
Re: Foobar2000 SHN > FLAC Conversion: A Visual Guide

Quote:
The second entry will contain an 'e' if the WAVE file contains extra RIFF chunks, other than the required 'fmt'
and 'data' chunks.
copied straight from shntool documentation. *HINT HINT*
Reply With Quote Reply with Nested Quotes
  #21  
Old 2004-12-21, 06:30 PM
jbeck57143 jbeck57143 is offline
541.04 GB/284.87 GB/0.53
 
Join Date: Nov 2004
Re: Foobar2000 SHN > FLAC Conversion: A Visual Guide

Thanks! Boy am I a pinhead--I just found it in the tutorial--which I hadn't started reading yet. I haven't used shntool (I just got it).

Jim
Reply With Quote Reply with Nested Quotes
  #22  
Old 2004-12-21, 08:54 PM
ssamadhi97's Avatar
ssamadhi97 ssamadhi97 is offline
meow.
87.81 GB/69.41 GB/0.79
 
Join Date: Nov 2004
Location: Old Europe
Re: Foobar2000 SHN > FLAC Conversion: A Visual Guide

I can relate actually.. shntool's documentation structure isn't clean, I would've expected this kind of information either in the parameter-specific help of the exe itself or in the readme, but not just buried in some (ok, "the") tutorial.
Reply With Quote Reply with Nested Quotes
  #23  
Old 2004-12-21, 09:40 PM
RainDawg's Avatar
RainDawg RainDawg is offline
Renegade Geek
10.20 GB/20.72 GB/2.03
 
Join Date: Oct 2004
Location: Passing swiftly through The Moor
Re: Foobar2000 SHN > FLAC Conversion: A Visual Guide

By the way, when the FLAC is around half of the SHN, as in this case, that is the result of the audio being mono. For truly mono material, it is not uncommon to get this enormous improvement of the compression ratio .
__________________
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.
Reply With Quote Reply with Nested Quotes
  #24  
Old 2005-01-08, 04:00 PM
malick's Avatar
malick malick is offline
20.94 GB/21.04 GB/1.00
 
Join Date: Nov 2004
Location: OC and wondering why
Question Re: Foobar2000 SHN > FLAC Conversion: A Visual Guide

I got this, but where did you generate that output? Or have you created a whole ton of different interfaces to your foobar screen? I'd be interested in more code and how you did that. The programming part is a foreign language to me, so I'd be just copying and pasting.

thanks, great tip.

malick


Quote:
Originally Posted by ssamadhi97
SBE checking code for foobar2000

To add file format independent SBE indication to your playlist, append the following code to your playlist formatting string (Preferences -> Display -> Title formatting, Playlist tab):

$ifgreater($mod(%_length_samples%,588),0,$rgb(180,90,90,180,90,90)$num($mod(%_length_samples%,588),3 ),)

The result looks kinda like this:


Tracks with a red number after the playing time have an SBE. For example, in the screenshot above, only the Stolen Ogre tracks have SBEs.


note the nifty PacMan progress bar
__________________
"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
Reply With Quote Reply with Nested Quotes
  #25  
Old 2005-01-17, 04:57 PM
pmonk's Avatar
pmonk pmonk is offline
510.95 GB/621.08 GB/1.22
 
Join Date: Nov 2004
Re: Foobar2000 SHN > FLAC Conversion: A Visual Guide

Thank you!
Reply With Quote Reply with Nested Quotes
  #26  
Old 2005-03-01, 04:43 PM
cmaz's Avatar
cmaz cmaz is offline
Now he's just a bag of garbage
340.95 GB/843.78 GB/2.47
 
Join Date: Nov 2004
Location: Somewhere in time
Re: Foobar2000 SHN > FLAC Conversion: A Visual Guide

Hi,

sorry to be posting to what might be a dead thread, but i hope somebody is still around to answer...

i've just got foobar2000 and am not very experienced with it. i'm trying to follow this tutorial on how to convert SHN to FLAC. i've got foobar2000 v0.8.3 special and installed. Now, i go to <preferences> <diskwriter> and click <add new> but i don't get all the different options that i see on the screenshot from Five. All i have are
Legacy 0.7 output support
WAV (PCM 32bit floating point)
WAV (PCM, fixed-point)

What have i forgotten to do?
__________________
--
chris

----------Nothing is Real!
Reply With Quote Reply with Nested Quotes
  #27  
Old 2005-03-01, 05:38 PM
Five's Avatar
Five Five is offline
TTD Staff
186.65 GB/588.32 GB/3.15
 
Join Date: Oct 2004
Location: Canada
Re: Foobar2000 SHN > FLAC Conversion: A Visual Guide

Okay, try uninstalling and reinstall. Pay special attention at the beginning when it asks you "select the type of install". The default is "normal", so make sure you select "full" from the dropdown menu before pushing "next".
http://img57.exs.cx/img57/9166/fooba...stallation.gif

Then the extra options should be available when you push "add new".

hope this helps
__________________
Checksums Demystified EAC Config MakeTorrent WinAmp Config

Modern social theory casts a highly skeptical eye on any declaration that a group of persons is without conflict, and insists, on the contrary, that conflict is natural to groups, and even more, is essential to them. -Patrick Henry
Reply With Quote Reply with Nested Quotes
  #28  
Old 2005-03-01, 05:57 PM
cmaz's Avatar
cmaz cmaz is offline
Now he's just a bag of garbage
340.95 GB/843.78 GB/2.47
 
Join Date: Nov 2004
Location: Somewhere in time
Re: Foobar2000 SHN > FLAC Conversion: A Visual Guide

Five,

Thanks, that did the trick.
__________________
--
chris

----------Nothing is Real!
Reply With Quote Reply with Nested Quotes
  #29  
Old 2005-03-01, 06:43 PM
Five's Avatar
Five Five is offline
TTD Staff
186.65 GB/588.32 GB/3.15
 
Join Date: Oct 2004
Location: Canada
Re: Foobar2000 SHN > FLAC Conversion: A Visual Guide



a thread is never dead so long as there's something on-topic to add.
__________________
Checksums Demystified EAC Config MakeTorrent WinAmp Config

Modern social theory casts a highly skeptical eye on any declaration that a group of persons is without conflict, and insists, on the contrary, that conflict is natural to groups, and even more, is essential to them. -Patrick Henry
Reply With Quote Reply with Nested Quotes
  #30  
Old 2005-03-02, 08:48 AM
RainDawg's Avatar
RainDawg RainDawg is offline
Renegade Geek
10.20 GB/20.72 GB/2.03
 
Join Date: Oct 2004
Location: Passing swiftly through The Moor
Re: Foobar2000 SHN > FLAC Conversion: A Visual Guide

Yes, basically what happened is that you may have unselected the proper plugin during install (forget which one though ) that gives you a wide range of encoding options. By reinstalling with that plugin included, you should be good to go!
__________________
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.
Reply With Quote Reply with Nested Quotes
Reply

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

Similar Threads
Thread Forum Replies Last Post
Foobar2000 Flac conversion - unholyone Technobabble 14 2006-02-20 12:18 PM
Foobar conversion or shntool conversion? - dancin_carrot Technobabble 14 2005-03-29 10:10 PM
SHN > FLAC conversions with foobar2000 0.8.3 - TheMamba Technobabble 4 2004-11-28 10:44 AM


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 01:00 AM.


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