How To Use FFMPEG To Screencast from any Puppy Distro
Posted: Thu 12 Jan 2012, 08:23
Hi All
If you want to make videos in Puppy Linux to upload to youtube etc, then just open your terminal and bash the following code in.
#!/bin/sh
var="$(xrandr | grep '*')"
IFS=" "
set -- $var
ffmpeg -f alsa -ac 2 -i hw:0,0 -f x11grab -s $1 -r 25 -i :0.0 -sameq /root/test.avi
FFMPEG will now record your desktop and your Mic + Sound input as well, just use CTRL+C to end the recording.
This will give you a big file of nice quality, I would suggest you use FFConvert to shrink it down to a few megs so you can upload it quicker to youtube.
This means you dont need to install apps like xvdcap or recordmydesktop as you can do it straight from FFMPEG.
If you want to make videos in Puppy Linux to upload to youtube etc, then just open your terminal and bash the following code in.
#!/bin/sh
var="$(xrandr | grep '*')"
IFS=" "
set -- $var
ffmpeg -f alsa -ac 2 -i hw:0,0 -f x11grab -s $1 -r 25 -i :0.0 -sameq /root/test.avi
FFMPEG will now record your desktop and your Mic + Sound input as well, just use CTRL+C to end the recording.
This will give you a big file of nice quality, I would suggest you use FFConvert to shrink it down to a few megs so you can upload it quicker to youtube.
This means you dont need to install apps like xvdcap or recordmydesktop as you can do it straight from FFMPEG.