Hot answers tagged

56 votes

Can I losslessly increase the volume of an MP3 file?

Yes. You can do this. The technique is used by a number of programs and the levels are calculated by an algorithm called ReplayGain. Mp3 volume level data can be adjusted losslessly, just as a JPEG ...
user avatar
  • 84.7k
52 votes
Accepted

Why are my MP3 files the same size, even when I change the bitrate with ffmpeg?

Because you're setting -q:a which is LAME's VBR setting. When you use -q:a, the CBR setting (-b:a) will have no effect. If you look into the MP3 encoding guide from the FFmpeg wiki you'll find the ...
user avatar
  • 214k
52 votes

After an MP3 file has downloaded is it possible to see where it was downloaded from?

On macOS, the source URL of the downloaded file itself, the URL of the referring webpage, and more information are often stored in the file's extended attributes. Finder: you can right click on the ...
user avatar
  • 686
46 votes

After an MP3 file has downloaded is it possible to see where it was downloaded from?

For a Windows equivalent to chrisk's macOS answer, the source of a downloaded file may be stored in an Alternate Data Stream called Zone.Identifier. This stream, if it exists, can be viewed with the ...
user avatar
  • 59.3k
42 votes

FFMPEG: Convert m4a to mp3 without significant loss

Use FFmpeg command line version. MP3 is officially discontinued (from 2017) and obsolete codec (I hope it will become dead as soon as possible). Interent-world has already switched to AAC (more ...
user avatar
  • 3,539
41 votes

Add .mp3 to the end of file names

I often use a command in Command Prompt in Windows, it's REN. The purpose is to rename a file or more. ren oldfile.png newfile.png But in this case, you need to rename multiple files, then we can ...
user avatar
39 votes
Accepted

What happens if a scratched CD is ripped to MP3?

Good CD ripper software like cdparanoia try their best to correct bad readings of a CD and will go over the affected part multiple times; sometimes for several minutes until the data is recovered. ...
user avatar
  • 606
32 votes

Add .mp3 to the end of file names

Just run ren * *.mp3 in cmd. You don't need 3rd party solutions in this case
user avatar
  • 23.8k
16 votes
Accepted

Will editing an MP3 harm the quality?

Yes. MP3 is lossy so if you re-encode the new file to MP3 with Audacity/LAME, you will lose quality. But if you output the cropped file using a lossless codec such as FLAC, the quality should be no ...
user avatar
  • 14k
14 votes
Accepted

Use FFMPEG to combine MP4 and MP3 file?

You'll have to map the input streams: ffmpeg -i video.mp4 -i genaudio.mp3 -map 0:v -map 1:a -c:v copy -c:a copy output.mp4 -y When the inputs have multiple streams of a type among them, ffmpeg picks ...
user avatar
  • 31.4k
14 votes

What happens if a scratched CD is ripped to MP3?

The MP3 file format consists of frames. Each frame starts with eleven "1" bits and also a couple bytes of metadata controlling the bit rate and defining some other attributes. Each frame is ...
user avatar
  • 71.1k
14 votes

Add .mp3 to the end of file names

LOL. so you have a bunch of numbered extensionless music files? Well, we can get the extension fixed so you can play the files. Also, once they're recognized as .mp3 files, they most likely will be ...
user avatar
  • 6,984
13 votes
Accepted

"Application provided invalid, non monotonically increasing dts" in ffmpeg

If the files play fine, you don't have to worry about it. It means that in the input file, the timestamps associated with samples are not increasing monotonically. That shouldn't be the case, but I ...
user avatar
  • 214k
11 votes

How do I split an MP3 file without re-encoding it?

The standard tool to do this not just for mp3 but for lots of audio and even video formats is ffmpeg: ffmpeg -i in.opus -ss 00:00:30.0 -t 00:03:00 -c copy out.opus Would take a 3 minute piece of in....
user avatar
  • 335
11 votes

Convert mp3 to wav using FFmpeg for VBR

According to @naught101 comment, I would follow this process to detect the best acodec: $ ffmpeg -formats | grep PCM DE f32be PCM 32-bit floating-point big-endian DE f32le PCM ...
user avatar
11 votes
Accepted

Loop audio file to a given length

ffmpeg can do that for you, but you might need two steps Optional Step 1: Find length of original file ffmpeg -i '/path/to/original.mp3' 2>&1 | grep 'Duration :' Now you can calculate the ...
user avatar
  • 19.3k
11 votes
Accepted

Why Is Conversion From An MP3 To WAV (PCM) Lossless?

PCM is one of the most used audio codecs; most computers (as well as many devices) use it as their default for audio output/input. All audio heard on this device, whether from a file, or a microphone ...
user avatar
  • 3,360
11 votes
Accepted

Trim multiple mp3 files at once

I know four methods: mp3DirectCut, Mp3splt-GTK, Mp3splt or ffmpeg mp3DirectCut (GUI version, best choice for quick results) After starting, go to File » Batch processing Add your mp3 folder, select ...
user avatar
  • 26.2k
11 votes

VLC is showing a different title than is in the mp3 metadata

VLC player: How to display file name on the title bar. Menu Tools -> Preferences (Show settings = ALL) -> Input/Codecs? Then at the very bottom of the right panel set the option "Change title ...
user avatar
  • 111
11 votes

Windows Media Player Changes not reflected in File Explorer

Steps to update apply media information from windows media player to files. Tools(Ctrl+M)->Options->Library-> tick "write media information changes to files" Update media information manually by ...
user avatar
11 votes
Accepted

Converting FLAC to MP3 using FFMPEG?

You say you are using Windows command shell, but the first command line you showed (the one that starts "for file in") doesn't look like Windows, more like some kind of Linux shell command. The second ...
user avatar
10 votes
Accepted

ffmpeg merging mp3, mp4, no sound with copy codec

Windows Media Player is picky when it comes to MP3 in MP4 container format. It does not like audio sample rates of less than 32 kHz, nor does it like 96 kHz or above (I did not test for an exact upper ...
user avatar
  • 52.2k
10 votes
Accepted

ffmpeg command for concatenate two mp3 files

To skip re-encoding, use the concat demuxer: Create a text file file '/path/to/first.mp3' file '/path/to/second.mp3' and then ffmpeg -f concat -i list.txt -c copy out.mp3 If re-encoding is fine, ...
user avatar
  • 31.4k
10 votes

Is AV scanning zip files with non-exe contains re-assuring/reliable?

ZIP doesn't change much. A competent AV program should report the same results for zipped and unzipped files. Non-executable files will generally be less likely to contain malicious code because ...
user avatar
  • 52.9k
9 votes
Accepted

Add album artwork to MP3 file without losing audio quality

You want to use copy for all (both) streams. By specifying a codec for all audio, you are re-encoding, which is why the bitrate changes. A copy operation ought to be faster as well. Slightly off ...
user avatar
  • 4,004
9 votes
Accepted

Crossfade many audio files into one with FFmpeg?

Filters work on raw sample data and output the same. Decoding occurs before data is sent to the filters and encoding occurs after all filtering is done. So, if the filter doesn't modify a portion of ...
user avatar
  • 31.4k
9 votes

After an MP3 file has downloaded is it possible to see where it was downloaded from?

It depends, but probably not. If the site writes its information to file metadata, then you'll be able to read that. But there is nothing inherent to the MP3 file that means you'll be able to see this ...
user avatar
  • 39.2k
9 votes

Is AV scanning zip files with non-exe contains re-assuring/reliable?

After a scan by an antivirus of zipped or unzipped files, you can be sure that it doesn't contain any virus that is known to the antivirus program. In other words, such a scan makes it a bit safer, ...
user avatar
  • 412k
8 votes

Loop audio file to a given length

This can be achieved by using (appending) the below command: -stream_loop -1 -i D:\music\mp4.mp3 This means that the D:\music\mp4.mp3 file should be looped infinitely, until the video ends. https://...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible