You want to display the video outside of your main UI?
On a secondary framebuffer device with the main UI running on the primary framebuffer?
Cheers,
_
You want to display the video outside of your main UI?
On a secondary framebuffer device with the main UI running on the primary framebuffer?
Cheers,
_
yes... I will cross compile a project for Am437x board. and want to play video on its frame buffer directly. I'll be having access of frame buffer only after stopping the matrix GUI process. So then I cant run any GUI. I can flush data on fdev only.
Thank you for your interest to support me
I am still unsure I understand your setup.
You are running a Qt program without GUI? I.e. a QCoreApplication based one?
And you manually write into the framebuffer?
Cheers,
_
no I am using Qcore GUI app, I am not sure Qcoreapp supports media player in which way. This is my hardware side requirement that I have to play video on frame buffer. and frame buffer accepts raw data only... in my case RGB. So thats why i need to convert mp4 to RGB.I found the only way by extracting frame and convert it to rgb and send it... If any other you plz suggest it.
Thank you
Last edited by anjani.gandhi; 30th January 2017 at 07:51.
I am sorry I don't understand your setup.
If you are running a Qt GUI application then it runs either with a display server which accesses the framebuffer or it uses the framebuffer directly, depending on which QPA you are using.
In either case you can't use the framebuffer while it is in use.
So you are either running a Qt GUI on your target framebuffer and can use the built-in video playback facilities, or you are not running a Qt GUI and you can simply run a video player or playback pipeline.
Cheers,
_
k let it be for frame buffer right now. Tell me how to get frame in form of RGB formate from a mp4 video. Now firstly I am programming for desktop kit. then I'll send frames to dev/fb0 and check it on kit.
Now you are running the Qt program on a PC?
What program do you run on the target then?
Cheers,
_
I can compile the same program for different targets. So to reduce complexity I thought at least first I should save a frame from video in RGB32 format in pc. Then I'll add some lines to handle and send frames on kit buffer.
Since your problem does not seem related to Qt at all, I would recommend to look into video processing frameworks, e.g. GStreamer.
Cheers,
_
I have to achieve this task with Qt only.But not suppose to use GUI functionality. (i.e cant use widget or something for display Video as I need to convert it to RGB).if you show me the way to save the video frames in form of RGB it would be very helpful.I am a new to this.
Qt's video facilities also use GStreamer on Linux.
If you don't want Qt's video player to show the video, you could still use GStreamer's Qt bindings for example.
Cheers,
_
anjani.gandhi (4th February 2017)
I'll try to use Gstreamer and will ask you when I'll stuck.Thank you
Last edited by anjani.gandhi; 4th February 2017 at 14:09.
If you want to convert the videos to other formats easily or change the frame to a fluent one, this tool may help you: http://www.videoconverterfactory.com/tips/wv-converter.html
It provides the function of enchancing video parameters like frame rate and also supports most common videos formats.
Bookmarks