How to install MS-GSM support patch?
Hi. I'm trying to install FFMPEG with MS-GSM support, and I was reading a thread on [Ffmpeg-devel] 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.
Hi again. I finally patched the r6917 by doing: []# patch patch.diff Now I get the same error but with a single difference: Unsupported codec (id=131073) for input stream #0.1 Instead of 'id=0', I get 'id=131073'. Any suggestion? On 1/19/07, thomas Armstrong <tarmstrong at gmail.com> wrote:
Hi.
I'm trying to install FFMPEG with MS-GSM support, and I was reading a thread on [Ffmpeg-devel] 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.
participants (1)
-
tarmstrong@gmail.com