Dear all

I am having some issues with time decoding H.264 frames with libavcodec. I am receiving 1920x1080 frames at 25 FPS, thus a frame should be displayed each 40 ms. But the decoding time per frame is between 55 ms and 83 ms, way too much. I am thinking at the following strategy: create 4 threads, each thread will decode a I-Frame slice (composed by SPS and PPS and IDR + all NACs until the next SPS&PPS&IDR). In theory, this should work on a >4CPUs processor.
My question is: is there any other way in handling this kind of situation?

Kind regards
Alex
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to