[FFmpeg-trac] #393(avcodec:new): H264 + FF_THREAD_SLICE + w32thread crashes

FFmpeg trac at avcodec.org
Sat Aug 13 13:49:53 CEST 2011


#393: H264 + FF_THREAD_SLICE + w32thread crashes
---------------------------------------+----------------------
Reporter:  ronag                       |       Owner:
    Type:  defect                      |      Status:  new
Priority:  normal                      |   Component:  avcodec
 Version:  0.8.1                       |  Resolution:
Keywords:  mt thread slice win32 h264  |  Blocked By:
Blocking:                              |  Reproduced:  0
Analyzed:  0                           |
---------------------------------------+----------------------

Comment (by ronag):

 Replying to [comment:1 cehoyos]:
 > Can you reproduce the problem with ffmpeg (the application)?
 >
 > In any case, please provide a backtrace.

 I don't know how to run sliced threads instead of frame threads with
 ffmpeg (the application). I assume I would also need an -enable-w32thread
 build?

 Also I cannot provide any meaningful backtrace as I'm on windows and
 cannot build ffmpeg. I compiled the w32thread.c class in my windows
 project and called ff_thread_init, before the usual avcodec_open.

 The FF_SLICE_THREAD option only seems to call the "execute" function at
 all if I encode the file with the options, -slices 8 -tune fastdecode, if
 I don't provide -tune fastdecode then it won't call the execute function
 at all.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/393#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list