I have trouble with the deploiement of a example on my computer.
I use that code:
Code: Select all
m = libvlc_media_new_path(inst, "v4l2:///dev/video0");
/* Create a media player playing environement */
mp = libvlc_media_player_new_from_media (m);
libvlc_media_player_play(mp);
Code: Select all
[0xae002948] filesystem access error: cannot open file /home/xxxxx/xxxx/v4l2:///dev/video0 (No such file or directory)
[0xae002948] main access error: File reading failed
[0xae002948] main access error: VLC could not open the file "/home/xxxxx/xxxx/v4l2:///dev/video0" (No such file or directory).
[0x87d4d20] main input error: open of `file:///home/xxxxx/xxxx/%20%20%20v4l2%3A///dev/video0' failed
[0x87d4d20] main input error: Your input can't be opened
[0x87d4d20] main input error: VLC is unable to open the MRL 'file:///home//xxxxx/xxxx/%20%20%20v4l2%3A///dev/video0'. Check the log for details.
Can someone give me a hand?
Best regard.