[Ffmpeg-devel] How to install MS-GSM support patch?

thomas Armstrong tarmstrong
Thu Jan 18 19:40:31 CET 2007


Hi.

I'm trying to install FFMPEG with MS-GSM support, and I was reading a
thread on this list dealing with "[PATCH] MS-GSM support: draft for
review" (started by Michel Bardiaux on Nov 6).

As I understood, I must download the revision 6917, right?
svn checkout --revision 6917 svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg

And I installed the library (on Linux Fedora Core):
[]# ./configure --enable-gpl --enable-mp3lame --enable-shared
--prefix=/usr --enable-libgsm
[]# make
[]# make install

But I get an error message when trying to convert an AVI video to FLV:
[]# ffmpeg -i video.avi -ar 22050 -ab 32 -f flv -s 320x240 video.flv
---------------
FFmpeg version SVN-r6917, Copyright (c) 2000-2006 Fabrice Bellard, et al.
  configuration:  --enable-gpl --enable-mp3lame --enable-shared
--prefix=/usr --enable-libgsm
  libavutil version: 49.0.2
  libavcodec version: 51.24.0
  libavformat version: 51.6.0
  built on Jan 18 2007 19:28:08, gcc: 4.1.1 20061011 (Red Hat 4.1.1-30)
[avi @ 0xa83e28]Could not find codec parameters (Video: msmpeg4v2, 320x240)
Input #0, avi, from 'video.avi':
  Duration: 00:00:29.4, start: 0.000000, bitrate: 825 kb/s
  Stream #0.0: Video: msmpeg4v2, 320x240, 24.99 fps(r)
  Stream #0.1: Audio: 0x0031, 22050 Hz, mono, 35 kb/s
Output #0, flv, to 'video.flv':
  Stream #0.0: Video: flv, yuv420p, 320x240, q=2-31, 200 kb/s, 24.99 fps(c)
  Stream #0.1: Audio: mp3, 22050 Hz, mono, 32 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
[flv @ 0x6c9144]removing common factors from framerate
Unsupported codec (id=0) for input stream #0.1
--------------------

As I'm concerned, this means my FFMPEG doesn't support the 0x0031
(MS-GSM) codec. What am I doing wrong? Thank you very much.




More information about the ffmpeg-devel mailing list