mjpg_streamer would like to capture stills on SD card
-
@Jo-Kritzinger The package I gave above includes output_file.so:
opkg remove mjpg-streamer cd /tmp wget https://dl.dropboxusercontent.com/u/11811685/omega2-stuff/mjpg-streamer_r182-8_mipsel_24kc.ipk opkg install mjpg-streamer_r182-8_mipsel_24kc.ipk --force-checksum
Just ignore the complaint about checksum-error, it won't match any of the packages you have in the repos, since it comes from my own repo.
Also, you can fork mjpeg_streamer into background by adding
-b
to the list of parameters you give to it. Just for future reference, it's sometimes helpful to check what parameters an app supports by calling it with--help
...
-
@WereCatf Thanks for the response, however, I get an error:
opkg install mjpg-streamer_r182-8_mipsel_24kc.ipk --force-checksum
Installing mjpg-streamer (r182-8) to root...
Ignored mjpg-streamer sha256sum mismatch.
Collected errors:- satisfy_dependencies_for: Cannot satisfy the following dependencies for mjpg-streamer:
- libv4l *
- opkg_install_cmd: Cannot install package jpg-streamer.
-
@Jo-Kritzinger libv4l is available from the LEDE-repos.
-
@WereCatf thanks. Did not see it in opkg. New to this world. I believe it is retrievable using rsync? Would appreciate a pointer in the right direction.
-
@Jo-Kritzinger Add
src/gz reboot_packages http://downloads.lede-project.org/snapshots/packages/mips_24kc/packages
to /etc/opkg/distfeeds.conf and doopkg update
-
@WereCatf awesome, thanks. Will try.
-
@WereCatf Tried and I get 100's of lines similar to this:
Package zope-interface version 4.3.2-1 has no valid architecture, ignoring.
Package zsh version 5.2-1 has no valid architecture, ignoring.Then it ends with:
Trace/breakpoint trap
-
@Jo-Kritzinger You must have done something wrong, it definitely shouldn't spit out such things. Are you sure you didn't typo anything?
-
@WereCatf
Modified distfieeds:
root@Omega-xxxx:~# cat /etc/opkg/distfeeds.conf
RESULT#src/gz reboot_base http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/base #src/gz reboot_onion http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/onion # src/gz reboot_luci http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/luci # src/gz reboot_packages http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/packages # src/gz reboot_routing http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/routing # src/gz reboot_telephony http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/telephony src/gz omega2_core http://repo.onion.io/omega2/packages/core src/gz omega2_base http://repo.onion.io/omega2/packages/base src/gz omega2_packages http://repo.onion.io/omega2/packages/packages src/gz omega2_onion http://repo.onion.io/omega2/packages/onion src/gz reboot_packages http://downloads.lede-project.org/snapshots/packages/mips_24kc/packages
Then I rand the update:::
/etc/opkg# opkg update
RESULT:Updated list of available packages in /var/opkg-lists/omega2_core Downloading http://repo.onion.io/omega2/packages/core/Packages.sig Signature check passed. Downloading http://repo.onion.io/omega2/packages/base/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_base Downloading http://repo.onion.io/omega2/packages/base/Packages.sig Signature check passed. Downloading http://repo.onion.io/omega2/packages/packages/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_packages Downloading http://repo.onion.io/omega2/packages/packages/Packages.sig Signature check passed. Downloading http://repo.onion.io/omega2/packages/onion/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_onion Downloading http://repo.onion.io/omega2/packages/onion/Packages.sig Signature check passed. Downloading http://downloads.lede-project.org/snapshots/packages/mips_24kc/packages/Packages.gz Updated list of available packages in /var/opkg-lists/reboot_packages Downloading http://downloads.lede-project.org/snapshots/packages/mips_24kc/packages/Packages.sig Signature check passed.
This is how I installed:
opkg install mjpg-streamer_r182-8_mipsel_24kc.ipk --force-checksum
That gave all the weird results
-
@Jo-Kritzinger Oh, right, it was my own mistake. It should be
src/gz reboot_packages http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/packages
notsrc/gz reboot_packages http://downloads.lede-project.org/snapshots/packages/mips_24kc/packages
-- just change mips to mipsel.
-
@WereCatf OK, tried. Still an issue. I modified the line added to disftfeeds to reflect mipsel and ran the opkg update. Still got 100's of these type of messages
Package zoneinfo-southamerica version 2016j-1 has no valid architecture, ignoring. Package zope-interface version 4.3.2-1 has no valid architecture, ignoring. Package zsh version 5.2-1 has no valid architecture, ignoring.
but it ended with
Updated list of available packages in /var/opkg-lists/omega2_core Downloading http://repo.onion.io/omega2/packages/core/Packages.sig Signature check passed. Downloading http://repo.onion.io/omega2/packages/base/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_base Downloading http://repo.onion.io/omega2/packages/base/Packages.sig Signature check passed. Downloading http://repo.onion.io/omega2/packages/packages/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_packages Downloading http://repo.onion.io/omega2/packages/packages/Packages.sig Signature check passed. Downloading http://repo.onion.io/omega2/packages/onion/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_onion Downloading http://repo.onion.io/omega2/packages/onion/Packages.sig Signature check passed. Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/packages/Packages.gz Updated list of available packages in /var/opkg-lists/reboot_packages Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/packages/Packages.sig Signature check passed.
Then
opkg install mjpg-streamer_r182-8_mipsel_24kc.ipk --force-checksum
That resulted in
Illegal instruction
Time for a factory reset?
-
@WereCatf OK! Downloaded and installed following a reboot of the Omega. Seems the Omega was in an odd state.
-
This post is deleted!
-
@Jo-Kritzinger By the by, once you have launched mjpg_stream, is there a neat way of stopping it or is it just Ctrl-C that results in
setting signal to stop i: cleaning up ressources allocated by input thread force cancellation of threads and cleanup resources Segmentation fault
-
I have lost mjpg-streamer for some reason but it's weird....
When I try to call it I get a
-ash: mjpg-streamer: not found
But....root@Omega-xxxx:~# find / -name mjpg-streamer /etc/config/mjpg-streamer /etc/init.d/mjpg-streamer /overlay/upper/etc/config/mjpg-streamer /overlay/upper/etc/init.d/mjpg-streamer root@Omega-xxxx:~# opkg list-installed | grep mjpg-streamer mjpg-streamer - r182-8
I have removed and re-installed. No luck.
Any ideas?
Ooh, HAHA, I'm such a dummy! :rolling_eyes: . the package is
mjpg-streamer
but the app ismjpg_streamer
.