Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

[open] Media player (vlc) plug-in for Mac?

edited September 2013 in OpenSesame

Hi

I have recently started using OpenSesame, and now I have run in to some problems with an experiment that uses video files. I'm running opensesame on a Mac. The video player plug-in works OK on the 32bit version, but not on the 64bit, where the videos keep looping infinitely. I have tried to get the vlc plug-in to work without any success. I have downloaded all the vlc-files, and put them into a folder called media_player_vlc among the other plug-ins (opensesame/Resources/plugins). I can see the media_player_vlc under preferences>plug-ins, and in the "append new item"-list, but without any icon. When I try to add a media_player_vlc item, I get the following message: Failed to load plugin 'media_player_vlc'. Error: invalid syntax (media_player_vlc.py, line 4) (and line 4 is the first line of code in the py-file, simply saying <!DOCTYPE html>). Can this be solved, or should I just stick to the old video player (which would be unfortunate, since I would prefer to have audio support)? When I open the video files directly from the pool, they open by default in vlc.

Best

Comments

  • edited 12:36AM

    Hi Bjorn,

    and line 4 is the first line of code in the py-file, simply saying <!DOCTYPE html>

    It sounds like the media_player_vlc.py file is actually an HTML file, and not a Python script. How exactly did you install the plug-in? Did you right-click on the files on GitHub and select 'save as'? In that case you will not have saved the files themselves, but the GitHub (HTML) pages that show the files. To download the files themselves, you can use the 'Download ZIP' button on the right of the GitHub page.

    I don't think the media_player_vlc plug-in has been tested on Mac OS, so I dare not make a prediction as to whether it will work or not. But the problem right now appears to be that you have simply not installed the plug-in correctly.

    I hope this gets you any further!

    Cheers,
    Sebastiaan

    Buy Me A Coffee

  • edited 12:36AM

    Thanks! That got me a bit further (could not find the zip-file first time I looked, so I just downloaded the individual files). Now I see the vlc-icon, but when I try to use it, I get the following error message:

    Failed to load plugin 'media_player_vlc'. Error: This plug-in requires that VLC player 1.X is installed in the default location. You can download VLC player for free from http://www.videolan.org/. Error: [Errno 2] No such file or directory

    Vlc is in the applications folder, which I guess is the default folder, and I have tried both 1.1.12 and 2.0.8 version.

    Do you know if I things would run smoother if I tried to run Windows on my Mac, and open opensesame under Windows, or would I run in to other problems then?

  • edited 12:36AM

    Hi Bjorn,

    I forwarded your post to Daniel, who develops the media_player_vlc plug-in.

    Do you know if I things would run smoother if I tried to run Windows on my Mac, and open opensesame under Windows, or would I run in to other problems then?

    In principle, I think that this should work fine. I don't know the details of how Windows runs on a Mac, but I believe that there is some kind of virtualization technique involved. But even if that's the case, I would still expect it to work.

    Cheers,
    Sebastiaan

    Buy Me A Coffee

  • edited September 2013

    I haven't managed to get the vlc player working on Mac OS, because of a pygame bug on that platform. Basically I ask pygame for the id of the window it is displaying its contents in and pass this id to the vlc module to indicate where it should show its movie output. On OS X however, this functionality of pygame appears to be broken as it does not give me a window id and hence I cannot tell vlc where to display its movie. On OSX a video module based on AVbin would be a better option, but I haven't had time to dive into this yet.

    Buy Me A Coffee

  • edited 12:36AM

    Thanks for the help. We'll continue using media_player for the pilot, and see if we can shift to VLC/Windows for the real experiment.

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games