back to Index

record_video

2014-08-09

You should actually run the following cell in a bash shell, because recordmydesktop catches ctrl-c.


In [1]:
!recordmydesktop


Initial recording window is set to:
X:0   Y:0    Width:1920    Height:1980
Adjusted recording window is set to:
X:0   Y:6    Width:1920    Height:1968
Your window manager appears to be LG3D

Initializing...
Buffer size adjusted to 4096 from 4096 frames.
Opened PCM device default
Recording on device default is set to:
1 channels at 22050Hz
Capturing!
^C
Shutting down.
*********************************************

Cached 1132 MB, from 23033 MB that were received.
Average cache compression ratio: 95.1 %

*********************************************
Saved 1598 frames in a total of 1595 requests
....
STATE:ENCODING
Encoding started!
This may take several minutes.
Pressing Ctrl-C will cancel the procedure (resuming will not be possible, but
any portion of the video, which is already encoded won't be deleted).
Please wait...
Output file: out.ogv
[0%] 

In [2]:
ls /tmp/rMD*


/tmp/rMD-session-10318:
audio.pcm  img.out  specs.txt

/tmp/rMD-session-12662:
audio.pcm  img.out  img.out.1  img.out.2  specs.txt

In [3]:
mkdir /tmp/rmd

In [4]:
cp /tmp/rMD* /tmp/rmd/ -r

In [6]:
!du -h /tmp/rmd


1.2G	/tmp/rmd/rMD-session-12662
24M	/tmp/rmd/rMD-session-10318
1.2G	/tmp/rmd

In [1]:
!recordmydesktop --rescue /tmp/rmd/rMD-session-12662/


Restoring /tmp/rmd/rMD-session-12662/!!!
STATE:ENCODING
Encoding started!
This may take several minutes.
Pressing Ctrl-C will cancel the procedure (resuming will not be possible, but
any portion of the video, which is already encoded won't be deleted).
Please wait...
Output file: out-1.ogv
[0%] 
Encoding finished!
Wait a moment please...
   
Done.
Written 62889472 bytes
(61641244 of which were video data and 1248228 audio data)

Done!!!
Goodbye!

In [ ]: