Log files when VLC is running as a server

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
sTeamTraen
New Cone
New Cone
Posts: 4
Joined: 14 Jul 2020 14:37

Log files when VLC is running as a server

Postby sTeamTraen » 14 Jul 2020 14:55

I am running VLC as a Windows service, streaming a public webcam from rtsp port 554 to the Internet on port 8888. So the following 1-line batch file is running with Administrator privileges:

"C:\Program Files\VideoLAN\VLC\vlc.exe" -R rtsp://IPetc --intf dummy --sout "#transcode{vcodec=mjpg,vb=2500,scale=1.0,fps=1,acodec=none}:standard{access=http{mime=multipart/x-mixed-replace; boundary=hexetc},mux=mpjpeg,dst=:8888"

(IPetc and hexetc represent censoring on my part for the purposes of this post.)

I would like to collect log data, for example which IP addresses connect to my service. After reading this thread, I added -vv and -logfile= to my command line, which now reads

"C:\Program Files\VideoLAN\VLC\vlc.exe" -R rtsp://IPetc -vv --logfile="C:\Webcam\vlc-log.txt" --intf dummy --sout "#transcode{vcodec=mjpg,vb=2500,scale=1.0,fps=1,acodec=none}:standard{access=http{mime=multipart/x-mixed-replace; boundary=hexetc},mux=mpjpeg,dst=:8888"

But no log file is being created. What am I missing? Is there some restriction on log files when VLC runs as a service?

Thanks for any help!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Log files when VLC is running as a server

Postby Jean-Baptiste Kempf » 15 Jul 2020 09:53

--extraintf logger?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

sTeamTraen
New Cone
New Cone
Posts: 4
Joined: 14 Jul 2020 14:37

Re: Log files when VLC is running as a server

Postby sTeamTraen » 15 Jul 2020 13:25

--extraintf logger?
That didn't work. I also found this thread https://forum.videolan.org/viewtopic.php?t=88914 and added various combinations of

Code: Select all

-I http --log-verbose=2 --verbose-objects=+all -vvv --extraintf logger
but I still have no log file, either in the directory I specified in "--logfile=" or in the VLC program directory.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Log files when VLC is running as a server

Postby Jean-Baptiste Kempf » 15 Jul 2020 18:31

Run this from MSys or WSL terminals?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

sTeamTraen
New Cone
New Cone
Posts: 4
Joined: 14 Jul 2020 14:37

Re: Log files when VLC is running as a server

Postby sTeamTraen » 15 Jul 2020 19:57

Run this from MSys or WSL terminals?
I don't know what either of those are. The command is in a .BAT file. I am running it from a service using NSSM (https://nssm.cc/) or from a Windows 10 command prompt (with "Run as Administrator"). In both cases I get no log file.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Log files when VLC is running as a server

Postby Jean-Baptiste Kempf » 19 Jul 2020 18:26

I don't know then, sorry.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 49 guests