It’s not related to vera, but I think this could be useful for many tux owners here.
I think this may apply to other cameras that support RTSP. However, the instruction here is for Dahua specific.
Tux supports camera RTSP streaming. When you installed the tux, it may already discovered all of your cameras. If the brands are not supported, it will put them under the “OTHER” type. In this “OTHER” type, the username & password option are not supported.
In order for the tux to stream from the “OTHER” cameras, it would need the following:
- IP address
- RTSP port
- RTSP path
The tricky part is how to add the username and password.
This is what I did for my Dahua (IPC-HFW4300S and dome)
- IP address: admin:admin@192.168.x.x (where admin:admin is basically the username:password)
- RTSP port: 554 (you can find out the port number by log onto the camera from a browser)
- RTSP path: cam/realmonitor?channel=1&subtype=1 (“live” will also work, but at “main stream” resolution which is too high for the tux)
Now, I used the channel=1&subtype=1 because I wanted the tux to stream from the substream which I setup on the camera with lower the resolution and few other changes for this to work.
On the camera side, I made the following change (via browser log in)
- Enable substream
- change Encode mode to H.264
- change resolution to CIF 352x240 (this is to match the default resolution on the Tux. Beside, I will stream 3 cameras to the tux and I think higher resolution may be too much for the tux to handle. It rebooted on me once when I have the RTSP path set to “live” which stream 1080p)
- For the same reason above, I set the frame-rate to 10. Make sure this match the setting on the Tux
That was it. worked like a charm on all my 3 cameras. I now can see them on the tux which is nicely located on the wall
For other cameras, I think the trick is to find the right path and port. For the port, you can go to the camera setup page to find out (under the UPnP menu). For the path, I picked it up from this page: Connect to Dahua cameras
It is a pain to try all the paths on the Tux. Instead, I used VLC to test out the setting first. When I find one that works, then I put that on the Tux.
Hope this helps