We are experiencing a strange issue with gstreamer 1.0: We have a custom board where is plugged the Apalis imx6Q. On this custom board, we have 2 video sources capabilities: one HD-SDI input (gs1661) and one analog input (adv7280).
After flashing the whole images (run update from uboot) on the apalis with the device tree reflecting these 2 video inputs, we can’t launch a gstreamer capture on any of our video source: the message *(gst-plugin-scanner:634): GStreamer-CRITICAL *: passed ‘0’ as denominator for `GstFraction’ is looping. Even if we launch gst-inspect this message is looping!
The workaround is to reboot with a device tree with only one video source (video source choices no matters). Then we can launch correctly a video capture. Then we boot again with the device tree with the 2 video source and everything work fine: we can capture the 2 video sources
Could you provide the version of the hardware and software of your module?
the message (gst-plugin-scanner:634): GStreamer-CRITICAL : passed ‘0’ as denominator for `GstFraction’ is looping. Even if we launch gst-inspect this message is looping!
Which commands did you use exactly?
The workaround is to reboot with a device tree with only one video source (video source choices no matters). Then we can launch correctly a video capture. Then we boot again with the device tree with the 2 video source and everything work fine: we can capture the 2 video sources
Did you do a soft reboot or powercycle?
Can you share a dmesg log when doing power cycle and soft reboot?
In this case, we can’t launch any gstreamer commands, even commands which do not involved our video inputs. For example we can’t display a picture: gst-launch-1.0 filesrc location=/home/root/NoHDSDI.jpg ! jpegdec ! imagefreeze ! imxg2dvideosink -e
And as I said we can’t even launch gst-inspect
The only workaround we found at this time is to build a new device tree with only one video source described (no matter which one)
This is very strange. Could you provide the changes to the devicetree files and the dmesg log?
What is the output of v4l2-ctl --list-devices?
And what is the output of v4l2-ctl -d /dev/video* where for * you put the number which got from the list devices command?