> > gavl and gmerlin build and install fine for me.
> >
> > I am having problems with the latest CVS for avdec and encoders.
> >
> > I cannot configure avdec to use libswscale because of the problems I
> > reported with libavutil.
> >
> > ---------------
> >
> > with gmerlin_encoders, I get the following compile error:
> >
> > libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include
> > -I../../include -I/opt/gmerlin/include -I/include -I/include
> > -DLOCALE_DIR=\"/usr/local/share/locale\" -D_REENTRANT
> > -D_FILE_OFFSET_BITS=64 -march=nocona -mtune=nocona -O3
> > -funroll-all-loops -fomit-frame-pointer -ffast-math -I/usr/local/include
> > -I/usr/include/libxml2 -Wall -Wmissing-declarations
> > -Wdeclaration-after-statement -MT ffmpeg_common.lo -MD -MP -MF
> > .deps/ffmpeg_common.Tpo -c ffmpeg_common.c  -fPIC -DPIC -o
> > .libs/ffmpeg_common.o
> > ffmpeg_common.c: In function ‘bg_ffmpeg_add_video_stream’:
> > ffmpeg_common.c:297: error: ‘AVStream’ has no member named
> > ‘sample_aspect_ratio’
> > ffmpeg_common.c:298: error: ‘AVStream’ has no member named
> > ‘sample_aspect_ratio’
> > ffmpeg_common.c: In function ‘open_audio_encoder’:
> > ffmpeg_common.c:380: error: ‘AVCodec’ has no member named
> > ‘sample_fmts’
> > ffmpeg_common.c:381: error: ‘AVCodec’ has no member named
> > ‘sample_fmts’
> > ffmpeg_common.c: In function ‘open_video_encoder’:
> > ffmpeg_common.c:440: warning: ignoring return value of ‘fread’,
> > declared
> > with attribute warn_unused_result
> > ffmpeg_common.c: At top level:
> > ffmpeg_common.c:889: error: ‘SAMPLE_FMT_DBL’ undeclared here (not in a
> >             function)
> > make[2]: *** [ffmpeg_common.lo] Error 1
> > make[2]: Leaving directory
> > `/home/august/Downloads/gmerlin_encoders/plugins/ffmpeg'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory
> > `/home/august/Downloads/gmerlin_encoders/plugins'
> > make: *** [all-recursive] Error 1
> >
> >
> > It looks like ./configure found all the right headers.
> >
> 
> Ok, what is the exact ffmpeg version you are using? How can I reproduce
> it on my Ubuntu 10.04?
> 
> Usually I compile ffmpeg from source.
> 
> Burkhard


pkg-config --modversion libavcodec libavformat libavutil libavdevice 
51.57.0
52.14.0
49.6.0
52.0.0

I just did a check and found that I had ffmpeg headers in
/usr/local/include that came from a cinelerra install.  

If you compile cinelerra-cv from source and then install it, it copies
the ffmpeg headers to /usr/local/include AND it also makes versions of
the ffmpeg libs under /usr/local/lib with names like
libavcodec-cinelerra, etc.


After I removed the headers from /usr/local/include,  everything
compiles fine.  Can anything in configure be done here to check for
duplicate headers and at least spit out a warning? 

Ffmpeg is such a mess to deal with.

Unfortunately, I still have package problems with libswscale.  argggg.


-august.

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Gmerlin-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gmerlin-general

Reply via email to