[Ffmpeg-devel] [PATCH] fix compilation with cavs decoder

Stefan Gehrer stefan.gehrer
Mon Jul 3 19:16:39 CEST 2006


Von: "Reimar D?ffinger" 
> Hello,
> adds a few necessary #ifdefs. No idea if completely disabling the parser
> is a good idea or not.

I was about to do it the same way.
Tested with CONFIG_CAVS_DECODER not set: Compiling is fine, running
ffmpeg fails like this:

stefan at chianti:~/ffmpeg$ ./ffmpeg -i ../stream01.avs test.avi
FFmpeg version SVN-r5598, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:
  libavutil version: 49.0.0
  libavcodec version: 51.9.0
  libavformat version: 50.4.0
  built on Jul  3 2006 19:07:28, gcc: 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
Input #0, mpeg, from '../stream01.avs':
  Duration: 00:08:48.0, start: 0.220000, bitrate: 2383 kb/s
  Stream #0.0[0x1e0]: Video: 0x0000,   inf fps(c)
  Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 160 kb/s
Output #0, avi, to 'test.avi':
  Stream #0.0: Video: mpeg4, yuv420p, q=2-31, 200 kb/s,   inf fps(c)
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
[mpeg4 @ 0x83807e8]framerate not set
Error while opening codec for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height


I guess this is the intended behaviour.

Regards
Stefan Gehrer
-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal f?r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer




More information about the ffmpeg-devel mailing list