[FFmpeg-devel] Crash in multi-threaded encoding

Benjamin Larsson banan
Fri Mar 7 17:23:12 CET 2008


Shahbaz Ali (OmniBus - Stanford) wrote:
> 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.
>
>
> Best regards,
> Shahbaz Ali
>
>   

Hi, submit a proper debug report, you can find out how you do that here:

http://ffmpeg.mplayerhq.hu/bugreports.html

MvH
Benjamin Larsson







More information about the ffmpeg-devel mailing list