Difference between revisions of "Talk:Create SD Image Version 0.8.4"
Line 24: | Line 24: | ||
www.digikey.com//en/maker/blogs/streaming-live-to-youtube-and-facebook-using-raspberry-pi-camera | 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> |
Revision as of 07:46, 4 September 2019
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>