Hi

I am using FFMpeg and libva for getting hardware acceleration for my h.264
videos. With one H.264 stream everything is fine, but with two parallel
H.264 stream videos I am having a problem. I am creating two FFMpeg contexts
(AVCodecContext, AVFormatContext etc) and two vaapi context but I am having
problem with that. The errors that come are:

VdpOutputSurfaceCreate(): status 25: A catch-all error, used when no other
error code applies.

vdpau_video: VdpPresentationQueueBlockUntilSurfaceIdle(): status 3: An
invalid handle value was provided.

Can anybody tell me how to use two vaapi context with ffmpeg ? or is there
any restriction that two context cannot work ?

Also is there any way before we can know whether these error will come or
not, actual decoding the frame (i.e. before calling avcodec_decode_video2 or
calling vaPutSurface)

Thanks
Varun
_______________________________________________
Libva mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libva

Reply via email to