I want to stream video and audio using raspberry pi. Raspberry pi-1 should act as video streaming server while other arduinos should as as forwarder. Destination node will be again raspberry pi -2. I am also doing video encoding/compression on received video before sending stream and decompression at receiver side. Can I get similar implementation anywhere?
i am doing reasearch on video streaming in wireless sensor network ( Ad Hoc Network ) . By using motion , raspitill , raspberry pi became video streaming server . Before delivery of stream , i have to first compress images and combine using commands :
raspistill -o myimage_%04d.jpg -tl 60000 -t 7200000
and
avconv -r 10 -i myimage_%04d.jpg -r 10 -vcodec libx264 -crf 20 -g 15 timelapse.mp4
Can i compress these images using my compression algorithm by storing it in some python script .
I installed DHCP server and apache web server on Raspberry pi to make it ad-hoc router cum web server . So user can join it easily and do surf through websites inside it and i want to stream compressed videos to user inside its wifi hot spot.
avconvis already compressing your images. If you just put yourtimelapse.mp4files into the Apache web root then they would be available to anyone on the network via a web browser. I'm not sure what you would need a python script for. - nullability