FS#61075 - [vlc] 3.0.4-7: Webcam only works with zvbi installed

Attached to Project: Arch Linux
Opened by Daniel (NRG) - Friday, 14 December 2018, 18:12 GMT
Last edited by Levente Polyak (anthraxx) - Thursday, 07 November 2019, 23:15 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:
"VLC is unable to open the MRL v4l2:///dev/video0" when trying to open the webcam on two different computers. I ultimately found out that the v4l2 module tries unsuccessfully to open libzvbi.so. Installing extra/zvbi fixes this.
zvbi is listed in the optional dependencies, the description being "VBI/Teletext decoding". So I humbly suggest also mentioning webcam/v4l2 support in there.

Steps to reproduce:
Install vlc, but don't install zvbi and try opening your webcam.
This task depends upon

Closed by  Levente Polyak (anthraxx)
Thursday, 07 November 2019, 23:15 GMT
Reason for closing:  Implemented
Additional comments about closing:  3.0.8-5
Comment by Bart Van Parys (vanparys) - Wednesday, 27 February 2019, 14:39 GMT
This observation saved me many hours of debugging. I would say I agree with the assessment of Daniel.
Comment by Viktor (thesame) - Monday, 15 July 2019, 00:55 GMT
I double this. Spend two hours hunting it.
Comment by Dylan (acerix) - Thursday, 07 November 2019, 22:28 GMT
+1 for this and thanks for the fix! It took me a while to find this so here's the full error which should make it easier to find:

[00007f51a8001520] main stream debug: looking for access module matching "v4l2": 23 candidates
[00007f51a8001520] main stream debug: no access modules matched
[00007f51a4000c80] main input error: Your input can't be opened
[00007f51a4000c80] main input error: VLC is unable to open the MRL 'v4l2:///dev/video0'. Check the log for details.

Loading...