于 2012/7/22 13:12, Roger Pack 写道:
> Greetings fellow program(mers).
>
> A "situation" occurred the other day where, using (cross compiled)
> ffmpeg+libx264 with mingw-w64, "--enable-pthreads" and the mingw-w64
> pthread library, some oddness would result, like the app would "hang"
> eating up 100% cpu, seemingly doing nothing useful.  I was told to
> bring it up here, as well.
>
> I attempted to capture stack traces during the time that it was "hung"
> (though who knows how accurate they are):
> https://gist.github.com/3125847
>
> Anybody have any clue/idea as to what is going on?
>
> It is reproducible using ffmpeg.exe from here:
> http://ffmpeg.zeranoe.com/builds/win32/static/ffmpeg-20120706-git-8293a21-win32-static.7z
> then download this file:
> http://rogerdpack.t28.net/incoming/sintel.mpg
> then run like this:
> $ ffmpeg  -y -i sintel.mpg -pass 1 -t 75 -c:v libx264 -an nul.mp4
>
> Hangs/pauses on the console occur sporadically.  When compiled using
> ffmpeg's "win32threads" option instead of pthreads, it never has
> hangs.
>
> Any help appreciated.
>
> Original thread: http://ffmpeg.org/pipermail/ffmpeg-user/2012-July/007861.html
> -roger-
>
Which edition MinGW64 GCC Compiler did you use? Can you give us the link?

Is it win32 thread or posix thread?


-- 
Best Regards,
xunxun


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to