<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi Tim,</div><div><br></div><div>Some input from me...</div><div>On Windows I can use the following command (basically copied the MRL + options from the "Show more options"-expansion in the Capture Device tab)<br></div><div><div id="gmail-magicdomid3" class="gmail-ace-line">vlc<span class="gmail-author-a-yxigfcr9z74zz74zf5sz71z9w"> dshow://<span class="gmail-author-a-yxigfcr9z74zz74zf5sz71z9w">:dshow-vdev=<VIDEO DEVICE NAME> :dshow-adev=<AUDIO DEVICE NAME>  :live-caching=300</span></span></div><div id="gmail-magicdomid4" class="gmail-ace-line"><span class="gmail-author-a-yxigfcr9z74zz74zf5sz71z9w">Example:<br></span></div><div class="gmail-ace-line"><span class="gmail-author-a-yxigfcr9z74zz74zf5sz71z9w"><span class="gmail-author-a-yxigfcr9z74zz74zf5sz71z9w">dshow://</span>:dshow-vdev=Integrated Webcam :dshow-adev=Microphone Array (Realtek Audio  :live-caching=300</span></div></div><div>If VIDEO DEVICE NAME is empty the default video device is used. Same applies for audio<br></div><div><br></div><div>On Linux the following command is used:</div><div>vlc v4l2://<VIDEO DEVICE ADDRESS>:v4l2-standard= :input-slave=<ALSA INPUT> :live-caching=300</div><div>Example:<br></div><div>vlc v4l2:///dev/video0:v4l2-standard= :input-slave=alsa://hw:0,0 :live-caching=300</div><div><br></div><div>I can't help thinking that we for camera/video input should implement something like the "Device Selection" group in the VLC "Capture Device" tab, see screenshot below.<br></div><div>I've created a proof of concept script that on windows lists the name needed for audio and video input. On Linux the script also manages to find the camera input, but the audio device list seems to need some more filtering. Hopefully the script can also be used to detect devices on MacOS. See the script below.<br></div><div><br></div><div><div><img src="cid:ii_jrjkd7x70" alt="image.png" width="569" height="409"></div><div><br></div><div><div id="gmail-magicdomid10" class="gmail-ace-line"><code><span class="gmail-author-a-yxigfcr9z74zz74zf5sz71z9w">from PyQt5.QtMultimedia import QCameraInfo, QAudioDeviceInfo, QAudio</span></code></div><div class="gmail-ace-line"><code><span class="gmail-author-a-yxigfcr9z74zz74zf5sz71z9w"><br></span></code></div><div id="gmail-magicdomid12" class="gmail-ace-line"><code><span class="gmail-author-a-yxigfcr9z74zz74zf5sz71z9w">print('Video input:')</span></code></div><div id="gmail-magicdomid13" class="gmail-ace-line"><code><span class="gmail-author-a-yxigfcr9z74zz74zf5sz71z9w">for cam in QCameraInfo.availableCameras():</span></code></div><div id="gmail-magicdomid14" class="gmail-ace-line"><code><span class="gmail-author-a-yxigfcr9z74zz74zf5sz71z9w">    print('===============')</span></code></div><div id="gmail-magicdomid15" class="gmail-ace-line"><code><span class="gmail-author-a-yxigfcr9z74zz74zf5sz71z9w">    print(cam.deviceName())</span></code></div><div id="gmail-magicdomid16" class="gmail-ace-line"><code><span class="gmail-author-a-yxigfcr9z74zz74zf5sz71z9w">    print(cam.description())</span></code></div><div id="gmail-magicdomid17" class="gmail-ace-line"><code><span class="gmail-author-a-yxigfcr9z74zz74zf5sz71z9w">print()</span></code></div><div id="gmail-magicdomid18" class="gmail-ace-line"><code><span class="gmail-author-a-yxigfcr9z74zz74zf5sz71z9w">print('Audio input:')</span></code></div><div id="gmail-magicdomid19" class="gmail-ace-line"><code><span class="gmail-author-a-yxigfcr9z74zz74zf5sz71z9w">for au in QAudioDeviceInfo.availableDevices(QAudio.AudioInput):</span></code></div><div id="gmail-magicdomid20" class="gmail-ace-line"><code><span class="gmail-author-a-yxigfcr9z74zz74zf5sz71z9w">    print('===============')</span></code></div><div id="gmail-magicdomid21" class="gmail-ace-line"><code><span class="gmail-author-a-yxigfcr9z74zz74zf5sz71z9w">    print(au.deviceName())</span></code></div></div><div><br></div><div>Best regards,</div><div>Tomas<br></div><div><br></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Den tir. 29. jan. 2019 kl. 20.49 skrev Tim and Alison Bentley <<a href="mailto:Home@trarbentley.net">Home@trarbentley.net</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><img class="gmail-m_-8172027483844098219mailtrack-img" alt="" style="display: flex;" src="https://mailtrack.io/trace/mail/cc2979026e67e13feed40b611da7fbfcaaacf2d0.png?u=2921250" width="0" height="0"><div></div>I am looking at adding VLC streaming and would like anyone who uses VLC streaming to send me the command lines they use so I can see how best to implement them.  It would also be helpful if they could confirm the platform they use.<div><br></div><div>Thanks<br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_-8172027483844098219gmail_signature">Tim and Alison Bentley<br>Home@TRARBentley.net<div style="display:inline"></div></div><br></div></div>
_______________________________________________<br>
openlp-dev mailing list<br>
<a href="mailto:openlp-dev@openlp.io" target="_blank">openlp-dev@openlp.io</a><br>
<a href="https://lists.openlp.io/mailman/listinfo/openlp-dev" rel="noreferrer" target="_blank">https://lists.openlp.io/mailman/listinfo/openlp-dev</a><br>
</blockquote></div>