Forums > MaxMSP

Network cameras on LAN help

May 21, 2011 | 8:52 pm

Hello,

I am having trouble having the video feed from my axis 207mw camera network camera being able to play in a jit.qt.movie object. I've read the forums and I've followed the recommended suggestions and still no luck. Am I sending the message correctly into the jit.qt.movie object? I've provided examples of what I'm trying below.

I have a switch with 3 cameras on it, all axis cameras. I am encoding using mpeg-4, 320×240. I've included some images of the Axis settings in case this helps.

Has anyone had any success with h.264 video compression on a LAN?

Any suggestions would be greatly appreciated. Thanks!!

{
"boxes" : [ {
"box" : {
"maxclass" : "message",
"text" : "read http://axis-00408c802720.local.",
"patching_rect" : [ 400.0, 196.0, 156.0, 15.0 ],
"numinlets" : 2,
"id" : "obj-6",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 9.0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "read http://axis-00408c802720.local./view/viewer_index.shtml?id=32",
"patching_rect" : [ 381.0, 142.0, 282.0, 15.0 ],
"numinlets" : 2,
"id" : "obj-5",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 9.0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "read http://axis-00408c802720",
"patching_rect" : [ 127.0, 113.0, 173.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-3",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "jit.pwindow",
"patching_rect" : [ 113.0, 260.0, 80.0, 60.0 ],
"numinlets" : 1,
"id" : "obj-2",
"numoutlets" : 2,
"outlettype" : [ "", "" ]
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "read http://axis-00408c802720.local./view/viewer_index.shtml?id=17",
"patching_rect" : [ 110.0, 85.0, 373.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-1",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "read",
"patching_rect" : [ 281.0, 198.0, 33.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-14",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "rate $1",
"patching_rect" : [ 217.0, 198.0, 46.0, 18.0 ],
"numinlets" : 2,
"id" : "obj-13",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "flonum",
"patching_rect" : [ 217.0, 170.0, 50.0, 20.0 ],
"numinlets" : 1,
"id" : "obj-12",
"fontname" : "Arial",
"numoutlets" : 2,
"outlettype" : [ "float", "bang" ],
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "number",
"patching_rect" : [ 158.0, 170.0, 50.0, 20.0 ],
"numinlets" : 1,
"id" : "obj-11",
"fontname" : "Arial",
"numoutlets" : 2,
"outlettype" : [ "int", "bang" ],
"fontsize" : 11.595187
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.qt.movie 320 240",
"patching_rect" : [ 112.0, 229.0, 113.0, 20.0 ],
"numinlets" : 1,
"id" : "obj-10",
"fontname" : "Arial",
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "qmetro 40",
"patching_rect" : [ 112.0, 198.0, 65.0, 20.0 ],
"numinlets" : 2,
"id" : "obj-9",
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "toggle",
"patching_rect" : [ 112.0, 170.0, 20.0, 20.0 ],
"numinlets" : 1,
"id" : "obj-8",
"numoutlets" : 1,
"outlettype" : [ "int" ]
}

}
],
"lines" : [ {
"patchline" : {
"source" : [ "obj-3", 0 ],
"destination" : [ "obj-10", 0 ],
"hidden" : 0,
"midpoints" : [ 136.5, 156.0, 99.0, 156.0, 99.0, 225.0, 121.5, 225.0 ]
}

}
, {
"patchline" : {
"source" : [ "obj-10", 0 ],
"destination" : [ "obj-2", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-1", 0 ],
"destination" : [ "obj-10", 0 ],
"hidden" : 0,
"midpoints" : [ 119.5, 156.0, 99.0, 156.0, 99.0, 225.0, 121.5, 225.0 ]
}

}
, {
"patchline" : {
"source" : [ "obj-14", 0 ],
"destination" : [ "obj-10", 0 ],
"hidden" : 0,
"midpoints" : [ 290.5, 224.0, 121.5, 224.0 ]
}

}
, {
"patchline" : {
"source" : [ "obj-12", 0 ],
"destination" : [ "obj-13", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-13", 0 ],
"destination" : [ "obj-10", 0 ],
"hidden" : 0,
"midpoints" : [ 226.5, 224.0, 121.5, 224.0 ]
}

}
, {
"patchline" : {
"source" : [ "obj-8", 0 ],
"destination" : [ "obj-9", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-9", 0 ],
"destination" : [ "obj-10", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-11", 0 ],
"destination" : [ "obj-9", 1 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-5", 0 ],
"destination" : [ "obj-10", 0 ],
"hidden" : 0,
"midpoints" : [ 390.5, 228.0, 225.0, 228.0, 225.0, 225.0, 121.5, 225.0 ]
}

}
, {
"patchline" : {
"source" : [ "obj-6", 0 ],
"destination" : [ "obj-10", 0 ],
"hidden" : 0,
"midpoints" : [ 409.5, 228.0, 225.0, 228.0, 225.0, 225.0, 121.5, 225.0 ]
}

}
]
}

[attachment=162820,2274] [attachment=162820,2275]

Attachments:
  1. LANimagesettings.png

May 23, 2011 | 2:22 am

Try processing the rtp stream with Videolan client as described in this thread:

http://cycling74.com/forums/topic.php?id=32151

MH


May 23, 2011 | 11:46 am

Thanks for your recommendation MH, I’m checking it out now. Can’t tell you how much I appreciate it.


May 23, 2011 | 2:08 pm

I will be working with an Axis 211w soon, and I have set up rtp fir a non-Max project a few months ago, so I will be interested in figuring out as much as possible about how to make them work in Max.

MH


May 26, 2011 | 3:48 pm

OK, in frenzy to finish project now, I’ll keep an eye out for your future posts.


Viewing 5 posts - 1 through 5 (of 5 total)