Questions tagged [flac]

The tag has no usage guidance, but it has a tag wiki.

Filter by
Sorted by
Tagged with
0 votes
1 answer
459 views

FLAC encoders – any difference in output between the command-line tools?

I would like to know if there is any difference in the final output between the various command-line tools for encoding FLAC files, like ffmpeg, sox, the “official” flac etc. In some contexts, I have ...
fnix's user avatar
  • 53
0 votes
1 answer
195 views

Music player with seek function from command line

Popular Linux music players (Audacious, cmus...) don't have a seek function that can be invoked from command line. Is there any player with such a function to play FLAC format from a start time to an ...
nightcod3r's user avatar
0 votes
1 answer
47 views

Unable to Compress MP3 with Flac

I am trying to use FLAC to compress an mp3 file like below: flac -8 1-5f15c799beb953837480f0e29d872eb9.mp3 However, I keep getting the error ERROR: input file 1-5f15c799beb953837480f0e29d872eb9.mp3 ...
Polydynamical's user avatar
0 votes
1 answer
177 views

Modification Date on EXT4 files marked as Nov 29 1979

I am running Linux Mint 20.2 64 bit Cinnamon and these are FLAC files that are failing an integrity test. The files seem to play fine. Could this be because the Modification date is wrong. The date ...
David MacDonald's user avatar
1 vote
0 answers
72 views

speech recording and translate

I have a problem with converting from "wav" to "flac". Command: arecord -D plughw:0,0 -f cd -t wav -d 0 -q -r 16000 | flac - -s -f --best --sample-rate 16000 -o daveconroy.flac ...
chilyourlifefist's user avatar
0 votes
1 answer
142 views

What to do if easytag v. 2.4.2 corrupts flac files when saving an image to the metadata?

I experienced that my easytag version 2.4.2 has a bug which lets it corrupt flac files when trying to save a picture to them. It seems to depend on the size of the picture, smaller ones might work (e....
bomben's user avatar
  • 427
2 votes
1 answer
4k views

How to convert APE files to FLAC in Linux?

is there a way to convert a bunch of APE files to FLAC in Linux without altering them in any way? I mean without applying any replaygain, etc..
Zoltan King's user avatar
1 vote
1 answer
479 views

Need to convert a batch of wav in flac in different folder

I need to convert a lot of *.wav in different folder, i try to use find and flac to convert all this without missing name of the track in the folder. This is the line I try to use : find ./ -type f -...
troufiniou's user avatar
0 votes
1 answer
158 views

Analyse flac files in folder and delete all files with a bitrate under 950kbps

I'm looking for a simple shell command that analyses all flac files in a folder and deletes all files that have a lower bitrate than 950kbps. Now I have to fire up Clementine, browse to the folder, ...
Robert van Wingen's user avatar
0 votes
2 answers
310 views

Music player which supports custom FLAC tags

I'm reorganizing my music library and I'm hoping to use custom FLAC tags to better represent the contents of the files (most common tagging schemes work poorly for classical music, for example). ...
user avatar
1 vote
2 answers
3k views

Convert WAV to FLAC while preserving tags

Is there a command utility that can convert between various audio formats (or more specifically from wav to flac) while preserving tags? Or an utility that can copy tags from one audio file to ...
user3469976's user avatar
2 votes
1 answer
829 views

Is there a way to convert flac files to ape?

I need to convert flac files to ape. Googled for that topic, but seems like ape file is outdated, so no solution was found. Any tools, ideas to resolve the problem?
alexche8's user avatar
  • 181
0 votes
1 answer
153 views

How to use audio convert with terminal parameter?

I want to convert a set of flac files to aac using best resolution for aac file . I found this tool audio convert but I am missing the man page or a help side. The command works when I use audio-...
A.Dumas's user avatar
  • 405
1 vote
0 answers
377 views

How can I use paplay to play flac files to a PulseAudio sink?

I built a flac file with youtube-dl -x --audio-format flac "https://www.youtube.com/watch?v=kn_zSyYN_0k" I'm trying to play it with paplay but any combination I try I get static. paplay -p --file-...
Evan Carroll's user avatar
3 votes
2 answers
8k views

Batch convert (decode) audio into multiple formats with ffmpeg

I have a directory with a bunch of CD quality (16bit 44100Hz) wave-files. How can I batch decode those into different formats (lets say FLAC, OGG and MP3) using ffmpeg? Update: here are the commands ...
nath's user avatar
  • 5,440
0 votes
2 answers
1k views

What is the best way of getting rid of a symbol (question mark) in hundreds of FLAC files

I recently ripped my 600+ album collection to FLAC, and up until now i never noticed there was something wrong with the files. See the files themselves look normal viewing them from within Mint. And ...
Daniel Nielsen's user avatar
5 votes
4 answers
8k views

How to convert all .wav files in subdirectories to .flac?

I have some songs in wav format. I would like to convert them to flac (which is also lossless, but has compression). The solution needs to recurse through subdirectories to find .wav or .WAV files (...
MountainX's user avatar
  • 17.3k
30 votes
2 answers
40k views

Lossless audio conversion from FLAC to ALAC using ffmpeg

Both ALAC and FLAC are lossless audio formats and files will usually have more or less the same size when converted from one format to the other. I use ffmpeg -i track.flac track.m4a to convert ...
Paghillect's user avatar
2 votes
1 answer
2k views

Add missing length headers to flac file created by streaming

As I have recently learned, flac files created by piping encoded flac data to STDOUT are missing certain pieces of metadata, in particular information about the length of the recording. Is it ...
malexmave's user avatar
  • 133
0 votes
1 answer
689 views

flac: Output to stdout (-c) breaks, same command written to file (-o) works

I am trying to record audio using arecord, encode it to .flac using the flac tool, and then pipe it through a couple more processes (gzip, gpg, but irrelevant here). If I write the result from flac ...
malexmave's user avatar
  • 133
1 vote
2 answers
919 views

How do I get song names and artists from mp3 files in a dir?

I have a recovered dir with mp3 and flac files. The names were lost. So all I got is a mess of around 30,000 files iwth names like f30818304.flac I played some and see that the tags in the files are ...
Nelson Teixeira's user avatar
1 vote
0 answers
2k views

Converting FLAC with images into OGG with ffmpeg/libvorbis creates corrupt files

I have a script that extracts a specified subset of my music collection. Most of my music is FLAC; since space (and supported formats) may be an issue on the target device (smartphon, car radio, ...) ...
Raphael's user avatar
  • 2,035
1 vote
1 answer
919 views

Optimize find -exec {} with multiple conditions : specific files in a dir and specific subdirectories in this dir

My problem is related to music encoding on my NAS and optimisation of linux find command. I have write a script that is totally functionnal but I am sure this not the best way. To summarize: 1/ Script ...
S. Di Cioccio's user avatar
2 votes
1 answer
6k views

Converting files to OGG with FFMPEG produces an extremely large file

When trying to convert either an mp3 or flac file to ogg, the output ogg file is actually a flac file with a large file size. For instance: running for file in *.mp3; do ffmpeg -i "${file}" "${file/%...
user avatar
2 votes
1 answer
855 views

Broken pipe error when reading stops

I'm trying to make a quick & dirty bash function to compare the audio content of two FLAC files without decoding them into a temp file. With the flac command line tool I'm decoding each file into ...
Tamás Zahola's user avatar
10 votes
1 answer
473 views

Space-efficient Linux filesystem for music disk?

I have an older SSD in my laptop full of static data, mostly FLAC and a few zip files, there's very few files less than 10MB and likewise writes are weekly rather than multiple per second. I'm ...
Móż's user avatar
  • 203
0 votes
1 answer
2k views

Splitting a flac from a cuesheet metadata block

Some flac files apparently have a “cuesheet metadata block”. I know how to split flacs files with shnsplit when I have a separate cuesheet at hand (cf. “How do I split a flac with a cue?”), but how do ...
k.stm's user avatar
  • 689
5 votes
1 answer
5k views

convert wav to flac with tags

long story short: I need a script to convert wav files to flac, while taking the file name (minus extension) to place in the song title tag of the flac file. I have about 1200 audio CDs that I ...
Bunny's user avatar
  • 51
2 votes
1 answer
6k views

How to reduce size of a FLAC file without damaging its quality?

I got collection of vinyls which I paid for them to be digitized in FLAC. However my Hard Drive is getting full (91% full as of today) and the smallest of these vinyls is 2.3 GB in size! I would ...
Carl Rojas's user avatar
  • 1,049
0 votes
2 answers
4k views

How to burn lossless music to a CD?

I have a bunch of lossless files (.flac and .ape) that I would like to burn on a CD to listen to on any standard CD player (in my old car's for example), but I am unsure how to do it. Specifically I ...
Carl Rojas's user avatar
  • 1,049
7 votes
2 answers
11k views

How to convert WavPack to FLAC?

I need to convert a bunch of .wv files to .flac but I can't seem to find a program to do it. Does anybody know how I can do this? P.S.: I was wondering why Audacity does not support the importing .wv ...
Gary Maulin's user avatar
3 votes
1 answer
106 views

Flac playback in Iceweasel

Which package provides Flac support in Iceveasel on Debian Wheezy? At http://hpr.dogphilosophy.net/test/ all test clips work except the Flac file.
August Karlstrom's user avatar
3 votes
2 answers
2k views

Copy FLAC tags to MP3 files?

I have a number of FLAC files that I'm converting into MP3 files with the following: flac -cd file.flac | lame ... - file.mp3 Is there a utility which will copy Vorbis (FLAC and OGG) metadata, ...
Naftuli Kay's user avatar
  • 38.7k
3 votes
1 answer
3k views

Is there a way to check the losslessness of a FLAC file in Linux?

Let me explain my question with greater detail: I know FLAC is a lossless audio format with respect to the original file; this is, any piece of audio encoded with FLAC will be preserved completely. ...
Carl Rojas's user avatar
  • 1,049
17 votes
2 answers
11k views

Why can I not split a .ape file?

I would like to split a .ape album into individual tracks in .flac format using a .cue sheet. For this I followed a tutorial I found. In short I pass this command to the terminal: cuebreakpoints ...
Chris Daniels's user avatar
2 votes
1 answer
3k views

Why two .flac files which, allegedly, contain the same data, vary so much in size? [closed]

I would like to know why two .flac files which, allegedly, contain the same data, vary so much in size. I got two .flac files of the same music album (same songs, same track lengths, etc.), but they ...
Jack Mills's user avatar
3 votes
1 answer
2k views

How do I convert a TTA file and its CUE sheet into several FLAC files?

I have a sound file encoded in TTA format and a CUE sheet with its metadata. Which tools and commands do I need to convert it and split it into several FLAC files? I tried using ffmpeg to convert the ...
Aeder's user avatar
  • 33
0 votes
0 answers
553 views

Cannot build sox with FLAC support

I'm trying to configure and build sox v14.4.1 with FLAC support enabled, on Ubuntu. I have downloaded and installed flac and done an sudo ldconfig (just in case the libs were wrongly linked), but ...
jhtong's user avatar
  • 156
10 votes
3 answers
14k views

Convert FLAC files to OGG Vorbis

Are there any Linux tools for transcoding and syncing music directories? I encode my music to FLAC, which I keep on an external hard drive. Some time ago I transcoded this collection to OGG Vorbis, ...
user65870's user avatar
  • 101
9 votes
4 answers
15k views

How to display technical codec info for a FLAC file?

Given a .flac file, how is it possible to query and display the technical info relating to the codec? I looked into man flac with no luck (the --analyze output is not humanly parseable). I'm ...
landroni's user avatar
  • 10.3k
15 votes
1 answer
34k views

convert WAV music library to FLAC on command line and achieve best quality

I would like to produce (nearly) perfect FLAC files by verifying/checking all conversion steps. I'm hoping to do this in a single command, although a short bash script would be acceptable as a second ...
MountainX's user avatar
  • 17.3k
13 votes
4 answers
38k views

How do I convert FLAC files to AAC (preferrably VBR 320k+)?

I back my CDs up to FLAC and then transcode to AAC (.m4a) files for portability on my android phone and the wife's iPhone. I had been using XLD on Mac and it does a great job but I'd rather not steal ...
static's user avatar
  • 888
3 votes
1 answer
5k views

convert arecord output to flac

I'm trying to convert arecord wav output to flac and it does work in part: pi@raspberrypi /tmp $ arecord -d4 -f dat -t wav -r 48000 -c 2 |flac -f -o message.flac - --channels=1 --sample-rate=16000 ...
abolotnov's user avatar
  • 143
10 votes
3 answers
4k views

Copy all tags from one FLAC file to another?

Is there a way to copy all tags from one FLAC file to another seamlessly using a command-line tool?
Naftuli Kay's user avatar
  • 38.7k
6 votes
2 answers
2k views

How to encode huge FLAC files into MP3 and other files like AAC?

My problem is very long recordings, longer than supported by WAV. I'm talking about continuous recordings of around eight hours in length. Now, I do most of my recording using sox into FLAC, which ...
polemon's user avatar
  • 11.2k
5 votes
3 answers
4k views

FLAC correctness using MD5 placed in STREAMINFO

I know from [Sources], that FLAC computes CRC and MD5. What I am afraid that flac --test only does CRC test - as stated in man flac : same as -d except no decoded file is written . How to check flac ...
Grzegorz Wierzowiecki's user avatar
0 votes
0 answers
328 views

MP3+FLAC tag editor for Linux [duplicate]

Possible Duplicate: Which mp3 tagging tool for Linux? Are there any good batch tag editors for Ubuntu/Fedora? Which one is the best?
LanceBaynes's user avatar
  • 39.5k
3 votes
3 answers
5k views

Splitting WavPack files when the .cue file and .wv file have different names?

If a directory contains an album encoded as one large .wv file and a .cue file, splitting the entire album into individual .flac tracks is a simple task: $ cuebreakpoints foo.cue | shnsplit -o flac ...
boehj's user avatar
  • 2,580
101 votes
10 answers
94k views

How do I split a flac with a cue?

I've got a full album flac and a cue file for it. How can I split this into a flac per track? I'm a KDE user, so I would prefer a KDE/Qt way. I would like to see command line and other GUI answers ...
xenoterracide's user avatar
10 votes
4 answers
4k views

Mass .flac --> .mp3 transcoding: How to write a shell script that preserves ID3 tag information?

In recent weeks I've gone from a fairly 'hands-on' approach to .flac --> .mp3 transcoding, to one that's far more 'set & forget'. The first step was to stop using a GUI front end (Audacity with a ...
boehj's user avatar
  • 2,580