Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [mp3]

The tag has no usage guidance.

2
votes
2answers
391 views

Batch convert (decode) audio into multiple formats with ffmpeg

I have a directory with a bunch of CD quality (16bit 44100Hz) wave-files. How can I batch decode those into different formats (lets say FLAC, OGG and MP3) using ffmpeg? Update: here are the commands ...
0
votes
1answer
36 views

Is there a more lightweight solution to read/write MP3 with Linux+Python?

This works very well to export a WAV to MP3: from pydub import AudioSegment song = AudioSegment.from_wav("test.wav") song.export("test.mp3", format="mp3", bitrate="256k") but it requires to install ...
1
vote
2answers
52 views

How to find accumulated duration on several mp3 with command line?

I have a directory with a lot of mp3 files, and I need a simple way to find the accumulated duration for them. I know that I can find the duration for one file with ffmpeg -i <file> 2>&...
1
vote
2answers
51 views

List MP3 files and durations

So I want to show a list of MP3 files with their durations. ffprobe does show me a duration of a file. But its output is nasty. It puts everything into stderr and I have found no way to remove its "...
0
votes
0answers
12 views

How to fix incompatibly joined mp3 file (mono - stereo tracks were merged together)?

I have joined a couple of audio books, which were originally splitted in several parts, and were recorded from different radio stations. Earlier I made an mp3 joiner script, which uses ffmpeg and ...
0
votes
1answer
262 views

How to write replaygain tags with album gain using mp3gain?

I installed mp3gain and looking at the manual it seems it is not possible to write replaygain tags while using album tags. BUT perhaps I missed something. mp3gain optionally writes gain adjustments ...
1
vote
3answers
3k views

How to convert .mp3 to AAC?

I am using my Nokia C2-01 which does not accept mp3s. I am thinking how to convert my mp3s to aac because it should maintain the sound quality well. Another option is to convert mp3 to m4a but I ...
0
votes
1answer
394 views

omxplayer shuffle?

On my Linux machine, I am trying to shuffle all music in my directory and play it. When I run omxplayer $(ls -1b |sort -R), it says /usr/bin/omxplayer.bin: invalid option -- '\'. This doesn't make ...
1
vote
0answers
137 views

How to make 'sox' recognize 'lame'?

I tried to build sox on MacOS with MP3 support. A few months back; I forget the details, but it either would not build that way, or afterwards it failed to accept MP3. So I tried what was in the ...
3
votes
1answer
123 views

Does altering the amplitude of an mp3 file, using sox, alter the signal?

I've just used sox to reduce the amplitude by 3dB on an mp3 file, because the song was playing back too loudly. I used sox input-file.mp3 output-file.mp3 gain -3 Does this processing alter the ...
1
vote
1answer
261 views

Trying to decode mp3 file on NVIDIA Tesla K20c GPU on RHEL 6.6

I am trying to use mpg123 to play a mp3 file but am struggling to do it on a GPU. Upon doing a lot of research, the closest command I found for my requirement was: mplayer -vo vdpau and -vc ...
1
vote
0answers
28 views

Web VLC Player mp3 streaming from usb.hdd via 192.168.x.x:8090

Hi this works till now with my online links, but I can't get any music from my offline usb.hdd. Via console it works with the comment vlc play /media/pi/fmgNAS/Music/90_Discoteque_Mix_Vol.1/...
4
votes
2answers
262 views

Kalarm plays ogg sound alarms but not mp3

When attempting to create an audio alarm (or a display alarm with an audio component), Kalarm plays the audio if the file type is .ogg but refuses for files of type .mp3. When running Kalarm from ...
3
votes
1answer
2k views

Add a new custom metadata tag

I know how to change a tag value, and how to extract tag values of a file from its metadata, and yes we have great tools like id3tag, exiftool, ffmpeg and etc. But I need to add a completely new tag, ...
1
vote
1answer
613 views

Optimize find -exec {} with multiple conditions : specific files in a dir and specific subdirectories in this dir

My problem is related to music encoding on my NAS and optimisation of linux find command. I have write a script that is totally functionnal but I am sure this not the best way. To summarize: 1/ ...
2
votes
1answer
3k views

Converting files to OGG with FFMPEG produces an extremely large file

When trying to convert either an mp3 or flac file to ogg, the output ogg file is actually a flac file with a large file size. For instance: running for file in *.mp3; do ffmpeg -i "${file}" "${file/%...
5
votes
3answers
3k views

Merge mp3 files

Neither cat nor mp3wrap are working for me. They merge the files, but the when playing the resulting file, the audio length information is wrong. That is, it show the length of the 1st part (the part ...
1
vote
2answers
1k views

Bash script to get all mp3 file from a html page

I was thinking in a way to get .mp3 files from a html page, manually i did get using wget wget http://www.podcastfrancaisfacile.com/wp-content/uploads/files/question-prix.mp3 So, i try this for an ...
2
votes
0answers
395 views

mplayer: Problem opening sound files, gnome-mplyaer works, why?

I'm new to this community and this is my first question. I am using Debian 8.3 Jessie and have two sound files a.mp3 and b.mp3 on my hard drive. I am using mplayer and gnome-mplayer to open these ...
4
votes
1answer
437 views

Utility for copying ID3v2 tags to ID3v1?

I'm looking for a utility which will copy existing ID3v2 tags to ID3v1 counterparts alongside the original metadata in MP3 files. I have some legacy hardware that I'm not giving up any time soon and ...
2
votes
1answer
1k views

mpg321 playing too fast, at high pitch, via USB Audio

I'm trying to play an mp3 file on a Raspberry PI via USB Audio (iLuv Compact Speakers) and mpg321. For some reason, it's playing the audio just a little bit too fast, and at a higher pitch than it ...
2
votes
1answer
588 views

Joining all mp3 links in m3u file into a single mp3 file

I have an m3u file, which has links to many mp3 files online. When I play this m3u file in a player such as vlc, it works fine as long as the internet connection is good. My question is, what's a ...
1
vote
1answer
112 views

Bad ID3 tags when transferring mp3 to another device

I created mp3 files in Linux with the mp3wrap application and then I applied ID3 tags on it as follows: $ for i in *.mp3; do mp3info -t ${i%.*} -l yes1 -a yes $i; done When I look at a particular ...
2
votes
1answer
854 views

How to remove the APE tag in an MP3 file?

An MP3 file can support three different types of tags (that I am aware of): ID3V1, ID3V2.4 and APE. I would like to know how to remove an APE tag in an MP3 file or files, since it is giving me ...
0
votes
0answers
386 views

Why can't I edit the tags of some mp3 files?

I am having this weird problem while trying to edit the tags of my music library: I modify them with EasyTAG and there seems to be no problem (VLC recognizes the changes I make), but I then transfer ...
2
votes
1answer
1k views

Create SOX batch script to extract first 15 seconds and rename multiple files in folder

I have a folder with several MP3 files that I need to extract 10-15 seconds of audio from. I would also like to rename these by appending sample-(name).mp3 to the converted files. How can I do this ...
2
votes
2answers
2k views

Command line tool to fingerprint and tag MP3

I have a large collection of MP3 files, accumulated over the years. The collection is intermittently tagged, and many filenames are totally nondescript as well (e.g. file01.mp3, file02.mp3, etc). The ...
6
votes
2answers
2k views

Lossless conversion of MPEG ADTS MP3 to normal MP3

I have many MP3 audio files which are ADTS encoded. Unfortunately, my car radio doesn't support ADTS, so I need to convert them to normal MP3 files without a transport stream. There are many people ...
2
votes
1answer
1k views

Copy FLAC tags to MP3 files?

I have a number of FLAC files that I'm converting into MP3 files with the following: flac -cd file.flac | lame ... - file.mp3 Is there a utility which will copy Vorbis (FLAC and OGG) metadata, ...
2
votes
1answer
1k views

Is there a way to check the losslessness of a FLAC file in Linux?

Let me explain my question with greater detail: I know FLAC is a lossless audio format with respect to the original file; this is, any piece of audio encoded with FLAC will be preserved completely. ...
3
votes
1answer
99 views

abcde writes wrong play times to MP3 files

I don't know any solution to my problem. I don't even know the cause and have a hard time trying to find it. I am ripping my Audio CDs using abcde, which is, basically, working well. It is configured ...
7
votes
1answer
1k views

Playing MP3 in Firefox on Debian

Is there a way to get MP3 playback within Firefox 31+ without installing plugins? I know about the entire encoding issues, but I have read somewhere that Firefox will look for native OS encoders like ...
2
votes
1answer
6k views

Install MP3 decoder plugin in Fedora

When I attempt to play a mp3 file Rhythmbox displays the following error: How can I install the mentioned plugin?
1
vote
1answer
382 views

Play last few seconds of mp3

Is there any way to play last N seconds of an mp3 file on bash commandline?
12
votes
1answer
11k views

How do I `avconv` every m4a in a dir to mp3s?

So I'm trying to convert lots of m4as to mp3s, and I think the best way to do that is using avconv. The problem is, I can't seem to find any solid examples on how to use avconv. Looking at the man ...
4
votes
2answers
4k views

How to remove silence part from mp3 that is extracted from tv drama

I hear a mp3 that is extracted from some tv dramas as a English exercise. So in that mp3 there are lot of "silence part" in which no one speaks and there is no background music. Is there a way to ...
1
vote
1answer
217 views

Edit mp3 tags remotely from Windows

I have a Windows desktop at home. My mp3's are on a dedicated Debian server. How do I edit the mp3 tags on the Linux server from my windows PC with a GUI software? Is there a GUI software that can ...
5
votes
1answer
965 views

Replace CD number in MP3 ID3 tag

I have a library of MP3 files where in some files the "CD number" tag (TPOS) contains "CDx" values, e.g. "CD1" or "CD2". The ID3 spec says that TPOS values shall be numerical strings. Processing these ...
38
votes
5answers
36k views

Audible DRM Removal for personal use

I have a bunch of Audiobooks from Audible. I've made a complete switch from Windows to Linux but Audible do not support Linux. While there are some annoying ways around this I would like to convert my ...
22
votes
5answers
14k views

How can I *completely* wipe an MP3's metadata?

I'm using "beets" to organize my mp3s. One album I bought from Amazon as mp3s is incorrectly marked as NOT a compilation when indeed it IS a compilation. I organize my files differently based on ...
2
votes
3answers
3k views

shell script to batch convert M4V to MP3 using VLC?

I want to batch convert a directory of M4V video files to MP3 audio files using VLC. (I don't mind using ffmpeg alternatively.) I found a bash script to get me started, but I don't know which VLC ...
4
votes
1answer
1k views

mplayer2 playing pictures from mp3

Recently i've switched from mplayer to mplayer2 and there's one pestering thing: when i play an .mp3 file, and there is a picture embedded (here's an excerpt from exiftool output) Picture Mime Type ...
5
votes
1answer
13k views

sox returns an error when I try to handle mp3 files

Hello so here is the deal, I used: $ yum install sox To install it in CentOS 6. After that I did a quick test: $ sox test.mp3 test.amr and this is what it returns: $ sox formats: no handler for ...
4
votes
3answers
2k views

avconv creates creates files whose duration is incorrect

I am attempting to create a variable rate mp3 from a flac using the following command: avconv -i t.flac -id3v2_version 3 -vn -acodec libmp3lame -aq 0 t.mp3 avconv and mediainfo both list the ...
5
votes
4answers
2k views

Search mp3 collection for songs with a certain song length

How would I search a directory of mp3 files for songs between a certain length. Ex: findmp3 -min=03:00 -max=03:15 /music/mp3/ebm/ Would return all mp3 files in the emb/ directory having a song ...
4
votes
1answer
2k views

How do I get rid of unnecessary mp3 tags in my music library?

I have a massive bunch of music. Some of the tracks have unnecessary MP3 flags. How can I get rid of them?
8
votes
3answers
7k views

Remove duplicate mp3 with different name, size, and hash

I have a massive music library (all mp3), but I some of the music is almost the same but: Maybe one or two second longer About 97% the same as another song Or another bitrate. Is there a way to find ...
4
votes
1answer
2k views

Encoding of a zip file

When I extract some file (mp3) with japanese or korean characters within its filename on Windows, they appear normally, but when I extract it on Linux (Ubuntu/Mint) they appear as something like this ...
1
vote
1answer
277 views

Backtrack mp3 problem

I've installed Backtrack but I can't figure out how to play mp3files. I've installed ubuntu-restricted-extras,lame, libmp3lame but still won't work(I have Rhythmbox player, I've also tried Amarok). ...
1
vote
1answer
630 views

Rip audio CDs while keeping extraction and encoding separate

I'd like to rip my audio CDs to mp3. I know this has been discussed to a good extent but I'm not sure if my setup makes sense, though. I want to use an older PC for that and I have read on the net ...