I can't help you with GTK as I'm one of the unfortunate Mac users. However, I've used the Pharo-LibVLC extensively - although not for video, so my experience may or may not be relevant for you.
One of the capabilities for Pharo that is sorely under-documented is FFI. Yes, there is an FFI document, and no, it was not helpful to me when using VLC. Admittedly, I am notoriously dim-witted, however I was unable to grasp how to set up a call-back for/from VLC. Some of this has to do with the poor VLC documentation... i.e. trying to find a method/memVar that lets you know when a song has ended! There are a couple of 'got'chas' in the VLC package that locked me up dozens of times before I wrote work-arounds - but the biggest issues I've encountered is not knowing what VLC is doing... ie: - is it still playing? -I'd like to start the next song in MY playlist - so I can show which song is playing - I can't find a method in VLC that tells me this - where is it in the song (progress/time)? I'd like to show a progress bar for the song that is playing. - I'd like to know if another service in Pharo is currently using the library - as multiple calls also locks it up. - statuses are inconsistent - (playing, stopped, mute, etc.) - depending on when you ask. If you ask whether VLC is muted - when a song is not playing, it might say yes or no (usually no). But then the song plays and you get no sound... yup, it was muted. Overall, Pharo-LibVLC is a great leg up in using VLC, but I had to put that project on hold as I couldn't solve the issues above. Let me know if you start working with Pharo-LibVLC in earnest - I'd love to share experiences and see if we can help each other. Thanks, Russ On Sun, Jul 9, 2023 at 4:02 AM Esteban Lorenzano <esteba...@netc.eu> wrote: > Hi, > > Spec-Gtk should work without problems on P11, except on macs, where there > is a known problem. > what is the process you are taking to install it? where are you trying it? > > I don't know the status of the VLC bindings. > > Esteban > > On Jul 9 2023, at 2:53 am, Jupiter Jones <jupiter.jo...@mail.com> wrote: > > The stark silence answers my question :) > > So… > > I found a nice binding to VLC [1] and was thinking of using Spec2 GTK+ to > create a video widget/component. Does anyone with more in depth knowledge > of Spec2 and GTK foresee any obvious blocks? > > First block :) I can’t find a way to play with the Spec2 GTK+ binding [2] > without the image crashing on startup. I see someone has already logged > the issue in GitHub for 10 and 11, and I tried 12 just for fun, and it > also ate all the memory then crashed. > > Is there a Pharo version that will work with the Spec2 GTK+ binding > installed? Maybe I’m looking at this too early :) > > [1] https://github.com/badetitou/Pharo-LibVLC > [2] https://github.com/pharo-spec/Spec-Gtk > > On 3 Jul 2023, at 5:07 pm, Jupiter Jones <jupiter.jo...@mail.com> wrote: > > Can anyone point to to some library, documentation or examples of how to > play video in Pharo? > > Thanks in advance. > > Cheers, > > J > > -- Russ Whaley whaley.r...@gmail.com