Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #12240 > unrolled thread

screen video capture software

Started byEli the Bearded <*@eli.users.panix.com>
First post2014-10-08 21:12 +0000
Last post2014-10-09 18:11 +0000
Articles 10 — 5 participants

Back to article view | Back to comp.os.linux.misc


Contents

  screen video capture software Eli the Bearded <*@eli.users.panix.com> - 2014-10-08 21:12 +0000
    Re: screen video capture software Andreas Kohlbach <oct14.5.ankman@spamgourmet.com> - 2014-10-08 17:25 -0400
      Re: screen video capture software Eli the Bearded <*@eli.users.panix.com> - 2014-10-08 23:49 +0000
        Re: screen video capture software Andreas Kohlbach <oct14.5.ankman@spamgourmet.com> - 2014-10-09 17:47 -0400
    Re: screen video capture software faeychild <faeychild@noreply.afraid.com> - 2014-10-09 10:02 +1100
      Re: screen video capture software Eli the Bearded <*@eli.users.panix.com> - 2014-10-08 23:57 +0000
        Re: screen video capture software Eric Pozharski <whynot@pozharski.name> - 2014-10-09 11:54 +0300
        Re: screen video capture software faeychild <faeychild@noreply.afraid.com> - 2014-10-10 12:03 +1100
    Re: screen video capture software "Nuno J. Silva (aka njsg)" <njsg@invalid.invalid> - 2014-10-09 12:57 +0000
      Re: screen video capture software Eli the Bearded <*@eli.users.panix.com> - 2014-10-09 18:11 +0000

#12240 — screen video capture software

FromEli the Bearded <*@eli.users.panix.com>
Date2014-10-08 21:12 +0000
Subjectscreen video capture software
Message-ID<eli$1410081659@qz.little-neck.ny.us>
What do people like to use these days? A casual web search turned up 
blog posts that are somewhat old.

I found recommendations for ffmpeg, eg:

    ffmpeg -f x11grab \
	    -r 30 \
	    -s ${wide}x${height} \
	    -i :0.0+${upper_left_x},${upper_left_y} \
	    -vcodec huffyuv \
	    window.avi

I've got an oldish ffmpeg installed:

    FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers
      built on Sep 27 2010 14:13:34 with gcc 4.4.1 [gcc-4_4-branch revision 150839]

Which gives me: "Unknown input format: 'x11grab'" when I try it.
(And I'm not a big fan of ffmpeg anyway, that incompatible but same
named fork is a downer.)

And for xvidcap, eg:

	xvidcap --source x11 \
	    --file window.avi \
	    --fps 30 \
	    --cap_geometry ${wide}x${height}+${upper_left_x}+${upper_left_y}

I didn't have xvidcap installed, and "apt-get install" (on my Ubuntu
12.04 work computer) failed ("Package xvidcap is not available, but is
referred to by another package. This may mean that the package is
missing, has been obsoleted, or is only available from another source").

So I installed 1.1.7 from source.

But when I try the command line approach above, it just gives me a usage
error. Using the interactive GUI method started out okay, but it core
dumped after 116 frames.

Is there a way to do it with mplayer/mencoder? 

What else should I try?

Elijah
------
xwd in a loop doesn't work, because it doesn't show the mouse pointer

[toc] | [next] | [standalone]


#12241

FromAndreas Kohlbach <oct14.5.ankman@spamgourmet.com>
Date2014-10-08 17:25 -0400
Message-ID<87zjd69ruu.fsf@usenet.ankman.de>
In reply to#12240
Eli the Bearded wrote on 08. October 2014:
>
> What do people like to use these days? A casual web search turned up 
> blog posts that are somewhat old.

[...]

I use a program called import for importing (exporting ;-) the desktop of
just a specific window into an image file.

> Is there a way to do it with mplayer/mencoder? 

I know that it can take a screen shot from your cam.

mplayer tv:// -tv driver=v4l2:device=/dev/video0 -vo png -frames 1

But is probably not what you are searching for.
-- 
Andreas

I wish my grass was emo. Then it would cut itself.

[toc] | [prev] | [next] | [standalone]


#12244

FromEli the Bearded <*@eli.users.panix.com>
Date2014-10-08 23:49 +0000
Message-ID<eli$1410081851@qz.little-neck.ny.us>
In reply to#12241
In comp.os.linux.misc,
Andreas Kohlbach  <oct14.5.ankman@spamgourmet.com> wrote:
> Eli the Bearded wrote on 08. October 2014:
> > What do people like to use these days? A casual web search turned up 
> I use a program called import for importing (exporting ;-) the desktop of
> just a specific window into an image file.

Ah, I have that one installed. It's part of imagemagick, which means it
has such shitty documentation that it is almost impossible to use.

I tried this (with a window ID from xwininfo):

    import -pause 0.1 \
	    -snaps 200 \
	    -page ${wide}x${height}+${upper_left_x}+${upper_left_y} \
	    -window 0x3c00750 \
	    clip-%04d.png

After seeing the manpage:

    -pause value         seconds delay between snapshots
    -snaps value         number of screen snapshots
    -page geometry       size and location of an image canvas
    -window id           select window with this id or name

But it seems like using -page with -window means I get no output. Using
just -page, it kept changing the cursor every second until I clicked,
apparently working a lot like xwd in a loop. I did not get 10 frames per
second, I got 1 frame per second (at best). Not really what I want.

Can it record video / multiple frames per second? Do you have an example
command line?

> > Is there a way to do it with mplayer/mencoder? 
> I know that it can take a screen shot from your cam.
> mplayer tv:// -tv driver=v4l2:device=/dev/video0 -vo png -frames 1

No, that's not what I'm looking for. I want to record from the X11
display, not some other video source on the system.

Elijah
------
imagemagick is so named because understanding it requires magic

[toc] | [prev] | [next] | [standalone]


#12253

FromAndreas Kohlbach <oct14.5.ankman@spamgourmet.com>
Date2014-10-09 17:47 -0400
Message-ID<87tx3cx6eb.fsf@usenet.ankman.de>
In reply to#12244
Eli the Bearded wrote on 08. October 2014:
>
> In comp.os.linux.misc,
> Andreas Kohlbach  <oct14.5.ankman@spamgourmet.com> wrote:
>> Eli the Bearded wrote on 08. October 2014:
>> > What do people like to use these days? A casual web search turned up 
>> I use a program called import for importing (exporting ;-) the desktop of
>> just a specific window into an image file.
>
> Ah, I have that one installed. It's part of imagemagick, which means it
> has such shitty documentation that it is almost impossible to use.
>
> I tried this (with a window ID from xwininfo):
>
>     import -pause 0.1 \
> 	    -snaps 200 \
> 	    -page ${wide}x${height}+${upper_left_x}+${upper_left_y} \
> 	    -window 0x3c00750 \
> 	    clip-%04d.png
>
> After seeing the manpage:
>
>     -pause value         seconds delay between snapshots
>     -snaps value         number of screen snapshots
>     -page geometry       size and location of an image canvas
>     -window id           select window with this id or name
>
> But it seems like using -page with -window means I get no output. Using
> just -page, it kept changing the cursor every second until I clicked,
> apparently working a lot like xwd in a loop. I did not get 10 frames per
> second, I got 1 frame per second (at best). Not really what I want.
>
> Can it record video / multiple frames per second? Do you have an example
> command line?

Sorry. So far I only used to to take single screenshots, using basic
syntax, then point and click.
-- 
Andreas

I wish my grass was emo. Then it would cut itself.

[toc] | [prev] | [next] | [standalone]


#12243

Fromfaeychild <faeychild@noreply.afraid.com>
Date2014-10-09 10:02 +1100
Message-ID<m14fqo$jgh$1@dont-email.me>
In reply to#12240
Eli the Bearded wrote:

> What do people like to use these days? A casual web search turned up
> blog posts that are somewhat old.
> 
> I found recommendations for ffmpeg, eg:
> 
>     ffmpeg -f x11grab \
> -r 30 \
> -s ${wide}x${height} \
> -i :0.0+${upper_left_x},${upper_left_y} \
> -vcodec huffyuv \
> window.avi
> 
> I've got an oldish ffmpeg installed:
> 
>     FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers
>       built on Sep 27 2010 14:13:34 with gcc 4.4.1 [gcc-4_4-branch
>       revision 150839]


 The latest static build of ffmpeg can be found at

http://ffmpeg.gusari.org/static/


-- 
faeychild
Running kde on 3.14.18-desktop-3.mga4 kernel. booting level 5
Mageia release 4 (Official) for x86_64

[toc] | [prev] | [next] | [standalone]


#12245

FromEli the Bearded <*@eli.users.panix.com>
Date2014-10-08 23:57 +0000
Message-ID<eli$1410081953@qz.little-neck.ny.us>
In reply to#12243
In comp.os.linux.misc, faeychild  <faeychild@noreply.afraid.com> wrote:
> Eli the Bearded wrote:
> > I found recommendations for ffmpeg, eg:
>  The latest static build of ffmpeg can be found at
> http://ffmpeg.gusari.org/static/

Using the "latest" 64bit build:

ffmpeg version N-63893-gc69defd Copyright (c) 2000-2014 the FFmpeg developers
  built on Jul 16 2014 05:38:01 with gcc 4.6 (Debian 4.6.3-1)
    configuration: --prefix=/root/ffmpeg-static/64bit
    --extra-cflags='-I/root/ffmpeg-static/64bit/include -static'
    --extra-ldflags='-L/root/ffmpeg-static/64bit/lib -static'
    --extra-libs='-lxml2 -lexpat -lfreetype' --enable-static
    --disable-shared --disable-ffserver --disable-doc --enable-bzlib
    --enable-zlib --enable-postproc --enable-runtime-cpudetect
    --enable-libx264 --enable-gpl --enable-libtheora --enable-libvorbis
    --enable-libmp3lame --enable-gray --enable-libass
    --enable-libfreetype --enable-libopenjpeg --enable-libspeex
    --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-version3
    --enable-libvpx
    libavutil      52. 89.100 / 52. 89.100
    libavcodec     55. 66.101 / 55. 66.101
    libavformat    55. 43.100 / 55. 43.100
    libavdevice    55. 13.101 / 55. 13.101
    libavfilter     4.  8.100 /  4.  8.100
    libswscale      2.  6.100 /  2.  6.100
    libswresample   0. 19.100 /  0. 19.100
    libpostproc    52.  3.100 / 52.  3.100
Unknown input format: 'x11grab'

So, still not a workable solution. Did you try it yourself?

Elijah
------
hoping to hear from people who have actually accomplished something

[toc] | [prev] | [next] | [standalone]


#12247

FromEric Pozharski <whynot@pozharski.name>
Date2014-10-09 11:54 +0300
Message-ID<slrnm3cja8.gnn.whynot@orphan.zombinet>
In reply to#12245
with <eli$1410081953@qz.little-neck.ny.us> Eli the Bearded wrote:

*SKIP*
> hoping to hear from people who have actually accomplished something

Speaking for people-who-acomplished-something:

(1) Example from Excelent Documentation(TM) of avconv (or is it ffmpeg
again?  I'm trully lost here), grabbing on -s cif produces something.
Grabbing on -s 1680x1050 produces whooping 7 fps material with 983
duplicates over 40sec video.

(2) You should look for examples in Excelent Documentation(TM) of ffmpeg
on-site -- IIRC example of X11 grrabbing was there for years.  Can't say
if it was a working example back then.

(3) Quick swipe through Excelent Documentation(TM) of mplayer/mencoder
suggests vain -- the thing just doesn't do it.

p.s.  "on-site" means "installed", cut off interwebs.

-- 
Torvalds' goal for Linux is very simple: World Domination
Stallman's goal for GNU is even simpler: Freedom

[toc] | [prev] | [next] | [standalone]


#12257

Fromfaeychild <faeychild@noreply.afraid.com>
Date2014-10-10 12:03 +1100
Message-ID<m17b9u$b4n$1@dont-email.me>
In reply to#12245
Eli the Bearded wrote:

> In comp.os.linux.misc, faeychild  <faeychild@noreply.afraid.com> wrote:
>> Eli the Bearded wrote:
>> > I found recommendations for ffmpeg, eg:
>>  The latest static build of ffmpeg can be found at
>> http://ffmpeg.gusari.org/static/
> 
> Using the "latest" 64bit build:
> 
> ffmpeg version N-63893-gc69defd Copyright (c) 2000-2014 the FFmpeg
> developers
>   built on Jul 16 2014 05:38:01 with gcc 4.6 (Debian 4.6.3-1)

July is not exactly fresh, is it.


>     configuration: --prefix=/root/ffmpeg-static/64bit
>     --extra-cflags='-I/root/ffmpeg-static/64bit/include -static'
>     --extra-ldflags='-L/root/ffmpeg-static/64bit/lib -static'
>     --extra-libs='-lxml2 -lexpat -lfreetype' --enable-static
>     --disable-shared --disable-ffserver --disable-doc --enable-bzlib
>     --enable-zlib --enable-postproc --enable-runtime-cpudetect
>     --enable-libx264 --enable-gpl --enable-libtheora --enable-libvorbis
>     --enable-libmp3lame --enable-gray --enable-libass
>     --enable-libfreetype --enable-libopenjpeg --enable-libspeex
>     --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-version3
>     --enable-libvpx
>     libavutil      52. 89.100 / 52. 89.100
>     libavcodec     55. 66.101 / 55. 66.101
>     libavformat    55. 43.100 / 55. 43.100
>     libavdevice    55. 13.101 / 55. 13.101
>     libavfilter     4.  8.100 /  4.  8.100
>     libswscale      2.  6.100 /  2.  6.100
>     libswresample   0. 19.100 /  0. 19.100
>     libpostproc    52.  3.100 / 52.  3.100
> Unknown input format: 'x11grab'
> 
> So, still not a workable solution. Did you try it yourself?

No sorry. I thought you may get somewhere with a recent build

> 
> Elijah
> ------
> hoping to hear from people who have actually accomplished something

I tried this one. It does require you to specify the desktop area; a bit of 
a drag.

http://tinyurl.com/mxekknn


-- 
faeychild
Running kde on 3.14.18-desktop-3.mga4 kernel. booting level 5
Mageia release 4 (Official) for x86_64

[toc] | [prev] | [next] | [standalone]


#12249

From"Nuno J. Silva (aka njsg)" <njsg@invalid.invalid>
Date2014-10-09 12:57 +0000
Message-ID<m160n0$ji8$1@news.datemas.de>
In reply to#12240
On 2014-10-08, Eli the Bearded <*@eli.users.panix.com> wrote:
> What do people like to use these days? A casual web search turned up 
> blog posts that are somewhat old.

Last time I had to record my own screen, I used recordmydesktop and, as
far as I recall, it went quite well. It converts the recorded video to
Ogg Theora.

It seems to adjust the frame rate according to what changes in the
screen, so it may be a problem if you need something with a fixed
framerate, but I think it may be a good idea otherwise (as it won't use
more frames than needed).

According to my distro's package manager, recordmydesktop is available
from http://recordmydesktop.sourceforge.net/about.php

While the website mentions frontends, I've never tried them, my
experience has been with the commandline tool (recordmydesktop
filename.ogv, Ctrl+C to terminate the capture (and start the encoding))

-- 
Nuno Silva (aka njsg)
Helsinki, Finland

[toc] | [prev] | [next] | [standalone]


#12250

FromEli the Bearded <*@eli.users.panix.com>
Date2014-10-09 18:11 +0000
Message-ID<eli$1410091410@qz.little-neck.ny.us>
In reply to#12249
In comp.os.linux.misc, Nuno J. Silva (aka njsg) <njsg@invalid.invalid> wrote:
> On 2014-10-08, Eli the Bearded <*@eli.users.panix.com> wrote:
> > What do people like to use these days? A casual web search turned up 
> > blog posts that are somewhat old.
> According to my distro's package manager, recordmydesktop is available
> from http://recordmydesktop.sourceforge.net/about.php
> 
> While the website mentions frontends, I've never tried them, my
> experience has been with the commandline tool (recordmydesktop
> filename.ogv, Ctrl+C to terminate the capture (and start the encoding))

I found that easily with my package manager and tried the command line
from the man page (why -- and - mixed? why no short version for width or
height? Who knows?):

    recordmydesktop --width $wide 
	    --height $height \
	    -x $upper_left_x -y $upper_left_y \
	    -o foo.ogv

And it worked perfectly. In a thirty second test, it caught mouse
pointer changes in addition to other changes, and recorded at about
18 FPS. That's just fine.

I see from the manpage there is a --fps switch and a --follow-mouse
option that looks interesting. 

And:

   The following NEW packages will be installed:
     recordmydesktop
   0 upgraded, 1 newly installed, 0 to remove and 21 not upgraded.
   Need to get 58.0 kB of archives.
   After this operation, 160 kB of additional disk space will be used.

At a mere 160kB, it's about 100 x smaller than the ffmpeg I downloaded
yesterday.

Elijah
------
sure ffmpeg does more, but most of that isn't useful to me

[toc] | [prev] | [standalone]


Back to top | Article view | comp.os.linux.misc


csiph-web