Me again, I've tried vlc := VLCLibrary uniqueInstance createVLCInstance. "do not use accentuated characters for the path" media := vlc createMediaFromPath: ('/home/badetitou/Vidéos/bla.mkv' encodeWith: #utf8). mediaPlayer := VLCLibrary uniqueInstance mediaPlayerNewFromMedia: media. mediaPlayer pause (so I add `encodeWith: #utf8`) and it works on my laptop. Is there any way to force Pharo to use utf8 encoding when I want to send String to VLC. I don't know, I will investigate. Benoît 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.|
|| 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 |
|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