if we dump decode output with caps filter, images are wrong after the second frame,
steps.
- gst-launch-1.0 -v filesrc location=720P.265 ! h265parse ! vaapih265dec ! "video/x-raw, format=(string)I420, width=(int)1280, height=(int)720" ! filesink location=~/bits/1280x720.yuv
- check frames after the second frame.
- if we use following command " gst-launch-1.0 -v filesrc location=DBLK_D_VIXS_2.bin ! h265parse ! vaapih265dec ! "video/x-raw, format=(string)NV12, width=(int)1280, height=(int)720" ! videoconvert ! "video/x-raw, format=(string)I420, width=(int)1280, height=(int)720" ! filesink location=~/bits/1280x720.yuv", the output is good.
Edited by Xu Guangxin