[Ffmpeg-devel] erronous files with ffmpeg
Michel Bardiaux
mbardiaux
Mon Oct 9 15:26:31 CEST 2006
Muhammad Waseem wrote:
> Hello,
[snip mplayer-related OT stuff]
>
> At the same time, I can't process these files by ffmpeg. When I try to
> convert those files, it gives following error messages and terminates
>
> ----------------------------------------------------------------
> [root at laptop ~]# ffmpeg -i /root/Desktop/Tulsi/Gher\ Aaya\ Mera\
> Perdasi.avi
> m.mp3
> FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
> configuration: --prefix=/usr --incdir=/usr/include/ffmpeg --libdir=/usr/lib
> --mandir=/usr/share/man --cpu=x86 --extra-cflags=-O2 -g -pipe -Wall
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
> -fasynchronous-unwind-tables --enable-mp3lame --enable-libogg
> --enable-vorbis --enable-theora --enable-faad --enable-faadbin
> --enable-faac
> --enable-libgsm --enable-xvid --enable-a52 --enable-a52bin --enable-pp
> --enable-shared --enable-gpl --disable-static --disable-debug
> --disable-opts
> --disable-strip
> libavutil version: 49.0.0
> libavcodec version: 51.8.0
> libavformat version: 50.4.0
> built on Apr 15 2006 09:51:51, gcc: 4.1.0 20060304 (Red Hat 4.1.0-3)
Rather ripe, better update!
> Input #0, psxstr, from '/root/Desktop/Tulsi/Gher Aaya Mera Perdasi.avi':
> Duration: N/A, bitrate: N/A
> Stream #0.0: Audio: adpcm_xa, 18900 Hz, stereo
> Output #0, mp3, to 'm.mp3':
> Stream #0.0: Audio: mp3, 18900 Hz, stereo, 64 kb/s
> Stream mapping:
> Stream #0.0 -> #0.0
> Error while opening codec for output stream #0.0 - maybe incorrect
> parameters such as bit_rate, rate, width or height
> -------------------------------------------------------------------------------------
>
>
> How can I remove the errors in those input files???
>
> Any idea?
You're being told plainly that 18900Hz is not supported by mp3. Try "...
-ar 16000 m.mp3".
Greetings,
--
Michel Bardiaux
R&D Director
T +32 [0] 2 790 29 41
F +32 [0] 2 790 29 02
E mailto:mbardiaux at mediaxim.be
Mediaxim NV/SA
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
http://www.mediaxim.com/
More information about the ffmpeg-devel
mailing list