After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 793869 - msdk: msdkh264enc could not set b frames into main/high profile.
msdk: msdkh264enc could not set b frames into main/high profile.
Status: VERIFIED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 789886
 
 
Reported: 2018-02-27 06:13 UTC by Fei
Modified: 2018-03-29 05:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Fei 2018-02-27 06:13:19 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
Comment 1 Fei 2018-02-27 06:14:05 UTC
If remove b-frames=2 or set b-frames=0, the cmdline works.
Comment 2 Fei 2018-03-05 05:41:05 UTC
Looks good at:
076809ebd582638c8198276325ede5b59eb9b102
Comment 3 zj,wang 2018-03-29 05:46:59 UTC
This issue can not be duplicated with commit  48cde372d6f5b9feff464bffb734686e0cbf0ca1, labeled release 1.14.0.