GNOME Bugzilla – Bug 793869
msdk: msdkh264enc could not set b frames into main/high profile.
Last modified: 2018-03-29 05:49:52 UTC
[root@gst-msdk encode_avc]# gst-launch-1.0 videotestsrc num-buffers=100 ! video/x-raw,format=NV12,width=1920,height=1080 ! msdkh264enc b-frames=2 ! video/x-h264,profile=high ! filesink location=test.h264 Setting pipeline to PAUSED ... libva info: VA-API version 0.99.0 libva info: va_getDriverName() returns 0 libva info: User requested driver 'iHD' libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so libva info: Found init function __vaDriverInit_0_32 libva info: va_openDriver() returns 0 Pipeline is PREROLLING ... Got context from element 'msdkh264enc0': gst.msdk.Context=context, gst.msdk.Context=(GstMsdkContext)"\(GstMsdkContext\)\ msdkcontext0"; Redistribute latency... 0:00:00.053745698 7379 0x208df70 ERROR default video-frame.c:161:gst_video_frame_map_id: failed to map video frame plane 0 0:00:00.053881984 7379 0x208df70 ERROR default video-frame.c:161:gst_video_frame_map_id: failed to map video frame plane 0 Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock 0:00:00.060264352 7379 0x208df70 ERROR default video-frame.c:161:gst_video_frame_map_id: failed to map video frame plane 0 0:00:00.060332285 7379 0x208df70 ERROR default video-frame.c:161:gst_video_frame_map_id: failed to map video frame plane 0 0:00:00.066744686 7379 0x208df70 ERROR default video-frame.c:161:gst_video_frame_map_id: failed to map video frame plane 0 0:00:00.068027080 7379 0x208df70 ERROR default video-frame.c:161:gst_video_frame_map_id: failed to map video frame plane 0 0:00:00.076349698 7379 0x208df70 ERROR default video-frame.c:161:gst_video_frame_map_id: failed to map video frame plane 0 0:00:00.077479948 7379 0x208df70 ERROR default video-frame.c:161:gst_video_frame_map_id: failed to map video frame plane 0 0:00:00.085927541 7379 0x208df70 ERROR default video-frame.c:161:gst_video_frame_map_id: failed to map video frame plane 0
If remove b-frames=2 or set b-frames=0, the cmdline works.
Looks good at: 076809ebd582638c8198276325ede5b59eb9b102
This issue can not be duplicated with commit 48cde372d6f5b9feff464bffb734686e0cbf0ca1, labeled release 1.14.0.