Page 1 of 1

Easiest way to make a movie of my desktop

Posted: 24 Jun 2013, 18:27
by viking60
Yes I have recordmydesktop and xvidcap but they can both be somewhat annoying.
I never figured out how to make the music come on to my videos, among other things.
So I tested out a mpeg solution in the CLI with very good results.
This was done on Manjaro so I did not have to install anything.

I opened pavucontrol (pulse audio volume control) to be able to share the music played on my computer during the "shoot".

Then I checked my resolution with

Code: Select all

inxi -G
to make sure that all of my desktop was recorded.

Then I went to my Videoclip directory and entered this command:

Code: Select all

sudo ffmpeg -f alsa -i default -f x11grab -s 1920x1200 -r 30 -i :0.0 -qscale 0 filename.mpg


It will will generate a video called filename.mpg. Replace 1920x1200 with your resolution.

To make sure my desktop sound is shared I had to set pavucontrol to Monitor built in of Audi Analog stereo in the Recording tab.

This is not easy you say?

Eh well no - I am coming to that part:
I made myself an alias:

Code: Select all

alias makemovie='sudo ffmpeg -f alsa -i default -f x11grab -s 1920x1200 -r 30 -i :0.0 -qscale 0 filename.mpg'

So now I only have to write makemovie everytime I want to record my desktop. And I hit "q" when I want to stop.

It is as easy as that +1

Video coming up....

Re: Easiest way to make a movie of my desktop

Posted: 24 Jun 2013, 22:08
by viking60
Manjaro openbox I uploaded it as avi
:A

Looks like that music stunt of mine makes the video lag a bit though. It might be my connection which is lousy today...

Re: Easiest way to make a movie of my desktop

Posted: 25 Jun 2013, 00:02
by viking60
Here I have uploaded a mpg video to Youtube. This quality is good!

Ah I just saw the message that the video is blocked in some countries on account of the music.... I was only presenting my desktop playing the radio - like any of you can with Clementine.

Re: Easiest way to make a movie of my desktop

Posted: 27 Jun 2013, 22:05
by dedanna1029
Blocked=censored.
Any excuse is better than none for them to do it (for them).
I've had three blocked due to their censoring crapola (yep, for the music). I even stated that the artist/companies own the rights to the music, and they still blocked it.

Thus ended my youtube career. Between that and the fact that flash is crap any more, I'm not putting up with it. Am in the process of finding another video site to use.

Re: Easiest way to make a movie of my desktop

Posted: 28 Jun 2013, 00:33
by viking60
Vimeo is good - but slow.

Re: Easiest way to make a movie of my desktop

Posted: 28 Jun 2013, 01:44
by dedanna1029
Yeah, and there's anohter one that a friend uses. Can't remember which one it is now. I'll see if I can find out.

Keep on with the youtube, but know that I can't see the videos. :( Flash crashes at first sight of them, even after a reload.

So, I'm waiting for an update (or to see if about a rollback) to fix it.

Re: Easiest way to make a movie of my desktop

Posted: 07 Nov 2013, 14:57
by viking60
I have been playing around with html5 lately and the only video format that will show up in both Chromium and Firefox - with the <video> tag is webm.
So it makes sense to make an alias for that format.

Code: Select all

alias webm='sudo ffmpeg -f alsa -i default -f x11grab -s 1920x1200 -r 30 -i :0.0 -qscale 0 -strict -2 aaa.webm'