appsrc->videorate->vaapipostproc

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

appsrc->videorate->vaapipostproc

xrataj00
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: appsrc->videorate->vaapipostproc

Vinod Kesti
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: appsrc->videorate->vaapipostproc

Victor Jaquez
On Sat, 29 Jul 2017 at 03:59, xrataj00 wrote:

> 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

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
you mention and the one mentioned by Vinod:


On Mon, 31 Jul 2017 at 04:40, Vinod Kesti wrote:
> 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
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Loading...