| Author |
Message |
Amgine

Joined: 21 Sep 2011 Posts: 212 Location: Washington State
|
Posted: Sat 14 Jan 2012, 17:48 Post_subject:
|
|
Is there a way to set up a short delay?
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2731 Location: Kiel,Germany
|
Posted: Sat 14 Jan 2012, 18:24 Post_subject:
|
|
| Code: | DELAY='5s'
sleep $DELAY
ffmpeg $MYVARS |
OR
| Code: | 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 |
|
|
Back to top
|
|
 |
Amgine

Joined: 21 Sep 2011 Posts: 212 Location: Washington State
|
Posted: Sat 14 Jan 2012, 22:49 Post_subject:
|
|
| Karl Godt wrote: | | Code: | DELAY='5s'
sleep $DELAY
ffmpeg $MYVARS |
OR
| Code: | 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!
|
|
Back to top
|
|
 |
Icyos

Joined: 28 Jun 2011 Posts: 92 Location: UK
|
Posted: Tue 17 Jan 2012, 04:37 Post_subject:
|
|
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.
_________________ Come to me TUBE : Icyos Puppy Linux YouTube
Puppy Slacko 5.31 Addict - Use With Caution.
icyos@hotmail.co.uk - MSN Me
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2731 Location: Kiel,Germany
|
Posted: Tue 17 Jan 2012, 22:10 Post_subject:
|
|
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 .
|
|
Back to top
|
|
 |
Tman

Joined: 22 Jan 2011 Posts: 746 Location: Toronto
|
Posted: Sun 14 Oct 2012, 15:23 Post_subject:
|
|
Thanks Karl Godt for the code. I modified it a bit and turned it into a pet.
http://www.murga-linux.com/puppy/viewtopic.php?t=75113&start=15&sid=44d25c2ed90a24271fc936db65793c95
|
|
Back to top
|
|
 |
Pelo
Joined: 10 Sep 2011 Posts: 1150 Location: Paris charles de Gaulle Airport (10 kms°)
|
Posted: Sat 18 May 2013, 13:45 Post_subject:
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.
|
|
Back to top
|
|
 |
|