Long URL's doesn't register well in Source

Forum for questions and support relating to the 1.24.x releases only.
Locked
cyberjorge
Posts: 2
Joined: Tue Mar 30, 2010 10:01 am

Long URL's doesn't register well in Source

Post by cyberjorge »

I have a WVC54GC, as instructed in other topics I need to use ffmpeg and provide the URL to my /img/video.asf file.

The problem is I use a password protected camera with unique port under a free ddns service, the URL looks like this:

http://username:password@mysite.dyndns. ... /video.asf

And when i save it the Source column shows "video." and when clicked again, the URL is changed to the one below omitting ".asf"

http://username:password@mysite.dyndns. ... /img/video.
As expected, the video cannot be shown.
Before you ask, that camera can be accessed via VLC using same url and via a local zoneminder.

Hope to hear from anyone with solutions for this!
Thanks!
Last edited by cyberjorge on Wed Mar 31, 2010 1:00 am, edited 1 time in total.
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

you have to expand the mysql field its a bug/limitation

Do not know where it is you need to poke around win phpmyadmin or mysqladmin.
cyberjorge
Posts: 2
Joined: Tue Mar 30, 2010 10:01 am

Solved!

Post by cyberjorge »

I got help from the support, yes it was a char length limitation so I needed to expand it. For someone who might encounter it, you can issue the commands in mysql below.

mysql
> use zm_database
> alter table Monitors modify column `Path` varchar(255) NOT NULL default '';

Go back to ZM admin page then re-input the source URL!
Locked