[Libav-user] FFMPEG decoding H264 and Multithreading

2013-02-11 Thread Jérôme SALAYET
Hello, In fact, in can't do test with Multithreading enable because I still have the message « The maximum value for lowres supported by the decoder is 0 », and I don't understand why (even if I set thread_count to 1). If someone could tell me if there's a mistake in my code, thanks a lot..

Re: [Libav-user] FFMPEG decoding H264 and Multithreading

2013-02-09 Thread Alex Cohn
On Fri, Feb 8, 2013 at 7:49 PM, Jérôme SALAYET wrote: > Hello, I'm using FFMPEG to decode video streaming from an IP Camera. all > seems good but I try to decrease the CPU usage of my application when I > decompress several differents streams. > In fact, I have a dual core processor, and if I deco

Re: [Libav-user] FFMPEG decoding H264 and Multithreading

2013-02-09 Thread Carl Eugen Hoyos
René J.V. Bertin writes: > multithreaded decoding only makes sense for H.264 with slices. This is not correct. Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] FFMPEG decoding H264 and Multithreading

2013-02-09 Thread René J.V. Bertin
On Feb 09, 2013, at 19:32, Camera Man wrote: > On 02/08/2013 07:19 PM, Carl Eugen Hoyos wrote: > >> You should use multi-threading if you want >> to decrease overall decoding time, if you >> need minimal cpu usage, force -threads 1 >> (multithreading always has an overhead). And, if it's still

Re: [Libav-user] FFMPEG decoding H264 and Multithreading

2013-02-09 Thread Camera Man
On 02/08/2013 07:19 PM, Carl Eugen Hoyos wrote: You should use multi-threading if you want to decrease overall decoding time, if you need minimal cpu usage, force -threads 1 (multithreading always has an overhead). Additionally, multithreading introduces a decoding delay of (number of thread

Re: [Libav-user] FFMPEG decoding H264 and Multithreading

2013-02-08 Thread Carl Eugen Hoyos
Jérôme SALAYET writes: > if I decode one stream, my CPU usage is very low > (so good). If I decompress two streams, it's ok too. > But if I had a third decompression, my CPU increase > from 2-5% to 25-30%.So, I try to activate > Mutlithreading in FFMPEG You should use multi-threading if you

[Libav-user] FFMPEG decoding H264 and Multithreading

2013-02-08 Thread Jérôme SALAYET
Hello, I'm using FFMPEG to decode video streaming from an IP Camera. all seems good but I try to decrease the CPU usage of my application when I decompress several differents streams. In fact, I have a dual core processor, and if I decode one stream, my CPU usage is very low (so good). If I deco