Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to remove outputs like [NOTICE] /home/raspi/v4l2rtspserver/main.cpp:247 #329

Open
fplanque opened this issue Mar 23, 2024 · 0 comments

Comments

@fplanque
Copy link

Hello,

In addition to the normal stdout, I get "debug" info telling me the line number of each printf in the source code. See example below.

This makes things very hard to read for me.

I would imagine there is some parameter to use with cmake / when building the sever but I could not find it.

How can I remove the [NOTICE] lines?

Thank you.


Example:

[NOTICE] /home/raspi/v4l2rtspserver/main.cpp:247
	Version: 0.3.8-8-g5cf22b4 live555 version:2024.03.08
[NOTICE] /home/raspi/v4l2rtspserver/src/V4l2RTSPServer.cpp:37
	Create V4L2 Source.../dev/video1
[NOTICE] /home/raspi/v4l2rtspserver/libv4l2cpp/src/V4l2Device.cpp:133
	driver:uvcvideo capabilities:84a00001 mandatory:4000001
[NOTICE] /home/raspi/v4l2rtspserver/libv4l2cpp/src/V4l2Device.cpp:136
	/dev/video1 support capture
[NOTICE] /home/raspi/v4l2rtspserver/libv4l2cpp/src/V4l2Device.cpp:139
	/dev/video1 support streaming
[ERROR] /home/raspi/v4l2rtspserver/libv4l2cpp/src/V4l2Device.cpp:212
	/dev/video1: Cannot set pixelformat to:HEVC format is:MJPG
[ERROR] /home/raspi/v4l2rtspserver/libv4l2cpp/src/V4l2Device.cpp:212
	/dev/video1: Cannot set pixelformat to:H264 format is:MJPG
[NOTICE] /home/raspi/v4l2rtspserver/libv4l2cpp/src/V4l2Device.cpp:225
	/dev/video1:MJPG size:1024x768 bufferSize:1573453
[NOTICE] /home/raspi/v4l2rtspserver/libv4l2cpp/src/V4l2Device.cpp:246
	fps:1/30
[NOTICE] /home/raspi/v4l2rtspserver/libv4l2cpp/src/V4l2Device.cpp:247
	nbBuffer:0
[NOTICE] /home/raspi/v4l2rtspserver/libv4l2cpp/src/V4l2MmapDevice.cpp:49
	Device /dev/video1
[NOTICE] /home/raspi/v4l2rtspserver/libv4l2cpp/src/V4l2MmapDevice.cpp:73
	Device /dev/video1 nb buffer:10
[NOTICE] /home/raspi/v4l2rtspserver/src/V4l2RTSPServer.cpp:62
	Create Source .../dev/video1
[NOTICE] /home/raspi/v4l2rtspserver/src/V4L2DeviceSource.cpp:96
	begin thread
[NOTICE] /home/raspi/v4l2rtspserver/inc/BaseServerMediaSubsession.h:49
	format:video/JPEG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant