Howdy, Stranger!

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

Supported by

media_player_gst killing OpenSesame?!

edited March 2016 in OpenSesame

Hi there,

I designed an experiment looping through a succession of videos, using the vlc plugin. It works fine on my office PC, but I'm running into issues on multiple of our lab PCs (not the most powerful models) - experiment keeps freezing after a more or less random number of videos.
So, I thought I'd try the media_player_gst plugin, just to see if that, for some magical reason, might work better. Installed it following the instructions on my laptop (Win7 32bit, OpenSesame3.0.6, rather capable machine). Installed GStreamer 32bit on "D:" instead of "C:", but that doesn't appear to cause any trouble (at least, I don't get any "not found" error messages). Instead, I got the following when I inserted the media_player_gst item into an (otherwise empty) experiment:

D:\Program Files (x86)\OpenSesame\libopensesame\var_store.py:113: UserWarning: var duration is stored as attribute of item new_media_player_gst

D:\Program Files (x86)\OpenSesame\libopensesame\var_store.py:198: UserWarning: var duration is stored as attribute of item new_media_player_gst

D:\Program Files (x86)\OpenSesame\libopensesame\var_store.py:113: UserWarning: var video_src is stored as attribute of item new_media_player_gst

D:\Program Files (x86)\OpenSesame\libopensesame\var_store.py:198: UserWarning: var video_src is stored as attribute of item new_media_player_gst

D:\Program Files (x86)\OpenSesame\libopensesame\var_store.py:198: UserWarning: var fullscreen is stored as attribute of item new_media_player_gst

D:\Program Files (x86)\OpenSesame\libopensesame\var_store.py:198: UserWarning: var event_handler_trigger is stored as attribute of item new_media_player_gst

D:\Program Files (x86)\OpenSesame\libopensesame\var_store.py:198: UserWarning: var playaudio is stored as attribute of item new_media_player_gst

D:\Program Files (x86)\OpenSesame\libopensesame\var_store.py:198: UserWarning: var loop is stored as attribute of item new_media_player_gst

D:\Program Files (x86)\OpenSesame\libopensesame\var_store.py:198: UserWarning: var sendInfoToEyelink is stored as attribute of item new_media_player_gst

D:\Program Files (x86)\OpenSesame\libopensesame\var_store.py:113: UserWarning: var event_handler is stored as attribute of item new_media_player_gst

D:\Program Files (x86)\OpenSesame\libopensesame\var_store.py:198: UserWarning: var event_handler is stored as attribute of item new_media_player_gst

From scanning through some older discussions, it seems to me that this shouldn't be a major problem, as it's only warnings.

But now it get's weird. When I run the experiment, e.g., in window mode, no window opens, but all the controls are greyed out. I can't do anything but use the task manager to shut down OpenSesame. Even weirder, this also happens when I remove the media_player_gst item (that I previously inserted into my experiment) completely from the experiment (i.e. delete and remove unused) - OpenSesame still crashes when I try to run the experiment. I can only grab a screenshot of the error messages (not really helpful for me, I'm not really into programming):

image

Any ideas what's going on? I've read elsewhere that the plugin might not be compatible with OpenSesame3, but then, on GitHub, it says that fixes have been made to make the plugin work with OpenSesame3 for now. Any help would be appreciated. (And I'd be just as happy to use the vlc plugin, if I somehow could prevent it from freezing on our older machines.)

Tibor

Comments

  • edited 1:44AM

    Hi Tibor,
    We recently gave the media_player_gst plugin a small update to be compatible with OpenSesame 3, but it may be that we missed something. It worked on our tests, but then again we did not test it that extensively. Those warnings you get when importing the media player the first time are shown because the plugin is not adhering to the new method of storing variables, but they should be harmless.

    That being said, it rather appears that your problem has to do with OpenSesame's internal console, which also got some major updates. Thanks for posting your stack trace, but I think you cut out the error message indicating what exactly went wrong, which is quite important here. Could you post that here too, so we can take a look what exactly goes wrong at that point?

    Buy Me A Coffee

  • edited 1:44AM

    Sorry about the cutting - OpenSesame wouldn't let me scroll anymore once it more or less froze, so that was all that I was able to see.
    Had to close the debug panel to see the complete thing:
    image

    There is no real experiment to it - just the notepad and sketchpad items that come by default when starting up OpenSesame, plus the media_player_gst item (with no video file specified).
    (this was quick run mode, by the way, but the same happens in the other modes as well)

  • edited March 2016

    Thanks for the full stack trace. It doesn't look like this has anything to do with the gst plugin (as it does not appear anywhere in the stacktrace) but rather with the new IPython library that OpenSesame uses for the Debug window. @sebastiaan, we have seen this error before in of the earlier versions of OpenSesame 3, but it was fixed if I remember correctly? What would prevent the stderr output from being flushed?

    Buy Me A Coffee

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