I am trying to convert a mp4 file into flv with 2 audio channels & sample rate of 44.1 Khz (because .flv does not allow higher than that). Here is the pastebin for the error. As seen from the console output, I am using the latst build of ffmpeg.
3 Answers
The problem is you are resampling. Ffmpeg doesn't support resampling for 5+1 input channels, only for mono and stereo. Try converting it without specifying a sample rate and it might work. So try omitting the sample rate, that way the audio won't be resampled. Alternatively you might try just copying the audio stream (use -vcodec copy). Again the audio won't be resampled. You might also try first converting it to 2 channels intermediate file, and then resampling, but I'm not sure if this will work.
- 4,260
You need a newer version of FFMPEG. I got mine by downloading WinFF from Video Help over at http://www.videohelp.com/software/WinFF then I proceeded to use the ffmpeg.exe that the front end came with.
- 444
I had the same issue when I've installed ffmpeg from RPM, but then I took the lates version from here and it worked like a charm!
One note though, some flags have been changed, for example -sameq should be -qscale 0 when using the new version, so keep in mind that it needs to be tested well before using it on production environments.
- 815