HydrogenAudio

Lossless Audio Compression => FLAC => Topic started by: JW82 on 2021-02-27 17:11:43

Title: Split large FLAC file to single flac files, what level should I use?
Post by: JW82 on 2021-02-27 17:11:43
Hi everybody,

I have converted my entire CD collection to FLAC files. I choosed the option to have one single FLAC file for each CD with a CUE file.

Now I want to cut some tracks as FLAC file bit without loosing quality. So the single flac file shoud by equal to the track in the large flac file.

I have read that I can convert the track to FLAC again and the quality remains the same. Can someone confirm this?

If this is, what compression level should I use in the encoder settings in Foobar2k?
Title: Re: Split large FLAC file to single flac files, what level should I use?
Post by: korth on 2021-02-27 17:22:55
https://wiki.hydrogenaud.io/index.php?title=Flac
Title: Re: Split large FLAC file to single flac files, what level should I use?
Post by: DeadTrader on 2021-02-27 18:58:45
I doesn't matter what level of flac compression you use there is no difference in quality. I always use level 8. It takes only slightly longer to write the file but it gives you the smallest file size.
Title: Re: Split large FLAC file to single flac files, what level should I use?
Post by: Skie on 2021-04-22 09:48:23
I have quite a similar problem to JW82 except that I want to solve it without using the GUI, so I need to use FLAC.EXE with some parameters as commandline. Unfortunately, I can't find it. Does anyone know how to do it or some good link?
Title: Re: Split large FLAC file to single flac files, what level should I use?
Post by: Porcus on 2021-04-22 11:19:38
I have mentioned that you can use CUETools with command-line. Set up the profile using the GUI once, and then ...

(Lazy as I am, I would just drag and drop into CUETools anyway.)
Title: Re: Split large FLAC file to single flac files, what level should I use?
Post by: danadam on 2021-04-23 18:31:34
I have quite a similar problem to JW82 except that I want to solve it without using the GUI, so I need to use FLAC.EXE with some parameters as commandline. Unfortunately, I can't find it. Does anyone know how to do it or some good link?
"flac" has "--skip" and "--until" command line options:
Quote
--skip={#|mm:ss.ss}
  Skip over the first number of samples of the input. This works for both encoding
  and decoding, but not testing. The alternative form mm:ss.ss can be used to
  specify minutes, seconds, and fractions of a second.

--until={#|[+|-]mm:ss.ss}
  Stop at the given sample number for each input file. This works for both
  encoding and decoding, but not testing. The given sample number is not included
  in the decoded output. The alternative form mm:ss.ss can be used to specify
  minutes, seconds, and fractions of a second. If a `+' (plus) sign is at the
  beginning, the --until point is relative to the --skip point. If a `-' (minus)
  sign is at the beginning, the --until point is relative to end of the audio.
But I don't think it can read boundaries automatically from the CUE file. For that you'd need something like "shntool" (not sure if it is available on Windows): https://wiki.archlinux.org/index.php/CUE_Splitting
Title: Re: Split large FLAC file to single flac files, what level should I use?
Post by: Skie on 2021-04-23 21:47:28
I have mentioned that you can use CUETools with command-line. Set up the profile using the GUI once, and then ...
CUETool is not working with 24bit files, error Red something...
Title: Re: Split large FLAC file to single flac files, what level should I use?
Post by: kode54 on 2021-04-23 22:17:08
Redbook, which is 44100/16/stereo. You know, because Cue sheets were invented for CDs, which have a fixed format.
Title: SPLIT: Creating a single file with CUE from multiple files not ending on a CD frame boundary
Post by: korth on 2021-04-24 01:27:11
One or more of the messages of this topic have been moved to General - (fb2k) (https://hydrogenaud.io/index.php?board=27.0) - https://hydrogenaud.io/index.php?topic=120899.0
Title: Re: Split large FLAC file to single flac files, what level should I use?
Post by: Skie on 2021-04-24 17:54:09
My files are mostlu flac 24/44/6ch. I I checked the internet and really couldn't find any commandline program to split flac files from cue.
Title: Re: Split large FLAC file to single flac files, what level should I use?
Post by: Rollin on 2021-04-24 23:07:19
If you absolutely need this to be done in command line as a part of bat file, refalac (https://github.com/nu774/qaac/wiki/refalac-usage) can split multichannel 24-bit FLAC by cue, saving result in ALAC. refalac (https://github.com/nu774/qaac/releases/download/v2.72/qaac_2.72.zip) and libFLAC (https://www.rarewares.org/lossless.php) are needed for this. Then you can use ffmpeg again to convert ALAC to FLAC

foobar2000's Converter can be used from command line. But not as part of bat file. Because you need to add files to playlist first by one command and then start converting by another command. But problem is that foobar2000 doesn't report its state (because it is not command-line tool really). So , after adding files to playlist from command line, next command in bat file cannot be executed, as it keeps waiting for foobar2000 to report its state.
Title: Re: Split large FLAC file to single flac files, what level should I use?
Post by: Skie on 2021-04-25 11:16:18
Thanks, refalac maybe is good but i would like to make it direct, I'm pretty sure that it can be done by ffmpeg but duuno how.
Title: Re: Split large FLAC file to single flac files, what level should I use?
Post by: khelil66 on 2021-09-15 08:38:12
Hello everyone
I have 24 bit flac files
I would like to extract the tracks from these flac files.
I work under windows 7
help me solve this problem
thank you for your understanding

Title: Re: Split large FLAC file to single flac files, what level should I use?
Post by: Roseval on 2021-09-15 11:48:46
Media players like Foobar or Musicbee can do this
https://musicbee.fandom.com/wiki/Convert_Format