GNOME Bugzilla – Bug 730494
ERROR: from element GstPipeline:pipeline0/GstVaapiEncodeH264:vaapiencodeh264-0: GStreamer error: negotiation problem
Last modified: 2014-07-03 07:55:08 UTC
no regression fail, there are some error message when doing transcoder test. Does the testing gstreamer pipe line right? or there are some issue in gstreamer vaapi. 1. Testing Env: ======================================================================== kernel: 3.15.0-rc3_drm-intel-fixes_e95a2f_20140520 X11R7: X11R7.stable.2014-05-20 2. Testing Steps: ======================================================================== 1.running following command to start transcoder test command: gst-launch-1.0 filesrc location=/home/MP4_h264_nHD_30FPS_580Kbps_AAC_44.1KHz_64Kbps_10sec0.7Mb_BBB-300.MP4 ! qtdemux ! vaapidecode ! vaapiencode_h264 rate-control=cbr bitrate=1000 keyframe-period=30 max-bframes=2 cabac=true ! qtmux faststart=true ! filesink location=/home/enc10.mp4 2.check the error message: libva info: VA-API version 0.35.1 libva info: va_getDriverName() returns 0 libva info: Trying to open /opt/X11R7/lib/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_0_35 libva info: va_openDriver() returns 0 Setting pipeline to PAUSED ... Pipeline is PREROLLING ... ERROR: from element /GstPipeline:pipeline0/GstVaapiEncodeH264:vaapiencodeh264-0: GStreamer error: negotiation problem. Additional debug info: gstvideoencoder.c(1363): gst_video_encoder_chain (): /GstPipeline:pipeline0/GstVaapiEncodeH264:vaapiencodeh264-0: encoder not initialized ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... Freeing pipeline ... 3. Frequency of Occurence: ======================================================================== 100%
The gstreamer-vaapi pipeline looks correct. I built the exact same with another source video, and it just worked right. Make sure you haven't mixed any GStreamer 1.0 and GStreamer 1.2 elements around, i.e. make sure you exclusively use 1.2 on your system for instance. Does this still occur for you? On what platform?
cannot reproduce this issue with gstreamer 1.2, so close it.