Questions tagged [flac]

FLAC (acronym for Free Lossless Audio Codec) is an audio compression codec without loss of information.

Filter by
Sorted by
Tagged with
1 vote
1 answer
28 views

How can I convert DSD file formats to FLAC, WAV, (etc) with Linux?

I've recently started getting into more higher end HiFi, and found some downloads which are only available to buy in DSD format. (No FLAC available.) Can I convert to/from DSD formats to FLAC using ...
user avatar
  • 1,897
0 votes
0 answers
31 views

FLAC to ALAC, Lossless, Windows 11

I keep getting cryptic error messages when I try the methods I find on this site. I have a folder of FLAC files with cover art. I want to convert them to ALAC. Online converters convert to m4a, ...
user avatar
0 votes
0 answers
83 views

FFMpeg: convert any file (video/audio) to custom bitrate and dynamic range

So, in my specific case, I have a couple of FLAC files that are approximately 1500kb/s, and they are 24-bit. I want to convert them to 16-bit, and to make them around 500kb/s I didn't find any info ...
user avatar
0 votes
1 answer
10 views

MPV: Cycle through cover art (if multiple images are present) of the current playing flac file

I have flac files that contains several embedded cover art which includes front, back, booklet etc. Is it possible to cycle through cover art (if multiple images are present) of the current playing ...
user avatar
  • 341
0 votes
1 answer
25 views

After cutting out (with ffmpeg) a part of a music file (flac) the music player shows still the time stamps of the original file

I have one music file (in flac format). I wish to cut out a part from it. I does it with this command: ffmpeg -i file.flac -codec copy -ss 00:16:06.400 -t 158.760 result.flac ffmpeg successfully cut ...
user avatar
  • 27
0 votes
1 answer
26 views

Conversion from High Res FLAC to 16/44.1 FLAC, keeping all metadata

I want to convert High resolution flac such as 24 bit 96 Hz and others, to 16 bit 44.1 Hz CD format, while preserving all metadata. Any suggestions?
user avatar
  • 341
0 votes
0 answers
23 views

How can I use ffmpeg to stream (sync and async) flac audio?

Ffmpeg seems to be a good tool for streaming video and sound. How can I setup ffmeg to stream flac audio on demand (the time of the track can differ from user to user) and for broadcasting (all users ...
user avatar
  • 302
0 votes
1 answer
274 views

How to convert ffmpeg 24 bit flac to 16 bit alac?

I was needing help with the command to turn a 24 bit flac to 16 bit alac. To turn 24 bit flac to 16 bit flac: ffmpeg -i input.flac -sample_fmt s16 -ar 48000 output.flac To turn flac to alac: ffmpeg -i ...
user avatar
0 votes
0 answers
42 views

File turning into FLA file for no reason

I'll show you the steps I've been through: Downloaded a YouTube video of a soundtrack (6+ hours) using FFMPEG, in FLAC format Split it to many pieces using the FFMPEG -ss -to command. Since a glitch ...
user avatar
0 votes
1 answer
158 views

How to batch delete embedded covers from FLAC files

I came across a thread which discusses the way covers should be removed. https://askubuntu.com/a/1162249 These two commands seem to do the job: metaflac --remove --block-type=PICTURE,PADDING --dont-...
user avatar
0 votes
1 answer
295 views

How to convert flac inside mkv ffmpeg?

Guys! I was wanting to know if anyone can tell me how to losslessly convert FLAC audio to LPCM without any quality loss at all? This is info from of the mkv. Stream #0:0: Video, Stream #0:1: Audio: ...
user avatar
1 vote
2 answers
723 views

How can I batch convert a directory of subfolders from FLAC to ALAC?

Right now I'm converting each folder in Terminal manually using the following command, for i in *.flac; do echo $i; ffmpeg -i "$i" -y -v 0 -vcodec copy -acodec alac "${i%.flac}"....
user avatar
7 votes
2 answers
2k views

Windows: Recursively convert FLAC to MP3 w/ ffmpeg

I have ffmpeg installed and use batch files to convert MP4 h.264 to MKV x.265 successfully, but I have a problem with converting FLAC files to 320 kbps MP3 w/ no metadata needed. Although many posts ...
user avatar
  • 9,253
0 votes
1 answer
330 views

Incorrect Album Artist and First Track in Plex

I ripped my parent’s Christmas CD collection as FLAC files with Windows Media Player. The first track of every album is just titled “Track 1” and the album artist of every album is “Various Artists”. ...
user avatar
  • 249
2 votes
2 answers
1k views

FFMPEG conversion from MP3 to FLAC - why is the file so large?

So for various reasons I'm converting an MP3 to a FLAC with the following: ffmpeg -i x.mp3 -map 0 -map -0:v -compression_level 5 x.flac x.mp3 is 21MB and the resultant x.flac is 102MB I assume, ...
user avatar
  • 21
1 vote
1 answer
108 views

Converting one .ts file into a number of .flac files

I have a 45 GB .ts file of a concert. I want to take just the audio of the file and convert it to a series of .flac tracks. I tried to use vlc to convert the audio to .flac and then cut that file into ...
user avatar
1 vote
1 answer
184 views

What bitrate should I use when extracting channel from mp2 to FLAC with ffmpeg?

I have a stereo mp2 audio that I want to extract the right channel to a mono FLAC audio. The detected info of the mp2 is this: Audio: mp2, 44100 Hz, stereo, s16p, 224 kb/s I ran the extract command ...
user avatar
  • 113
0 votes
1 answer
678 views

WebM With a Still Image and an Audio

How can I join together a cover and a music into WebM with the best audio quality using ffmpeg? I really can't figure it out.
user avatar
1 vote
0 answers
151 views

Music database identifier (e.g. MBID) in EAC FLAC/Vorbis metadata

I want to … … rip Audio CDs with FLAC output using Exact Audio Copy (EAC). … include an universally unique identifier for the exact release (specific label/year/country/etc.), additionally to common ...
user avatar
  • 115
1 vote
0 answers
324 views

Windows 10 File Explorer: FLAC files taking longer to appear the first time their folder is opened

Microsoft did something to file explorer (Windows shell) a while ago (I think it started with the Fall Creators Update) that causes an incredibly annoying delay when opening a folder containing FLAC ...
user avatar
  • 330
1 vote
0 answers
558 views

How to get ffmpeg to copy lyrics from flac to mp3?

Using ffmpeg 4.2.1, Windows 10 64-bit, at the command line to convert. I am also using Tag&Rename and iTunes to set and view any ID3 tags. Here is the ffmpeg command I am using: ffmpeg -i input....
user avatar
0 votes
0 answers
294 views

Flac error when decoding

I have a song that cannot be converted or decoded or played with any player. When I use a flac frontend to attempt decoding i get the error: flac: ERROR, --until value is before --skip point ...
user avatar
  • 56.8k
2 votes
1 answer
2k views

Covert FLAC to AIFF while saving tags/metadata

I need a command-line tool to convert a bunch of XXX.flac files to XXX.aiff while preserving the tags (artist, title, album, etc.). None of the tools I tried (ffmpeg, sox, flac) seem to do the job ...
user avatar
  • 21
1 vote
2 answers
2k views

Converting m4a (alac) to flac using ffmpeg, output is lower quality?

I'm trying to convert my imported music collection to flac for compatibility reasons. Anyway, I'm converting using this command: ffmpeg -i file.m4a file.flac Now technically, this works fine, and ...
user avatar
  • 13
2 votes
0 answers
177 views

Detect Near-Duplicate Audio Files [closed]

Suppose I have a few directories of somewhere around 4000 audio files, about half of which are FLAC and the other half are MP3. Suppose I want to detect, not by tag metadata, but only by audio data, ...
user avatar
  • 896
0 votes
1 answer
1k views

How to use the Linux arecord command to generate multiple FLAC files?

I would like to use the Linux arecord command to record and save multiple FLAC type files using the file time flag or similar: --max-file-time For a wav file it is fairly straight forward to save ...
user avatar
2 votes
1 answer
221 views

ffmpeg -ss: issue with a flac uncompressed

I have my music library in FLAC Uncompressed, and I have an issue with at least one file, when using it with FFmpeg -ss option. If I convert it to FLAC level 0 it works fine. When using FFmpeg -ss ...
user avatar
  • 21
1 vote
1 answer
286 views

Flac to mp3 conversion offsets sound by a few ms

When running this simple conversion command: ffmpeg -i fileA.flac fileB.mp3 , the mp3 output is offset by about 5 ms. This does not happen if I try to convert to Vorbis/Ogg (i.e ffmpeg -i fileA.flac ...
user avatar
  • 1,500
0 votes
2 answers
614 views

How to best compress MP3/Flac so that download time is less? [closed]

How to best compress MP3/Flac so that download time/data is less? (like RAR and else) I'm afraid I get restricted access from my ISP.. so I want to compress the files as much as possible... if the ...
user avatar
5 votes
2 answers
11k views

Converting FLAC to MP3 using FFMPEG?

So I am using ffmpeg to convert flac files from a certain folder to mp3 at 320k bitrate. I am using this answer as a reference. https://stackoverflow.com/a/41096234/9259505 So the command I use in ...
user avatar
2 votes
1 answer
166 views

Seperating duplicates in different codecs in foobar2000 library

I have a music library that is mostly flac. However every .flac album has an .mp3 duplicate in a folder named 'albumtitle [mp3]', since I copy the mp3 versions to my smartphone. In foobar2000, ...
user avatar
0 votes
1 answer
100 views

Bulk convert a music collection with a mix of lossless and lossy formats

I have a large-ish collection of music files, most of which are flac, some mp3 and other lossy formats. I want to create a copy of the whole collection in mp3. The problem that I have is that when ...
user avatar
8 votes
1 answer
17k views

FFmpeg - convert WebM/Opus to WAV or FLAC in single step?

I want to create WAV and FLAC audio files from WebM files with Opus audio streams, and I want to do so without further degrading the audio. I am currently using a 2-step process as follows (WAV ...
user avatar
  • 191
1 vote
1 answer
2k views

What command line options should I use to convert FLAC level n to FLAC Level 8 without quality loss?

I have some very high quality FLAC files that I've purchased, which as a result take up a lot of space. I have the processing power and time, and I'd like to convert my entire FLAC library to FLAC ...
user avatar
2 votes
0 answers
186 views

Cannot rip audio CD where each track appears as a data track

Over the past few weeks I've converted my entire (store-bought) CD collection to .flac files, both for backup purposes as well as easier playback. Several of the CDs featured copy protection, but I ...
user avatar
  • 77
0 votes
0 answers
13k views

How do I normalize the audio volume of my FLAC collection?

It seems that some CDs have a much lower general audio volume than others. This is not a problem if listening to an entire album, but it becomes a problem, when listening in shuffle mode: there is a ...
user avatar
  • 703
1 vote
1 answer
1k views

ffmpeg resample to flac loud clicks/noise

I'm using ffmpeg to resample a DSD file to Flac & mp3. I don't experience any problems with the mp3 resample, but with the flac resample there is always a loud click at the end of a track, as seen ...
user avatar
0 votes
1 answer
462 views

Numerous FLAC files in my music library will play only with VLC - can anything be done?

I discovered today after upgrading and rebuilding some server hardware that Plex, Windows Media Server, and this new "Groove" thing won't play some of my FLAC files I ripped from CDs. These files ...
user avatar
1 vote
2 answers
6k views

Extract graphic images from FLAC audio files

I bought some music online and downloaded it in FLAC format, and I was pleasantly surprised to see some artwork apparently embedded into each audio file. I suspect that they're a bit higher ...
user avatar
  • 181
9 votes
2 answers
2k views

How can I copy coverart from flac to opus with ffmpeg

I am trying to convert some flac files which all have coverart embedded to opus with ffmpeg. All but the coverart gets copied over just fine, but I find myself unable to move the cover over as well. ...
user avatar
  • 91
2 votes
0 answers
475 views

ffmpeg FLAC decoding error

I am using ffmpeg to convert some FLAC files to other format, but it stops at this error ffmpeg version git-2017-03-23-1a5631d Copyright (c) 2000-2017 the FFmpeg developers built with gcc 4.8 (...
user avatar
  • 213
0 votes
2 answers
2k views

Lossless conversion from wav 24bits to flac

Is it possible to have a lossless conversion from a wav file Stream #0:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, 1 channels, s32, 1152 kb/s to a wav file ? I tried using ffmpeg : ffmpeg -...
user avatar
  • 121
1 vote
2 answers
602 views

.FLAC having the same bitrate as decoded .WAV

I got a .flac file (17.9MB, 24bit/96kHz) from the Internet and I am unable to figure out why it feels like there is no compression in the file at all. The decoded .wav(15.9MB, 24bit/96kHz) is a bit ...
user avatar
1 vote
0 answers
927 views

Create a .cue sheet using metadata from multiple .flac files

I'm in the process of tidying up my Cayin N5 music library and the player itself seems to fail in reading metadata from .flac tracks of single album (it lists filenames instead of song names written ...
user avatar
  • 111
-3 votes
4 answers
8k views

Which audio format truly has the best sound quality? [closed]

I've been to every website, and I've heard again and again that FLAC (Free Lossless Audio Codec) has the best sound quality AND it compresses the file. But I'm wondering if there is a format with ...
user avatar
  • 111
2 votes
1 answer
1k views

flac to "stereo mp3" not "joint stereo" using ffmpeg

After reading and trying contents of the post talking about flac to mp3 conversion, I didn't find the solution I try this command again and again for converting flac to "stereo" mp3: ffmpeg -i ...
user avatar
  • 131
1 vote
1 answer
798 views

FLAC - How to decode to terminal

I know how to decode my flac audio file into a wav, like this: flac -d flac.flac wav.wav, which converts flac.flac to wav.wav. But, I want to write the wav data to the terminal, so that I can pipe it ...
user avatar
0 votes
0 answers
210 views

Simple way to cut FLAC in Linux?

I'm looking for the simplest way to cut music in Linux (Fedora 25). It would be excellent if there's a command line option for doing something like: cut OriginalSong.FLAC -start 4m30s -end 5m15s >...
user avatar
0 votes
1 answer
10k views

ffmpeg FLAC to AAC encoding

I wanted to make sure that I'm not shooting myself in the foot and ask about this. So currently I have an audio file in a .mkv container that looks like this Audio: FLAC (framed) 48000Hz stereo ...
user avatar
1 vote
3 answers
2k views

Playing FLAC, Ogg Vorbis and Opus files over DLNA to a renderer

I'm trying to play FLAC, Ogg and Opus files from my Windows 8.1*HDD to my TV** over DLNA. Unlike MP3 and other files natively supported by Windows that work fine using the "Play to" feature of ...
user avatar