Questions tagged [flac]

Questions about the FLAC audio format. FLAC is an acronym for Free Lossless Audio Codec. The codec uses a compression scheme that was designed specifically for audio, resulting in a fast, good compression ratio with no loss of quality.

FLAC stands for Free Lossless Audio Codec, an audio format similar to MP3, but lossless, meaning that audio is compressed in FLAC without any loss in quality. This is similar to how Zip works, except with FLAC you will get much better compression because it is designed specifically for audio, and you can play back compressed FLAC files in your favorite player (or your car or home stereo, see supported devices) just like you would an MP3 file.

FLAC stands out as the fastest and most widely supported lossless audio codec, and the only one that at once is non-proprietary, is unencumbered by patents, has an open-source reference implementation, has a well documented format and API, and has several other independent implementations.

See About FLAC for more, or Using FLAC for how to play FLAC files, rip CDs to FLAC, etc.

NOTE: The above was taken directly from the project's website.

240 questions
0
votes
1 answer

How to cross-compile libFLAC as a shared library?

I am trying to cross-compile libFLAC for Windows from Linux. Here are the steps I have performed: I downloaded the latest release (1.2.1) and extracted the tarball. I applied a small patch: patch -p0 < my_patch.diff I ran the following command in…
Nathan Osman
  • 71,149
  • 71
  • 256
  • 361
0
votes
2 answers

How to programmatically convert audio (diy)?

I'm thinking about writing a FLAC to ALAC and/or FLAC to AAC converter, probably in C. Is it as simple as reading in one format and outputting another, according to format specs?? Any tips on method, language, etc would be great! Thanks!
nighthawk454
  • 943
  • 12
  • 20
0
votes
1 answer

C++ Speex to Flac wrapper/library

Application is using speex codec for transmitting audio to server. At server I need to decode speex to PCM (or something else ?) and then encode it using flac and send to Google Speech API. Is there any easy to use wrapper (or library) for…
user1307957
  • 541
  • 3
  • 8
  • 19
0
votes
1 answer

Transcoding from amr to flac using JAVE (ffmpeg)

I want to transcode amr audio files to flac using JAVE which uses ffmpeg. The transcoding procedure runs successfully on Windows but fails on Linux (centOS). I checked the JAVE code and found it uses the following command: ffmpeg -i 1.amr -vn…
0
votes
1 answer

how to convert WAV format to FLAC using libFLAC++

how to convert WAV format to FLAC using libFLAC++ (encode.h and decode.h)
markus
  • 11
  • 1
  • 1
-1
votes
1 answer

Incorrect values for song length (duration) in Mp3tag after ffmpeg FLAC to MP3 conversion

The problem As per this post, I use the following command to convert a flac file to mp3 while keeping all metadata: ffmpeg -i input.flac -ab 320k -map_metadata 0 -id3v2_version 3 output.mp3 When inspecting the converted mp3 file by right-clicking…
Clueless
  • 61
  • 8
-1
votes
1 answer

Segmenting .flac files with ffmpeg truncates audio but not file length

I am trying to get Twitter spaces audio (.ts) files into a format I can easily edit, on OSX. So far I was able to convert the files in bulk to .flac with this: for i in *.ts; do name=`echo "$i" | cut -d'.' -f1` echo "$name" ffmpeg -i "$i"…
Yan White
  • 41
  • 4
-1
votes
1 answer

ffmpeg: combine 2 .m2ts files into one mkv/flac file

I'm currently using ffmpeg -i /mnt/dvd/BDMV/STREAM/00003.m2ts -vcodec copy -c:a flac -ignore_unknown output1.mkv to backup some Blurays and this has been fine for the smaller discs, but I'm coming across ones with multiple .m2ts files that would be…
dimm0k
  • 13
  • 3
-1
votes
1 answer

Python 3.x: Extract front cover from FLAC file and save

I was trying to learn the basics of Python during the last months and I found many answers on stackoverflow. But now it's time to ask my first question because I can not find anything helpful. I have a FLAC audio file and want to extract the front…
Christian
  • 41
  • 5
-1
votes
1 answer

flac codec, 2 files, same duration, but different memory sizes

So I have 2 audio flac files converted from mp4 files. Both are 31 seconds long but one is of 1MB and the other one comes out to be of 4MB. Well, I am using ffmpeg with 8000 sample rate in exactly the same manner. Can anyone explain why this could…
asmicapri
  • 83
  • 6
-1
votes
1 answer

Taglib flac Cover

Hi when I try to get the album cover from a flac file using Taglib I get this error Index was outside the bounds of the array. Even though I know that the flac file contains an image. I'm using this code: TagLib.File f = TagLib.File.Create(path);…
Kyeman
  • 57
  • 1
  • 5
-1
votes
1 answer

Sending flac stream to google speech server via delphi

which is the best and easiest way to send flac data as stream to google speech server? to get result as json file. I have component (newac) to record audio as flac but couldn't solve how to send it's stream data to google speech server
-1
votes
2 answers

Need help writing a script to separate my .flac files into a separate folder library

So I have a music folder full of different file formats all mixed together. It IS well-structured: Music/[Artist Name]/[Album Name], with compilation albums in a folder called "Various". Some folders contain just .mp3, .m4a, or .flac files, and…
-2
votes
1 answer

PHP ZipArchive, play FLAC audio file which is inside a zip archive without extraction

It is about the following: I like to play an audio file which is inside a zip archive without extraction. This is my current approach: open(dirname(__FILE__) . '/archiv.zip')) { $string =…
daslicht
  • 814
  • 10
  • 26
-4
votes
1 answer

Music Format Conversion C# or Java

I'm Trying to make a program to take my FLAC files off my desktop, convert them to mp3 and then put it on my phone, How can I compress the music into mp3?
ljacquet
  • 29
  • 6
1 2 3
15
16