"File reading failed" errors
Posted: 07 May 2013 15:45
I am getting errors using dshow to stream webcam video to http - it does work, but each time I start streaming I get the following errors:
File reading failed:
VLC could not open the file "C:\Program Files\VideoLAN\VLC\contrast=1". (Bad file descriptor)
Your input can't be opened:
VLC is unable to open the MRL 'file:///C:/Program%20Files/VideoLAN/VLC/contrast%3D1'. Check the log for details.
File reading failed:
VLC could not open the file "C:\Program Files\VideoLAN\VLC\saturation=1.3". (Bad file descriptor)
Your input can't be opened:
VLC is unable to open the MRL 'file:///C:/Program%20Files/VideoLAN/VLC/saturation%3D1.3'. Check the log for details.
Once I dismiss the errors the stream starts and seems to run without problems. The command line I am using is as follows (but obviously with a 'real' IP in place of [IP_GOES_HERE]):
vlc dshow:// vdev="USB Video Device" adev="None" --sout-transcode-vfilter adjust --brightness=1 contrast=1 saturation=1.3 --sout=#transcode{vcodec=WMV2,vb=800,width=320,height=240,acodec=wma2,ab=128,channels=2,samplerate=44100}:duplicate{dst=http{dst=[IP_GOES_HERE]:8080/yppscounter.wmv},dst=display}
File reading failed:
VLC could not open the file "C:\Program Files\VideoLAN\VLC\contrast=1". (Bad file descriptor)
Your input can't be opened:
VLC is unable to open the MRL 'file:///C:/Program%20Files/VideoLAN/VLC/contrast%3D1'. Check the log for details.
File reading failed:
VLC could not open the file "C:\Program Files\VideoLAN\VLC\saturation=1.3". (Bad file descriptor)
Your input can't be opened:
VLC is unable to open the MRL 'file:///C:/Program%20Files/VideoLAN/VLC/saturation%3D1.3'. Check the log for details.
Once I dismiss the errors the stream starts and seems to run without problems. The command line I am using is as follows (but obviously with a 'real' IP in place of [IP_GOES_HERE]):
vlc dshow:// vdev="USB Video Device" adev="None" --sout-transcode-vfilter adjust --brightness=1 contrast=1 saturation=1.3 --sout=#transcode{vcodec=WMV2,vb=800,width=320,height=240,acodec=wma2,ab=128,channels=2,samplerate=44100}:duplicate{dst=http{dst=[IP_GOES_HERE]:8080/yppscounter.wmv},dst=display}