Log files when VLC is running as a server
Posted: 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!
"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!