ffmpeg-ruby icon indicating copy to clipboard operation
ffmpeg-ruby copied to clipboard

not compiling against newer libavcodec?

Open tkharris opened this issue 12 years ago • 1 comments

It doesn't appear to be compiling against libavcodec v53. What version(s) does it compile against?

What I'm getting is

gcc -I. -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -DHAVE_LIBAVFORMAT_AVFORMAT_H -fPIC -fno-strict-aliasing -g -g -O2 -fPIC -c ffmpeg_avcodec.c ffmpeg_avcodec.c: In function ‘codec_type_map’: ffmpeg_avcodec.c:25:23: error: ‘CODEC_TYPE_VIDEO’ undeclared (first use in this function) ...

http://stackoverflow.com/questions/6465120/compiling-tutorial-programs-on-ffmpeg seems to make me think that references to CODEC_... have changed to AVMEDIA_...

tkharris avatar Mar 09 '12 21:03 tkharris

Oh yea, here's confirmation that CODEC_... have been deprecated in ffmpeg 0.7.1:

http://lists.alioth.debian.org/pipermail/forensics-devel/2011-August/003044.html

tkharris avatar Mar 09 '12 21:03 tkharris