Cecil Westerhof <Cecil@decebal.nl> writes:
I installed ffmpeg. When I try to convert a video file with something like: ffmpeg -i input.mov -f avi -vcodec mpeg4 -b 400k -g 150 -bf 2 -acodec libmp3lame -ab 64k output.avi
I get for input: Stream #0.1(eng): Audio: pcm_u8, 7875 Hz, 1 channels, u8, 63 kb/s and for output: Stream #0.1(eng): Audio: libmp3lame, 7875 Hz, 1 channels, s16, 64 kb/s
But I also get the following error: Error while opening encoder for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height
What is happening here?
I found the problem. The documentation on the ffmpeg site is not correct. You need also to use an -ar value. When doing this it works. The only problem is that it plays perfectly under Linux, but there is no (or not always) sound under Windows. So I'll keep using -acodec copy. :-{ And excuses for posting in the wrong group. -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org