Hi All

One more thing I need to ask

while(av_read_frame(avctx,avp)>=0) {
 len = avcodec_decode_video2(avctx,frame,&framecompleted,&avp);
if(framecompleted) {
 /// The frame is not set when I use vaapi hwaccel context. I can't use it
to create a Jpeg, can anybody tell me how to initialize it using vaapi
surface
}
}
Thanks

Regards
Varun Dua

On Thu, Sep 16, 2010 at 11:27 AM, Varun Dua <[email protected]> wrote:

> Hi All
>
> I want to decode h.264 streams using libav and vaapi. I read the examples
> in the 
> http://www.splitted-desktop.com/~gbeauchesne/hwdecode-demos/<http://www.splitted-desktop.com/%7Egbeauchesne/hwdecode-demos/>.
>  They were building fine and running for a single frame only. But when I
> try out the examples with a h.264 video. I made changes in the example code
> to do so. But I am getting a lot of artifacts. Please if anybody has worked
> on libav and vaapi please help me. Thanks.
>
>
> Regards
> Varun Dua
> Integ. M.Tech in Mathematics and Computing
> Mathematics Department
> IIT Delhi
>
>
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to