GNOME Bugzilla – Bug 796233
[gstreamer-msdk-master][APL] mpeg2 encode fail with message "inner_rawvideoparse: Internal data stream error"
Last modified: 2018-05-21 05:39:36 UTC
[reply] [−] Description zj,wang [reporter] 2018-05-18 08:43:35 UTC Test Env: ============================================ Platform: APL Arch: x86_64 Linux release 16.04 Kernel: 4.12.0-rc2 libva https://github.com/01org/libva.gitb commit 3be72a5a110880f70626d7c3bed953cdde124b2 media_driver https://github.com/intel/media-driver commit 1c2b0615d749c45c07f9aee6586774816989c5b3 MediaSDK: https://github.com/Intel-Media-SDK/MediaSDK commit 7c2b069dce7bed268806f680412a2f3b09a52ce9 gst-bad master branch 0bdcf51baf77926b4f29c01a2fdf133c13aad62e Reproduce Steps: ============================================ take one case for example 1. build enc as above lists 2. gst-launch-1.0 -f filesrc location=/media/encoderbitstreams//1080p_blue_sky.yuv '!' videoparse format=i420 width=1920 height=1080 framerate=30 '!' videoconvert '!' video/x-raw,format=NV12 '!' msdkmpeg2enc rate-control=cqp qpi=26 qpp=26 qpb=26 gop-size=30 b-frames=2 '!' mpegvideoparse '!' mpegtsmux '!' filesink location=./1080p_1920x1080_i420_profilehigh_rc0_ipb_qp26_slice1_gop30_fps30.mpg 3. 0:00:00.071609865 30335 0x242a720 ERROR msdkenc gstmsdkenc.c:444:gst_msdkenc_init_encoder:<msdkmpeg2enc0> Init failed (device operation failure) 0:00:00.072155337 30335 0x242a720 ERROR msdkenc gstmsdkenc.c:399:gst_msdkenc_init_encoder:<msdkmpeg2enc0> Video Encode Query failed (undefined behavior) 0:00:00.072801524 30335 0x242a720 ERROR msdkenc gstmsdkenc.c:399:gst_msdkenc_init_encoder:<msdkmpeg2enc0> Video Encode Query failed (undefined behavior) 0:00:00.080996955 30335 0x242a720 ERROR msdkenc gstmsdkenc.c:399:gst_msdkenc_init_encoder:<msdkmpeg2enc0> Video Encode Query failed (undefined behavior) ERROR: from element /GstPipeline:pipeline0/GstVideoParse:videoparse0/GstRawVideoParse:inner_rawvideoparse: Internal data stream error.
This issue can not duplicated on close source MediaServerStudioEssentials2017R3.tar.gz.
it does not support mpeg2 enc on apl, so it is a invalid issue, close it.