Hi All,
I am trying to play a video using "imxv4l2sink" and followed by I am playing another video using "imxipuvideosink".
After the playback with "imxv4l2sink" finishes, the bits_per_pixel is set to 16, but the RGBA is set to 32 bit format (rgba 8/16,8/8,8/0,8/24).
Because of this, "imxipuvideosink" gives error saying that "framebuffer has unknown format".
fbset output before "imxv4l2sink"
=========================
$fbset -fb /dev/fb1
mode "800x480-65"
# D: 36.261 MHz, H: 34.338 kHz, V: 65.405 Hz
geometry 800 480 800 480 32
timings 27578 210 26 22 13 20 10
accel false
rgba 8/16,8/8,8/0,8/24
endmode
fbset output after "imxv4l2sink"
=========================
$fbset -fb /dev/fb1
mode "800x480-65"
# D: 36.261 MHz, H: 34.338 kHz, V: 65.405 Hz
geometry 800 480 800 1440 16
timings 27578 210 26 22 13 20 10
accel false
rgba 8/16,8/8,8/0,8/24
endmode
-Regards,
Shiva Kumar M S
Hi Shiva
reason may be that there are two different plugins:
community gstreamer-imx - it uses "imxipuvideosink"
nxp gstreamer plugins (imx-gst1.0-plugins) - uses "imxv4l2sink".
"imxv4l2sink" usage can be found in attached Linux Guide and Release Notes p.33.
from nxp official software resources page:
gstreamer-imx usage:
i.MX6 GStreamer-imx Plugins - Tutorial & Example Pipelines
GitHub - Freescale/gstreamer-imx: GStreamer 1.0 plugins for i.MX platforms
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi igorpadykov,
Overlaysink is also part of "imx-gst1.0-plugins" and there is no issue with that sink. We can play video using "imxipuvideosink" after "overlaysink" playback. Issue is that, "imxv4l2sink" is leaving with wrong framebuffer format after finishing playback. This seems to be a bug.
-Regards,
Shiva Kumar
Hi Shiva
one can try Demo Images
use cases are described in attached Linux Guide sect.7 Multimedia.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------