Howdy, Stranger!

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

Supported by

Movie Custom Script and Backends

Hello, All,

I am designing an experiment in OpenSesame in which participants will watch a movie and be able to pause and unpause playback as needed. I am using the media_player_mpy plugin for this, but am running into some issues with the custom code (which sends annotations to our EEG and eye tracker when playback is paused) and the backends. When the psychopy backends are selected, the custom code works perfectly but the movie doesn't play (although you can hear the sound). When the legacy or expyriment backends are selected, the movie plays perfectly but the custom code does not call or function correctly (executes repeatedly without being called or executes twice for every call). I am also having issues with window size, but am already addressing those via disabling auto-scaling, etc.

I have already confirmed that I am using the latest version of OpenSesame and the movie plugin.

Does anyone have an idea how I might fix the above issue so that the movie plays AND the custom code calls and works as intended?

Thanks in advance!

Comments

  • Hi,

    I am not a video export, particularly not regarding the plugins, so 90% of my advice when it comes to video playback is to use OpenCV2. As it is scripting based (and not particularly difficult), you can integrate it quite easily with custom code, and sending triggers to EEG systems. So, you can try to set up the video playback first, and when it works add the other parts to it.

    Hope this helps,

    Eduard

    ps. that being said, I am not saying that you cannot use the media player plugin. I just wouldn't know how to help you with this. Perhaps someone else can!

    Buy Me A Coffee

  • Hello eduard,

    Thank you for your quick reply! Unfortunately, just using OpenCV2 on its own does not solve our problem because this package will only handle the video and will not play the audio, which we require as well. We'll keep playing with it and consider a dual OpenCV2/ffmpeg or other solution if we can't get the built-in plug-in to work. Any recommendations on the latter front?

    We're not locked into using the plug-in. We generally just need a way to play the video and audio from an mp4 file in sync.

    Thank you again!

  • Ah I see, if you need audio (just) using opencv won't work. It might be worthwhile to invest time into the dual setup.

    As for the plugin, I can't give you reliable information. Back in the day when I still used it occasionally, I usually ended up trying out backends (psychopy, expyriment, pygame), plugins (mp4, vlc) and video formats (avi, mp4, etc) until it works. Maybe you can find a combination that works for you. Unfortunately, I don't know enough about them, to give specific advice which setup should work under which circumstances. Sorry!

    Eduard

    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