Find the answer to your Linux question:
Results 1 to 6 of 6
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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.

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Nottingham, England
    Try VLC media player. It plays just about anything. And it's free.
    Linux user #126863 - see

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


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

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

  7. #6
    Linux Guru
    Join Date
    Nov 2007
    Córdoba (Spain)
    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