SKJM Forum

Support => iCam Support => Network / IP Camera Compatibility => Topic started by: rjgvt on June 17, 2015, 09:07:53 AM

Title: Trendnet TV-IP320PI Outdoor IP Camera - need video url for mjpeg
Post by: rjgvt on June 17, 2015, 09:07:53 AM
Recently purchased a Trendnet TV-IP320PI outdoor camera as it is rated to -20*F and can use POE. Coldest temps I saw this past winter was -24*F. The camera's main stream is H.264 and I am using that format with Trendnet's ProView software running on a dedicated computer that I also use for Icamsource. Icamsource is running with 2 local webcams and 1 Airlink IP camera and 3 Airlink IP cameras at a remote location.

The Trendnet camera uses H.264 video as its mainstream and has a substream that is selectable for H.264 OR MJPEG. I have the substream set to MJPEG, 640x480 and 2fps. I have been using a separate session of Icamsource (different password) so I don't have to keep stopping/starting my primary Icamsource. My goal is to get Icamsource to see the MJPEG image so that I can add an outdoor Trendnet camera to my remote location and run it from home like I do the remote Airlink cameras. I have tried all of the known video url's on SKJM's website plus all of the ones I found online and cannot get an image to show on icamsource. I have tried them with and without a loging:password in the http string. I have also tried changing a "1" to a "2" for channel designation for some of the video url's since it is a substream. One reason I bought this camera was because it was compatable with MJPEG. Any help would be appreciated.

FYI.....The IR illumination on this camera works pretty good, except that bugs and spiders are attracted to it. The camera is mounted under the eave of my house. I blanked off the IR LED's with aluminum tape with duct tape over that and left a cutout for the day/night sensor. I bought a sub-$10 IR illuminator and mounted it about 5' below the camera and adjusted it in the center of the camera view and is working good. I sprayed bug/spider spray around the area of the camera, IR illuminator and around the outside of the windows where my other cameras point outside from inside of the house. I also use a 10' piece of 1" PVC with a duster stuck in the end and use it to wipe stuff off of the cams/windows when something gets on them.
Title: Re: Trendnet TV-IP320PI Outdoor IP Camera - need video url for mjpeg
Post by: SKJM Support on June 21, 2015, 08:50:32 AM
What error do you see in iCamSource when it isn't able to connect to the ip camera?

Have you tried the mjpeg_test.php web page available here: http://skjm.com/icam/mjpeg_test.php

What are the exact URL's you tried in iCamSource?
Title: Re: Trendnet TV-IP320PI Outdoor IP Camera - need video url for mjpeg
Post by: rjgvt on June 21, 2015, 09:48:19 AM
I tried all 68 links that come up at the link, none produce an image. I also tried most of the links separatly in Icamsource with and without a user name and pasword: http://user:password@ipaddress:port#/insert_mjpeg_url_here. I have also tried links with a channel designation as "1" and I also tried it with a "2" as the MJPEG is the substream. The main channel is H.264 and cannot be changed. I have also tried video url's that I found on the web for Hikvision IP cameras as the Trendnet camera is a rebranded Hikvision DS-2CD2012-I. They look exactly alike and the specs appear to be the same.

I have found that if I don't use the user and password in the beginning of the url, I get the error that the camera cannot be found. I'm at work right now and can't try it to get the exact wording. If I use the user:password and hit start, for most attemps, it doesn't error, but does not produce an image.

I opened a help desk ticket with Trendnet and their suggested url was: http://ipaddress/Streaming/Channels/1/httpPreview. I had already tried this one with channel 1 and 2 and with and without the user and password in the url and it did not work in Icamsource.

I'm beginning to think that this camera is not compatable with Icamsource, even though it is MJPEG compatable. Here is a list of url's that I made from searching the web and have tried. Some are repeats of the ones from the mjpeg_test link.

Trendnet mjpeg video urls to try with icamsource
http://xx.xx.xx.xx/IMAGE.JPG (for single JPEG images)
http://xx.xx.xx.xx/VIDEO.CGI (for streaming MJPEG video)
http://192.168.5.21/cgi/jpg/image.cgi
http://192.168.5.21/cgi/mjpg/mjpg.cgi
http://user:password@192.168.5.21/cgi/mjpg/mjpg.cgi
http://user:password@192.168.5.21/cgi/jpg/image.cgi
http://xx.xx.xx.xx/goform/capture (for single JPEG images)
http://xx.xx.xx.xx/goform/capture/video.cgi (for streaming MJPEG video)
http://xx.xx.xx.xx/goform/video (for single JPEG images)
http://xx.xx.xx.xx/goform/video2 (for single JPEG images)
http://xx.xx.xx.xx/cgi/mjpg/mjpeg.cgi (for streaming MJPEG video)
http://user:password@xx.xx.xx.xx/Streaming/Channels/1/httppreview (MJPEG)
http://xx.xx.xx.xx/image/jpeg.cgi (for single JPEG images)
http://xx.xx.xx.xx/video/mjpg.cgi (for streaming MJPEG)
You will need to disable "User Access Control" of the camera via the web configuration interface (see manual). Apparently, Motion does not work when authentication is required when accessing the URLs. Don't worry as user access control is a separate matter from the "admin password" of the camera. The admin password is only needed when changing camera settings.
rtsp://IPADDRESS:554//Streaming/Channels/1
http://IPADDRESS:554/cgi/mjpg/mjpeg.cgi
http://IPADDRESS/cgi-bin/video.jpg

Thanks,

Bob



Title: Re: Trendnet TV-IP320PI Outdoor IP Camera - need video url for mjpeg
Post by: rjgvt on June 21, 2015, 07:03:18 PM
Update: error received when attempting to start Icamsource is 404 - Web URL not found.

Tried a few more URLs tonight and no luck.
Title: Re: Trendnet TV-IP320PI Outdoor IP Camera - need video url for mjpeg
Post by: SKJM Support on June 22, 2015, 11:12:33 PM
If you enter the URL that TrendNET suggested into your web browser do you see just the raw streaming video. If not, then there may be a configuration setting that can be changed to get that, since that is the URL that TrendNET themselves suggested.
Title: Re: Trendnet TV-IP320PI Outdoor IP Camera - need video url for mjpeg
Post by: rjgvt on June 24, 2015, 12:04:31 PM
Here's what I tried.

http://ipaddress/Streaming/Channels/1/httpPreview
Result: Login box appears. I entered the user and password and receive: Page can't be displayed

http://ipaddress/Streaming/Channels/2/httpPreview
Result: Login box appears. I entered the user and password and receive: Page can't be displayed

http://ipaddress:port/Streaming/Channels/1/httpPreview
Result: Screen showed 6 lines of a status string. Also had a box on the bottom of the screen asking "Do you want to open or save httpPreview"

http://ipaddress:port/Streaming/Channels/2/httpPreview
Result: Screen showed 6 lines of a status string. Also had a box on the bottom of the screen asking "Do you want to open or save httpPreview"

http://user:password@ipaddress/Streaming/Channels/1/httpPreview
Result: Box shows up with "Windows cannot find http://.......

http://user:password@ipaddress/Streaming/Channels/2/httpPreview
Result: Box shows up with "Windows cannot find http://.......

http://user:password@ipaddress:port/Streaming/Channels/1/httpPreview
Result: Box shows up with "Windows cannot find http://.......

http://user:password@ipaddress:port/Streaming/Channels/2/httpPreview
Result: Box shows up with "Windows cannot find http://.......

I use http://ipaddress:port/ to access the camera's URL after the login box.
Title: Re: Trendnet TV-IP320PI Outdoor IP Camera - need video url for mjpeg
Post by: SKJM Support on June 29, 2015, 10:40:20 AM
Web browser are you attempting to open the URLs in where you see the "Do you want to open or save httpPreviewā€¯ message?

Have you tried opening the URLs in Firefox and Chrome to see if you can open the stream?               
Title: Re: Trendnet TV-IP320PI Outdoor IP Camera - need video url for mjpeg
Post by: rjgvt on July 02, 2015, 06:07:11 PM
I was using Internet Explorer 11. I have Google Chrome, but not Firefox. I've been busy the last few days, but should have time to run through all of the possibilities in a few days and will report back. Thanks.
Title: Re: Trendnet TV-IP320PI Outdoor IP Camera - need video url for mjpeg
Post by: rjgvt on September 08, 2015, 08:46:24 PM
I have tried every url that I could find on the web and I'm ready to throw in the towel. I like the camera a lot as it has a very good image, even at 640x480 resolution. I didn't think it would be so difficult to get this camera to get an image using the MJPEG substream.

I tried to set up an FTP server on the same computer that I have Icamsource program running in an attempt to FTP JPEG images from the camera to Dropbox and failed at that. Not sure if it is possible to create an FTP server on a computer already running Icamsource and the Trendnet camera server. If you guys ever get H.264 video format working with Icamsource, I'll be all set.

I found a place to get the Trendnet TV-IP320PI camera for $99. If I send you a camera, can you work with it to figure it out?
Title: Re: Trendnet TV-IP320PI Outdoor IP Camera - need video url for mjpeg
Post by: SKJM Support on September 09, 2015, 12:37:02 PM
Are you able to view the MJPEG substream in your web browser? If so, you might be able to determine the MJPEG URL by right-clicking in the camera video in the browser and selecting "Copy image link" or "Copy image URL" (depending on the browser)

Also, if you already have the camera, you could allow us to access the camera in order to determine the MJPEG URL. You'll need to forward the port for the camera in your router settings and send a login/password (if applicable) to support@skjm.com.
Title: Re: Trendnet TV-IP320PI Outdoor IP Camera - need video url for mjpeg
Post by: rjgvt on September 09, 2015, 05:04:15 PM
I have not been able to get the MJPEG substream to work in a browser.

I have the camera mounted outside and is already set up with a host name and the port forwarded.

Email sent with a guest login.
Title: Re: Trendnet TV-IP320PI Outdoor IP Camera - need video url for mjpeg
Post by: rjgvt on September 09, 2015, 08:03:25 PM
Not sure how to tell if the video image I can see in the browser is H.264 or MJPEG. I can get an image in Google Chrome with:

http://myipaddress:port/streaming/channels/1/httppreview

I think this is H.264 video as it doesn't work in icamsource. I think channel 2 is MJPEG substream and doesn't work in Google Chrome.
Title: Re: Trendnet TV-IP320PI Outdoor IP Camera - need video url for mjpeg
Post by: rjgvt on October 02, 2015, 12:12:59 PM
Email sent to support Sept 30th with latest update.

When I turn off HTTP authentication, the Trendnet camera works on iCamSource. I think the camera is not secure in this state. My guess is that with HTTP off, the camera is using Basic Authentication and Digest when HTTP is on. I turned HTTP back on to keep the camera secure.

Is it possible to add Digest Authentication to iCamSource?

Thanks, Bob




Title: Re: Trendnet TV-IP320PI Outdoor IP Camera - need video url for mjpeg
Post by: SKJM Support on October 07, 2015, 12:10:24 AM
Digest authentication has not been requested in the past, however our Developers have added it to our list of potential features to implement in the future.

Regarding your security concerns, if the camera is accessible from the internet (which it currently is) then turning off the HTTP authentication would definitely be a security problem. If the camera was only accessible from the local network, then the HTTP authentication being turned off would be less of an issue.

Please let us know if you have any further questions or concerns.
Title: Re: Trendnet TV-IP320PI Outdoor IP Camera - need video url for mjpeg
Post by: rjgvt on October 07, 2015, 04:49:14 AM
Thanks for adding Digest Authentication to the list. I appreciate the help with trying to get this camera to work on iCamsource. Hoping the digest authentication request gets to the top of the list soon!  :)

I might turn off the port forwarding temporarily for this camera and test it out on iCamsource with HTTP disabled.
Title: Re: Trendnet TV-IP320PI Outdoor IP Camera - need video url for mjpeg
Post by: rjgvt on October 07, 2015, 07:45:05 PM
I opened a support ticket yesterday with Trendnet to ask a few questions about authentication on my camera. Here are my questions:

Does the TV-IP320PI camera use Basic or Digest Authentication?

When disabling HTTP authentication, is the camera using any form of authentication? Is the camera secure?

Trendnet's response:

The camera uses Basic and disabling the http authentication will make the camera not very secure.


Not sure what to think now as to why the camera doesn't work with iCamSource if it is truly Basic Authentication.
Title: Re: Trendnet TV-IP320PI Outdoor IP Camera - need video url for mjpeg
Post by: SKJM Support on October 09, 2015, 05:20:56 PM
Unfortunately, Trendnet may have thought they were talking about another model or there was some sort of miscommunication, but the camera was definitely using Digest Authentication.

Support for Digest Authentication has been added to the to-do list. In the meantime, there is a workaround you could do with ManyCam (http://manycam.com).  The free version of ManyCam allows you to turn any window on your desktop into a virtual camera.  When you add a camera in the ManyCam program, there are many different options for the sources. One of the choices is Desktop -> App Window, which allows you to specify a particular window.  In your case, it would be the browser window with the camera view showing. Then the browser window will show up in the ManyCam window.  In iCamSource, the Video Source list should include a "ManyCam Virtual Webcam" entry, which will display the browser window.

Title: Re: Trendnet TV-IP320PI Outdoor IP Camera - need video url for mjpeg
Post by: rjgvt on October 12, 2015, 11:08:00 AM
Thanks for the Manycam info. I will give it a shot when I get the chance.

Bob
Title: Re: Trendnet TV-IP320PI Outdoor IP Camera - need video url for mjpeg
Post by: Hector on December 20, 2015, 01:48:56 PM
I spent hours >:( on trying to rack my brain on how to get Pysoft Active WebCam to work With this camera, but I thank you :) for the URL info. Ill now share my applications string for getting this to work in the even it may help someone else.

String to request JPEG image:
http://{USER_ID}:{PASSWORD}@{CAMERA_IP}/streaming/channels/1/httppreview

Title: Re: Trendnet TV-IP320PI Outdoor IP Camera - need video url for mjpeg
Post by: rjgvt on July 14, 2022, 11:36:58 AM
Long time since I posted and not sure that anyone is monitoring this forum but here goes:

I ignored the two Trendnet TV-IP320PI cameras for a long time since I couldn't get them to work on iCamsource with Digest Authentication. Digest Authentication was added with 2.8.5.2. My Trendnet cameras needed a firmware update for security reasons. I finally got around to working on that yesterday and today. One camera is mounted indoors and one is outside. After doing the firmware update with both cameras, both cameras were inoperative.

I opened a help desk support ticket with Trendnet and they gave me a procedure to reset the cams. There is a rest button on the back of the cameras and need to hold the reset button for over 15 seconds while plugging in the power to the cam. I did the indoor cam reset yesterday and it was back to default. I was able to get it configured and see the cam image with a host domain on IpCamViewer app on my phone. I did the same to the outdoor cam this morning. Had to get my GF to plug in the power cable indoors while I was on a ladder outside resetting the cam. Both cams are now functional.

I downloaded iCamsource 2.9 to my laptop for testing purposes, separate from the computer that runs iCamsource 2.8 for local and remote cameras. I added both Trendnet IP cameras with Digest Authentication enabled and had images for both cameras. I used the following url:

http://hostdomain:port/Streaming/Channels/1/httpPreview

This is one of a 1000 urls that I tried in the beginning of this post. I'll be updating iCamsource on my desktop to 2.9 and add the two Trendnet cams.

I'm happy that I finally got it all working and thanks to SKJM for adding the features that made it happen.
Title: Re: Trendnet TV-IP320PI Outdoor IP Camera - need video url for mjpeg
Post by: rjgvt on July 15, 2022, 03:07:21 PM
Update:

Updated iCamsource on my desktop computer to 2.9. The seven cams (3 remote IP, 2 local IP, 2 local webcams) I was using on iCamsource 2.8 were functional on 2.9 without doing anything. I added the two Trendnet cameras and had a few issues after awhile with the images getting broken up. I changed the parameters for the Trendnet cams from 704x480 resolution, highest video quality and 10fps to 640x480 resolution, medium video quality and 6fps. Cams have been stable since I made the changes.
Title: Re: Trendnet TV-IP320PI Outdoor IP Camera - need video url for mjpeg
Post by: rjgvt on July 17, 2022, 10:28:18 AM
Another update:

Two of my Airlink IP cams are not recording motion. One is at a remote location and stopped recording motion when I updated iCamsource to 2.9 on July 14, 2022. I noticed today that one of my IP cams at home won't record motion. I powered off both of the Trendnet cams and disconnected from the router and both Airlink cams are still not recording motion.

I was at 2.8 before updating to 2.9. Anyway I can get 2.8 back to test my cams?

Edit: I removed the Trendnet cams from iCamsource. No change in issue with two cams not recording with motion.
Title: Re: Trendnet TV-IP320PI Outdoor IP Camera - need video url for mjpeg
Post by: Stefan on July 18, 2022, 09:53:14 AM
Another update:

Two of my Airlink IP cams are not recording motion. One is at a remote location and stopped recording motion when I updated iCamsource to 2.9 on July 14, 2022. I noticed today that one of my IP cams at home won't record motion. I powered off both of the Trendnet cams and disconnected from the router and both Airlink cams are still not recording motion.

I was at 2.8 before updating to 2.9. Anyway I can get 2.8 back to test my cams?

Edit: I removed the Trendnet cams from iCamsource. No change in issue with two cams not recording with motion.

iCamSource 2.8 is quite old, and may exist on one of our older systems, but we would need to search for it.

If the AirLink cameras are connected to the iCamSource and you can see the live feed update then it should be able to detect and record motion if the Record Motion checkbox is checked for that camera: https://skjm.com/icam/help/motion_detection.php

If it still isn't, check that the green "Motion" indicator is toggling off and on (to indicate that motion is being detected) and if it is not, it may be an issue where the detection zones are enabled but configured in such a way that the area where motion is occurring is not enabled.

You can also try and explicitly "change" the motion detection folder in case it was moved / changed somehow, and the path is now incorrect. If you click the "Change" button and then select a different folder, see if that fixes the issue.

Title: Re: Trendnet TV-IP320PI Outdoor IP Camera - need video url for mjpeg
Post by: rjgvt on July 18, 2022, 11:23:03 AM
Another update:

Two of my Airlink IP cams are not recording motion. One is at a remote location and stopped recording motion when I updated iCamsource to 2.9 on July 14, 2022. I noticed today that one of my IP cams at home won't record motion. I powered off both of the Trendnet cams and disconnected from the router and both Airlink cams are still not recording motion.

I was at 2.8 before updating to 2.9. Anyway I can get 2.8 back to test my cams?

Edit: I removed the Trendnet cams from iCamsource. No change in issue with two cams not recording with motion.

iCamSource 2.8 is quite old, and may exist on one of our older systems, but we would need to search for it.

If the AirLink cameras are connected to the iCamSource and you can see the live feed update then it should be able to detect and record motion if the Record Motion checkbox is checked for that camera: https://skjm.com/icam/help/motion_detection.php

If it still isn't, check that the green "Motion" indicator is toggling off and on (to indicate that motion is being detected) and if it is not, it may be an issue where the detection zones are enabled but configured in such a way that the area where motion is occurring is not enabled.

You can also try and explicitly "change" the motion detection folder in case it was moved / changed somehow, and the path is now incorrect. If you click the "Change" button and then select a different folder, see if that fixes the issue.

Thanks for the reply!!

The two cameras that have issues would not show "motion" detected. I walked around in front of the camera at home and reboot the camera at the remote location which would trigger a motion light for 1 minute. Neither would show motion.

I also had a small detection zone (in red) for both cameras prior to updating to 2.9. After reading your post, I "enabled" the detection zone (all red) for both cameras and turned detection zones off. Now both cameras will detect motion.

Do the red areas see motion or disable motion? White areas?

I'm leaving the detection zones turned off for now. It's not needed at the remote location anymore.

I'm going to connect the Trendnet cameras back to iCamsource since it did not cause any issues.

Thanks!!
Title: Re: Trendnet TV-IP320PI Outdoor IP Camera - need video url for mjpeg
Post by: Stefan on July 20, 2022, 08:21:36 PM
Do the red areas see motion or disable motion? White areas?

Yes, red is enabled, white is disabled. 👍
Title: Re: Trendnet TV-IP320PI Outdoor IP Camera - need video url for mjpeg
Post by: rjgvt on July 20, 2022, 08:48:04 PM
Do the red areas see motion or disable motion? White areas?

Yes, red is enabled, white is disabled. 👍

Thanks!