LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   display images with refreshing in fraction of second (https://www.linuxquestions.org/questions/ubuntu-63/display-images-with-refreshing-in-fraction-of-second-779945/)

mahi04 01-05-2010 04:00 AM

display images with refreshing in fraction of second
 
hi friend
i m mew at linux programing an working on a project that is sort of cctv cmra monitoring i m now facing problem with part of my program for displaying the received image in window and also updating it timely by closing and opening new window or refreshing the same one...........i have no idea where to start study ........system command "display" is not fulfilling the purpose... its not refreshing until window is closed manually, control to the program is not returning back without forcefully closing

paulsm4 01-05-2010 09:20 PM

Hi -

Since I presume you want a GUI around this program ... I would urge you to consider looking at a combination of GTK+ and the gStreamer interface:

http://gstreamer.freedesktop.org/documentation/
http://www.ibm.com/developerworks/ai...gstreamer.html

A good example, if you need working code, is Cheese:

http://projects.gnome.org/cheese/

'Hope that helps .. PSM

'

mahi04 01-06-2010 12:39 AM

thanks a lot for helping.
But i think my problem is much simpler than this i am having a static .jpg file saved (captured from remote client camera mounted in other room, updated as 5 frames per sec) at the server side, i just want to display it on monitor(in a 640X420 window preferably) which simply show that image with refreshing when next image over right previous image that's it no operations other than displaying on screen are required.

thanks & regards


All times are GMT -5. The time now is 09:34 PM.