[FFmpeg-devel] Crash in multi-threaded encoding

Zuxy Meng zuxy.meng
Fri Mar 7 17:34:33 CET 2008


Hi,

2008/3/8, Shahbaz Ali (OmniBus - Stanford) <Shahbaz.Ali at omnibus.co.uk>:
> Hello,
>
> I am trying to use avcodeclib for HD MPEG2 encoding (720p and 1080i). Single threaded encoding works ok. But when I switch to multi-threaded encoding (4 threads) I get crash on 3rd call to avcodec_encode_video. I used GDB to find the address of crash and it is in "avg_no_rnd_pixels16_xy2_mmx + 94".
>
> Any help in this regard will be greatly appreciated.
>
> P.S. I am already using multi-threaded decoding perfectly using same libs. My platform is Win32 and I have compiled using MinGW.

Try a newer version of GCC.
-- 
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6




More information about the ffmpeg-devel mailing list