Howdy, Stranger!

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

Supported by

Video experiment crashes

Hi all,

I have a problem in an experiment with multiple 10-minute video files. When running the experiment, it sometimes crashes during video presentation. The screen 'freezes' and I have to end the experiment manually using task manager. This happens on multiple computers. However, it does not happen everytime that I run the experiment.

I am using media_player_vlc (because media_player_mpy seems to play the video and audio not completely synchronous). And I use backend legacy/PyGame (because in Expyriment only the audio is played in fullscreen mode, no video.)

I have read here: http://forum.cogsci.nl/index.php?p=/discussion/2919/python-crashes that this might be caused because the system runs out of memory. Is there a way to fix this?

Thank you!

Comments

  • I have read here: http://forum.cogsci.nl/index.php?p=/discussion/2919/python-crashes that this might be caused because the system runs out of memory. Is there a way to fix this?

    If you open the task manager, you should be able to see how much memory OpenSesame is using. If this indeed accumulates over time until it exhaust almost all memory, then that might indeed be the issue. If so, there's not much you can do about it, because the media_player_vlc plugin is no longer maintained.

    because media_player_mpy seems to play the video and audio not completely synchronous

    Is this the case for all backends? For me the media_player_mpy works pretty smoothly, and is definitely preferable over the VLC-based one.

    Cheers!
    Sebastiaan

    Buy Me A Coffee

  • Hi Sebastiaan,

    Thank you for the quick reply!

    The media_player_mpy gives problems both in the legacy and expyriment backend for me. The difference between the video and audio is minimal, but noticeable because the video involves people speaking. The video seems to go a bit faster, which causes the impression that it is not the person in the video that is speaking. So I guess I will have to use the VLC player. Or is there a solution possible?

    I checked the memory in task manager, but it does not seem to be a problem. The experiment uses ~10% CPU and ~ 130MB of memory. When I look in the tab Performance, I see that there is ~ 5 GB used, 10 GB free, and this seems to be constant over the experiment...

    Should I try to reduce the size of all videos? Now they are ~ 320 MB.

  • edited November 2017

    Hi Judith, It could well be that the audio and video are out of sync. It's really tough to get this to work correctly and the media_player_mpy misses some rudimentary mechanisms that guarantee the synchronisation.

    I would try to convert the videos to a different format. Some formats just work better than others for playing the video and audio in sync. You can use VLC to reencode the videos, as described here. Lowering the size or resolutions of the videos might also do the trick.

    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