[Libav-user] h264 sps frame_cropping_flag = 1, dxva decode How to get left offset or top offset?

朱伟滔 15018405735 at 163.com
Sat May 20 10:36:35 EEST 2017

in H264 sps,I set a different sps
    bool frame_cropping_flag = 1;
        int frame_crop_left_offset = 100;
        int frame_crop_right_offset = 100;
        int frame_crop_top_offset = 100;

        int frame_crop_bottom_offset = 100;

when I decode the video and show it , dxva or vaapi  just show the top left corner(0,0), How can I get left offset or top offset in AVFrame?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20170520/cf4a3e23/attachment.html>

More information about the Libav-user mailing list