2008-08-06から1日間の記事一覧
ffmpegが直接X Windowをエンコードできることが分かったので、それ用のスクリプト。 fps = 4 str = `xwininfo` x = {} x[:x] = str.match(/^ Absolute upper-left X: (\d+)/)[1].to_i x[:y] = str.match(/^ Absolute upper-left Y: (\d+)/)[1].to_i x[:width…
ffmpegが直接X Windowをエンコードできることが分かったので、それ用のスクリプト。 fps = 4 str = `xwininfo` x = {} x[:x] = str.match(/^ Absolute upper-left X: (\d+)/)[1].to_i x[:y] = str.match(/^ Absolute upper-left Y: (\d+)/)[1].to_i x[:width…