Page 1 of 1

Issues while ripping FLAC files from audio CD

Posted: 18 Jan 2019 02:43
by Nightfirecat
I am using VLC 3.0.6 Vetinari (jenkins@6d126f0d580a Jan 9 2019 21:08:28) on a Windows 7 machine, invoking the rip with a command very close to the following:

Code: Select all

vlc -I dummy --no-sout-video --sout-audio --no-sout-rtp-sap --no-sout-standard-sap --ttl=1 --sout-keep \ --sout "#transcode{acodec=flac,ab=128,channels=2,samplerate=44100}:std{access=file,mux=raw,dst=C:/foo.flac}" \ --cdda-track=1 cdda:///Z:/ vlc://quit
When ripping audio from a CD to a FLAC file, I'm finding that I'm encountering numerous issues throughout the process.
  1. Frequently, the process will terminate prior to writing a file at all, or will write an incomplete file which cannot be played back
  2. Upon successful file writes, the resulting FLAC files appear to have no length metadata, displaying as 0 (zero) length in VLC and in other programs
  3. Successfully-ripped files do not have any metadata. I'm aware VLC is able to (attempt to) look up audio CD metadata online, is there some way to plug that into files being created via ripping?
Thanks in advance!

Re: Issues while ripping FLAC files from audio CD

Posted: 18 Jan 2019 18:19
by mederi
I remember some old forum post with a solution to rip cd into wav and then convert wav to flac.

Re: Issues while ripping FLAC files from audio CD

Posted: 15 Nov 2019 07:46
by Nightfirecat
After struggling with VLC, I abandoned it in favor of CUETools ( [url]http://cue.tools/wiki/Main_Page[/url] )--specifically the CUETools.ConsoleRipper and visual CUETools utilities.

It's unfortunately not a 100% CLI solution (ripping happens on the command line, splitting the ripped CD to individual tracks is a visual application), but it's the best I've found for getting expedient rips in lossless FLACs with some metadata included on the files. For any potential future Windows users looking for a solution to the problem in my original post, I highly recommend this as an alternative. I wrote a quick rip-cd script which you can use below:

Code: Select all

#!/bin/bash rm -rf ~/Desktop/cdRip mkdir -p ~/Desktop/cdRip cd ~/Desktop/cdRip /path/to/CUETools_2.1.6/CUETools.ConsoleRipper.exe --drive 'Z' /path/to/CUETools.exe ~/Desktop/cdRip/*.cue