You are here

Ubiquity Camera and RTSP

8 posts / 0 new
Last post
w8erd
Ubiquity Camera and RTSP
Has anyone used Ubiquiti cameras?  Can you make them work with VLC and RTSP?
Ours disconnects after a minute.

Bob W8ERD
AE6XE
AE6XE's picture
There are several "AirCam"
There are several "AirCam" ipcams on the local mesh.   Not seeing a timeout issue, however I don't think these are the latest generation of Ubiquiti ipCams.  The URL in use looks like this:

rtsp://view:view@ae6xe-aircam1:554/live/ch00_0

I frequently use a playlist with VLC to scroll through a dozen ipCams on the local mesh.   Save this to a file, e.g. "mesh_playlist.pls" and open with VLC, then hit the ">>" next chapter/song button to go to the next ipCam.

[playlist]
NumberOfEntries=13

File1=http://AE6XE-OCcam.local.mesh/cgi-bin/videostream.cgi?user=rtsp&pwd=rtsp
Title1=AE6XE Saddleback OCcam

File2=rtsp://ke6bxt-pleasants-cam1:554/mpeg4
Title2=KE6BXT-AE6XE Pleasants Peak

File3=rtsp://view:view@ae6xe-aircam1:554/live/ch00_0
Title3=AE6XE Saddleback SolarCam

File4=rtsp://view:view@ae6xe-aircam2:554/live/ch00_0
Title4=AE6XE QTH FishCam

File5=rtsp://view:view@ke6bxt-mvch-cam1:554/live/ch00_0
Title5=KE6BXT Mission Viejo City Hall Roof

File6=http://scdb122c.local.mesh/img/snapshot.cgi
Title6=Laguna Woods Clock Tower Radio Room still

File7=rtsp://view:view@wa2kwr-22-cam:80/videoMain
Title7=WA2KWR QTH WindowCam

File8=rtsp://AF6YN-DemoCam.local.mesh:554/live/ch00_0
Title8=AF6YN Downtown LA Window Cam

File9=rtsp://view:view@ae6xe-chickcam:554/live/play1.sdp
Title9=AE6XE QTH ChickCam

File10=rtsp://view:view@ordcam1.local.mesh/Streaming/Channels/1
Title10=WA6SVT Ord Mtn Radio Room

File11=rtsp://view:view@zl2aqy-raspbx-meshchat.local.mesh:88/videoMain
Title11=ZL2AQY QTH cam

File12=rtsp://aredn:aredn@dcs-1100.local.mesh/play1.sdp
Title12=WA2ISE QTH Road Cam

File13=rtsp://elp-camera.local.mesh/user=admin_password=12345_channel=1_stream=...
Title13=WA8APB ELP Shack cam

Joe AE6XE
w8erd
Ubiquity Camera problems
We are using the later Ubuquiti cameras, the UVC G2 model.
The url they say to use is rtsp://(ip address of camera):554/s0

It works fine for a minute or so and then disconnects, with vlc.
It works fine also with the http interface, but that is only intended for administration, and has limited capabilities.
But we have been forced to use it anyway.

Bob W8ERD
w6bi
w6bi's picture
VLC Tweaks
We found that VLC 2.2 works better on mesh with these changes:

I am running vlc media player 2.2.2 in Ubuntu 16.02. The preferences
will like look different in other OSs.

Right click in the vlc window and select Tools/Preferences
At the bottom select Show settings "All"
On the "Advanced settings" page
Check "Only show current"

Uncheck "Use a plugins cache"
Uncheck "Video/Drop Late Frames"
Uncheck "Video/Skip frames"

Click Save
(the above from Dave, KM6FQ)
w8erd
VLC Tweaks
Thanks for the suggestions, but it still does not work.
VLC disconnects after a minute.
And this is just with the camera going to the PC, not trying the mesh yet.

Bob W8ERD
KD7MG
KD7MG's picture
Maybe try mplayer instead of VLC

THIS thread also mentioned having problems with VLC and recommended mplayer as an alternative. You might give it a shot.

K5DLQ
K5DLQ's picture
i'd start my ensuring that
i'd start my ensuring that the AirCam firmware is up to date...
 
w8erd
Camera firmware
It has the latest firmware.  AirCam is the name of their previous camera, which they no longer support much.
Now they have the UVC G2 and soon will have the G3.  I really like buying from Ubiquiti as they are an American company so their 
manuals and software are in clear English, and you can actually talk to their engineers.  In contrast to all the Chinese cameras
on then market.  Now is only we could make it work....
Their engineers tell me it works fine in their shop.

Also just FYI they are now starting a tradeup program where you can trade in your old Aircams and get 50% the cost of their newer
cameras.

Thanks for any help!

Bob W8ERD
 

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer