appsrc->videorate->vaapipostproc
Víctor Jáquez
vjaquez at igalia.com
Mon Jul 31 14:51:15 UTC 2017
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
More information about the gstreamer-devel
mailing list