how to connect hdwificampro to ubuntu 22.04
i have this hdiwificampro this camera can be operated with an android app hdiwificampro
the following configuration
hdiwificampro is acting as a dhcp server (udp port 67 is open) its ip adress is 192.168.1.1 it has its on wifi lan called dgo0g-236499-bsksb
now i connect my samsung tablet also to this wifi lan i get ip aDress 192.168.1.100
after that i download app hdiwificampro from playstore
i setup the app so that the tablet directl connects to the web cam
this works fine
my question : how to connect to this camera using ubuntu22.04 and the vlc mediaplayer
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Media > Open Network Stream
Then connect to the IP and port. Should do it
Revision history for this message
|
#2 |
thnks for answer
below is the tracing via tcpdump
when app connects to the camera
this happens when app installed on android with ip 10.0.0.20 scans lan for camera (which is ip 10.0.0.237)
12:44:19.024634 IP 10.0.0.20.6801 > 10.0.0.255.8600: UDP, length 4
12:44:19.124989 IP 10.0.0.20.6801 > 10.0.0.255.8600: UDP, length 4
12:44:19.227375 IP 10.0.0.20.6801 > 10.0.0.255.8600: UDP, length 4
12:44:19.232087 IP 10.0.0.237.8600 > 255.255.
12:44:20.254853 IP 10.0.0.237.8600 > 255.255.
now i add camera to app below tracing
12:46:02.645740 IP 10.0.0.20.21334 > 10.0.0.255.32108: UDP, length 4
12:46:02.646722 IP 10.0.0.20.21334 > 10.0.0.255.32108: UDP, length 4
12:46:02.744447 IP 10.0.0.20.21334 > 10.0.0.255.32108: UDP, length 4
12:46:02.745759 IP 10.0.0.237.24433 > 0.0.0.0.0: UDP, length 48
12:46:02.747173 IP 10.0.0.237.24433 > 0.0.0.0.0: UDP, length 48
12:46:02.748463 IP 10.0.0.237.24433 > 0.0.0.0.0: UDP, length 48
12:46:02.847357 IP 10.0.0.237.24433 > 0.0.0.0.0: UDP, length 48
12:46:02.848260 IP 10.0.0.20.21334 > 10.0.0.255.32108: UDP, length 4
12:46:02.849878 IP 10.0.0.237.24433 > 0.0.0.0.0: UDP, length 88
after that i can see the camera working
as mentioned this is android
now i want to connect from my pc ip 10.0.0.178 via vlc viewer -
i tried alls ports metioned above
so please again based on my info above what vlc setup or vlc commandline would you suggest
Revision history for this message
|
#3 |
Does the Ubuntu computer have a WLAN device?
Can you use it to connect to the hdwificampro?
Can you then ping 192.168.1.1 (or whatever the IP address of the hdwificampro is)?
What happens if you try accessing that address with a web browser?
If that's not possible, what step fails and with which error message?
Revision history for this message
|
#4 |
to give you full picture
iam connecting the pc ip adress 10.0.0.178 via wlo1 to a wlan repeater called tp linkextender
also connected to this tplinkextender is my samsungtablet with the ip adress 10.0.0.20
also webcam hdiwificampro with ip adress 10.0.0.237 is connected to this tp linkextender
with the app installed on samsungtablet i can connect to this camera and get a proper stream
now i want to connect via vlc which is installed on ubuntu pc
to your questions
yes ubuntu pc has got interface wlo1 on the ubuntu pc ip 10.0.0.178 i do in a terminal session the tcpdump as shown above
i can do a ping via wlo1 from pcip 10.0.0.178 to the webcam 10.0.0.237 but cannot connect via vlc
if i just select 10.0.0.237 via chrome it says site cant be reached
i tried several vlc command via terminal from the pc 10.0.0.178 may they are not reallly clever like
vlc udp://@0.0.0.0:0 based on above tcpdump
in this case i got on the vlcdebugger following info
may be you have info what
eo@leo-
pulse debug: changing sink 0: alsa_output.
pulse debug: changing sink 0: alsa_output.
pulse debug: changing sink 0: alsa_output.
pulse debug: changing sink 0: alsa_output.
pulse debug: changing sink 0: alsa_output.
pulse debug: changing sink 0: alsa_output.
pulse debug: changing sink 0: alsa_output.
-- logger module started --
main debug: VLC media player - 3.0.16 Vetinari
main debug: Copyright © 1996-2021 the VideoLAN team
main debug: revision 3.0.13-
main debug: configured with ./configure '--build=
main debug: searching plug-in modules
main debug: loading plugins cache file /usr/lib/
main debug: recursively browsing `/usr/lib/
main debug: plug-ins loaded: 519 modules
main debug: opening config file (/home/
main debug: looking for logger module matching "any": 4 candidates
file debug: opening logfile `/home/
main debug: using logger module "file"
main debug: translation test: code is "C"
main debug: looking for keystore module matching "memory": 4 candidates
main debug: using keystore module "memory"
main debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX FPU
main debug: Creating an input for 'Media Library'
main debug: Input is a meta file: disabling unneeded options
main debug: using timeshift granularity of 50 MiB
main debug: using default timeshift path
main debug: `file/directory
main debug: creating demux: access='file' demux='directory' location=
main debug: looking for access_demux module matching "file": 18 candidates
main debug: no access_demux modules matched
main debug: creating access: file://
main debug: (path: /home/leo/
main debug: looking for access module matching "file": 29 candidates
main debug: using access module "filesystem"
main debug: looking for stream_filter module matching "prefetch,
cache_read debug: Using stream method for AStream*
cache_read debug: starting pre-buffering
cache_read debug: received first data after 0 ms
cache_read debug: pre-buffering done 296 bytes in 0s - 11117 KiB/s
main debug: using stream_filter module "cache_read"
main debug: looking for stream_filter module matching "any": 26 candidates
playlist debug: using XSPF playlist reader
main debug: using stream_filter module "playlist"
main debug: stream filter added to 0x55d5706cf750
main debug: looking for stream_filter module matching "any": 26 candidates
main debug: no stream_filter modules matched
main debug: looking for stream_directory module matching "any": 1 candidates
main debug: no stream_directory modules matched
main debug: attachment of directory-extractor failed for file://
main debug: looking for stream_filter module matching "record": 26 candidates
main debug: using stream_filter module "record"
main debug: creating demux: access='file' demux='directory' location=
main debug: looking for demux module matching "directory": 54 candidates
main debug: using demux module "directory"
main debug: looking for meta reader module matching "any": 2 candidates
lua debug: Trying Lua scripts in /home/leo/
lua debug: Trying Lua scripts in /usr/lib/
lua debug: Trying Lua playlist script /usr/lib/
lua debug: Trying Lua scripts in /usr/share/
main debug: no meta reader modules matched
main debug: `file/directory
main debug: looking for xml reader module matching "any": 1 candidates
main debug: using xml reader module "xml"
main debug: EOF reached
main debug: removing module "directory"
main debug: removing module "record"
main debug: removing module "playlist"
main debug: removing module "cache_read"
main debug: removing module "filesystem"
main debug: creating audio output
main debug: looking for audio output module matching "any": 6 candidates
vlcpulse debug: using library version 15.99.0
vlcpulse debug: (compiled with version 15.99.0, protocol 35)
vlcpulse debug: connected locally to /run/user/
vlcpulse debug: using protocol 35, server protocol 35
pulse debug: adding sink 0: alsa_output.
pulse debug: adding sink 1: combined (Simultaneous output to Built-in Audio Analog Stereo)
main debug: using audio output module "pulse"
main debug: keeping audio output
main debug: looking for interface module matching "dbus,none": 19 candidates
dbus debug: listening on dbus as: org.mpris.
main debug: using interface module "dbus"
main debug: looking for interface module matching "hotkeys,none": 19 candidates
main debug: using interface module "hotkeys"
main debug: looking for interface module matching "globalhotkeys,
main debug: using interface module "xcb_hotkeys"
main: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
main debug: looking for interface module matching "any": 19 candidates
dbus debug: Getting All properties
dbus debug: Getting All properties
dbus debug: Getting All properties
main debug: looking for extension module matching "any": 1 candidates
lua debug: Opening Lua Extension module
lua debug: Trying Lua scripts in /home/leo/
lua debug: Trying Lua scripts in /usr/lib/
lua debug: Trying Lua playlist script /usr/lib/
lua debug: Scanning Lua script /usr/lib/
lua debug: Script /usr/lib/
lua debug: Trying Lua scripts in /usr/share/
main debug: using extension module "lua"
main debug: using interface module "qt"
main debug: processing request item: null, node: Playlist, skip: 0
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 1 items, index -1
main debug: starting playback of new item
main debug: resyncing on udp://0.0.0.0
main debug: udp://0.0.0.0 is at 0
main debug: creating new input thread
main debug: Creating an input for 'udp://0.0.0.0'
main debug: requesting art for new input thread
main debug: using timeshift granularity of 50 MiB
main debug: using default timeshift path
main debug: `udp://@0.0.0.0:0' gives access `udp' demux `any' path `@0.0.0.0:0'
main debug: creating demux: access='udp' demux='any' location=
main debug: looking for access_demux module matching "udp": 18 candidates
main debug: no access_demux modules matched
main debug: creating access: udp://@0.0.0.0:0
main debug: looking for access module matching "udp": 29 candidates
udp debug: opening server=:0 local=0.0.0.0:0
main debug: net: opening 0.0.0.0 datagram port 0
main debug: using access module "udp"
main debug: looking for stream_filter module matching "prefetch,
main debug: looking for meta fetcher module matching "any": 1 candidates
lua debug: Trying Lua scripts in /home/leo/
lua debug: Trying Lua scripts in /usr/lib/
lua debug: Trying Lua scripts in /usr/share/
prefetch debug: using 16777216 bytes buffer, 16777216 bytes read
main debug: using stream_filter module "prefetch"
main debug: looking for stream_filter module matching "any": 26 candidates
main debug: no meta fetcher modules matched
main debug: looking for art finder module matching "any": 2 candidates
qt debug: IM: Setting an input
lua debug: Trying Lua scripts in /home/leo/
lua debug: Trying Lua scripts in /usr/lib/
lua debug: Trying Lua playlist script /usr/lib/
lua debug: skipping script (unmatched scope) /usr/lib/
lua debug: Trying Lua playlist script /usr/lib/
lua debug: skipping script (unmatched scope) /usr/lib/
lua debug: Trying Lua playlist script /usr/lib/
lua debug: skipping script (unmatched scope) /usr/lib/
lua debug: Trying Lua playlist script /usr/lib/
lua debug: skipping script (unmatched scope) /usr/lib/
lua debug: Trying Lua scripts in /usr/share/
main debug: no art finder modules matched
main debug: looking for meta fetcher module matching "any": 1 candidates
lua debug: Trying Lua scripts in /home/leo/
lua debug: Trying Lua scripts in /usr/lib/
lua debug: Trying Lua scripts in /usr/share/
main debug: no meta fetcher modules matched
main debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua scripts in /home/leo/
lua debug: Trying Lua scripts in /usr/lib/
lua debug: Trying Lua playlist script /usr/lib/
lua debug: Trying Lua playlist script /usr/lib/
lua debug: Trying Lua playlist script /usr/lib/
lua debug: Trying Lua playlist script /usr/lib/
lua debug: Trying Lua scripts in /usr/share/
main debug: no art finder modules matched
main debug: exiting
main debug: removing all interfaces
main debug: removing module "qt"
main debug: deactivating the playlist
main debug: incoming request - stopping current input
prefetch debug: end of stream
playlist debug: not enough data
lua debug: Trying Lua scripts in /home/leo/
lua debug: Trying Lua scripts in /usr/lib/
lua debug: Trying Lua playlist script /usr/lib/
lua debug: Trying Lua playlist script /usr/lib/
lua debug: Trying Lua playlist script /usr/lib/
lua debug: Trying Lua playlist script /usr/lib/
lua debug: Trying Lua playlist script /usr/lib/
lua debug: Trying Lua playlist script /usr/lib/
lua debug: Trying Lua playlist script /usr/lib/
lua debug: Trying Lua playlist script /usr/lib/
lua debug: Trying Lua playlist script /usr/lib/
lua debug: Trying Lua playlist script /usr/lib/
lua debug: Trying Lua playlist script /usr/lib/
lua debug: Trying Lua playlist script /usr/lib/
lua debug: Trying Lua playlist script /usr/lib/
lua debug: Trying Lua playlist script /usr/lib/
lua debug: Trying Lua playlist script /usr/lib/
lua debug: Trying Lua playlist script /usr/lib/
lua debug: Trying Lua scripts in /usr/share/
main debug: no stream_filter modules matched
main debug: looking for stream_directory module matching "any": 1 candidates
main debug: no stream_directory modules matched
main debug: attachment of directory-extractor failed for udp://@0.0.0.0:0
main debug: looking for stream_filter module matching "record": 26 candidates
main debug: using stream_filter module "record"
main debug: creating demux: access='udp' demux='any' location=
main debug: looking for demux module matching "any": 54 candidates
es debug: cannot peek
es debug: cannot peek
es debug: cannot peek
es debug: cannot peek
es debug: cannot peek
mod debug: MOD validation failed (ext=)
ps debug: cannot peek
mpgv debug: cannot peek
mjpeg warning: no more data
mjpeg error: cannot peek
avformat warning: cannot peek
ps debug: cannot peek
vobsub debug: could not read vobsub IDX file
main debug: no demux modules matched
main debug: removing module "record"
main debug: removing module "prefetch"
main debug: removing module "udp"
main debug: dead input
qt debug: IM: Deleting the input
main debug: nothing to play
main debug: removing module "pulse"
qt debug: requesting exit...
qt debug: waiting for UI thread...
qt debug: Video is not needed anymore
main debug: exiting
qt debug: QApp exec() finished
qt debug: Video is not needed anymore
qt debug: Killing extension dialog provider
qt debug: ExtensionsDialo
main debug: removing module "lua"
main debug: removing module "xcb_hotkeys"
main debug: removing module "hotkeys"
main debug: removing module "dbus"
main debug: destroying
main debug: saving media library to file /home/leo/
main debug: looking for playlist export module matching "export-xspf": 4 candidates
main debug: using playlist export module "export"
main debug: removing module "export"
main debug: deleting item `Media Library'
main debug: deleting item `udp://0.0.0.0'
main debug: deleting item `Playlist'
main debug: removing module "memory"
-- logger module stopped --
pulse debug: changing sink 0: alsa_output.
pulse debug: changing sink 0: alsa_output.
pulse debug: changing sink 0
Revision history for this message
|
#5 |
Have you considered creating a full trace of the traffic between the camera and the tablet, e.g. with wireshark, to see how they communicate when the tablet shows the video of the camera?
Revision history for this message
|
#6 |
i did a full trace are you interested in the capture file if yes how can i upload this file
Revision history for this message
|
#7 |
I am not really interested in the full capture file, but just in a short excerpt (to see the ports and addresses used).
You cannot attach files to a Launchpad answer document, but you can use e.g. https:/
Revision history for this message
|
#8 |
please check the link
https:/
i converted this file from wireshark pcapng to plain text
ip adress 192.168.1.1 is the camera -- ip agdress 192.168.1.101 is the the samsmusg tablet runnnig app hhdiwebcampro
i recored the traffic with wiresharkon ubuntu pc 192.168.1.102
please note this time only this 3 devices are involved -- the camera is in this setup the dhcp server
Revision history for this message
|
#9 |
I am sorry, but I cannot help further. The wireshark capture mentions the ASTERIX protocol, but I do not have any information about Ubuntu programs that are able to use that protocol.
I suggest that you try contacting the manufacturer or vendor of that camera and ask them, whether there is Linux software available.
Can you help with this problem?
Provide an answer of your own, or ask leo for more information if necessary.