DirectFB and Gstreamer at same time
Mohammad, Jamal M
MohammadJamal.Mohiuddin at ncr.com
Thu Feb 15 06:32:00 UTC 2018
When I typed the following command, there was nothing displayed on the screen.
gst-launch-1.0 playbin uri=file:///Images/hash.mp4 video-sink="imxipuvideosink window-height=240 window-width=360 window-y-coord=0 window-x-coord=684 framebuffer=/dev/fb1" flags=0x57
The gstreamer logs shows that video played..But not displayed on the screen.
I have already executed: echo 0 > /sys/class/graphics/fb1/blank
From: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] On Behalf Of Anjo John
Sent: Thursday, February 15, 2018 11:44 AM
To: Discussion of the development of and with GStreamer <gstreamer-devel at lists.freedesktop.org>
Subject: Re: DirectFB and Gstreamer at same time
Hi Mohammad,
from the gstreamer pipeline you are using IMX6 processor. One solution would be to use the overlay frame buffer /dev/fb1 of IMX6 for the text part and /dev/fb0 for the video part. you can modify the imxipuvideosink framebuffer=/dev/fb1 and check. Please unblank and set the size of the overlay frame-buffer before you run the command. Also adjust the alpha value for transparency.
to unblank : echo 0 > /sys/class/graphics/fb1/blank
to set resolution : fbset -xres <> -yres <> -fb /dev/fb1
On Thu, Feb 15, 2018 at 11:23 AM, Mohammad, Jamal M <MohammadJamal.Mohiuddin at ncr.com<mailto:MohammadJamal.Mohiuddin at ncr.com>> wrote:
Hi Guys,
We had an application using DirectFB which divides the screen into four panels. Attached Image. Big panel (Left side ) is updated every second with text, the other three panels ( Right Side ) has static images.
[cid:image001.jpg at 01D3A654.BF89F730]
We are planning to play video on the panels where images are displayed.. Idea is used to gstreamer-imx plugins.
gst-launch-1.0 playbin uri=file:///Images/hash.mp4 video-sink="imxipuvideosink window-height=240 window-width=360 window-y-coord=0 window-x-coord=684" flags=0x57
When we play the video using the above command, we are facing problem : the text panel in the big panel will be updated every second which is flickering the video. I believe this is due to fact that DirectFB is updating framebuffer while trying to write text. Is there any way to avoid this flickering and allow both DirectFB and gstreamer to work in parallel.
Thanks for all your help.
Mohammad Jamal Mohiuddin
Software Engineer, Retail Hosp/HW
NCR Corporation India Pvt Ltd.
MohammadJamal.Mohiuddin at ncr.com<mailto:MohammadJamal.Mohiuddin at ncr.com> | www.ncr.com<http://www.ncr.com>
[cid:image002.jpg at 01D3A654.BF89F730]
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org<mailto:gstreamer-devel at lists.freedesktop.org>
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.freedesktop.org_mailman_listinfo_gstreamer-2Ddevel&d=DwMFaQ&c=gJN2jf8AyP5Q6Np0yWY19w&r=HoPNfXl6KDHgz0TaiQjVDg&m=yUPz0IVFAfkiMtHXyNbBJMinbxmbkh6VvjL192O-Ugc&s=1HwdrVLbKHpsPWIf_OwC0tw4tC8ofmRr-mhVg0JUYyM&e=>
--
*With Best Regards*
*Anjo John*
VVDN Technologies Pvt Ltd
*Cell : *+91 9539931442 | Skype :anjojohn051
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180215/8da561c3/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 383777 bytes
Desc: image001.jpg
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180215/8da561c3/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 1940 bytes
Desc: image002.jpg
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180215/8da561c3/attachment-0003.jpg>
More information about the gstreamer-devel
mailing list