Web Cam Server.

Web Cam Server.

Postby maxdo » Tue Sep 14, 2021 10:02 am

Hi MAster,
in the varius menu present on my NAS, i've find the Webcam server under Attached Device.
i understand, that, if recognize, recording the image, in a specific partition of the disk.
So after installed and activate server motion service, i've plug on the USB port a Microsoft WEbcam certify.
Then start the server, but i've back the error Fail: start command failed.
maybe the Webcam it is not recognize, then i'vetry to use a other one, a generic web cam, but i've back the same issue.
No manu information i nthe help menu , where help me to understand what happen.
Please ,c an you help me to understand how work, and if i can active it?
thanks
maxdo
Donator VIP
Donator VIP
 
Posts: 53
Joined: Sun Dec 09, 2018 12:44 pm

Re: Web Cam Server.

Postby Jocko » Tue Sep 14, 2021 11:37 am

Hi

Even if there is an issue such a missing driver, the feature should start.

So please to post these outputs
Code: Select all
/usr/bin/usb-devices
and load the webcam menu, start the debug mode
Code: Select all
debugon
, try to start the server and stop the debug mode
Code: Select all
debugoff
cat /var/log/messages
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Web Cam Server.

Postby Jocko » Tue Sep 14, 2021 12:58 pm

Hi again,

you can post the asked outputs of my previous message but I think I understand what happens.

In last firmware version (18.x), we removed some libs in the default system partition because they are now included in some addon packages. But we did not notice the old motion version still requires them.

Please to post the output
Code: Select all
ldd /usr/bin/motion
if you read
Code: Select all
        libavformat.so.52 => not found
        libavcodec.so.51 => not found
        libavutil.so.49 => not found
then you have to do :
- install minidlna which provides these libs
- create the following symlinks
Code: Select all
ln -s /usr/local/lib/libavformat.so.57.83.100 /usr/lib/libavformat.so.52
ln -s /usr/local/lib/libavcodec.so.57.107.100 /usr/lib/libavcodec.so.51
ln -s /usr/local/lib/libavutil.so.55.78.100 /usr/lib/libavutil.so.49
 
If you repeat the ldd command, it should now detect the missing libs

Then try to start the webcam service.
On my side with these newer lib versions, old motion version starts without warning

Note: on next fw version, the feature will be improved by including support for network webcams...
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Web Cam Server.

Postby maxdo » Wed Nov 10, 2021 8:28 am

Hi Jocko, sorry my big delay avout this answer :(
i've install the minidlna and run the three command and now see correctly the file.
stop and run again the webcam option, and now i have not the error.
infact now i have to link available on scree, one about webinterface, and the other one for see the direct stream

if i going in the link web gui, i've back a error impossible contact the server (if i need to configure minidlna, please help me to understand how to do, or explain me where find the information ) if i going in the stream i see the frame in grey, and with error unable to open video device.
tomorrow, however, i will try to install a differentt webcam. maybe the actual it is damage or to old.


thanks Jocko.
ciao
maxdo
Donator VIP
Donator VIP
 
Posts: 53
Joined: Sun Dec 09, 2018 12:44 pm


Return to Lacie 2Big Network vs2

Who is online

Users browsing this forum: No registered users and 2 guests