[opensuse-factory] Problem with ffmpeg
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? -- 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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday, 2010-02-27 at 00:38 +0100, Cecil Westerhof wrote:
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
Unless that command line works on the released distro, and fails only on factory, I fail to see why you post this on the factory list... :-? - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkuJJYwACgkQtTMYHG2NR9XL0ACePmqNxCib1+l/Xsv2T3CsdGlW Q9cAnjVvVkepNl3fZMsRz9PfxK3kdhvC =FzyX -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Am Samstag 27 Februar 2010 00:38:27 schrieb Cecil Westerhof:
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 dont't know... But I know that I have the same problem when using mythTV on openSUSE 11.2. I have mailed the maintainer of the ffmpeg package. Herbert -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On 02/27/2010 04:38 PM, Herbert Graeber wrote:
Am Samstag 27 Februar 2010 00:38:27 schrieb Cecil Westerhof:
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 dont't know...
But I know that I have the same problem when using mythTV on openSUSE 11.2. I have mailed the maintainer of the ffmpeg package.
Herbert Hey Group;
I downloaded ffmpeg and found that it has a problem which doesn't install all of the directories in the source like libpostprc. I had to go into each directory and make and install all of them so the problem is a ffmpeg problem not openSuSE. Also recently ffmpeg left out the libpostproc.pc -- 73 de Donn Washburn 307 Savoy Street Email:" n5xwb@comcast.net " Sugar Land, TX 77478 LL# 1.281.242.3256 Ham Callsign N5XWB HAMs : " n5xwb@arrl.net " VoIP via Gizmo: bmw_87kbike / via Skype: n5xwbg BMW MOA #: 4146 - Ambassador " http://counter.li.org " #279316 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
* Donn Washburn <n5xwb@comcast.net> [02-27-10 18:35]:
I downloaded ffmpeg and found that it has a problem which doesn't install all of the directories in the source like libpostprc. I had to go into each directory and make and install all of them so the problem is a ffmpeg problem not openSuSE. Also recently ffmpeg left out the libpostproc.pc
22:02 wahoo:~ > rpm -qfl /usr/lib64/vlc/video_filter/libpostproc_plugin.so|grep \.pc /usr/lib64/vlc/codec/libadpcm_plugin.so /usr/lib64/vlc/codec/liblpcm_plugin.so /usr/lib64/vlc/demux/libmpc_plugin.so 22:02 wahoo:~ > rpm -qf /usr/lib64/vlc/video_filter/libpostproc_plugin.so vlc-noX-1.0.5-1.pm.3.8.x86_64 22:02 wahoo:~ > rpm -qf /usr/lib64/libpostproc.so.51.2.0 libpostproc51-0.5.21861svn-0.pm.1.4.x86_64 22:02 wahoo:~ > rpm -ql ffmpeg |grep libpostproc 22:03 wahoo:~ > rpm -q ffmpeg ffmpeg-0.5.21861svn-0.pm.1.4.x86_64 22:03 wahoo:~ > locate libpostproc.pc nada -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
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
participants (5)
-
Carlos E. R.
-
Cecil Westerhof
-
Donn Washburn
-
Herbert Graeber
-
Patrick Shanahan