I’m using the D3 Engineering camera mezzanine board with gst to stream to a media server. My issue is there appears to be extra green lines on the stream (ie a 1280x720 stream is now 1280x732). I’ve even manually tried setting the video size in several places and it doesn’t get any better. The green line is there at multiple resolutions but the number of green rows (ie thickness) changes at different resolutions. It also happens when using the videotestsrc which makes me believe it’s the v4l2h264enc ! h264parse as I’ve seen the rest of the bits work well together as well. videotestsrc ! x264enc works without the extra green lines but has constant decoding errors on the receiver side.
sudo media-ctl -d /dev/media1 -l '"msm_csiphy0":1->"msm_csid0":0,"msm_csid0":1->"msm_ispif0":0,"msm_ispif0":1->"msm_vfe0_pix":0'
sudo media-ctl -d /dev/media1 -V '"ov5640 1-0078":0[fmt:UYVY8_2X8/1280x720 field:none],"msm_csiphy0":0[fmt:UYVY8_2X8/1280x720 field:none],"msm_csid0":0[fmt:UYVY8_2X8/1280x720 field:none],"msm_ispif0":0[fmt:UYVY8_2X8/1280x720 field:none],"msm_vfe0_pix":0[fmt:YUYV8_1_5X8/1280x720 field:none]
gst-launch-1.0 v4l2src device=/dev/video3 ! videoconvert ! v4l2h264enc ! h264parse ! flvmux ! rtmpsink location="rtmp://wowza:1935/live/mystream"
output of the command:
Setting pipeline to PAUSED …
Using mplane plugin for capture
libv4l2: error getting pixformat: Invalid argument
Pipeline is live and does not need PREROLL …
Setting pipeline to PLAYING …
New clock: GstSystemClock
Any help solving this issue is greatly appreciated.