On Tue, Jan 4, 2011 at 2:05 PM, Leith Bade <[email protected]>wrote:

> Hi,
>
> I am new to FFmpeg.
>
> I am trying to create a small test ap that uses ATI's UVD hardware H264
> bitstream decoder.
>
> So far I have used the CPU FFmpeg decoder to decode the bitstream, and then
> render it to the screen with an OpenGL pixel shader doing the YUV to RGB.
>
> Now I am adding the hardware decoding part.
>
> What I need from FFmpeg is:
> The H264 stream such as the profile, level, width/height of the frame in
> macroblocks, and various other detailed flags
> like residual_colour_transform_flag etc. (the ATI docs say these are
> defined
> in the H264 standard).
> The raw bitstream divided up into NAL slices.
>
> How can I do this with FFmpeg?
>
> I found some stuff like level and profile in the AVCodecContext struct, but
> I am missing all the really low level stuff that ATI need.
> I also think that the AVPacket's data is the bitstream in NALs?
>
> Thanks,
> Leith Bade
> [email protected]
> _______________________________________________
> libav-user mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/libav-user


You can use vaapi for that.

Regards
Varun
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to