vaapimpeg2dec: "tsdemux0: Internal data stream error" error message occurs during run vpp transcoding with iHD driver on SKL
Submitted by zj,wang
Link to original bug (#791561)
Description
Test Env:
Platform: SKL
Arch: x86_64
Kernel: 4.12.0-rc2
libva: master branch df544cd5a31e54d4cbd33a391795a8747ddaf789
repo: https://github.com/01org/libva.git
media_driver: master branch 81796c8a9e44b878e26064c898e0f4730e8220cf
repo: https://github.com/intel/media-driver
gmmlib: repo: https://github.com/intel/gmmlib
gst-vaapi: master branch b0d41c5d
Reproduce Steps:
- build env as above lists or according to wiki https://github.com/intel/media-driver
- take one case for example, run command
gst-launch-1.0 filesrc location=/media/ts/Sally.ts ! tsdemux ! mpegvideoparse ! vaapimpeg2dec ! vaapih264enc rate-control=cqp init-qp=4 keyframe-period=1 max-bframes=0 cabac=true ! qtmux faststart=true '!' filesink location=test.mp4 - error info. as below
ERROR: from element /GstPipeline:pipeline0/GstTSDemux:tsdemux0: Internal data stream error.
Additional debug info:
mpegtsbase.c(1613): mpegts_base_loop (): /GstPipeline:pipeline0/GstTSDemux:tsdemux0:
streaming stopped, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll