mpromonet / v4l2onvif

ONVIF server for V4L2 Devices
GNU General Public License v3.0
117 stars 58 forks source link

Compile has error - libv4l2wrapper.a #10

Closed whitetiger21022014 closed 1 year ago

whitetiger21022014 commented 1 year ago

Hello,

  1. I compiled several times and got error below (~5-7 days): make[2]: Entering directory '/opt/v4l2onvif/v4l2rtspserver' make[2]: No rule to make target 'v4l2wrapper'. Stop. make[2]: Leaving directory '/opt/v4l2onvif/v4l2rtspserver' make[1]: [Makefile:73: libv4l2wrapper.a] Error 2 make[1]: Leaving directory '/opt/v4l2onvif' make: *** [Makefile:45: gen/onvif.h] Error 2

I don't see v4l2rtspserver/v4l2wrapper directory anymore

Log Submodule 'hls.js' (https://github.com/video-dev/hls.js) registered for path 'v4l2rtspserver/hls.js' Submodule 'v4l2wrapper' (https://github.com/mpromonet/v4l2wrapper) registered for path 'v4l2rtspserver/libv4l2cpp' Cloning into '/opt/v4l2onvif/v4l2rtspserver/hls.js'...

I compiled successfully at Oct 17, 2022 Submodule 'v4l2wrapper' (https://github.com/mpromonet/v4l2wrapper) registered for path 'v4l2rtspserver/v4l2wrapper'

  1. Another question, does your v4l2onvif-server support for rtsp-output-stream H265? If It does not support, is there any parameter that I can configure for H265? Thank you
whitetiger21022014 commented 1 year ago

I solved as below

6 positions

cat Makefile | grep libv4l2cpp

all: gen/onvif.h libwsdd.a liblibv4l2rtspserver.a liblibv4l2cpp.a onvif-server.exe onvif-client.exe liblibv4l2cpp.a: cd v4l2rtspserver && cmake -DALSA=OFF . && make libv4l2cpp cp v4l2rtspserver/libv4l2cpp/$@ . CXXFLAGS += -I v4l2rtspserver/inc -I v4l2rtspserver/libv4l2cpp/inc onvif-server.exe: src/onvif-server.o src/onvif_impl.o $(WSSE_SRC) libserver.a libonvif.a gen/soapNotificationConsumerBindingProxy.o libwsdd.a liblibv4l2rtspserver.a liblibv4l2cpp.a

Another question, does your v4l2onvif-server support for rtsp-output-stream H265? If It does not support, is there any parameter that I can configure for H265? Thank you