0
votes
0answers
69 views

Keep album art with ffmpeg while cutting a mp3 file

i try to cut a mp3 file but also keep its album art with ffmpeg. I found out that if the cut begins from 00:00:00 it does keep the album art, if not it does not keep it. I get an error message : ...
-1
votes
1answer
89 views

ffmpeg - convert audio (.au) to mp3

i'm using ffmpeg (on Ubuntu) to convert a .au file to .mp3. File mp3 is created but have 0 byte. That's my output: $ ffmpeg -i 12345678.au output.mp3 ffmpeg version 2.1.4 Copyright (c) 2000-2014 ...
1
vote
1answer
138 views

ffmpeg: how to set “joint-stereo” mode in mp3?

How to set joint-stereo mode in ffmpeg when converting from flac to mp3 format? Normally I use this command, but it produces "stereo" mode. I need "joint-stereo". ffmpeg -i input.flac -vn -ac 2 -ar ...
4
votes
1answer
49 views

Detect truncated mp3 or ogg files

I recently had a hard disk failure and could not rescue all my music files. Since I didn't have enough storage available to do a full backup of the disk, I tried to cp as many tracks as possible, but ...
0
votes
0answers
80 views

Add background music at specific time period in mp3 files using ffmpeg?

I want to add background music after every 5 seconds in .mp3 file using ffmpeg. I have 2 audio files : input1.mp3 of 5 seconds and input2.mp3 of 4 minutes 04 seconds. I want to add input1.mp3 after ...
2
votes
1answer
1k views

FFMPEG: Convert m4a files to mp3 without significant loss of information / quality. Automated bitrate

I have a load of audio files (about 1000) which I want to convert from m4a to mp3 so I can use play them on a CD player which has a USB port. I tried doing something simple like: ffmpeg -i FILE.m4a ...
1
vote
1answer
1k views

Convert mp3 to wav using FFmpeg for VBR

What command should I use to convert a mp3 file to wav whose bitrate is variable. Or better how would I know whether that source audio is fixed bitrate or variable?
0
votes
0answers
102 views

How does one take an MPEG4/MP3 AVI and re-encapsulate it in MP4?

I've been trying to take an old AVI file I have that has an MPEG4 video with MP3 audio and re-encapsulate it in an MP4 container. The audio was easy enough to figure out (-acodec libfaac), but I don't ...
0
votes
1answer
83 views

Running `tail -F $file` then removing outputted lines

Long story short; I'm running this command to stream a forever growing audio file audio.mpg into ffmpeg tail -F audio.mp3 | ffmpeg -i - http://127.0.0.1:8090/feed1.ffm audio.mp3 is being SSH'd from ...
1
vote
2answers
732 views

can't find a mp3 codec on ubuntu

Trying to convert an audio CD to mp3. ubuntu says ffmpeg is deprecated and I should use avconv Here are the codecs after i installed all I could find in aptitude for libav that provided codecs. ...
1
vote
2answers
409 views

Creating a drag and drop batch file to split an MP3 using ffmpeg

I've got a folder full of FFMPEG batch files that I've written to do various conversion tasks. These allow me to drag and drop a bunch of files and do a conversion - for example, decompressing MP3 to ...
1
vote
1answer
370 views

Convert 3gpp to mp3 using ffmpeg

I am trying to convert a recorded file on an Android device using Phonegap from .3gpp to .mp3 using ffmpeg libary. When I execute the code on the command line for conversion, I get following ...
4
votes
1answer
697 views

What lossy audio formats are more (or less) “efficient”?

This question is related to the answers I got to this question. The bitrate-efficient format (see the question's most voted answers and their comments thereunder) would be one that assures a good ...
1
vote
1answer
218 views

extracting mp3 audio from mp4: audio longer than video?

I have an mp4 video that has no audio/video sync issue. I tried to extract audio to an mp3 file, following the suggestion in this thread: Extracting audio from MP4 video into MP3 ffmpeg -i ...
2
votes
1answer
1k views

Converting MP3 to AAC and outputting to stdout

ffmpeg.exe -i s.mp3 -f aac - This is the command I run but it doesn't recognize the format AAC. Requested output format 'aac' is not a suitable output format pipe:: Invalid argument However when ...
0
votes
1answer
436 views

AAC converted from MP3 (FFmpeg) results in bigger size

I'm on Windows x64 converting MP3 file to AAC using FFmpeg. I tried these commands: ffmpeg -i file.mp3 -acodec aac -strict -2 file.aac ffmpeg -i file.mp3 -c:a libvo_aacenc file.aac Both commands ...
3
votes
2answers
1k views

Add silence to the end of an MP3

Do any of you know of a way of adding silence of a fixed duration to the end of an MP3, in Linux? For example using MEncoder, FFmpeg, etc? It needs to be command line as it will be scripted and ...
3
votes
1answer
2k views

Can FFMPEG convert mp3 files into m4a in full, i.e. with both audio and video streams (jpeg cover) copied?

I use Zeranoe build of ffmpeg. It converts mp3 files into m4a files just fine, as far as the audio stream is concerned, but I can't figure out a way to keep the songs album cover jpeg, which ffmpeg ...
0
votes
1answer
909 views

Can't convert FLAC to MP3 with FFmpeg

How can I convert FLAC to MP3 using FFmpeg? What I've tried: ffmpeg -i "file.flac" "file.mp3" Stream mapping: Stream #0:0 -> #0:0 (flac -> ?) Encoder (codec none) not found for output ...
1
vote
1answer
3k views

How to convert mp3 to flac

Can someone tell me how to convert a mp3 audio file to flac format using ffmpeg? I Googled extensively, but almost all resources point to converting flac to mp3, something like ffmpeg -i "input.flac" ...
1
vote
0answers
140 views

mp3 bug after ffmpeg converting

I'm converting wav (ima adpcm) to mp3 by ffmpeg ffmpeg -i audio.wav -acodec libmp3lame audio.mp3 and play it in browser by html5. But audio doesn't end at about 1-2 seconds from the end of file ...
2
votes
1answer
2k views

Dump/load metadata with FFmpeg (WMA to MP3)

I need to convert WMA metadata into MP3 ID3 tags. FFmpeg should be able to dump them into a file and load them back to another using implemented mappers. I cannot find syntax of usage though: ...
8
votes
1answer
14k views

FFmpeg command to convert MP3 to AAC

I can issue this command: ffmpeg -i input.mp3 -acodec alac -ab 128k -ar 48000 -ac 2 -y output.m4a to create a m4a file. But when I issue this command ffmpeg -i input.mp3 -acodec alac -ab 128k ...
0
votes
0answers
454 views

Join Audio and 2 Images Output as Video using FFmpeg and Video should be acceptable by youtube

I know this question is similar to the question here Join Audio and Image -> Output as Video using FFmpeg, But my requirement is bit more. I want to join to 2 image files with an audio file to ...
1
vote
1answer
4k views

FFMPEG able to convert m4a -> mp3, but unable to convert mp3 -> mp3?

FYI: Fedora 8 running on Amazon EC2... Having a difficult time with FFmpeg doing a (what should be pretty simple) conversion. I can get FFmpeg to encode an mp3 file from an m4a file using the ...
1
vote
0answers
973 views

how to create or extract a silent mp3 from a video file using ffmpeg or mencoder?

I am looking to create an mp3 of silence that is the same duration as the input video file using either ffmpeg or mencoder. Using ffmpeg I have tried this: ffmpeg -y -i in.avi -ab 8k -ac 1 -vol 0 ...
5
votes
2answers
2k views

Most efficient way to convert a large ALAC library to MP3

I have a large library of CDs ripped to alac which I use as my main music library. I'd like to convert a copy of this library to vbr mp3 for portable devices, however I don't want to have to do this ...
3
votes
1answer
3k views

Convert an MP3 from 48000 to 44100 Hz?

I have some MP3s that are in 48000 Hz sampling frequency. I'd like to burn them to CD, so I have to reduce the sampling frequency into 441000. How to do that using ffmpeg?
2
votes
1answer
349 views

ffmpeg lame mp3 problem

i wanted to install ffmpeg with lame mp3 support.its procedure is as follows: cd /usr/local/src/ffmpeg/ ./configure –enable-libmp3lame –enable-libogg –enable-libvorbis make && make install but i ...
0
votes
3answers
4k views

Unknown encoder 'libmp3lame'

I'm using ffmpeg to convert my files but when I tried to convert WAV -> MP3 I got this error. It's surprising for me cause I installed this one yesterday. What could happen?
6
votes
4answers
31k views

How to install libmp3lame for ffmpeg

I already have ffMpeg running on my test server. I would want to convert all possible audio files to mp3. I get the error 'codec not found'. here's what i typed: /var/www/i/uploads$ sudo ...
18
votes
8answers
6k views

Program to convert flac to mp3? [closed]

I'm looking for a program to convert flac files to mp3, while preserving the embedded metadata (including album art). I'm pretty sure this is possible with ffmpeg, but I don't know the command . . . ...
16
votes
4answers
6k views

Creating video with audio and still image for YouTube

I'm running the following command: ffmpeg -i audio.mp3 -ar 44100 -f image2 -i logo.jpg -r 15 -b 1800 -s 640x480 foo.mov Which successfully outputs a video with my recorded audio and an image on it. ...
1
vote
2answers
436 views

How to stich mp3s together with ffmpeg

I need to to make 10 mins videos with 5 x 2 mins mp3 samples stitched together. How would you do that with ffmpeg from the command line?
11
votes
7answers
7k views

Get MP3 Length in Linux / FreeBSD

I have a bunch of mp3 files with various length. I want to cut it down to 50%-60% length. Says, from 1 minute down to 30 seconds. It should be trivial using ffmpeg. But, I don't know how to determine ...