[FFmpeg-user] avformat_find_stream_info broken recently with multiple threads?

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Jan 2 11:49:41 CET 2013


Dennis Volodomanov <volodomanov <at> gmail.com> writes:

> > Just to make sure I do not misunderstand:
> > When you built pthreads, you could choose between static
> > and shared?
> 
> Yes, pthreads are built with "GC-static CROSS=...". I must 
> also mention, as it may be important, that the following 
> are also in effect:
> 
> export PKG_CONFIG_LIBDIR=
> export PKG_CONFIG_PATH="..."
> 
> (where ... are actual paths of course)

I probably simply don't understand above, but are you using 
different pkg_config paths when configuring pthreads and FFmpeg?

> > You decided static, and if you don't add the define to
> > the FFmpeg compilation, it fails?
> > Does the pthread auto-detection also fail without the define?
> 
> pthread auto-detection fails if I don't specify the 
> "--disable-w32threads", as it seems to pick w32threads. However, 
> without that define, linking fails, which I guess means it's 
> trying to link dynamic ones.

Could you post this linking error (with --disable-w32threads)?
That is, you run "make" several times and you always see the 
same error, then you run "make V=1" and post the complete, 
uncut console output of "make V=1" here.
(Please do never post the complete, uncut console output of 
the first run of "make".)

Thank you, Carl Eugen



More information about the ffmpeg-user mailing list