Export in FLAC and keep original kbps

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
Awareman
Posts: 24
Joined: Fri May 01, 2020 9:02 pm
Operating System: Windows 10

Export in FLAC and keep original kbps

Post by Awareman » Fri May 01, 2020 9:11 pm

Hello,

My question is very simple. I have a FLAC file that has a bitrate of "1417 kbps". The file is around 34 megas. Compression rate 100%. 16 bits.
I wanted to make a small correction to it but then, when I export it, the kbps has been lowered to "989 kbps" with a compression rate of 70% and a file size of 24 megas. My export settings are at level 8, 16 bits. So why has my file been lowered down from 1417 kbps to 989 kbps? How to keep the original kbps? Seems that there is a loss somewhere! I didn't find any options to fix that.

Thanks in advance.

DVDdoug
Forum Crew
Posts: 9419
Joined: Fri Sep 10, 2010 11:30 pm
Operating System: Windows 10

Re: Export in FLAC and keep original kbps

Post by DVDdoug » Fri May 01, 2020 9:50 pm

FLAC is lossless, period. The different compression levels just determine how "hard" the compression algorithm works. Level 0 takes the least processing power an is the fastest. Level 8 takes the most processor power/time and it gives you the best compression (smallest file).

You can't choose an exact bitrate with FLAC. It depends on the original format, the audio content, and the compression level setting.
Compression rate 100%.
I guess that means it's uncompressed which is "odd" but I've heard of that before. (I can't be sure because we don't know the original uncompressed format.)

I assume it's from a CD? i.e. 44.1kHz, 16-bit, stereo is 1411kbps. (44.1k samples per second X 16 bits X 2 channels = 1411.2 kilobits per second.)

Awareman
Posts: 24
Joined: Fri May 01, 2020 9:02 pm
Operating System: Windows 10

Re: Export in FLAC and keep original kbps

Post by Awareman » Fri May 01, 2020 10:02 pm

Hello. Yes, it's from a CD. But don't be too hard on the explanations please, I'm not a sound engineer.
So, if I understand well, my file that is now 24 Megas with 989kbps is as good as the 34 megas with 1417kbps?

DVDdoug
Forum Crew
Posts: 9419
Joined: Fri Sep 10, 2010 11:30 pm
Operating System: Windows 10

Re: Export in FLAC and keep original kbps

Post by DVDdoug » Sat May 02, 2020 1:30 am

Yes it's the same. Lossless means that you get the exact same data back when you decompress. If you've ever used a ZIP file, that's also lossless compression. But Zip isn't optimized for audio and if you zip an audio or video file you have to decompress the whole file before you start playing it.

The odd thing is that your FLAC had a slightly hither bitrate than the CD. And, I'd say it's 0% compressed. ;)

MP3 is lossy so you don't get the original data back when you decompress.

Awareman
Posts: 24
Joined: Fri May 01, 2020 9:02 pm
Operating System: Windows 10

Re: Export in FLAC and keep original kbps

Post by Awareman » Sat May 02, 2020 8:49 am

Thank you for the information. I'm just a beginner with this and try to learn by myself.

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Export in FLAC and keep original kbps

Post by steve » Sat May 02, 2020 10:54 am

Awareman wrote:
Fri May 01, 2020 9:11 pm
I have a FLAC file that has a bitrate of "1417 kbps"
That is peculiar.
Did you encode it yourself, or did you download it like that? Is it a so called "hi def" audio file?

This webpage can analyze the file. https://mediaarea.net/MediaInfoOnline
What does it say about the original flac file?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Awareman
Posts: 24
Joined: Fri May 01, 2020 9:02 pm
Operating System: Windows 10

Re: Export in FLAC and keep original kbps

Post by Awareman » Sat May 02, 2020 1:07 pm

steve wrote:
Sat May 02, 2020 10:54 am
That is peculiar.
Did you encode it yourself, or did you download it like that? Is it a so called "hi def" audio file?

This webpage can analyze the file. https://mediaarea.net/MediaInfoOnline
What does it say about the original flac file?
I downloaded it like that. I have already the software MediaInfo on my computer and it says this:

Code: Select all

Format                                   : FLAC
Format/Info                              : Free Lossless Audio Codec
Durée                                    : 3 min 14s
Type de débit                            : Variable
Débit                                    : 1 415 kb/s
Canaux                                   : 2 canaux
ChannelLayout                            : L R
Echantillonnage                          : 44,1 kHz
Profondeur des couleurs                  : 16 bits
Mode de compression                      : Sans perte
Taille du flux                           : 32,8 Mio (100%)
Bibliothèque utilisée                    : libFLAC 1.3.1 (UTC 2014-11-25)

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Export in FLAC and keep original kbps

Post by steve » Sat May 02, 2020 1:21 pm

My guess is that the file was encoded with dbPoweramp. That's the only GUI application that I'm aware of that has the (pointless) option of "no compression".

"Normal" FLAC encoding will usually give around 40% file size reduction with no loss in quality. High compression settings usually give slightly smaller file size, still with no loss of quality, but encoding is a bit slower. Audacity's default setting (5) is a good trade-off between file size and processing time. Increasing the setting to the maximum (8) is only likely to be a few % smaller - not usually worth the extra processing time.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Awareman
Posts: 24
Joined: Fri May 01, 2020 9:02 pm
Operating System: Windows 10

Re: Export in FLAC and keep original kbps

Post by Awareman » Sat May 02, 2020 1:43 pm

Thank you.
With my computer, I really don't see much difference in time between 0 and 8. A few seconds maybe. So, I always use 8.

Another info on the properties says it's been encoded with "X Lossless Decoder 20141129a". And the media says "vinyl".
So, I'm not sure about the real source, it was mentionned as a CD-rip...

Anyway, not a big deal, my question has been answered. No loss, that's all I needed to know. Thanks for your replies!

Post Reply