Linksys WVC200 mjpeg stream analysis

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

Linksys WVC200 mjpeg stream analysis

Postby goetz » Thu Oct 22, 2009 10:14 pm

Hi,
I got a Linksys WVC200. FW 1.2.1 is able to switch to mjpeg-stream, but its a bad stream. Firefox is able to display but vlc or motion are unable.

So some comments about the stream

Code: Select all
000000  47 45 54 20 2F 69 6D 67  2F 76 69 64 65 6F 2E 6D  GET /img/video.m
000010  6A 70 65 67 20 48 54 54  50 2F 31 2E 31 0D 0A 48  jpeg HTTP/1.1..H
000020  6F 73 74 3A 20 31 39 32  2E 31 36 38 2E 31 2E 37  ost: 192.168.1.7
000030  3A 31 30 32 34 0D 0A 55  73 65 72 2D 41 67 65 6E  :1024..User-Agen
000040  74 3A 20 4D 6F 7A 69 6C  6C 61 2F 35 2E 30 20 28  t: Mozilla/5.0 (
000050  57 69 6E 64 6F 77 73 3B  20 55 3B 20 57 69 6E 64  Windows; U; Wind
000060  6F 77 73 20 4E 54 20 35  2E 31 3B 20 64 65 3B 20  ows NT 5.1; de;
000070  72 76 3A 31 2E 39 2E 31  2E 33 29 20 47 65 63 6B  rv:1.9.1.3) Geck
000080  6F 2F 32 30 30 39 30 38  32 34 20 46 69 72 65 66  o/20090824 Firef
000090  6F 78 2F 33 2E 35 2E 33  20 28 2E 4E 45 54 20 43  ox/3.5.3 (.NET C
0000A0  4C 52 20 33 2E 35 2E 33  30 37 32 39 29 0D 0A 41  LR 3.5.30729)..A
0000B0  63 63 65 70 74 3A 20 74  65 78 74 2F 68 74 6D 6C  ccept: text/html
0000C0  2C 61 70 70 6C 69 63 61  74 69 6F 6E 2F 78 68 74  ,application/xht
0000D0  6D 6C 2B 78 6D 6C 2C 61  70 70 6C 69 63 61 74 69  ml+xml,applicati
0000E0  6F 6E 2F 78 6D 6C 3B 71  3D 30 2E 39 2C 2A 2F 2A  on/xml;q=0.9,*/*
0000F0  3B 71 3D 30 2E 38 0D 0A  41 63 63 65 70 74 2D 4C  ;q=0.8..Accept-L
000100  61 6E 67 75 61 67 65 3A  20 64 65 2D 64 65 2C 64  anguage: de-de,d
000110  65 3B 71 3D 30 2E 38 2C  65 6E 2D 75 73 3B 71 3D  e;q=0.8,en-us;q=
000120  30 2E 35 2C 65 6E 3B 71  3D 30 2E 33 0D 0A 41 63  0.5,en;q=0.3..Ac
000130  63 65 70 74 2D 45 6E 63  6F 64 69 6E 67 3A 20 67  cept-Encoding: g
000140  7A 69 70 2C 64 65 66 6C  61 74 65 0D 0A 41 63 63  zip,deflate..Acc
000150  65 70 74 2D 43 68 61 72  73 65 74 3A 20 49 53 4F  ept-Charset: ISO
000160  2D 38 38 35 39 2D 31 2C  75 74 66 2D 38 3B 71 3D  -8859-1,utf-8;q=
000170  30 2E 37 2C 2A 3B 71 3D  30 2E 37 0D 0A 4B 65 65  0.7,*;q=0.7..Kee
000180  70 2D 41 6C 69 76 65 3A  20 33 30 30 0D 0A 43 6F  p-Alive: 300..Co
000190  6E 6E 65 63 74 69 6F 6E  3A 20 6B 65 65 70 2D 61  nnection: keep-a
0001A0  6C 69 76 65 0D 0A 0D 0A  48 54 54 50 2F 31 2E 30  live....HTTP/1.0
0001B0  20 32 30 30 20 4F 4B 0D  0A 43 61 63 68 65 2D 43   200 OK..Cache-C
0001C0  6F 6E 74 72 6F 6C 3A 20  6E 6F 2D 63 61 63 68 65  ontrol: no-cache
0001D0  0D 0A 43 6F 6E 74 65 6E  74 2D 74 79 70 65 3A 20  ..Content-type:
0001E0  6D 75 6C 74 69 70 61 72  74 2F 78 2D 6D 69 78 65  multipart/x-mixe
0001F0  64 2D 72 65 70 6C 61 63  65 3B 62 6F 75 6E 64 61  d-replace;bounda
000200  72 79 3D 54 68 69 73 52  61 6E 64 6F 6D 53 74 72  ry=ThisRandomStr
000210  69 6E 67 0D 0A 0D 0A 0A  2D 2D 54 68 69 73 52 61  ing.....--ThisRa             0D 0A 0D 0A 0A ??
000220  6E 64 6F 6D 53 74 72 69  6E 67 0A 43 6F 6E 74 65  ndomString.Conte             0A only
000230  6E 74 2D 74 79 70 65 3A  20 69 6D 61 67 65 2F 6A  nt-type: image/j
000240  70 65 67 0A 0A FF D8 FF  E0 00 10 4A 46 49 46 00  peg........JFIF.             0A 0A
000250  01 02 00 00 01 00 01 00  00 FF E2 00 21 49 6E 67  ............!Ing
000260  65 6E 69 65 6E 74 20 54  65 63 68 6E 6F 6C 6F 67  enient Technolog
000270  69 65 73 20 32 30 30 34  20 20 20 00 FF DB 00 84  ies 2004   .....

...
a lot of jpeg
...

Code: Select all
000000  B5 2F B8 92 13 0A AC 3E  5C 8C F5 A3 71 DB CE 33  ./.....>\...q..3
000010  43 2B 6D 4F FF D9 FF D9  0A 2D 2D 54 68 69 73 52  C+mO.....--ThisR          0A only
000020  61 6E 64 6F 6D 53 74 72  69 6E 67 0A 43 6F 6E 74  andomString.Cont          0A only
000030  65 6E 74 2D 74 79 70 65  3A 20 69 6D 61 67 65 2F  ent-type: image/
000040  6A 70 65 67 0A 0A FF D8  FF E0 00 10 4A 46 49 46  jpeg........JFIF          0A 0A
000050  00 01 02 00 00 01 00 01  00 00 FF E2 00 21 49 6E  .............!In
000060  67 65 6E 69 65 6E 74 20  54 65 63 68 6E 6F 6C 6F  genient Technolo


There is no Content-Length.
Is it possible to support such a stream?

Regards Goetz
DS-209+II / DSM 3.1-1742 /2x 2TB Seagate Constellation ES
DS-107+ / DSM 3.1-1613 / Samsung HD103UI
DS-106 / DSM 3.1-1742 (from 108j) / Hitachi HDP72505
eTrayZ / Samsung HD103SI
goetz
Knowledgeable
Knowledgeable
 
Posts: 336
Joined: Wed Mar 18, 2009 10:05 pm
Location: Berlin, Germany

Re: Linksys WVC200 mjpeg stream analysis

Postby harrygr » Tue Nov 03, 2009 10:59 pm

Dear Goetz,

Hello again. I also replied to the other post where you wrote some tips for me for a PVC2300.

I am writing here also to tell you that I have tried the same instructions with a couple WVC200 that I have installed at a different site. It worked with VLC and I got a video which was not bad btw.

Please let me know if you want a screenshot of the settings that I used or something else.

Later,
Harry
harrygr
I'm New!
I'm New!
 
Posts: 6
Joined: Sat Oct 03, 2009 7:53 pm

Re: Linksys WVC200 mjpeg stream analysis

Postby goetz » Wed Nov 04, 2009 12:29 am

Hi Harry,
are you sure WVC200 is setup to output mjpeg? If not, on this path is also mpeg4 output. vlc has no problem with mpeg4-stream from WVC200 but a DS is not capable to transcode it to mjpeg in a good quality.

Regards Goetz
DS-209+II / DSM 3.1-1742 /2x 2TB Seagate Constellation ES
DS-107+ / DSM 3.1-1613 / Samsung HD103UI
DS-106 / DSM 3.1-1742 (from 108j) / Hitachi HDP72505
eTrayZ / Samsung HD103SI
goetz
Knowledgeable
Knowledgeable
 
Posts: 336
Joined: Wed Mar 18, 2009 10:05 pm
Location: Berlin, Germany

Re: Linksys WVC200 mjpeg stream analysis

Postby harrygr » Wed Nov 04, 2009 8:57 am

Hello again Goetz,

You are right. I had left it to MPEG4. When I read your post, I went in the settings and changed it to MJPEG. Restarted the camera and tested again with VLC. I can see image. Slow refresh but it shows something.
Here are the setting from the WVC200:

System
Firmware Version: V1.2.1
MAC Address: 00:19:38:a0:42:41
Camera Name: Entrance
Description:
Date/Time: 04/11/09 10:52:51


Image
Image Type: MJPEG
Resolution: 640×480
Image Quality: Normal


Network
Network Type: Wireless
IP Address: 192.168.1.11
Subnet Mask: 255.255.255.0
Gateway: 192.168.1.1
Primary DNS: 192.168.1.1
Secondary DNS:

Harry
harrygr
I'm New!
I'm New!
 
Posts: 6
Joined: Sat Oct 03, 2009 7:53 pm

Re: Linksys WVC200 mjpeg stream analysis

Postby goetz » Wed Nov 04, 2009 11:06 pm

Hi Harry,
WVC200 Firmware 1.2.1_EU vlc 1.0.3 WinXP
If I start vlc with http 192.168.1.7:1024/img/video.mjpeg some seconds (~8) nothing, then some very fast frames and then video and vlc freeze.

Regards Goetz
DS-209+II / DSM 3.1-1742 /2x 2TB Seagate Constellation ES
DS-107+ / DSM 3.1-1613 / Samsung HD103UI
DS-106 / DSM 3.1-1742 (from 108j) / Hitachi HDP72505
eTrayZ / Samsung HD103SI
goetz
Knowledgeable
Knowledgeable
 
Posts: 336
Joined: Wed Mar 18, 2009 10:05 pm
Location: Berlin, Germany

Re: Linksys WVC200 mjpeg stream analysis

Postby OgeGOon » Sun Feb 12, 2012 5:56 pm

I spent hours to download and test tools (thin and fat) able to consume and play MJPEG stream but din't find anyone able to do it with the WVC200's stream, except http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome

I read on this site that : "The Linksys WVC200 IP Camera uses a particular system for transmitting MJPEG stream: it uses small MJPEG blocks in which it encapsulates a part of each JPG picture. 3 or so blocks contains one whole JPG image."

Maybe Synology could check what Kenneth (the author of "Motion") did to support this kind of stream ?...

O.
User avatar
OgeGOon
Novice
Novice
 
Posts: 47
Joined: Sat Mar 14, 2009 11:41 pm


Return to Surveillance Station

Who is online

Users browsing this forum: No registered users and 6 guests