Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
| Entrambe le parti precedenti la revisione Revisione precedente Prossima revisione | Revisione precedente | ||
|
raspberry:camera [2019/03/13 23:01] stefano [motion] |
raspberry:camera [2023/04/17 14:25] (versione attuale) |
||
|---|---|---|---|
| Linea 90: | Linea 90: | ||
| ffmpeg -v verbose -r 5 -s 600x480 -f video4linux2 -i /dev/video0 http:// | ffmpeg -v verbose -r 5 -s 600x480 -f video4linux2 -i /dev/video0 http:// | ||
| - | e da browser http://ip raspberry: | + | e da browser http://ipraspberry: |
| - | poi lo stesso http://192.168.1.106: | + | poi lo stesso http://ipraspberry: |
| e funziona pure su zoneminder: | e funziona pure su zoneminder: | ||
| sorgente: ffmpeg\\ | sorgente: ffmpeg\\ | ||
| - | percorso: http://192.168.1.106: | + | percorso: http://ipraspberry: |
| metodo remoto: RTP/Unicast \\ | metodo remoto: RTP/Unicast \\ | ||
| + | Il problema con queste prove è che la qualità fa schifo\\ | ||
| + | Ma dalle ultime prove sembra che una grossa differenza l' | ||
| + | quindi una buona soluzione non ancora ottimale sarebbe la seguente:\\ | ||
| + | <file txt ffserver.conf> | ||
| + | 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 / | ||
| + | FileMaxSize 10M | ||
| + | launch ffmpeg -f video4linux2 -i /dev/video0 | ||
| + | </ | ||
| + | |||
| + | #<Stream test.mjpg> | ||
| + | #Feed feed1.ffm | ||
| + | #Format mpjpeg | ||
| + | # | ||
| + | #VideoSize 600x480 | ||
| + | # | ||
| + | ## VideoQMin 1 | ||
| + | ## VideoQMax 100 | ||
| + | # | ||
| + | #NoAudio | ||
| + | #Strict -1 | ||
| + | #</ | ||
| + | |||
| + | <Stream live.flv> | ||
| + | Format flv | ||
| + | Feed feed1.ffm | ||
| + | VideoCodec flv | ||
| + | VideoFrameRate 4 | ||
| + | VideoBitRate 800 | ||
| + | VideoSize 800x600 | ||
| + | noaudio | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | aggiungere: | ||
| + | <Stream stat.html> | ||
| + | Format status | ||
| + | </ | ||
| + | |||
| + | per avere lo stato della situazione\\ | ||
| + | |||
| + | Però ho notato le seguenti diciture in seguito all' | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| ==== utilizzo risorse ==== | ==== utilizzo risorse ==== | ||
| Linea 183: | Linea 242: | ||
| ffmpeg_output_movies on | ffmpeg_output_movies on | ||
| + | ===== link utili ===== | ||
| + | |||
| + | https:// | ||