Skip to main content

Topic: Multiple FLAC files to Single FLAC+Embedded CUE? (Read 26505 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • encosion
  • [*][*]
Multiple FLAC files to Single FLAC+Embedded CUE?
Hiya,

I'm starting to think that a single FLAC file with embedded CUE sheet is quiet a neat approach for storage... So I'd like to convert my already ripped FLACs into this format... Any ideas where to start (without re-ripping my discs)?

(I'm not interested in the original rip being completely identical to the original CD - I.E. I don't care that the original CD has 2 second gaps between each track, I'm happy with no gaps at all...)

And what tagging sotware supports tagging / editing of multiple tracks within a single FLAC file with embedded CUE file?

Ta!

P.S. I'm on XP Pro... Would prefer a solution within foobar2000 if possible!
  • Last Edit: 04 June, 2005, 08:24:43 AM by encosion

  • neomoe
  • [*][*][*][*]
Multiple FLAC files to Single FLAC+Embedded CUE?
Reply #1
Quote
Hiya,

I'm starting to think that a single FLAC file with embedded CUE sheet is quiet a neat approach for storage... So I'd like to convert my already ripped FLACs into this format... Any ideas where to start (without re-ripping my discs)?


hi! load all flac-files into foobar, choose flac within your diskwriter output-properties then highlight and choose "convert" > "Run conversion, single file output".

Quote
(I'm not interested in the original rip being completely identical to the original CD - I.E. I don't care that the original CD has 2 second gaps between each track, I'm happy with no gaps at all...)


I dunno how2 create cuesheets from existing files, sorry. one solution would be to let EAC for example create a cue-sheet (provided that the original source-cd is present) and then alter the cue in an editor (the "WAV"-links into "FLAC") and write it to the flac-file. the forum should give you good results, how to do this exactly.

another solution would be, to get the cue-sheet from http://www.regeert.nl/cuesheet/

Quote
And what tagging sotware supports tagging / editing of multiple tracks within a single FLAC file with embedded CUE file?

Ta!


use foobar for that! you don't have to have several tags, because the single track information is stored within the cue, IIRC!

  • Deep_Elem
  • [*][*][*]
Multiple FLAC files to Single FLAC+Embedded CUE?
Reply #2
Shntool: http://www.etree.org/shnutils/shntool/

This is a command-line tool that will create a simple cuesheet for you and can also join the flac files into one flac file.

  • Synthetic Soul
  • [*][*][*][*][*]
  • Global Moderator
Multiple FLAC files to Single FLAC+Embedded CUE?
Reply #3
Quote
I dunno how2 create cuesheets from existing files, sorry. one solution would be to let EAC for example create a cue-sheet (provided that the original source-cd is present) and then alter the cue in an editor (the "WAV"-links into "FLAC") and write it to the flac-file. the forum should give you good results, how to do this exactly.

another solution would be, to get the cue-sheet from http://www.regeert.nl/cuesheet/

Not the best of solutions, but a solution:

I have written an application called CueMake. CueMake will take a folder of track WAVE files, and merge them into one image file with an accompanying cuesheet.  It will also populate the cuesheet's TITLE and PERFORMER commands using information from the source WAVE filenames.

Therefore, you would need to decode the track FLACs to WAVE, using tracknumber, title, artist and album info to name the WAVE files, and then use CueMake to create the cuesheet.  Version 1.0, which is a .NET console application, will let you just create the cuesheet (the default is to join the WAVE files into an image file at the same time).

Not ideal, as it requires you to decode to WAVE just to get the cuesheet.  However, if you did let CueMake create the image WAVE the process wouldn't be too bad:
  • Load FLAC tracks into foobar
  • Use diskwriter to decode to track WAVE files, with an "output filename format" of something like "%artist%\%album%\%tracknumber% - %title%.wav"
  • Run CueMake to join the WAVE files into one image file and create a cuesheet
  • Encode the image WAVE to FLAC and amend the cuesheet's FILE command to point to the FLAC file
  • Use foobar or my adaption of Tag to embed the cuesheet in a VORBIS CUESHEET tag (to retain TITLE/PERFORMER info)
What I really want is a foobar component to create a cuesheet from a playlist.  See this thread for more info.

There's got to be an easier way to create a cuesheet.  a foobar component seems the most obvious choice.

Edit: Posted at the same time as Deep_Elem.  shntool looks like a much more useful approach.

Edit 2: Just had a quick test with shntool - that rocks.  Very easy to use (I just used "shntool cue *.wav" in a folder of track WAVEs and compared to the original cuehseet).  Unlike CueMake it looks like you would need to add the meta data manually to the cuesheet, but the benefit of being able to create it directly from your FLAC files is great.
  • Last Edit: 04 June, 2005, 03:06:26 PM by Synthetic Soul
I'm on a horse.

  • Deep_Elem
  • [*][*][*]
Multiple FLAC files to Single FLAC+Embedded CUE?
Reply #4
To get the metadata into the shntool cue sheet load the cuesheet into foobar2k and download the metadata from freedb.

  • BloKosss
  • [*]
Multiple FLAC files to Single FLAC+Embedded CUE?
Reply #5
doesn't work -> (another solution to merge many files to a single file very quickly :

open a new .txt file (notepad) and write this:

copy /b *.flac result.flac

now save this file with the '.bat' extension, in the same directory than the files you want to merge.

execute the .bat file, now all your files will be merged in a single file named 'result.flac'. You can of course change the output name, the extension of the files to merge (not only flac files, but every kind of file)

to merge 2 files : copy /b x.flac+y.flac result.flac 

where x and y are the names of the 2 files to merge in 1

limitation : only merge files with the same extention , dos-names)
  • Last Edit: 24 June, 2005, 11:08:13 AM by BloKosss
Emu 1212m, PIV 2Ghz, ATI9550, WinXp, Debian Etch

  • jcoalson
  • [*][*][*][*][*]
  • Developer
Multiple FLAC files to Single FLAC+Embedded CUE?
Reply #6
not a good idea... the result.flac will not be a valid FLAC file.  though it may still decode, all the metadata and seeking will be messed up.

Josh

  • BloKosss
  • [*]
Multiple FLAC files to Single FLAC+Embedded CUE?
Reply #7
Quote
not a good idea... the result.flac will not be a valid FLAC file.  though it may still decode, all the metadata and seeking will be messed up.

Josh
[a href="index.php?act=findpost&pid=308591"][{POST_SNAPBACK}][/a]



yes bad idea indeed, it creates a file with the good size (the exact sum of all the sizes) but foobar reconizes it only as the first file to have been processed.
Emu 1212m, PIV 2Ghz, ATI9550, WinXp, Debian Etch

  • Synthetic Soul
  • [*][*][*][*][*]
  • Global Moderator
Multiple FLAC files to Single FLAC+Embedded CUE?
Reply #8
foo_cuesheetcreator will create a cuesheet from a foobar playlist.

So another option is now to use Diskwriter to concatenate the files, and foo_cuesheetcreator to create the cuesheet.

Don't you just love it when a plan comes together?
I'm on a horse.