Unable to get smooth video playback on Linux

198 views
Skip to first unread message

Michael Hanke

unread,
Dec 1, 2013, 2:16:36 PM12/1/13
to psychop...@googlegroups.com
Hi,

I have a bit of trouble getting psychopy to play movie stimuli (with audio) without dropping frames. As long as there is no sound
everything is perfect. As soon as AVBin detects a sound stream frame drops appear.

I have posted more information on the nature of the situation and a builder demo for the problem here


The issue is reproducible on various hardware using the jwpIntro.mov file shipped with Psychopy. I followed all recommendations
for movie playback that I am aware of (uncompressed audio, ...). The only deviation from the golden path is avbin 7 instead of the
recommended version 5. There is no Linux binary to download and I failed to find information on the critical difference between 5 and
7 with respect to this specific problem.

I'd be grateful for advice. Thanks,

Michael

Jonathan Peirce

unread,
Dec 2, 2013, 6:35:24 AM12/2/13
to psychop...@googlegroups.com
I think the problems you're having are caused by the fact that avbin is,
to use a technical term, a little bit rubbish! On Linux version 7 is
appropriate (that version was released alongside version 5 on win/OSX).
We should adjust the docs to indicate that correctly. After that a new
developer took the projec tover and it got even more rubbish!

Sol is actually working on a replacement already using opencv for the
video and VLC for sound decoding. That should allow us to forget avbin
completely, which will make us all happier people. And I think he was
finding good performance with it.

cheers,
Jon
> --
> You received this message because you are subscribed to the Google
> Groups "psychopy-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to psychopy-user...@googlegroups.com.
> To post to this group, send email to psychop...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/psychopy-users/a07379a9-fbb2-4153-b15a-c13c48da86eb%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

--
Jonathan Peirce
Nottingham Visual Neuroscience

http://www.peirce.org.uk

This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.




Michael Hanke

unread,
Dec 3, 2013, 11:13:57 AM12/3/13
to psychop...@googlegroups.com
Hi,

is there a chance to get my hands on this code to try it out?

Michael

Michael Hanke

unread,
Dec 9, 2013, 3:27:55 PM12/9/13
to psychop...@googlegroups.com
I cannot easily find the VLC-based code that you referred to on github. I'd really like to stay in PsychoPy for this project, hence I'd appreciate a pointer.

Thanks,

Michael
Reply all
Reply to author
Forward
0 new messages