[Ffmpeg-devel] FFmpeg strange work

Sorokoletov, Alexander Sorokoletov
Mon Jun 5 14:25:37 CEST 2006


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?





More information about the ffmpeg-devel mailing list