MP4 videos playing in an unusual speed and sounds not coming out

OS : Windows11
PsychoPy version : PsychoPy v2022.2.5
Standard Standalone? (y/n) Yes

What are you trying to achieve?:
I am trying to create an AX discrimination test with audiovisual speech stimuli. I’ve run the experiment until the end and I could complete the whole experiment, but the only problem is with the video files in the experiment. PsychoPy plays the video faster than the usual speed and there no sound coming out.

I set the playback backend to ‘ffpyplayer’. It’s one of the two out of 4 that doesn’t throw terminating error, but the other one backend option also results in the same manner.
image

A brief information about my video files.
Filetype: .mp4
Size: smaller than 1MB

What specifically went wrong when you tried that?:
This is a part of the warning code that I think is probably related to the problem, but I have no idea of how I should fix it.

## Running: C:\Users\UTK404\OneDrive - Chulalongkorn University\Quantitative Methods\Project\AVtest_lastrun.py ##
6130.0458     INFO     Loaded monitor calibration from ['2022_04_08 10:55']
pygame 2.1.0 (SDL 2.0.16, Python 3.8.10)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001713bd41c00] Unknown cover type: 0x1.
[ffpyplayer_abuffersink @ 000001713bd717c0] Removing channel layout 0x3, redundant with 2 channels
[ffpyplayer_abuffersink @ 000001713bd703c0] Removing channel layout 0x3, redundant with 2 channels
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001713bd41c00] Unknown cover type: 0x1.
[ffpyplayer_abuffersink @ 000001713bd710c0] Removing channel layout 0x3, redundant with 2 channels
[ffpyplayer_abuffersink @ 000001713bd71ec0] Removing channel layout 0x3, redundant with 2 channels
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001713bd41c00] Unknown cover type: 0x1.
[ffpyplayer_abuffersink @ 000001713bd710c0] Removing channel layout 0x3, redundant with 2 channels
[ffpyplayer_abuffersink @ 000001713bd70dc0] Removing channel layout 0x3, redundant with 2 channels
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001713bd41c00] Unknown cover type: 0x1.
[ffpyplayer_abuffersink @ 000001713bd718c0] Removing channel layout 0x3, redundant with 2 channels
[ffpyplayer_abuffersink @ 000001713bd704c0] Removing channel layout 0x3, redundant with 2 channels
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001713bd41c00] Unknown cover type: 0x1.
[ffpyplayer_abuffersink @ 000001713bd71cc0] Removing channel layout 0x3, redundant with 2 channels
[ffpyplayer_abuffersink @ 000001713bd71dc0] Removing channel layout 0x3, redundant with 2 channels
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001713bd41c00] Unknown cover type: 0x1.

As I mentioned I could complete the whole experiment, but without the sounds from the video. I also got these extra lines of warning.

################ Experiment ended with exit code 0 [pid:12904] #################
6612.9875     INFO     Loaded monitor calibration from ['2022_04_08 10:55']
7734.7844     WARNING     Parameter volume has unrecognised inputType "float"
7769.2724     WARNING     Parameter volume has unrecognised inputType "float"

What could potentially be the problem here and is there any way I can fix this. I also need to get this experiment up and running via Pavlovia soon.

Thank you in advance

Have you solved the problem? I also met this problem today.

I solved this problem. I was advised to play video and audio separately, so I muted my videos and extracted their videos, then I set them to play simultaneously. I hope this helps.

1 Like