僕の備忘録(PC、UN*X、ネットワーク関連が中心)なんです。
自分の書いたところは適当(な時とか)に書き換えますので御了承を。
ISOイメージのubuntuで動かすには、/etc/apt/sources.listの 各項目をs/main/main universe/とかしてapt update。
ddrescue する様子をリモートから記録してみた。
デスクトップの自動画面オフを無効にしておく。
$ DISPLAY=:0.0 recordmydesktop --no-cursor --no-sound -o ddrescue.ogv Initial recording window is set to: X:0 Y:0 Width:1280 Height:1024 Adjusted recording window is set to: X:0 Y:0 Width:1280 Height:1024 Your window manager appears to be GNOME Shell Detected compositing window manager. Reverting to full screen capture at every frame. To disable this check run with --no-wm-check (though that is not advised, since it will probably produce faulty results). Initializing... Capturing!
止める時にctrl-cすると、キャプチャをビデオに 加工し始める、らしい。
^C ********************************************* Cached 28 MB, from 99435 MB that were received. Average cache compression ratio: 100.0 % ********************************************* Saved 19887 frames in a total of 19888 requests Shutting down...... 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: ddrescue.ogv
が終わるまで、17分ほどかかった。
[100%] Encoding finished! Wait a moment please... Done. Written 92200034 bytes (92200034 of which were video data and 0 audio data) Cleanning up cache... Done!!! Goodbye!
22分5秒分、約88MBのogg形式、さてどう見たものか。
$ ls -alFh ddrescue.ogv -rwxrwxrwx 1 user group 88M 8月 11 17:09 ddrescue.ogv* $ file ddrescue.ogv ddrescue.ogv: Ogg data, Skeleton v3.0
リンクはご自由にどうぞ。でもURLや内容が変った場合はあしからず。