Re: [osg-users] Information on ffmpeg thread safety

2010-01-11 Thread Robert Osfield
Hi Garret, On Sat, Jan 9, 2010 at 3:27 PM, Garrett Potts po...@cfl.rr.com wrote: After researching and talking with some others there is a way to make ffmpeg thread safe but you need to add a call back via the lock register api found in libavcodec and compile ffmpeg with thread support

Re: [osg-users] Information on ffmpeg thread safety

2010-01-09 Thread Garrett Potts
Hello Robert: After researching and talking with some others there is a way to make ffmpeg thread safe but you need to add a call back via the lock register api found in libavcodec and compile ffmpeg with thread support enabled. Internally they use the lock callback to allow for global

Re: [osg-users] Information on ffmpeg thread safety

2010-01-05 Thread Robert Osfield
Hi Garret, Thanks for reporting this issue, I'm afraid I can't add anything to the mix as I'm not too familiar with ffmpeg. However, it does sounds like we'll also need to protect some or all of ffmpeg calls. I'll have a look through the ffmpeg and have a think about how to tackle this is a

[osg-users] Information on ffmpeg thread safety

2009-12-31 Thread Garrett Potts
Hello All: Just recently I have been testing ffmpeg library (Not OSG's ffmpeg plugin) use within some tools we are doing. Over the past couple of days we have been hammering video in a multi threaded environment and it has come to our attention that ffmpeg is not thread safe. I have