question about build video service in freebsd14.3 ?

dear all:
i have installed a usb webcamera in my freebsd14.3 machine.....now i want to view the webcamera from chromium from remote location. what is the best solution ? thanks.
note : now i can use pwcview to watch my webcamera content in freebsd14.3 machine. i want to remote watch webcamera through some application or web browser ? thanks.
 
i used ffmpeg to convert a stream to hls
chrome does not support hls on desktop without extensions (which sucked when i tested them) but supports hls on android and ios
vlc is said to support hls
 
dear covacat :
thanks for your help ..i have read webcamd manual...
below was very important.
-D Enable vTuner client support. Connect to one or more remote DVB
device instead of using USB. The vTuner protocol needs eight
ports for normal operation which are allocated back to back. One
port for control communication and the other port for data
communication. NOTE: If you want to start multiple vTuner
clients in the background by use of the -B option, you need to
supply a unique interface number for each client using th -i
option.

-L Enable vTuner server support. Make the DVB device available on
TCP/IP instead of cuse(3). If the ndev parameter is negative,
all present DVB devices are mapped to TCP/IP. Else only the
given number of DVB devices are mapped. The vTuner protocol
needs eight ports for normal operation which are allocated back
to back. One port for control communication and the other port
for data communication.


Create a vTuner client:

webcamd -D 127.0.0.1:5100:1:2

Create a vTuner server:

webcamd -L 127.0.0.1:5100:-1

-D <host:port:ndev> Connect to remote host instead of USB
-L <host:port:ndev> Make DVB device available from TCP/IP


looks like the wecamd can transfer usb camera to DVB device from tcp/ip... i try it and got error in below .
webcamd -D 127.0.0.1:5100:0:3
webcamd 1592 - - webcamd: Cannot set all module parameters for vTuner client.


i am not sure what is my usb camera ndev ID . do you know it ? thanks.
 
dear all:
i have build webcamd from ports ...and active vtuner client and server function. and running "webcamd -L 127.0.0.1:5100:-1 " command success . looks like the webcamd listen tcp4 port 5100-5161.....now how to play my webcamd video from website or mpv ,vlc ......? thanksl
 
Back
Top