Le 14/01/2020 à 21:10, Hilaire a écrit :
Le 14/01/2020 à 19:21, Benoit Verhaeghe a écrit :
|If you use a symbolic link and it works please let me know so I can add this step in the installation.|
|Did so, so no more error but then executing the code snippet from github, nothing happen.| Ok, In my point of view, the configuration works. If you execute |VLCLibrary uniqueInstance getVersion |you should get "3.x.x ..."
|| vlc mediaPlayer media | "VLCLibrary reset" vlc := VLCLibrary uniqueInstance createVLCInstance. media := vlc createMediaFromPath: '/home/hilaire/Vidéos/Lea2019.webm'. mediaPlayer := VLCLibrary uniqueInstance mediaPlayerNewFromMedia: media. mediaPlayer play |
One possibility is that VLC does not achieve to create the media (but still return one instead of nil). Could you try to use a path without the 'é'? | vlc mediaPlayer media | "VLCLibrary reset" vlc := VLCLibrary uniqueInstance createVLCInstance. media := vlc createMediaFromPath: '/home/hilaire/Lea2019.webm'. mediaPlayer := VLCLibrary uniqueInstance mediaPlayerNewFromMedia: media. mediaPlayer play If this is the error, I suppose I can configure vlc to use utf-8 string. Thanks for testing! Benoît
|I reset the unique instannce of VLCLibrary|
|Hilaire |
-- Benoît Verhaeghe badetitou.github.io benoit.verhaeghe@berger-levrault.com R&D Engineer at Berger-Levrault benoit.verhaeghe@inria.fr PHD student at Inria-Lille--Nord-Europe