Page 1 of 2

Posted: Sat 14 Jan 2012, 21:48
by Amgine
Is there a way to set up a short delay?

Posted: Sat 14 Jan 2012, 22:24
by Karl Godt

Code: Select all

DELAY='5s'
sleep $DELAY
ffmpeg $MYVARS
OR

Code: Select all

k='';c=0
echo "Press any key to start ffmpeg"
until [ "$k" ] ; do
sleep 1s;c=$((c+1));echo -ne "\r$c "
read -t1 -n1 k
done
echo
ffmpeg $MYVARS

Posted: Sun 15 Jan 2012, 02:49
by Amgine
Karl Godt wrote:

Code: Select all

DELAY='5s'
sleep $DELAY
ffmpeg $MYVARS
OR

Code: Select all

k='';c=0
echo "Press any key to start ffmpeg"
until [ "$k" ] ; do
sleep 1s;c=$((c+1));echo -ne "\r$c "
read -t1 -n1 k
done
echo
ffmpeg $MYVARS
Thank you! :)

Posted: Tue 17 Jan 2012, 08:37
by Icyos
Hi All

This is my final entry after trying many variations out.

#!/bin/sh
var="$(xrandr | grep '*')"
IFS=" "
set -- $var
ffmpeg -f alsa -ac 2 -i hw:0,0 -f x11grab -s $1 -r 30 -i :0.0 -sameq /root/test.avi

I have found 30 frames to be the optimal and it produces the best visual quality, I have tested this on Puppies 5.25/5.28 & 5.31 Slacko, I have now moved to Slacko as my main operating system as I just love it to bits.

I hope all of you trying to get this to work with older Puppies are successful please contact me if I can help you in any way.

Posted: Wed 18 Jan 2012, 02:10
by Karl Godt
MORE frames = MORE MB

I had forgotten that it ran for 40 minutes and the avi file became 1,15GB ( -s 1280x1024 -r 25 ) :shock:

No luck with mp4 format either , still very very large .
Would be nice to get more extensions to work andor to decrease the filesize .

Could not get 9.1 compile on one Puppy431 installation but 7.11 and 8.10 compiled .

yasm >=0.8 needed to enable yasm and the source compiled fine but it seems not to have any effect .

Despite --enable-x11grab some other configure options disable it
and the binary does not include x11grab though ffmpeg -help says so .
The first time i compiled source i had to look into the /tmp/* folders for hints .
After installing several header and library packages it worked .

Posted: Sun 14 Oct 2012, 19:23
by Tman
Thanks Karl Godt for the code. I modified it a bit and turned it into a pet.
http://www.murga-linux.com/puppy/viewto ... db65793c95

Great ! puprecord is a good tool with my speach !

Posted: Sat 18 May 2013, 17:45
by Pelo
Sorry error of location, but i have tested FFMPEG vidcap which works fine. (it's a pet of the script here above).Simple but does the job.

Great ! puprecord is a good tool with my speach !
I have spent all the day long to try to improve xvidcap for Slacko 5.3.1.
Puprecord is here.
Why dont you tell it before !
Very good alternative to xvidcap, better than drec and record my desktop.
Thanks Lobster.

PS :
Xvidcap remains the best because we can choose more.Garbled colours in Slacko are due to scrren resolution. Change it to 24 (depth)

EasyCast 2015 to be tested.

Posted: Wed 26 Aug 2015, 03:50
by Pelo
Test a renewed screencast here EasyCast, and give your opinion to Argolance (English accepted)

How To Use FFMPEG To Screencast from any Puppy Distro

Posted: Mon 02 Jul 2018, 02:36
by hamoudoudou
How To Use FFMPEG To Screencast from any Puppy Distro
Needed
Learn English (20 years)
Learn Linux commands (15 days)
Install Puppy Linux (choose a French one)
Suscribe Forum
install FFmpeg
Read this topic.

Or install Xvidcap. 5 minutes Fr included, FFmpeg included, zone selection, high quality.

Minimalist X11 screen capture software

Posted: Mon 02 Jul 2018, 02:38
by hamoudoudou
Minimalist X11 screen capture software.....with very low drain on resources
"Having found out about XvidCap earlier on today, I liked the sound of it"
Mike Walsh