Howdy, Stranger!

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

Supported by

[open] Showing multiple videos in one trial...and creating a datasource

KJOKJO
edited July 2014 in OpenSesame

Hi,

I've been struggling with this today and couldn't find much info on video experiments (most seem to use pictures etc.).
I'm trying to recreate an experiment that I built using another software package.

Basically, I want to show participants three videos per trial (the videos contain two people talking), after the third video I want to show a blank screen and then have the eye tracker track eye movements whilst a question (sound file) is played.

I want each of the three video clips per trial to appear in a particular order (i.e. always vid1, vid2 then vid3) but I wish to randomize the order of the trials themselves (i.e. three clips make up item 1, another three make up item 2 etc. and each item will be a different trial, presented in a different order to each participant)...

How do I create a database so that OpenSesame can extract the three videos relevant to each trial? I've done this in Experiment Builder before to gather pilot data, but I wish to use OpenSesame to run the actual experiment...

Also, I wish to do the same with the sound files so that the correct question for each item is presented after the three videos within the trial.

Any help or advice would be greatly appreciated,

K

Comments

  • edited July 2014

    Hi K,

    You could define the video files and the corresponding sound file within a loop item, e.g. in four variables: vid1, vid2, vid3, and snd.

    The sequence that is associated with this loop, could look like this:

    # NOTE: this is NOT code, this is an overview of
    # how your trial block could be arranged!
    
    loop # this is where you define your variables
    -- sequence # this is used to run multiple items in a row
    ---- media_player_vlc_1 # play [vid1]
    ---- media_player_vlc_2 # play [vid2]
    ---- media_player_vlc_3 # play [vid3]
    ---- eyelink_start_recording # to start the recording of gaze position
    ---- eyelink_log # to log information about the current trial, e.g. which videos were shown and which sound was played
    ---- eyelink_log # to mark the start of sound playback
    ---- sampler # to play the sound file
    ---- eyelink_log # to mark the ending of sound playback
    ---- eyelink_stop_recording # to stop the recording of gaze
    ---- logger # to log trial data
    

    The videos and sound files can be played in either the file pool of the experiment, or the directory in which the experiment is saved as well.

    Further reading:

    Good luck!

  • KJOKJO
    edited 12:55PM

    Thanks for your response!

    Judging by what you've said above I'm glad to see that I'm on the right track...

    The problem I'm having is that I can't seem to extract more than one row from the loop item when running the experiment on a test run. So the same three videos are being played each time and won't move onto the next row of videos (plus sound file).

    Basically I want to have 30 separate rows (with three videos and a sound file each) that are played in a random order for each participant.

    Also, I was wondering if there is a way to have two separate lists of data files that I could administer to participants? (i.e. List 1 has different videos than List 2 and a participant would receive only one particular list when they do the experiment...).

    Thanks for any advice you can offer,

    K

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