Difference between revisions of "Talk:Create SD Image Version 0.8.4"
(Created page with " Time lapse script for i in $(seq -f "%05g" 1 3000) do echo $i date; raspistill -vf -hf -o image2$i.jpg sleep 9 done Stitch the jpgs into a mpeg ffmpeg...") |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | ==Apache: Don't log certain files== | ||
− | Time lapse script | + | https://www.howtoforge.com/setenvif_apache2 |
+ | |||
+ | ==Turn off PiCam LED== | ||
+ | |||
+ | In /boot/config.txt add: | ||
+ | |||
+ | disable_camera_led=1 | ||
+ | |||
+ | |||
+ | |||
+ | ==Time lapse script== | ||
for i in $(seq -f "%05g" 1 3000) | for i in $(seq -f "%05g" 1 3000) | ||
Line 12: | Line 23: | ||
− | Stitch the jpgs into a mpeg | + | ==Stitch the jpgs into a mpeg== |
ffmpeg -i image2*.jpg output.mpeg | ffmpeg -i image2*.jpg output.mpeg | ||
+ | |||
+ | |||
+ | Convert raspivid .h264 to .mp4 | ||
+ | |||
+ | ffmpeg -r 30 -i video_in.h264 -vcodec copy video_out.mp4 | ||
+ | |||
+ | ==Stream video on YouTube== | ||
+ | |||
+ | www.digikey.com//en/maker/blogs/streaming-live-to-youtube-and-facebook-using-raspberry-pi-camera | ||
+ | |||
+ | |||
+ | |||
+ | This is obsolete unless someone supports ffserver: | ||
+ | |||
+ | Change /etc/ffserver.conf to: | ||
+ | # ### This works but needs to be optimized ### | ||
+ | |||
+ | Port 8090 | ||
+ | # bind to all IPs aliased or not | ||
+ | BindAddress 0.0.0.0 | ||
+ | # max number of simultaneous clients | ||
+ | MaxClients 10 | ||
+ | # max bandwidth per-client (kb/s) | ||
+ | MaxBandwidth 1000 | ||
+ | # Suppress that if you want to launch ffserver as a daemon. | ||
+ | NoDaemon | ||
+ | |||
+ | <Feed feed1.ffm> | ||
+ | File /tmp/feed1.ffm | ||
+ | FileMaxSize 10M | ||
+ | </Feed> | ||
+ | |||
+ | <Stream test.mjpg> | ||
+ | Feed feed1.ffm | ||
+ | Format mpjpeg | ||
+ | VideoFrameRate 8 | ||
+ | VideoSize 600x480 | ||
+ | # VideoBitRate 80 | ||
+ | # VideoQMin 1 | ||
+ | # VideoQMax 100 | ||
+ | VideoIntraOnly | ||
+ | NoAudio | ||
+ | Strict -1 | ||
+ | </Stream> |
Latest revision as of 11:13, 5 February 2020
Contents
Apache: Don't log certain files
https://www.howtoforge.com/setenvif_apache2
Turn off PiCam LED
In /boot/config.txt add:
disable_camera_led=1
Time lapse script
for i in $(seq -f "%05g" 1 3000) do echo $i date; raspistill -vf -hf -o image2$i.jpg sleep 9 done
Stitch the jpgs into a mpeg
ffmpeg -i image2*.jpg output.mpeg
Convert raspivid .h264 to .mp4
ffmpeg -r 30 -i video_in.h264 -vcodec copy video_out.mp4
Stream video on YouTube
www.digikey.com//en/maker/blogs/streaming-live-to-youtube-and-facebook-using-raspberry-pi-camera
This is obsolete unless someone supports ffserver:
Change /etc/ffserver.conf to: # ### This works but needs to be optimized ### Port 8090 # bind to all IPs aliased or not BindAddress 0.0.0.0 # max number of simultaneous clients MaxClients 10 # max bandwidth per-client (kb/s) MaxBandwidth 1000 # Suppress that if you want to launch ffserver as a daemon. NoDaemon <Feed feed1.ffm> File /tmp/feed1.ffm FileMaxSize 10M </Feed> <Stream test.mjpg> Feed feed1.ffm Format mpjpeg VideoFrameRate 8 VideoSize 600x480 # VideoBitRate 80 # VideoQMin 1 # VideoQMax 100 VideoIntraOnly NoAudio Strict -1 </Stream>