Howdy, Stranger!

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

Supported by

[open] Playing movie with psychopy backend; Avbin installation

edited April 2016 in OpenSesame

Hello all,
I am trying to add a movie to my OpenSesame experiment. To this end, I added an inlinescript with the following in the run phase.

mov = visual.MovieStim(exp.window, 'C:/localfolder/movie1.mp4')
while mov.status != visual.FINISHED:
    mov.draw()
    exp.window.flip()

However, I get the following error:

Traceback:
File "dist\libopensesame\inline_script.py", line 96, in run
File "dist\libopensesame\python_workspace.py", line 160, in _exec
File "", line 4, in
File "dist\psychopy\visual\movie.py", line 140, in init
File "dist\psychopy\visual\movie.py", line 200, in loadMovie
IOError: Caught exception 'AVbin is required to decode compressed media' while loading file 'C:/_NYNKE/Virtue/fMRItaak/V1/movies/movie1.gif'.
It seems that avbin was not installed correctly.
Please fetch/install it from http://code.google.com/p/avbin/.

I understand that I should download and install avbin, but for me it is not clear where in the OpenSesame installation I should put the avbin files. Do you have any idea?

BTW, I also tried it with other videotypes; .flg and .gif give the same error. Avi gives another error:
Traceback:
File "dist\libopensesame\inline_script.py", line 96, in run
File "dist\libopensesame\python_workspace.py", line 160, in _exec
File "", line 4, in
File "dist\psychopy\visual\movie.py", line 140, in init
File "dist\psychopy\visual\movie.py", line 200, in loadMovie
IOError: Caught exception 'Unsupported RIFF form "AVI "' while loading file 'C:/_NYNKE/Virtue/fMRItaak/V1/movies/movie1.avi'.

Another option might be to convert the AVI to another RIFF form?

Comments

  • edited 8:59AM

    Hi Nynke,

    GIF is not really a movie format (even when animated), so I highly doubt avbin will be able to play this for you. Psychopy used to use avbin for playing videos, but the development of avbin has halted more than three years ago and a lot of its problems have never been solved, so I think psychopy (and also OpenSesame) has dropped it completely.

    Psychopy recently switched to moviepy with their MovieStim3 module (https://github.com/psychopy/psychopy/blob/master/psychopy/visual/movie3.py), so I recommend giving that one a try. It's still a 'young' module so it is not well documented yet (or at all!) and I expect it still needs some polishing, but in its current state it might already be fine for your purposes.

    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