Format Error?

All questions/comments regarding the Surveillance Station using IP Cameras may be placed here

Moderators: Synology Inc, Honorary Moderator

Format Error?

Postby hitman80 » Tue Feb 12, 2008 9:02 pm

I have a question for Synology's Team or other geeks .

For a few day I can try some Ipcameras , but I have a problem about video path on Synology Surveillance menù.

I'm sure that video path of my Ipcamera is correct .

This is the info from manufacturer :

http://<servername>/cgi/mjpg/mjpeg.cgi

These tests show that video path is correct :

Image

Image


But when I configure Synology Sureveillance menù about VIDEO PATH with cgi/mjpg/mjpeg.cgi , I obtain this strange error :

Image


Why ? Any suggestions ?
hitman80
I'm New!
I'm New!
 
Posts: 9
Joined: Thu Feb 07, 2008 7:57 am

Re: Format Error?

Postby Franklin » Tue Feb 12, 2008 11:38 pm

Greetings hitman80

If I read that error message correctly, it roughly translates into "image format not valid". Please try adjusting your camera resolution (in your Camera Settings, NOT the Surveillance Stations Settings) to 320x240 or 640x480, set the FPS to 10.


Hope this helps
**Franklin is not available**
**Please do not Private Message me for support questions; leave it on the forum so all members can learn. Thanks!**
Library ~ SynologyWiki ~ Synology FAQ ~ Compatibility Lists
Forum Links ~ Forum Policy ~ 3rd-party forums ~ Help us help you ~ Posting Images
Demo Links ~ DSM GUI ~ Photo Station
Downloads ~ Firmware Downloads ~ Beta Program
Support ~ Support Form ~ Submit Kernel ~ Synology eNews
User avatar
Franklin
Synology Inc
Synology Inc
 
Posts: 6772
Joined: Sat Oct 14, 2006 11:33 pm
Location: Washington, USA

Re: Format Error?

Postby nataS-dk » Wed Feb 13, 2008 12:36 pm

i have not tried the surveilance station
but as i understand it .. and see your pictures

1. picure.. you dont' get a picture from your browser either with the /cgi/mjpg/mjpg.cgi

2.picture works.. with the "/admin/view.cgi?profile=/cgi/mjpg/mjpg.cgi"

try the line 2 in your surveilance station
the NAS probably works as a "browser" so get the line to work in a browser (as in 2)
DS-207+ .518 -- 2 x 320 GB
User avatar
nataS-dk
Rookie
Rookie
 
Posts: 34
Joined: Fri Nov 30, 2007 7:20 pm
Location: Denmark

Re: Format Error?

Postby hitman80 » Wed Feb 13, 2008 8:51 pm

2.picture works.. with the "/admin/view.cgi?profile=/cgi/mjpg/mjpg.cgi"


I've just tried it and similar path .... but it's always shown the same errore " image format not valid"


Please try adjusting your camera resolution (in your Camera Settings, NOT the Surveillance Stations Settings) to 320x240 or 640x480, set the FPS to 10.


I 've tried to change camera resolution from VGA,QVGA or QQVGA and FPS from auto , 25 fps to 10 fps .... but same error ... :cry: :?:

I will try again in the next days ... I'll do it :!: :!:

I can add this info about Manufacturer of Camera :

Some infos about how to use scripting in CGI Command of Network Camera.
This CGI Command document specifies the method of communication with the Network Camera for controlling camera functions as well as for getting and
setting internal parameter values, which helps the application integrators develop software applications more easily.

...
..

Code: Select all
[b]9.Snapshot[/b]
Request a jpeg image.
Method: GET
Syntax:
http://<servername>/cgi/jpg/image.cgi
Example:
http://myserver/cgi/jpg/image.cgi
return:
succeed HTTP/1.1 200 OK\r\n
Content-Type: text/plain\r\n
Content-Length: <content length>\r\n
\r\n
<image data>\r\n
failed HTTP/1.1 200 OK\r\n
Content-Type: text/plain\r\n
Content-Length: <content length>\r\n
\r\n
Request failed: <error message>\r\n

[b]10.MJpeg[/b]
Returns a multipart image stream with the default resolution and compression as defined in the system configuration.
Method: GET
Syntax: http://<servername>/cgi/mjpg/mjpeg.cgi
Example:
http://myserver/cgi/mjpg/mjpeg.cgi
return:
succeed HTTP/1.1 200 OK\r\n
Content-Type: multipart/ mixed;boundary=myboundary\r\n
\r\n
--myboundary\r\n
Content-Length: <content length>\r\n
\r\n
<Payload Header>
<Payload Data>
--myboundary\r\n
Content-Length: <content length>\r\n
\r\n
<Payload Header>
<Payload Data>
….
failed HTTP/1.1 200 OK\r\n
Content-Type: text/plain\r\n
Content-Length: <content length>\r\n
\r\n
Request failed: <error message>\r\n

hitman80
I'm New!
I'm New!
 
Posts: 9
Joined: Thu Feb 07, 2008 7:57 am

Re: Format Error?

Postby Franklin » Wed Feb 13, 2008 9:06 pm

Greetings hitman80

I noticed in your second picture that you have the ability of adjusting the camera compression between MPEG-4 and MJPEG; perhaps this can be the cause of you error?

Also, try the following code in your video path, it is similar to the original format, except with a "forward slash" in the path name
Code: Select all
/cgi/mjpg/mjpg.cgi


Note, I'll have one of our NVR developers look at this thread as well.
**Franklin is not available**
**Please do not Private Message me for support questions; leave it on the forum so all members can learn. Thanks!**
Library ~ SynologyWiki ~ Synology FAQ ~ Compatibility Lists
Forum Links ~ Forum Policy ~ 3rd-party forums ~ Help us help you ~ Posting Images
Demo Links ~ DSM GUI ~ Photo Station
Downloads ~ Firmware Downloads ~ Beta Program
Support ~ Support Form ~ Submit Kernel ~ Synology eNews
User avatar
Franklin
Synology Inc
Synology Inc
 
Posts: 6772
Joined: Sat Oct 14, 2006 11:33 pm
Location: Washington, USA

Re: Format Error?

Postby hitman80 » Thu Feb 14, 2008 8:52 am

Hi Franklin ,

I have also done these tests without success .

I tried to change video path following your advice : /cgi/mjpg/mjpeg.cgi , and this is the error shown :

Image


so i changed compression from MJPEG to MPEG-4 , but the problem is the same :

Image

Image

Image
Last edited by hitman80 on Tue Feb 19, 2008 1:35 pm, edited 1 time in total.
hitman80
I'm New!
I'm New!
 
Posts: 9
Joined: Thu Feb 07, 2008 7:57 am

Re: Format Error?

Postby Dark Shadow » Thu Feb 14, 2008 1:03 pm

I have a simlar problem with VIVOTEK IP Cams I am trying to inatall the source path is :"/cgi-bin/video.jpg" but keep getting an Authorization Failed error 4

Dark Shadow
CS-407 2 x Seagate Barracuda 500Gb 7200RPM 16Mb SATA 2 Drives and 2 Samsung 750Gb 32Mb SATA 2 Drives
DS-207 2x Seagate 320Gb 7200 16Mb Sata 2 Drives
DS-207 2 x Seagate Barracuda 500Gb 7200RPM 16Mb SATA 2 Drives
DS-207 2 x Seagate Barracuda 500Gb 7200RPM 16Mb SATA 2 Drives

DS-508 (5) 1TB Samsung HDD's
DS-209+ (2) 1TB Samsung HDD's
User avatar
Dark Shadow
Student
Student
 
Posts: 73
Joined: Sun Aug 26, 2007 8:41 am

Re: Format Error?

Postby Franklin » Thu Feb 14, 2008 9:25 pm

@hitman80
Please tell me the make and model of your camera, one of our NVR developers would like to perform more research for you.

@Dark Shadow
Please ensure that the username/password of your camera matches the credentials you add in the Surveillance Station interface

@all
You may also wish to direct your conversation to our beta support team, please look here
**Franklin is not available**
**Please do not Private Message me for support questions; leave it on the forum so all members can learn. Thanks!**
Library ~ SynologyWiki ~ Synology FAQ ~ Compatibility Lists
Forum Links ~ Forum Policy ~ 3rd-party forums ~ Help us help you ~ Posting Images
Demo Links ~ DSM GUI ~ Photo Station
Downloads ~ Firmware Downloads ~ Beta Program
Support ~ Support Form ~ Submit Kernel ~ Synology eNews
User avatar
Franklin
Synology Inc
Synology Inc
 
Posts: 6772
Joined: Sat Oct 14, 2006 11:33 pm
Location: Washington, USA

Re: Format Error?

Postby hitman80 » Fri Feb 15, 2008 2:09 pm

Please tell me the make and model of your camera, one of our NVR developers would like to perform more research for you.


Ok . This is a similar IPCAMERA tested : UNC7400-IRW

http://www.eusso.com/Models/Network_Cam ... 00-IRW.htm

In order to understand if the problem could be video path , I have tried to use the following demo-program of video surveillance ACTIVE WEB CAM :

http://www.pysoftware.com/

I have created a NEW CAMERA :

Image

and I have correctly configured demo-software , adding this video path --> /cgi/mjpg/mjpeg.cgi

Image

Demo-software with /cgi/mjpg/mjpg.cgi works perfectly .
Last edited by hitman80 on Tue Feb 19, 2008 1:35 pm, edited 1 time in total.
hitman80
I'm New!
I'm New!
 
Posts: 9
Joined: Thu Feb 07, 2008 7:57 am

Re: Format Error?

Postby Franklin » Tue Feb 19, 2008 3:41 am

@hitman80

Can you use VLC Media Player to view the streaming video of your camera? Our engineers believe that either there is a path error, or their mjpeg is slightly different from the mjpeg standard, so it may not be compatible.
**Franklin is not available**
**Please do not Private Message me for support questions; leave it on the forum so all members can learn. Thanks!**
Library ~ SynologyWiki ~ Synology FAQ ~ Compatibility Lists
Forum Links ~ Forum Policy ~ 3rd-party forums ~ Help us help you ~ Posting Images
Demo Links ~ DSM GUI ~ Photo Station
Downloads ~ Firmware Downloads ~ Beta Program
Support ~ Support Form ~ Submit Kernel ~ Synology eNews
User avatar
Franklin
Synology Inc
Synology Inc
 
Posts: 6772
Joined: Sat Oct 14, 2006 11:33 pm
Location: Washington, USA

Re: Format Error?

Postby hitman80 » Tue Feb 19, 2008 7:45 am

Can you use VLC Media Player to view the streaming video of your camera? Our engineers believe that either there is a path error, or their mjpeg is slightly different from the mjpeg standard, so it may not be compatible.


What bad news !!! :cry: :cry:

I tried with VLC PLAYER with this video path /cgi/mjpg/mjpeg.cgi and DOESN'T WORK .....

Video isn't shown


Image

Image

Image


Is there a solution ? Can Synology resolve the problem ? Or It needs to ask also to Manufacturer of IPCAMERA ?

I suppose that there is a lot of IPCAMera similar to my Ipcamera .... It is a pity ....
hitman80
I'm New!
I'm New!
 
Posts: 9
Joined: Thu Feb 07, 2008 7:57 am

Re: Format Error?

Postby Franklin » Wed Feb 20, 2008 2:23 am

Greetings hitman80

To resolve this error, you will have to contact the manufacture of the camera to determine what is the exact path to the video, or are they using a modified version of the mjpeg standard. If they give the path and it still does not play in VLC Media Player, then their mjpeg specification is not standard then the official specification, and unfortunately incompatible.

The SynologyWiki will be updated to reflect this.
**Franklin is not available**
**Please do not Private Message me for support questions; leave it on the forum so all members can learn. Thanks!**
Library ~ SynologyWiki ~ Synology FAQ ~ Compatibility Lists
Forum Links ~ Forum Policy ~ 3rd-party forums ~ Help us help you ~ Posting Images
Demo Links ~ DSM GUI ~ Photo Station
Downloads ~ Firmware Downloads ~ Beta Program
Support ~ Support Form ~ Submit Kernel ~ Synology eNews
User avatar
Franklin
Synology Inc
Synology Inc
 
Posts: 6772
Joined: Sat Oct 14, 2006 11:33 pm
Location: Washington, USA

Re: Format Error?

Postby hitman80 » Wed Feb 20, 2008 8:06 pm

@ Franklin

Can I ask an information ?

I tried to use VLC PLAYER with other my IPCAMERA that perfectly works (DIGICOM IPCAMERA WAVE 54 ) with video.cgi as video path, but VLC doesn't reproduce anything .... Why ?

I think I did a good configuration about VLC settings , but also in this case video isn't shown .

Maybe I'm wrong :oops: :roll:

Can I receive an example of a configuration of VLC PLAYER to see VIDEO of IPCAMERA ?
hitman80
I'm New!
I'm New!
 
Posts: 9
Joined: Thu Feb 07, 2008 7:57 am

Re: Format Error?

Postby Franklin » Wed Feb 20, 2008 10:10 pm

Greetings hitman80

The video path from the Surveillance Station interface is different from the "true" web path. Usually, most cgi scripts have attributes after the cgi extension, and that's where other variables are added, such as resolution or frames per second. If you refer to the attached images, you can see this "path difference" from the Surveillance Station and from what path is used in VLC Media Player

Image
Image
Image

For your camera which doesn't work, if you figure out the exact "true" path, try that in Surveillance Station, and see if that will work. Please note that you will have to set up your camera before you can use the "true" path, such as defining maximum resolution, or level of quality, etc...

Note: I am using VLC Media Player 0.8.6d
**Franklin is not available**
**Please do not Private Message me for support questions; leave it on the forum so all members can learn. Thanks!**
Library ~ SynologyWiki ~ Synology FAQ ~ Compatibility Lists
Forum Links ~ Forum Policy ~ 3rd-party forums ~ Help us help you ~ Posting Images
Demo Links ~ DSM GUI ~ Photo Station
Downloads ~ Firmware Downloads ~ Beta Program
Support ~ Support Form ~ Submit Kernel ~ Synology eNews
User avatar
Franklin
Synology Inc
Synology Inc
 
Posts: 6772
Joined: Sat Oct 14, 2006 11:33 pm
Location: Washington, USA

Re: Format Error?

Postby nicki » Fri Aug 29, 2008 3:52 pm

Hi,

I am able to view my WVC54GC video with VLC Media Player. Inside the Stream And Media Info, it stated that the video codec is MP4S. However I still get the same invalid format error from Surveillance Station. So is MP4S format supported by Synology?

BTW, I upgraded my DS108j firmware to DSM2.0-0702. I was thinking the new firmware could solve the problem but it didn't.
nicki
I'm New!
I'm New!
 
Posts: 3
Joined: Fri Aug 29, 2008 3:44 pm

Next

Return to Surveillance Station

Who is online

Users browsing this forum: No registered users and 2 guests