Pistream

From TAMI
Jump to: navigation, search

i hate arch pi is weak


http://www.raspberrypi.org/phpBB3/viewtopic.php?f=26&t=7557


FUCK ARC

https://github.com/raspberrypi/noobs/blob/master/README.md


desktop ? http://www.raspberrypi.org/phpBB3/viewtopic.php?f=53&t=36552&p=306464&hilit=lxde#p306464




stream on arch/pi

1. run arch + ssh

  1. pacman -Sy openssh
  1. sshd start
  1. systemctl start sshd

2. detect webcam using lsusb

  1. lsusb

sniff webcam

  1. lsusb -v -d 18ec:3399

3. install ffmpeg

  1. pacman -S ffmpeg

detect webcams - troubleshoot -> http://archlinuxarm.org/forum/viewtopic.php?t=4499 make sure you run in supported format and resolution (but this didnt help it didnt find an of them formats yuvy,yuv,raw)

  1. ffmpeg -v verbose -list_formats all -f video4linux2 -i /dev/video0

config for thora -> https://trac.ffmpeg.org/wiki/Streaming%20media%20with%20ffserver#StreamingTheoravideowithVorbisaudioinOggformat edit ffserv.conf

  1. touch /etc/ffserv/ffserv.conf
  1. vi /etc/ffserv/ffserv.conf

4. run ffmpeg stream to ffserv with same settings (?) - https://trac.ffmpeg.org/wiki/Streaming%20media%20with%20ffserver

run ffserv

  1. ffserver -f /etc/ffserv/ffserv.conf

run ffmpeg

  1. ffmpeg -v verbose -r 5 -s 320x240 -f video4linux2 -f alsa -ac 1 -i hw:0 -i /dev/video0 http://192.168.1.101/feed1.ffm


or mybe https://www.virag.si/2012/11/streaming-live-webm-video-with-ffmpeg/ http://192.168.1.101:8090/status.html