Displaying videoframes using python bindings and PyQt

This forum is about all development around libVLC.
cxplanet
New Cone
New Cone
Posts: 2
Joined: 04 Dec 2016 21:06

Displaying videoframes using python bindings and PyQt

Postby cxplanet » 04 Dec 2016 22:41

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Displaying videoframes using python bindings and PyQt

Postby Jean-Baptiste Kempf » 06 Dec 2016 02:19

You cannot have a frame before play().
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

cxplanet
New Cone
New Cone
Posts: 2
Joined: 04 Dec 2016 21:06

Re: Displaying videoframes using python bindings and PyQt

Postby cxplanet » 06 Dec 2016 02:31

Thanks!


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 23 guests