Results 1 to 6 of 6
plz anbody tell me how to play video on linux through x window in motif application.
if anybody is having any program please giv it to me.
thanks...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-09-2009 #1Just Joined!
- Join Date
- Feb 2009
- Posts
- 3
play video on x window system
plz anbody tell me how to play video on linux through x window in motif application.
if anybody is having any program please giv it to me.
thanks
- 06-09-2009 #2
Try VLC media player. It plays just about anything. And it's free.
Linux user #126863 - see http://linuxcounter.net/
- 06-09-2009 #3Just Joined!
- Join Date
- Feb 2009
- Posts
- 3
play video in linux
thanks for your response but dude I want to know how to play a video file in a separate window which is made with the help of X- window (in linux through motif (which is used to create GUI in Linux)).
Thanks
- 06-09-2009 #4
You use a decoder library (e.g. libtheora) to decode the compressed video into a series of images. These images you put on the display with either standard XLIB functionality or you employ accelerated extension like Xv or OpenGL.
Debian GNU/Linux -- You know you want it.
- 06-10-2009 #5Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,156
Given you probably don't want to re-invent all the low-level video processing cruft, you should probably use some of the video processing libraries such as xine, and wrap them in your own motif UI if building your own player is what you want to do. VLC will run on any X-Windows UI if you don't want to reinvent the wheel.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 06-12-2009 #6Linux Guru
- Join Date
- Nov 2007
- Location
- Córdoba (Spain)
- Posts
- 1,513
I am not sure still if he's asking as a programmer or as a user.
In any case motif is rarely used nowadays in Linux. And in any case, independently of the chosen toolkit which might be motif, fltk, qt, gtk, fox or whatever you prefer, you definitely need to chose a media decoding library unless you are that masochist as to reinvent the wheel yet once more.


Reply With Quote
