Video playback issues
Hi,
I have a really brief, small video (less than 1mb) that will run in windowed mode, but won't run in fullscreen. Any thoughts about why this might be the case? I am using wmv file, which I know isn't optimal, but I'm having difficulty with any other formats - I will try to get that fixed, but is it possible there is something about fullscreen vs windowed mode I am unaware of.
Thank you!
Comments
Hi mikealr,
Are you using the media_player_vlc plugin? Then this is a known issue. Nowadays there is a solution to it, but I haven't been able to implement it yet. You could try seeing if a switch from legacy to expyriment (or vice versa) makes it work for now, but I can't promise anything. You could try using the media_player_gst plugin instead for now until the vlc version is fixed: https://github.com/dschreij/media_player_gst
Hi, yes I was using the vlc plugin (thought it was stable for some reason). I'm trying to get the gst plugin to work (I installed it in the plugins folder and installed GSK streamer w/ the libav wrapper) but I'm still getting this error message:
Codecs/plugins missing
item-stake: experiment[run].new_sequence_1[run].new_loop_1[run].Video3_2[prepare].new_media_player_gst[prepare]
Any thoughts? Am I missing something super obvious? I
Also, I've tried flv and wmv so far - is there an ideal format?
Thanks for your help!
Hi mikael. Are you using the 0.10 version of GStreamer? What platform are you working on (Windows, Mac, etc.). The video format should not matter that much once the plugin is working, although some formats work better than others depending on the video properties.
I'm on a Windows 7 platform. I'm not really sure about the version of GStreamer. I'm a little confused whether there's a difference between GStreamer and GStreamer SDK and for neither one can I find the 0.10 version. Based on your github post I went here: http://docs.gstreamer.com/display/GstSDK/Installing+the+SDK
And installed whatever was most recent (2013.6 Congo). The version numbers on the website are super confusing (i.e. 2012.5 Amazon or 2012.11 Brahmaputra). I'm just guessing that the Amazon one is the oldest so when I get to the lab today I'll try to install that ver.
On the GStreamer website which I just googled (https://gstreamer.freedesktop.org/data/pkg/windows/) they have completely different versions - but also no 0.10.
Thanks again for your help!
Hi Mikael. That is indeed the version you need to use (2013.6). The versioning of GStreamer is very confusing indeed. The SDK versions were packaged by a different company than the original GStreamer developers and their Python support used to be way better. They however stopped doing this in 2013 after version gstreamer 1.0 was released, whose python support and packaging was up to par. However, the gst plugin for opensesame does not support this newer version yet.
I don't really know what causes the problem, except for that you are indeed missing a required plugin. Since you are seeing that error message about missing plugins, we can at least presume your OpenSesame has found the GStreamer libraries, so I recommend reinstalling the GStreamer libraries and doing a full install (or at least install all options that mention 'codecs'). If your problem persists after this, then we have to think of a different way to get to the root of this problem.
Also, do I need Microsoft Visual Studio? I don't currently have it and it looks quite expensive. Might this be the issue?
Update: I'm now getting an "Attribute error: fullscreen not found" - thoughts?
(this is after a clean install of GStreamer - and sorry for the multiple posts, I'm sitting at the workstation with the eyetracker)
No you don't need Visual Studio. That of the fullscreen error is just weird, but it at least means that the first error has been solved and that now everything is found. I will have to look into the code for that fullscreen error, but I don't have the time to do it now. You can try playing around with the 'fit video to screen' setting in the plugins configuration panel and see if that matters, but otherwise it's a real bug which needs to be solved.
Okay, I appreciate your help with this!
The video can totally play now with the video player in OS 3.1! Thanks
Good to hear! I hope this new video player will solve many issues with video playback, people used to experience in OpenSesame.