Tool/software:
Hi,
We are currently outputting camera video to fbdevsink.
The testing environment is in progress at DEVKIT.
There is a strange symptom where lines appear on the screen when printing.
What's the problem?
Regards,
Kim
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hi,
We are currently outputting camera video to fbdevsink.
The testing environment is in progress at DEVKIT.
There is a strange symptom where lines appear on the screen when printing.
What's the problem?
Regards,
Kim
Hi Kim,
Could you share the pipeline you are testing with? Also I am guessing you are using 9.2 SDK released software.
This will help reproduce the issue on our end and debug.
Best Regards,
Suren
Hi,
We are testing on 9.1 sdk.
The above symptoms did not appear when using kmssink.
gst-launch-1.0 v4l2src device=/dev/video3 ! video/x-raw, width=640, height=480, format=UYVY ! tiovxdlcolorconvert ! videoconvert ! fbdevsink sync=false
Regards,
Kim
Hi Kim,
Any reasons why you are using fbdevsink over kmssink/waylandsink?
Best Regards,
Suren
Hi,
We plan to output the camera using fbdevsink and then overlay it with kmssink.
Regards,
Kim
Hi Kim,
fbdevsink is not supported on our SDK. kmssink and waylandsink are replacement for fbdevsink.
Hope this helps.
Best Regards,
Suren
Hi,
I understand that kmssink cannot be used when using waylandsink.
Right?
So is there a way to do two outputs on one display?
Regards,
Kim
Hi Kim,
Yes thats correct understanding, we cannot use waylandsink and kmssink together.
You could try using tiovxmosaic to display two or more outputs on a single display. They would be displayed side by side(based on the x and y co-ordinates) that we can specify.
Something like this:
gst-launch-1.0 \
videotestsrc num-buffers=100 pattern=ball ! "video/x-raw,format=NV12, width=640, height=480" ! queue ! mosaic.sink_0 \
videotestsrc num-buffers=100 pattern=ball ! "video/x-raw,format=NV12, width=640, height=480" ! queue ! mosaic.sink_1 \
videotestsrc num-buffers=100 pattern=ball ! "video/x-raw,format=NV12, width=640, height=480" ! queue ! mosaic.sink_2 \
videotestsrc num-buffers=100 pattern=ball ! "video/x-raw,format=NV12, width=640, height=480" ! queue ! mosaic.sink_3 \
tiovxmosaic name=mosaic \
sink_0::startx="<0>" sink_0::starty="<0>" \
sink_1::startx="<640>" sink_1::starty="<480>" \
sink_2::startx="<0>" sink_2::starty="<480>" \
sink_3::startx="<640>" sink_3::starty="<0>" ! kmssink driver-name=tidss plane_id=41 force-modesetting=true
Best Regards,
Suren
Hi,
Thanks for the example.
What I want to do is put the image on top of the camera output.
Are there any similar examples?
Regards,
Kim
Do you want to overlay a still image on top of the camera output?
I had done something like this where i am overlaying a png file on top of the camera capture while displaying.
gst-launch-1.0 -v v4l2src device=/dev/video-imx219-cam0 io-mode=5 ! \
video/x-bayer, width=1920, height=1080, framerate=30/1, format=rggb10 ! queue leaky=2 ! \
tiovxisp sink_0::device=/dev/v4l-imx219-subdev0 sensor-name="SENSOR_SONY_IMX219_RPI" dcc-isp-file=/opt/imaging/imx219/linear/dcc_viss_10b.bin sink_0::dcc-2a-file=/opt/imaging/imx219/linear/dcc_2a_10b.bin format-msb=9 ! \
video/x-raw, format=NV12, width=1920, height=1080, framerate=30/1 ! queue ! \
gdkpixbufoverlay location=planets.png offset-x=400 offset-y=400 ! queue ! \
clockoverlay time-format="%D %H:%M:%S" ! \
kmssink driver-name=tidss sync=false force-modesetting=true
Best Regards,
Suren