[GRASS-dev] Re: [GRASS GIS] #1423: GRASS 6.4.1 won't compile against FFmpeg 0.8

GRASS GIS trac at osgeo.org
Sat Apr 21 04:32:42 EDT 2012


#1423: GRASS 6.4.1 won't compile against FFmpeg 0.8
-------------------------+--------------------------------------------------
 Reporter:  sharpie      |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  critical     |   Milestone:                           
Component:  Default      |     Version:  unspecified              
 Keywords:               |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by marisn):

 Replying to [comment:2 glynn]:
 > Replying to [comment:1 glynn]:
 >
 > I've attached a minimal patch (attachment:ogsf.patch) to get OGSF to
 compile with recent FFmpeg. Can someone test that it (i.e. generating
 video from NVIZ) works?

 It compiles and produces output, still there are three issues:
  * output video has problems with color. I'm not certain if it wasn't
 present also before. Might be related to the next point:
  * VBV buffer size not set, muxing may fail (see full message below)
 {{{
 Output #0, mpeg, to 'asd':
     Stream #0:0: Video: mpeg1video (hq), yuv420p, 1021x766,
 q=2-31, 400 kb/s, 90k tbn, 25 tbc
 [mpeg @ 0x1b5f430] VBV buffer size not set, muxing may fail
 [mpeg @ 0x1b5f430] buffer underflow i=0 bufi=0 size=62369
 }}}
  * AVMEDIA_TYPE_VIDEO was introduced only in 2010. There might still be
 around older versions - needs a change in configure magic to refuse
 compilation with older versions

 http://git.videolan.org/?p=ffmpeg.git;a=commit;f=libavcodec/avcodec.h;h=72415b2adb2c25f95ceede49001bb97ed9247

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1423#comment:3>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list