Re: [Libav-user] ffmpeg threading

2014-11-05 Thread Ierum Shanaya
Hi, I did try to set the thread_count before opening the codec - open_codec_context, but it did not work? Any other pointers please. Thanks!! On Thu, Oct 30, 2014 at 6:16 PM, wm4 wrote: > On Thu, 30 Oct 2014 18:02:16 +0530 > Ierum Shanaya wrote: > > > Hi, > > > > Before means where? Could y

Re: [Libav-user] ffmpeg threading

2014-10-30 Thread wm4
On Thu, 30 Oct 2014 18:02:16 +0530 Ierum Shanaya wrote: > Hi, > > Before means where? Could you please specify the location. That would be > helpful. As I wrote in my first reply, before opening the codec. I also think setting the thread_type is not needed, although I'm not sure if setting it i

Re: [Libav-user] ffmpeg threading

2014-10-30 Thread Ierum Shanaya
Hi, Before means where? Could you please specify the location. That would be helpful. Thanks, Ierum On Thursday, October 30, 2014, wm4 wrote: > On Thu, 30 Oct 2014 12:42:49 +0530 > Ierum Shanaya > wrote: > > > hi, > > > > I am setting the thread_count as below: > > > > That is wrong. You have

Re: [Libav-user] ffmpeg threading

2014-10-30 Thread wm4
On Thu, 30 Oct 2014 12:42:49 +0530 Ierum Shanaya wrote: > hi, > > I am setting the thread_count as below: > That is wrong. You have to do it before, not after. ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav

Re: [Libav-user] ffmpeg threading

2014-10-30 Thread Ierum Shanaya
hi, I am setting the thread_count as below: code snippet: In example file - https://www.ffmpeg.org/doxygen/trunk/demuxing_decoding_8c-example.html int main (int argc, char **argv) { int ret = 0, got_frame; //unsigned long start, end; i

Re: [Libav-user] ffmpeg threading

2014-10-27 Thread wm4
On Mon, 27 Oct 2014 16:08:33 +0530 Ierum Shanaya wrote: > Hi, > > I am trying to run ffmpeg video decoding by creating multiple threads. The > problem i am facing is that only one thread is created, irrespective of > setting the thread_count to 0 or any no like say 2 , 4 etc. > > I did check th

Re: [Libav-user] ffmpeg threading

2014-10-27 Thread Carl Eugen Hoyos
Ierum Shanaya writes: > I am trying to run ffmpeg video decoding by creating > multiple threads. The problem i am facing is that > only one thread is reated Command line and complete, uncut console output missing. > it doesnt have --enable pthreads things.. Is this the issue? --enable-pthrea

[Libav-user] ffmpeg threading

2014-10-27 Thread Ierum Shanaya
Hi, I am trying to run ffmpeg video decoding by creating multiple threads. The problem i am facing is that only one thread is created, irrespective of setting the thread_count to 0 or any no like say 2 , 4 etc. I did check the config as below: *it doesnt have --enable pthreads things.. Is this t