Page 1 of 1

Displaying videoframes using python bindings and PyQt

Posted: 04 Dec 2016 22:41
by cxplanet
Hi there,

I am working on a scientific app that is being used to help people annotate marine life using libvlc, PyQt4 and the vlc.py (2.2) bindings. We are currently integrating VLC as a replacement for the hand rolled media player we built.

Adapting from the qtvlc.py app in the videolan.org git repository, a challenge I find is in trying to display the inital frame after loading the media, but prior to calling the play() function. Is there any best practive api-wise for achieving this? I'm familiar with the snapshot funtionality, but I'm trying to find a less intrusive way of achieving this functionality.

Apologies if this is not the correct forum for this question,

Jay

Re: Displaying videoframes using python bindings and PyQt

Posted: 06 Dec 2016 02:19
by Jean-Baptiste Kempf
You cannot have a frame before play().

Re: Displaying videoframes using python bindings and PyQt

Posted: 06 Dec 2016 02:31
by cxplanet
Thanks!