Record Button does not work if destination is network folder UNC
Never posted a bug before, so please bear with me. Jean-Baptiste Kempf, the forum admin, asked that I post this bug here.
I documented this issue in the forum: https://forum.videolan.org/viewtopic.php?f=14&t=123089
Below is the text of the above link - so it doesn't get lost:
Here is a tip/pointer for others having "Record Button" functionality problems. I changed my ip-address to 192.168.x.x in the following - not that it matters because it's unroutable anyway.
Win7-Pro 64-bit, VLC 2.1.5 Rincewind. I just downloaded and ran this today. It is displaying my IP-camera RTSP stream output - and it looks wonderful! Thanks VLC!
I configured it to store Snapshots on my Synology DiskStation - it works fine.
I also configured it to store Recordings on the DiskStation - it does not work. I found that it does not properly handle the path of \DISKSTATION\Cyclops\VLC\Recordings. See the following Messages output:
stream_out_record debug: using muxer mkv with extension mkv (2/2 streams accepted)
stream_out_record debug: Using record output `std{access=file{no-append,no-format},mux='mkv',dst='\\DISKSTATION\\Cyclops\\VLC\\Recordings\\vlc-record-2014-12-08-16h13m23s-rtsp___192.168.x.x_cam_realmonitor_channel=1&subtype=0-.mkv'}'
main debug: stream=`std'
main debug: looking for sout stream module matching "std": 21 candidates
main debug: set config option: sout-standard-access to file{no-append,no-format}
main debug: set config option: sout-standard-mux to mkv
main debug: set config option: sout-standard-dst to \DISKSTATION\Cyclops\VLC\Recordings\vlc-record-2014-12-08-16h13m23s-rtsp___192.168.x.x_cam_realmonitor_channel=1&subtype=0-.mkv
main debug: looking for sout access module matching "file": 8 candidates
main debug: set config option: sout-file-append to (null)
main debug: set config option: sout-file-format to (null)
access_output_file error: cannot create \DISKSTATION\Cyclops\VLC\Recordings\vlc-record-2014-12-08-16h13m23s-rtsp___192.168.x.x_cam_realmonitor_channel=1&subtype=0-.mkv: No such file or directory
main debug: no sout access modules matched
stream_out_standard error: no suitable sout access module for `file{no-append,no-format}/mkv://\DISKSTATION\Cyclops\VLC\Recordings\vlc-record-2014-12-08-16h13m23s-rtsp___192.168.x.x_cam_realmonitor_channel=1&subtype=0-.mkv'
main debug: no sout stream modules matched
main debug: destroying chain... (name=(null))
main debug: destroying chain done
stream_out_record error: failed to open output
Note above, the leading \ is missing from the network-path in some of the variable-values. However, if I map it to a disk-drive, it works fine:
stream_out_record debug: Using record output `std{access=file{no-append,no-format},mux='mkv',dst='Z:\\VLC\\Recordings\\vlc-record-2014-12-08-16h16m50s-rtsp___192.168.x.x_cam_realmonitor_channel=1&subtype=0-.mkv'}'
main debug: stream=`std'
main debug: looking for sout stream module matching "std": 21 candidates
main debug: set config option: sout-standard-access to file{no-append,no-format}
main debug: set config option: sout-standard-mux to mkv
main debug: set config option: sout-standard-dst to Z:\VLC\Recordings\vlc-record-2014-12-08-16h16m50s-rtsp___192.168.x.x_cam_realmonitor_channel=1&subtype=0-.mkv
main debug: looking for sout access module matching "file": 8 candidates
main debug: set config option: sout-file-append to (null)
main debug: set config option: sout-file-format to (null)
access_output_file debug: file access output opened (Z:\VLC\Recordings\vlc-record-2014-12-08-16h16m50s-rtsp___192.168.x.x_cam_realmonitor_channel=1&subtype=0-.mkv)
main debug: using sout access module "access_output_file"
main debug: looking for sout mux module matching "mkv": 10 candidates
main debug: no sout mux modules matched
stream_out_standard debug: Couldn't open mux `mkv', trying `avformat{mux=matroska}' instead
main debug: looking for sout mux module matching "avformat": 10 candidates
main debug: set config option: sout-avformat-mux to matroska
main debug: using sout mux module "avcodec"
stream_out_standard debug: using `file{no-append,no-format}/mkv://Z:\VLC\Recordings\vlc-record-2014-12-08-16h16m50s-rtsp___192.168.x.x_cam_realmonitor_channel=1&subtype=0-.mkv'
main debug: using sout stream module "stream_out_standard"
So the network-path works fine for Snapshots, but not for Recordings. Having to map the drive to gain the "Record" functionality is bothersome in my, and many other environments.