v4l2 filter pipeline allocation query issue
mksafavi
mksafavi at gmail.com
Sat Oct 31 03:26:00 UTC 2020
Hi.
I have implemented v4l2 filter on Xilinx Zynq UltraScale with VCU codec.
the v4l2 bridge driver I use creates two v4l2 devices for each DMA. ( a
capture and an output device).
the problem I faced is that because the allocations are decided separately
the stride & offset is not matched.( the padding of previous line roll over
to the next in the output frame)
my pipelines:
the io-mode on v4l2 plugins for the v4l2sink is set to dmabuf-import and
v4l2src to dmabuf mode.
so far I've tried adding allocation meta to v4l2sink with the metaparams I
got from the encoder.which got into a state that the allocation query had
two videometadata because the v4l2sink element also send it.
I also tried adding a probe to v4l2sink and running the allocation query on
v4l2src but got this warning during run time.
How can I get the two pipelines to decide allocation properly?
Is there any plugin available for this use case? at first I was using
v4l2transform but unfortunately because of a faulty dma driver I had to
switch over to this setup that the sink and source are seperated.
thanks
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list