-
Fototrend
TP-Link WR1043ND - N450 router
Új hozzászólás Aktív témák
-
mgrincs
tag
válasz Maximusz #20309 üzenetére
Azért a --help opció nem olyan bonyolult .
root@OpenWrt:~# /usr/bin/mjpg_streamer --help
-----------------------------------------------------------------------
Usage: /usr/bin/mjpg_streamer
-i | --input "<input-plugin.so> [parameters]"
-o | --output "<output-plugin.so> [parameters]"
[-h | --help ]........: display this help
[-v | --version ].....: display version information
[-b | --background]...: fork to the background, daemon mode
-----------------------------------------------------------------------
Example #1:
To open an UVC webcam "/dev/video1" and stream it via HTTP:
/usr/bin/mjpg_streamer -i "input_uvc.so -d /dev/video1" -o "output_http.so"
-----------------------------------------------------------------------
Example #2:
To open an UVC webcam and stream via HTTP port 8090:
/usr/bin/mjpg_streamer -i "input_uvc.so" -o "output_http.so -p 8090"
-----------------------------------------------------------------------
Example #3:
To get help for a certain input plugin:
/usr/bin/mjpg_streamer -i "input_uvc.so --help"
-----------------------------------------------------------------------
In case the modules (=plugins) can not be found:
* Set the default search path for the modules with:
export LD_LIBRARY_PATH=/path/to/plugins,
* or put the plugins into the "/lib/" or "/usr/lib" folder,
* or instead of just providing the plugin file name, use a complete
path and filename:
/usr/bin/mjpg_streamer -i "/path/to/modules/input_uvc.so"
-----------------------------------------------------------------------
root@OpenWrt:~# /usr/bin/mjpg_streamer -o "/usr/lib/output_file.so --help"
MJPG Streamer Version: svn rev: exported
---------------------------------------------------------------
Help for output plugin..: FILE output plugin
---------------------------------------------------------------
The following parameters can be passed to this plugin:
[-f | --folder ]........: folder to save pictures
[-m | --mjpeg ]........: save the stream to an mjpeg file
[-d | --delay ].........: delay after saving pictures in ms
[-s | --size ]..........: size of ring buffer (max number of pictures to hold)
[-e | --exceed ]........: allow ringbuffer to exceed limit by this amount
[-c | --command ].......: execute command after saving picture
[-i | --input ].......: read frames from the specified input plugin
---------------------------------------------------------------
output_init() return value signals to exit
root@OpenWrt:~#Mivel alapból hotplug eseményre indul el(kamerát dugnak a routerre), ha ilyen módon szeretnéd folyamatosan használni, a hotplug szkriptet esetleg ki kell törölnöd, hogy ne zavarjon be.
Egyébként a fentieket alapul véve add ki ezt a parancsot, és nézd meg gyártja-e rendesen a képeket:mjpg-streamer -i "input_uvc.so" -o "output_file.so -f /mnt/webcam -d 60000 -s 60"
Elvileg percenként kapsz egy képet és egy órányit tart meg(60 db).
Meglátjuk.@chipi89:
Neked a sonixb driver kell.
opkg update
opkg install kmod-video-gspca-core
opkg install kmod-video-gspca-sonixb[ Szerkesztve ]
http://www.youtube.com/watch?v=HkTa3-ZZbD8
Új hozzászólás Aktív témák
- Tenisz topic
- Win 10 LTSC: hülye vagyok?
- exHWSW - Értünk mindenhez IS
- Linux - haladóknak
- Mikrokontrollerek Arduino környezetben (programozás, építés, tippek)
- Futás, futópályák
- Luck Dragon: Asszociációs játék. :)
- D1Rect: Nagy "hülyétkapokazapróktól" topik
- sziku69: Fűzzük össze a szavakat :)
- LEGO klub
- További aktív témák...
- Microsoft Surface Pro 6 12.3" 2736 x 1824/i5 8350u/
- Legjobb ÁR!!!HP EliteBook 640 G9 Ezüst (14" / Intel i5-1235U / 16GB / 512GB SSD / Win 11 Pro)
- HP Probook 340S G7 i5-1035G1/8GB/256SSD/Windows 11
- MSI MAG274QRF-QD QLED Gamer Monitor!27"/2k/165hz/1ms/Freesync-Gsync/Type C/Konzolhoz is/Beszámítás!
- Sennheiser Epos H3 White Gamer Fejhallgató Eladó!
Állásajánlatok
Cég: Alpha Laptopszerviz Kft.
Város: Pécs
Cég: Ozeki Kft.
Város: Debrecen