LINUX.ORG.RU

История изменений

Исправление ZenitharChampion, (текущая версия) :

Сейчас сделаю, только напишу кое-что. Я тут обновил libva и vaapi-driver-intel на парочку версий - с 1.2 до 1.5. Затем пересобрал gstreamer-plugins-vaapi. Ошибка осталась, но лог изменился. Сейчас верну на место старые RPM-ки, и попробую твою команду.

$ sh rec-1.2.sh
Using vaapiencode_h264 encoder
gst-launch-1.0 -e ximagesrc use-damage=0 ! queue ! video/x-raw,format=BGRx ! videoconvert ! video/x-raw,format=I420,framerate=30/1 ! queue leaky=downstream ! vaapiencode_h264 ! h264parse ! queue ! matroskamux name=muxer muxer. ! progressreport ! filesink location=/home/zenitur/rec_2015-09-14_203725.mkv
Setting pipeline to PAUSED ...
libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'i965'
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_37
libva info: va_openDriver() returns 0
Pipeline is live and does not need PREROLL ...
Got context from element 'vaapiencodeh264-0': gst.vaapi.Display=context, display=(GstVaapiDisplay)NULL;
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstXImageSrc:ximagesrc0: Internal data flow error.
Additional debug info:
gstbasesrc.c(2865): gst_base_src_loop (): /GstPipeline:pipeline0/GstXImageSrc:ximagesrc0:
streaming task paused, reason error (-5)
EOS on shutdown enabled -- waiting for EOS after Error
Waiting for EOS...

Исходная версия ZenitharChampion, :

Сейчас сделаю, только напишу кое-что. Я тут обновил libva и vaapi-driver-intel на парочку версий. Затем пересобрал gstreamer-plugins-vaapi. Ошибка осталась, но лог изменился. Сейчас верну на место старые RPM-ки, и попробую твою команду.

$ sh rec-1.2.sh
Using vaapiencode_h264 encoder
gst-launch-1.0 -e ximagesrc use-damage=0 ! queue ! video/x-raw,format=BGRx ! videoconvert ! video/x-raw,format=I420,framerate=30/1 ! queue leaky=downstream ! vaapiencode_h264 ! h264parse ! queue ! matroskamux name=muxer muxer. ! progressreport ! filesink location=/home/zenitur/rec_2015-09-14_203725.mkv
Setting pipeline to PAUSED ...
libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'i965'
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_37
libva info: va_openDriver() returns 0
Pipeline is live and does not need PREROLL ...
Got context from element 'vaapiencodeh264-0': gst.vaapi.Display=context, display=(GstVaapiDisplay)NULL;
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstXImageSrc:ximagesrc0: Internal data flow error.
Additional debug info:
gstbasesrc.c(2865): gst_base_src_loop (): /GstPipeline:pipeline0/GstXImageSrc:ximagesrc0:
streaming task paused, reason error (-5)
EOS on shutdown enabled -- waiting for EOS after Error
Waiting for EOS...