Here is a fast and easy way to record your videos using pulseaudio.
ffmpeg -f alsa -i pulse -ac 2 -acodec pcm_s16le -f video4linux2 -s 640x480 -r 30 -i /dev/video0 -threads 0 -vcodec libx264 -vpre lossless_ultrafast test.mkv
avconv -f alsa -i pulse -acodec pcm_s16le -f video4linux2 -s 640x480 -r 30 -i /dev/video0 -threads 0 -vcodec libx264 -preset ultrafast test.mkv
For this to work, you need to have your ffmpeg compiled with libx264 support. Debian users can either compile it or just use the multimedia repository.
A good way to find the installation date of a linux machine is by using the passwd command with the -S option. This option displays account status information. The status information consists of 7 fields according to “man passwd”. The third field gives the date of the last password change. So, by finding the date of the users who never changed their password we can easily assume the installation date.
These users can be system users like, sys, bin, daemon etc.
# passwd -S sys
11/11/2009 0 99999 7 -1
# passwd -S daemon
daemon L 11/11/2009 0 99999 7 -1
# passwd -S bin
bin L 11/11/2009 0 99999 7 -1
For those who dont know, scrot is a fast and easy command line screenshot tool. There are some cool stuff you can do with it, like combining it with team viewer. Team viewer is a non-free vpn-like solution to share your desktop with others and vice versa.
Continue reading Scrot and Team Viewer
Steaming any application we like to a media server like icecast2 or shoutcast was made easy with pulseaudio. You wont need any special plugins for every application. Pulseaudio has all the needed tools to make it work 🙂
Continue reading Stream any pulseaudio application