How To Use FFMPEG To Screencast from any Puppy Distro
Code: Select all
DELAY='5s'
sleep $DELAY
ffmpeg $MYVARS
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!Karl Godt wrote:ORCode: Select all
DELAY='5s' sleep $DELAY ffmpeg $MYVARS
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
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.
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.
MORE frames = MORE MB
I had forgotten that it ran for 40 minutes and the avi file became 1,15GB ( -s 1280x1024 -r 25 )
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 .
I had forgotten that it ran for 40 minutes and the avi file became 1,15GB ( -s 1280x1024 -r 25 )
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 .
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
http://www.murga-linux.com/puppy/viewto ... db65793c95
Great ! puprecord is a good tool with my speach !
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)
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)
- Attachments
-
- dpuprec.jpg
- dpuprec however still does the job (Gposil 2009)
- (34.74 KiB) Downloaded 366 times
EasyCast 2015 to be tested.
Test a renewed screencast here EasyCast, and give your opinion to Argolance (English accepted)
How To Use FFMPEG To Screencast from any Puppy Distro
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.
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
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
"Having found out about XvidCap earlier on today, I liked the sound of it"
Mike Walsh