No video record in service mode

Questions? Suggestions? Need help? Talk about anything related to Yawcam...
Post Reply
shinobi68
Posts: 6
Joined: Mon Feb 15, 2016 9:23 pm

No video record in service mode

Post by shinobi68 »

Hi all,

I've configured Yawcam in normal mode and quit the program.
Everything is ok and I can save videos automatically in the normal mode.

But when I go in service mode with yawcam_service_x64, videos are not saved.

Can you help me ?
malun
Site Admin
Posts: 1589
Joined: Sun Jan 04, 2004 1:29 pm

Re: No video record in service mode

Post by malun »

Where do you save the videos? On a local drive or on a network drive?
It's common that a service can't access a network drive.

/malun
shinobi68
Posts: 6
Joined: Mon Feb 15, 2016 9:23 pm

Re: No video record in service mode

Post by shinobi68 »

Oh ok !
In normal mode, I configure the saved video on my NAS : Z:\motions_video

Also should I configure it on the local drive ?

Can I modify a .ini file for that ?

thanks for all

Patrick
malun
Site Admin
Posts: 1589
Joined: Sun Jan 04, 2004 1:29 pm

Re: No video record in service mode

Post by malun »

It should work as expected if you use a local drive and not a network mapped drive.
But If you want to save the videos on your NAS when running as a service there might be a workaround:

You can create a NTFS symbolic link (symlink) on your local drive that points to a shared network location.
Start a command window as administrator. Then you can create the symlink like this:

Code: Select all

mklink /D C:\myLink \\127.0.0.1\c$
After this, when you open C:\myLink you will see the content from \\127.0.0.1\c$
Just make sure you replace \\127.0.0.1\c$ with the network path to the folder on your NAS where you want to store the files.

When you have the symlink created, set Yawcam to save the video files in your symlink folder, C:\myLink
The symlink will be visible for the service.

/malun
shinobi68
Posts: 6
Joined: Mon Feb 15, 2016 9:23 pm

Re: No video record in service mode

Post by shinobi68 »

Ohhhhhh super
I will try this today !!
Thanks a lot
shinobi68
Posts: 6
Joined: Mon Feb 15, 2016 9:23 pm

Re: No video record in service mode

Post by shinobi68 »

I don't know why it doesn't work.

I make a symbolic link on a shared directory on my NAS and I configure it in normal mode.

my shared directory is 192.168.0.33\Webcam
in normal mode I configure c:\webcam\motion_videos
I configure the symbolic link on c:\webcam

it works (on symbolic link) in normal mode but not in service mode....

Do you have an idea ?
Snap1.jpg
Snap1.jpg (9.92 KiB) Viewed 28949 times
Snap3.jpg
Snap3.jpg (20.37 KiB) Viewed 28949 times
malun
Site Admin
Posts: 1589
Joined: Sun Jan 04, 2004 1:29 pm

Re: No video record in service mode

Post by malun »

I just want to double check:
In the image the symlink points to 192.168.0.110 and not to 192.168.0.33.
Where is your NAS located? Does it have dynamic or static IP address?

/malun
shinobi68
Posts: 6
Joined: Mon Feb 15, 2016 9:23 pm

Re: No video record in service mode

Post by shinobi68 »

Oh yes sorry
the NAS is on static ip adress : 192.168.0.110
the computer where I've installed Yawcam is on dhcp : 192.168.0.33
shinobi68
Posts: 6
Joined: Mon Feb 15, 2016 9:23 pm

Re: No video record in service mode

Post by shinobi68 »

I test with symbolic link

c:\webcam\motion_videos : it does'nt work

but if I erase symbolic link and I create a real directory c:\webcam\motion_videos, it works very well without changing any parameters.
But the videos are on local disk and not on my NAS.
malun
Site Admin
Posts: 1589
Joined: Sun Jan 04, 2004 1:29 pm

Re: No video record in service mode

Post by malun »

Hmm... actually you might have to change which user that is running the service.
I didn't get the symlink-trick working until I did this.

1) Open the settings window for Windows services.
You find it via the control panel, or just search for "services" in the start menu.

2) Find Yawcam's service in the list, right click and show properties.

3) Open the tab "Log on"

4) Select "This account"

5) Enter the name of your user account and the correct password

6) Click OK.


Hopefully this will do the trick...

/malun
annefmoreno
Posts: 3
Joined: Wed Apr 13, 2016 7:08 am

Re: No video record in service mode

Post by annefmoreno »

i will definitely try this today. Really thankful for you to giving such wonderful informations
Post Reply