Table of Contents
Testing Cameras with VLC
VLC is an industry-standard video player used to test camera streams independently of your TetherBox. If a camera works in VLC, the issue is with how it's configured in TetherX. If it doesn't work in VLC, the problem is with the camera itself.
Tip: VLC is the universal troubleshooting tool for IP cameras. It bypasses all TetherX configuration and connects directly to the camera, helping isolate whether issues are camera-side or platform-side.
Why Test with VLC?
VLC eliminates variables:
- Tests the camera stream directly without TetherX processing
- Confirms the stream URL and credentials are correct
- Verifies the camera is producing valid video
- Diagnoses codec and streaming protocol issues
Warning: If VLC cannot play your camera stream, your TetherBox won't be able to record it either. Fix the camera first before troubleshooting TetherX configuration.
Step 1: Get Stream URL and Credentials
- Go to Admin → Cameras on the TetherX Platform
- Click your camera name to open the details page
- Copy the Analytics URL from the URLs section
- Note the camera's username and password (shown in the Credentials section)
Tip: The Analytics URL is typically an RTSP stream like rtsp://192.168.1.64:554/Streaming/Channels/101. Some cameras use HTTP or RTMP instead.
Step 2: Download and Install VLC
If you don't already have VLC installed:
- Visit videolan.org/vlc
- Download VLC for your operating system (Windows, Mac, or Linux)
- Install and launch VLC
Tip: VLC is completely free and open source. No registration or account required.
Step 3: Open Network Stream
In VLC:
- Click Media → Open Network Stream (Windows/Linux)
- Or File → Open Network (Mac)
- Paste the Analytics URL into the network URL field
- Click Play
If credentials are required:
- VLC will prompt for username and password
- Enter the camera credentials from step 1
- Click OK
Understanding the Results
VLC Plays Correctly
Tip: Camera stream is working perfectly. The issue is with TetherX configuration, not the camera. Submit a support request with:
- Screenshot of VLC playing the stream
- The exact URL you used
- Camera make and model
Common TetherX configuration issues:
- Wrong stream URL in TetherX (using substream instead of mainstream)
- Incorrect codec settings
- TetherBox CPU overload preventing recording
- Network bandwidth limitations
VLC Shows an Error
Warning: Camera stream is faulty. This is a camera-side problem, not a TetherX issue. Contact the camera manufacturer with:
- The error message VLC displays
- The stream URL you attempted to use
- Camera firmware version
Common camera errors in VLC:
"VLC is unable to open the MRL"
- URL is incorrect or malformed
- Camera is offline or unreachable
- Firewall blocking the connection
"401 Unauthorized" or Authentication Failed
- Credentials are incorrect
- Camera requires special characters to be URL-encoded
- Camera has multiple user accounts with different permissions
"Connection timed out"
- Camera is not responding on the network
- IP address is wrong or has changed
- Network routing issue between your computer and camera
Black screen or frozen frame
- Camera is online but not producing video
- Camera lens cover is on
- Camera is in a failed state and needs rebooting
"Codec not supported" or garbled video
- Camera is using an incompatible codec (e.g., proprietary formats)
- Stream is corrupted
- Camera firmware is outdated or buggy
Testing Both Streams
Most cameras provide multiple streams (mainstream and substream). Test both:
Mainstream (high quality):
- Used for recording
- Higher resolution (1080p, 4K)
- Higher bitrate
- Usually on channel 101 or path
/Streaming/Channels/101
Substream (low quality):
- Used for live view and analytics
- Lower resolution (720p, D1)
- Lower bitrate
- Usually on channel 102 or path
/Streaming/Channels/102
Tip: If substream works but mainstream doesn't, the camera may have insufficient processing power or bandwidth. Try reducing the mainstream quality in the camera's settings.
How to find stream URLs:
- Check the camera's web interface (Network → Streaming)
- Refer to manufacturer documentation
- Common formats:
rtsp://IP:554/Streaming/Channels/101
Advanced Testing
Check Stream Information
In VLC, while playing the stream:
- Click Tools → Codec Information (Windows/Linux)
- Or Window → Media Information (Mac)
- Review the codec details:
- Codec: Should be H.264 or H.265
- Resolution: Check it matches camera settings
- Frame rate: Should be 15-30 fps for most cameras
- Bitrate: Higher = better quality but more bandwidth
Warning: If you see unusual codecs (MJPEG, proprietary formats) or extremely low/high bitrates, the camera may need reconfiguration.
Save Stream for Analysis
If you need to send a sample to support:
- While stream is playing in VLC, click Media → Convert/Save
- Add the network stream URL
- Click Convert/Save (not just Play)
- Choose a destination file and format (MP4 recommended)
- Click Start to record 10-20 seconds of video
This captures exactly what VLC receives, helping diagnose issues.
Common Manufacturer Stream Formats
Hikvision:
rtsp://IP:554/Streaming/Channels/101 (mainstream)
rtsp://IP:554/Streaming/Channels/102 (substream)
Dahua:
rtsp://IP:554/cam/realmonitor?channel=1&subtype=0 (mainstream)
rtsp://IP:554/cam/realmonitor?channel=1&subtype=1 (substream)
Axis:
rtsp://IP/axis-media/media.amp?videocodec=h264
Uniview:
rtsp://IP:554/media/video1 (mainstream)
rtsp://IP:554/media/video2 (substream)
Tip: If these don't work, check your camera's manual or web interface for the exact stream path.
Troubleshooting VLC Issues
VLC crashes or freezes:
- Update to the latest VLC version
- Try a different computer to rule out local issues
- Camera may be sending malformed data (camera firmware issue)
Stream works initially then stops:
- Camera may have connection limits (max 5 simultaneous streams, etc.)
- Disconnect other viewers and try again
- Some cameras drop RTSP connections after timeout - normal behaviour
Audio issues:
- Many cameras don't support audio or have it disabled
- Check camera settings to enable audio streaming
- VLC may show video but no audio if codec is unsupported
Next Steps
If VLC works:
- Check TetherBox configuration matches the working URL
- Verify stream type (mainstream vs substream) is correct
- Review TetherBox CPU usage and available bandwidth
- Submit support request with VLC success screenshot
If VLC doesn't work:
- Try accessing camera web interface directly (http://camera-ip)
- Update camera firmware to latest version
- Factory reset camera and reconfigure
- Contact camera manufacturer support with error details
Referenced in: