[Ffmpeg-devel] FFmpeg strange work

Måns Rullgård mru
Tue Jun 6 00:42:37 CEST 2006

"Sorokoletov, Alexander" <Sorokoletov at scnsoft.com> writes:

> Hi2everybody!
> I have a task to convert from one audio source to another.
> F.e. I have an mp3 file. If I use a command like this "ffmpeg -i
> tmp_1.mpga -f mp3 1.mp3" ffmpeg says he doesn't know such an input
> format. You see, the file tmp_1.mpga is an ordinary mp3 file but without
> extension. If I change extension to mp3, ffmpeg does convert the file. 
> So I have a question to all of us: does ffmpeg gets the file format by
> it's extension?

As of three minutes ago, ffmpeg detects mp3 audio by looking at file

M?ns Rullg?rd
mru at inprovide.com

More information about the ffmpeg-devel mailing list