Find the answer to your Linux question:
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.
  1. #1
    Just 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

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,807
    Try VLC media player. It plays just about anything. And it's free.
    Linux user #126863 - see http://linuxcounter.net/

  3. #3
    Just 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

  4. #4
    Linux Engineer GNU-Fan's Avatar
    Join Date
    Mar 2008
    Posts
    935
    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.

  5. #5
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    11,158
    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!

  6. #6
    Linux 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •