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
0 votes
0 answers
74 views

concatenate flac, opus, wav file parts with ffmpeg

I tried concatenating two flac files with this command: ffmpeg -i 1.flac -i 2.flac -filter_complex '[0:0][1:0]concat=n=2:a=1[out]' -map '[out]' -c:a copy out.flac i get the following error message: ...
user1850133's user avatar
0 votes
0 answers
186 views

Converting ALAC inside .mp4 file to FLAC without quality loss with FFmpeg

So, I have a .mp4 video file recorded with OBS, and I realised that Sony Vegas does not accept the audio format because it is from Apple (it basically imports the video just fine, but the audio is 6 ...
GamingRevenant's user avatar
1 vote
1 answer
437 views

How to query media file metadata using ffprobe, e.g., track number?

I want a single command to retrieve track number (or other metadata) from an audio file using ffprobe.
awvalenti's user avatar
  • 129
-2 votes
1 answer
542 views

How can I convert a batch of flac files from 48000 24bit to 41000 16bit?

I need to convert a batch of flac 48000 24bit samples to 41000 16bit. I'd like to use ffmpeg from the command line.
black-clover's user avatar
2 votes
0 answers
1k views

Use shnsplit to split a FLAC file given a CUE file

Table of Contents What I'm trying to do What I've tried Attempt no. 1 Attempt no. 2 The question What I'm trying to do Let's suppose I have a FLAC file and a CUE file with the information to ...
rdrg109's user avatar
  • 185
2 votes
0 answers
544 views

Can't split 24bit flac files on the command line

I am trying to export a 24bit flac file in my ubuntu terminal. I've tried two different methods, but neither work. Method 1: shntool when I run this command: shntool split -f times.cue -O always -o ...
Martin's user avatar
  • 121
2 votes
1 answer
355 views

ffmpeg framemd5 - how do you get the checksums to match between LPCM and FLAC?

I'm converting losslessly compressed video and audio files (Utvideo/LCPM) into the FFV1/FLAC codecs using MKV as a container to save on storage space without compromise in quality. I'm using ffmpeg's ...
Antonio Banderéz's user avatar
1 vote
1 answer
271 views

If FLAC is a file format, how can one software make them smaller than ffmpeg with maximum compression?

While compressing all my FLAC files with the latest version of FFMPEG with maximum (12) compression level, it turns out that some of them become LARGER afterwards. How is this possible? Even if a non-...
Kiedrowski's user avatar
0 votes
1 answer
368 views

How do you convert PSF music files to FLAC without using some "online tool"?

I love the soundtrack to the 1997 PlayStation video game Breath of Fire III. I have its soundtrack as MP3 files on my computer. After hearing what a huge difference it made to go from MP3 to FLAC for ...
Juandavid's user avatar
0 votes
3 answers
530 views

Is there any hidden danger in re-converting all my FLACs with "-compression_level 12"?

For some time now, I have been upgrading my music library from bad-sounding MP3 files to lossless FLACs. This obviously takes much more storage space. The 465 GB internal disk which contains my "...
C. Castoro's user avatar
0 votes
2 answers
627 views

Lossy to lossless conversion (audio)

I have an mp3 file which i want to convert to a flac. I realise that it wont "improve" the quality rather I want it in a flac format so that when I edit it each time and re encode it, it won'...
John Strauss 15's user avatar
0 votes
0 answers
174 views

Copy tags from mp3 to flac using kid3 and Dupeguru

I have a folder of mp3 files, and also one of flac files. I want the mp3 files to be replaced with the flac files, with the original tags of the mp3 files. Using dupeguru, I can pinpoint which flac ...
bptbptbpt's user avatar
2 votes
2 answers
3k 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 ...
user3728501's user avatar
  • 2,764
0 votes
0 answers
640 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 ...
Andy3153's user avatar
  • 123
0 votes
1 answer
206 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 ...
Porcupine's user avatar
  • 453
0 votes
1 answer
465 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 ...
Su-47's user avatar
  • 117
0 votes
1 answer
1k 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?
Porcupine's user avatar
  • 453
0 votes
1 answer
2k 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 ...
phimius's user avatar
0 votes
1 answer
1k 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-...
Zoltan King's user avatar
0 votes
1 answer
1k 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: ...
niko7496's user avatar
1 vote
2 answers
5k 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}"....
Anthony0076's user avatar
8 votes
2 answers
5k 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 ...
K7AAY's user avatar
  • 9,623
0 votes
1 answer
907 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”. ...
Aido's user avatar
  • 249
2 votes
2 answers
3k 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, ...
Scott's user avatar
  • 21
1 vote
1 answer
173 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 ...
LittleMonster's user avatar
1 vote
1 answer
468 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 ...
reddy's user avatar
  • 113
0 votes
1 answer
2k 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.
Monsieur Pierre Doune's user avatar
2 votes
0 answers
236 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 ...
dakab's user avatar
  • 125
1 vote
0 answers
593 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 ...
Kleajmp's user avatar
  • 400
2 votes
0 answers
1k 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....
howdoicode's user avatar
0 votes
0 answers
859 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 ...
Moab's user avatar
  • 58.3k
3 votes
1 answer
5k 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 ...
Yuriy's user avatar
  • 31
1 vote
2 answers
4k 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 ...
Matthew's user avatar
  • 33
1 vote
0 answers
445 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, ...
EllipticalInitial's user avatar
0 votes
1 answer
3k 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 ...
user3430896's user avatar
2 votes
1 answer
402 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 ...
rdsu's user avatar
  • 21
1 vote
1 answer
525 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 ...
8176135's user avatar
  • 1,520
0 votes
2 answers
1k 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 ...
user920252's user avatar
5 votes
2 answers
17k 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 ...
Desmond Smith's user avatar
2 votes
1 answer
298 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, ...
Samuel Trainsworth's user avatar
1 vote
1 answer
202 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 ...
Samuel Trainsworth's user avatar
9 votes
1 answer
32k 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 ...
bryman79's user avatar
  • 201
1 vote
1 answer
3k 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 ...
RoldGold's user avatar
2 votes
1 answer
405 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 ...
Marlon's user avatar
  • 77
0 votes
0 answers
15k 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 ...
Herb's user avatar
  • 703
1 vote
1 answer
2k 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 ...
Sjoerd Staal's user avatar
0 votes
1 answer
718 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 ...
BrentHarsh's user avatar
1 vote
3 answers
9k 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 ...
AaronD's user avatar
  • 191
9 votes
2 answers
3k 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. ...
Tupsi's user avatar
  • 91
2 votes
0 answers
665 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 (...
boh's user avatar
  • 213