[Libav-user] Compiling under windows...

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Mar 10 14:31:07 CET 2014


Eric Trousset <etrousset at ...> writes:

> > > I m trying to build it under windows using MSVC
> > > toolchain, but need to disable encoders and decoders.
> > 
> > (Out of curiosity: What are you planning to use the
> > resulting binary for?)
> 
> To transmux medias

Note that some demuxers need some decoders to work 
correctly, so you may see problems.

> > > So I use the following configure param :
> > >
> > > ./configure --toolchain=msvc
> > > --prefix=/usr/local/ffmpeg-2.1.4-nocodecs-vs2013
> > > --disable-decoders –disable-encoders --enable-shared
> > 
> > Is the problem also reproducible if you don't
> > disable any FFmpeg features?
> > 
> > If I disable no features, it builds fine
> > 
> > > LINK : fatal error LNK1207: incompatible PDB format in
> > > 'c:\source_ext\ffmpeg-2.1.4\libswresample\swresample-0.pdb';
> > > delete and rebuild
> > > make: *** [libswresample/swresample-0.dll] Error 1
> > 
> > Could you confirm that you run make distclean
> > before configure?
> 
> Yes I did run distclean before configure

You could now test current FFmpeg git head or test if it 
works if you only provide --disable-encoders or only 
--disable-decoders.

Please fix your quoting, your email is nearly unreadable.

Carl Eugen



More information about the Libav-user mailing list