glcolorscale does not work properly (green video)

Yaroslav Andrusyak pontostroy at gmail.com
Thu Nov 6 10:22:59 PST 2014


Looks like it intel gl + vaapi problem,  with dri_prime (radeon gl + vaapi)
all works fine.

2014-11-06 19:54 GMT+02:00 Yaroslav Andrusyak <pontostroy at gmail.com>:

> I am trying use glcolorscale instead of videoconvert for RGB>YUV
> conversion.
> The result is a green video, gst and plugins  - current git 06.11.14
> intel i5 3330
> hd 2500
> Mesa-git
>
> gst-launch-1.0 -e ximagesrc display-name=:0 use-damage=0 ! queue !
> video/x-raw,format=BGRx ! glcolorscale !
> video/x-raw,format=I420,framerate=30/1 ! queue  ! vaapiencode_h264 !
> vaapiparse_h264 ! multiqueue ! matroskamux name=muxer muxer. !
> progressreport name=Rec_time ! filesink
> location=/disk/tmp//rec_2014-11-06_181200.mkv
> Setting pipeline to PAUSED ...
> libva info: VA-API version 0.36.0
> libva info: va_getDriverName() returns 0
> libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
> libva info: Found init function __vaDriverInit_0_36
> 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;
> Got context from element 'glcolorscale0': gst.gl.GLDisplay=context,
> gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayX11\)\ gldisplayx11-0";
> Setting pipeline to PLAYING ...
> New clock: GstSystemClock
> ATTENTION: default value of option vblank_mode overridden by environment.
> ATTENTION: default value of option vblank_mode overridden by environment.
> Rec_time (00:00:05): 4 seconds
> Rec_time (00:00:10): 9 seconds
> Rec_time (00:00:15): 14 seconds
> Rec_time (00:00:20): 19 seconds
> Rec_time (00:00:25): 24 seconds
> Rec_time (00:00:30): 29 seconds
> Rec_time (00:00:35): 34 seconds
> Rec_time (00:00:40): 39 seconds
> Rec_time (00:00:45): 44 seconds
> Rec_time (00:00:50): 49 seconds
> Rec_time (00:00:55): 54 seconds
> Rec_time (00:01:00): 59 seconds
> ^Chandling interrupt.
> Interrupt: Stopping pipeline ...
> EOS on shutdown enabled -- Forcing EOS on the pipeline
> Waiting for EOS...
> Rec_time (00:01:02): 61 seconds
> Got EOS from element "pipeline0".
> EOS received - stopping pipeline...
> Execution ended after 0:01:01.676521183
> Setting pipeline to PAUSED ...
> Setting pipeline to READY ...
> Setting pipeline to NULL ...
> Freeing pipeline ...
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20141106/445e235c/attachment.html>


More information about the gstreamer-devel mailing list