I`ve already asked how to do it with ffmpeg but nobody replied. Maybe anybody know how to convert from mjpeg format? Do not suggest to use virtual dub to convert to avi as all it does is putting mjpeg inside avi container and I need to convert from mjpeg to some other format like mpeg or flv.
Your problem with that file is actually the audio sampling rate, 11024 Hz isn't supported by MP3. Easy enough to fix:
Of course, there are a lot of quality options you may want to set, such as the video (
The ffmpeg output actually told you this:
Note how the error was with stream #0.1, which is the audio stream. It (unfortunately!) doesn't tell you that the sample rate is wrong; you just have to know what your output codec is capable of. And for mp3, that's 8000, 11025, 12000, 22050, 24000, 32000, 44100, and 48000 Hz according to Wikipedia.