I am trying to add gstreamer to Yocto,
I have added the following packages:
I am trying to play h264 movie and it gives missing plugins.
Different ones for different movies.
Is there HW support for h264 in gstreamer?
Should i add something else to the CORE_IMAGE_BASE_INSTALL?
I suppose that you are using the meta-qcom BSP layer, as per https://github.com/96boards/documentation/wiki/Dragonboard-410c-OpenEmbedded-and-Yocto.
Gstreamer plugins for DB410c video playback exist, but we haven’t added the OE recipes for that in this layer yet. In fact someone submitted a pull request with the support, but I have not had the time to look into it yet:
I am planning to work on the meta-qcom a bit in the coming days/weeks, with the goal to have ‘feature parity’ compared to our latest Debian release. So that will include adding/merging the Gst support , among other things.
If you can try the pull request and provide feedback/test in the mean time, please let me know.
currently is is not working:
- I have added the Gstreamer layers to the image:
- The suggested command line:
gst-launch-1.0 filesrc localtion=<mp4 file> ! qtdemux ! h264parse ! v4l2dec ! videoconvert ! waylandsink
Is not working, the v4l2dec plugin is missing. I think the correct one is v4l2video32dec
I have replaced it with the v4l2video32dec and it looks that it is working, but the window on the screen is green.
- Tried to test waylandsink by:
gst-launch-1.0 videotestsrc ! waylandsink
It is fails with “Failed to connect to the wayland display ‘(default)’”
are you saying that you tried with the pull request I mentioned and it is not working? the right plugin is v4l2dec and needs to be built (using the patch in the pull request) and added to the image.
It is not included by default in the current BSP layer.
It is not working after the patch:
The gstreamer package does not exist.
I have added gtreamer and plugins-bad,base,good and now the v4l2dec does not exist.
Since february did you succeed with the command “gst-launch-1.0 videotestsrc ! waylandsink” without starting weston ?