vaapih264enc - internal data stream error
While using vaapih264end plugin with videotestsrc, using I420 as input, it fails with Internal data stream error.
command: gst-launch-1.0 -v videotestsrc pattern=1 ! video/x-raw,format=I420 ! vaapih264enc ! filesink location=264.h264
Error trace is attached.vaapih264enc_trace_short.log
Some more tests:
- Reading from a file in i420 format also fails
gst-launch-1.0 -v filesrc location=test.yuv ! videoparse format=**i420 **width=320 height=240 framerate=30 ! vaapih264enc ! mpegtsmux ! filesink location=test.ts
- Although it works perfectly fine with nv12 gst-launch-1.0 -v filesrc location=test.yuv ! videoparse format=**nv12 **width=320 height=240 framerate=30 ! vaapih264enc ! mpegtsmux ! filesink location=test.ts
Confirm if there is something wrong with my build.
Thanks