Tool/software: Linux
Hello,
GST_DEBUG=3 gst-launch-1.0 -e v4l2src device=/dev/video1 ! 'video/x-raw, format=(string)YUY2, width=(int)640, height=(int)720, framerate=15/1' ! ducatijpegdec ! videocrop left = 0 right=912 top=0 bottom = 912 ! videoscale ! 'video/x-raw, format=(string)NV12, width=(int)320, height=(int)240' ! testplugin ! fakesink
above pipeline works fine for me.
i want to use vpe instead of of videoscale to scale down.
GST_DEBUG=3 gst-launch-1.0 -e v4l2src device=/dev/video1 ! 'video/x-raw, format=(string)YUY2, width=(int)640, height=(int)720, framerate=15/1' ! ducatijpegdec ! videocrop left = 0 right=912 top=0 bottom = 912 ! vpe ! 'video/x-raw, format=(string)NV12, width=(int)320, height=(int)240' ! testplugin ! fakesink
above pipeline gives error atteched in logs.
I am using PSDK 3.2.0.5.
As input source i am getting jpeg buffer of (1280x720). and i have done changes in ducatijpegdec to accept that buffer and decode that.
i have tried couple of pipeline shown below but it works fine for me.
gst-launch-1.0 -e videotestsrc ! 'video/x-raw, format=(string)YUY2, width=(int)4032, height=(int)1008, framerate=15/1' ! videocrop left = 2016 right=1008 ! vpe ! video/x-raw , height=1280 , width=720 ! fakesink
gst-launch-1.0 -e videotestsrc ! 'video/x-raw, format=(string)YUY2, width=(int)4032, height=(int)1008, framerate=15/1' ! videocrop left = 2016 right=1008 ! vpe ! video/x-raw , height=240 , width=320 ! fakesink
Regards,
Prerak