Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Linux Software

Video Capture from an X11 Window? 24

Dandre asks: "I'm trying to capture video from an X11 window containing a java display of my research into an MPEG. The only 'solution' I was able to find was to use x11rec, which stores an animated gif from the window. I then can presumably use various tools (mpeg2encode & gimp) to split this into separate images then bind it together again into an MPEG. I would have thought there was a simple tool to just capture directly into MPEG from the given display. Does anyone have any suggestions?"
This discussion has been archived. No new comments can be posted.

Video Capture from an X11 Window?

Comments Filter:
  • Realplayer (Score:2, Interesting)

    by PD ( 9577 )
    Could that be the elusive way to save a realplayer video stream (without the sound)?
    • This brings up an interesting point. Programes like DeCSS are illegal because they attempt to avert imposed copyright protection. But an application that polls a window to convert into an mpeg isn't necessarily for piracy, so I don't think could be considered illegal until used in an illegal fashion.
      • But an application that polls a window to convert into an mpeg isn't necessarily for piracy, so I don't think could be considered illegal until used in an illegal fashion.

        Just like decoding DVDs that you own so you can watch them under Linux, right?
    • Using the information from the RTSP Proxy White Paper [real.com], it should be feasible to build a very simple client which would simply download all UDP packets and save them sequentially in a .ram file. The document explains how streams are controlled etc.

      Anyone know if such a tool exists (the foremenyionned StreamBox is for Windows and moreover requires a crack)?
  • Try this (Score:3, Informative)

    by Bobo_The_Boinger ( 306158 ) on Thursday July 18, 2002 @04:29PM (#3911491)
    I came across this site http://www.hdk-berlin.de/~rasca/xvidcap/ that seems to capture directly to single files, so you can skip going from the animated gif to single files step. Not sure if it is exactly what you want though, they say you need a fast machine for any largish size captures.
  • I know this will be modded into the depths of hell--

    but if its Java, then it's supposed to be cross platform, right?

    If you were doing it on a Windows box, I'd bet there are lots of tools to capture video. Some even came with my video card.

    try http://desktopvideo.about.com/
  • Transcode (Score:4, Interesting)

    by WasterDave ( 20047 ) <davep AT zedkep DOT com> on Thursday July 18, 2002 @04:45PM (#3911607)
    Transcode pulls all sorts of stunts with importing/exporting video.

    http://www.theorie.physik.uni-goettingen.de/~ost re ich/transcode/

    http://www.theorie.physik.uni-goettingen.de/~ost re ich/transcode/html/modules.html

    Dave

  • by reynaert ( 264437 ) on Thursday July 18, 2002 @05:21PM (#3911936)
    You just have to modify your program to save a bitmap of each frame to a file. That can't be that much of work.
  • I've used Broadcast 2000 from the Virtual Herione folks to do something like this, but they're now pushing their Cinelerra product.

    You might try it and see if it does what you want:

    http://heroinewarrior.com/index.php3

    May the luck be with you! -- Some old and wise Chinese dude
  • This may not be applicable, but I knwo there exists applications for windows that do what you want.. and you can serve an appliaction and just poll the window. However performance will most likely be degraded unless you're on a gigabit network.
  • You can get it here [cyberelk.net]. It's small, it's very simple, and it works well. It inserts itself between a VNC server and a VNC client. You can use it to record sessions from Windows, MacOSX, and Linux, and play them back on all those platforms. It can even be played back from a Java applet through a web browser. It probably requires less bandwidth than MPEG.
  • I've been hoping to find something like this (that I could get to work) for some time now, to, e.g., make VCD's out of FLASH cartoons...

    I did run into what appeared to be an abandoned project ("xvidcap", I think?) but I couldn't get it to compile...

  • Check out SGI's VizServer program. It's designed to render video on a massive system, compress it on the fly, send it over the network, and play on the viewing workstation (thus eliminating super-expensive graphics hardware on the desktop, while increasing big-iron graphics hardware sales). Doesn't sound dead on, but maybe there's something similar in the works.

A morsel of genuine history is a thing so rare as to be always valuable. -- Thomas Jefferson

Working...