Note: The command line examples shown here were done on a Windows 64 bit system. So the folder on Windows 32 bit based systems would instead need to be changed to be "Program Files" vs. "Program Files (x86)".
In the past. One could use this for any Foscam MJPEG based IP camera and many other MJPEG based, IP Camera Brands and Models including clones, to record BOTH video and audio:
Code: Select all
"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" http://192.168.1.113:97/videostream.asf?user=admin&pwd=password :demux=dump :demuxdump-file=a.asf --run-time=10 --no-qt-notification --qt-start-minimized vlc://quit
The VLC Command Line Options: https://wiki.videolan.org/VLC_command-line_help still show the "--no-qt-notification" as a valid command line option.
The above ("In VLC versions 2.0.8 and below") would launch a copy of VLC, minimized in the Windows System Tray ("Not the Windows Toolbar") without ANY notification displaying. Recording to the recording file ("In this example a.asf, for 10 seconds") and then stop the copy of VLC once the recording time has completed, automatically. This now causes VLC to fail to launch.
What VLC versions 2.0.8 and below, looked like when the above was/is used on Windows based systems:
That said. By removing the VLC command line option "--no-qt-notification" from the command line, in VLC Windows versions, newer then version 2.0.8. VLC will launch and not fail, but the VLC notification text is displayed:
Code: Select all
"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" http://192.168.1.113:97/videostream.asf?user=admin&pwd=password :demux=dump :demuxdump-file=a.asf --run-time=10 --qt-start-minimized vlc://quit
Is this a known bug? I did a search looking for a bug ticket and the forum and it appears not to have been reported yet, in either.
Are there plans to FIX this?
While this might seem like a trivial bug. It does make a big difference. Because the System Tray notification is "In your face" for about 5 seconds, before it fades and goes away vs. simply placing the VLC ICON quietly ("As it was doing in VLC versions 2.0.8 and older, on Windows based systems") in the system tray without any notification text and then the VLC ICON automatically, going away, once the recording has completed.
This allows VLC to do the recording on alarms for MANY different IP camera brands and many of their models, so that alarm recordings can contain BOTH audio and video in the alarm recordings. Whereas, the standard MJPEG IP camera alarm recordings, are video only. When using the standard IP camera interface supplied by the IP camera manufacturer, to record on alarms.
By using VLC, it allows one script, to manage IP camera alarm recordings for as many as 10 different IP cameras at the same time vs. running the standard IP camera interface that comes with these IP cameras, one copy for each IP camera. So there is a HUGE plus to use VLC to do this and a tremendous difference on what system resources need to be used to do this without VLC.
Example of how well VLC does this for IP Camera owners:
http://foscam.us/forum/free-mjpeg-ip-ca ... tml#p15874
Note: All I can do at the moment, is suggest to those that wish to still use the "--no-qt-notification" option, that they downgrade VLC to the 2.0.8 version. Which we ALL know is NOT a good idea.
I also created a VLC bug ticket here, for this issue with a reference back to this topic: https://trac.videolan.org/vlc/ticket/10303