Discussion:
appsrc->videorate->vaapipostproc
xrataj00
2017-07-29 10:59:33 UTC
Permalink
Hi,

I have a problem with connecting appsrc->videorate->vaapipostproc it can be
simulated with following pipeline:

gst-launch-1.0 appsrc is-live=true
caps="video/x-raw,format=BGRx,width=1280,height=1024,framerate=20/1" !
videorate ! vaapipostproc ! video/x-raw,format=NV12,framerate=10/1 !
fakesink

WARN basetransform
gstbasetransform.c:1346:gst_base_transform_setcaps:<videorate0> transform
could not transform video/x-raw, format=(string)BGRx, width=(int)1280,
height=(int)1024, framerate=(fraction)20/1 in anything we support

When I swap videorate with vaapipostproc it is working fine but it is not
what I want.

gst-launch-1.0 appsrc is-live=true
caps="video/x-raw,format=BGRx,width=1280,height=1024,framerate=20/1" !
vaapipostproc ! videorate ! video/x-raw,format=NV12,framerate=10/1 !
fakesink

Any ideas? Thanks. Tomas




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/appsrc-videorate-vaapipostproc-tp4684020.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
Vinod Kesti
2017-07-31 11:40:00 UTC
Permalink
Can you check with this pipeline ??

gst-launch-1.0 appsrc is-live=true
caps="video/x-raw,format=BGRx,width=1280,height=1024,framerate=20/1" !
videorate ! video/x-raw,framerate=10/1 ! vaapipostproc !
video/x-raw,format=NV12 ! fakesink



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/appsrc-videorate-vaapipostproc-tp4684020p4684029.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
Víctor Jáquez
2017-07-31 14:51:15 UTC
Permalink
Post by xrataj00
Hi,
I have a problem with connecting appsrc->videorate->vaapipostproc it can be
gst-launch-1.0 appsrc is-live=true
caps="video/x-raw,format=BGRx,width=1280,height=1024,framerate=20/1" !
videorate ! vaapipostproc ! video/x-raw,format=NV12,framerate=10/1 !
fakesink
WARN basetransform
gstbasetransform.c:1346:gst_base_transform_setcaps:<videorate0> transform
could not transform video/x-raw, format=(string)BGRx, width=(int)1280,
height=(int)1024, framerate=(fraction)20/1 in anything we support
When I swap videorate with vaapipostproc it is working fine but it is not
what I want.
gst-launch-1.0 appsrc is-live=true
caps="video/x-raw,format=BGRx,width=1280,height=1024,framerate=20/1" !
vaapipostproc ! videorate ! video/x-raw,format=NV12,framerate=10/1 !
fakesink
Any ideas? Thanks. Tomas
You've found a bug in vaapipostroc: it is unable the do upstream negotiation.

Can you file a bug?

There are possible workarounds to avoid the upstream negotiation, the one that
Post by xrataj00
Can you check with this pipeline ??
gst-launch-1.0 appsrc is-live=true
caps="video/x-raw,format=BGRx,width=1280,height=1024,framerate=20/1" !
videorate ! video/x-raw,framerate=10/1 ! vaapipostproc !
video/x-raw,format=NV12 ! fakesink
vmjl

Loading...