Hi, On Fri, Oct 28, 2011 at 8:23 AM, wl2776 <[email protected]> wrote: > > Ronald S. Bultje wrote: >> >> Hi, >> I'm not sure if this works at all in FFmpeg from videolan's server, >> but you could test that by trying "ffmpeg -threads 2 -i file.h264 -f >> null -". If that uses multiple cores, your code is wrong and I can >> > > Yes, that works. > I've seen two threads with -threads 2 and one thread without that switch. > > I've shown you my code almost completely. One missing thing is call to > avcodec_decode_video2 > One more thing - I don't use FFmpeg demuxer, but use my, in separate thread. > It is based on the code from rtpdec_h264.c
That should be OK. I don't actually see your code, can you put it on github or so? Ronald _______________________________________________ libav-api mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-api
