GoPro camera can help us shoot amazing videos for diving, surfing, cycling, skiing, travel or other activities. If event.type = to Play GoPro Videos on Windows 10/11 and Fix the Not Playing Error # (join(startingPath,fldrs))Äef on_button_NextImg(self, widget=None):įileToShow = self.Fldrs #for fldrs in sorted(listdir(startingPath)): This is bit mucked about with for the file names but your code now registers the GObject.idle_add() function that is required. You should typically have a mainloop in your application (gobject.mainloop(), or Qt mainloop), so you should instead register a method to restart the player from there The libvlc API is not reentrant within its callbacks Print "Event reports - finished, playing next" Self.win_id = widget.get_window().get_xid() Self.currFileIdx = self.currFileIdx+1 if self.currFileIdx+1 My problem is, if I wait for MediaPlayerEndReached to be fired, button_Next() is executed but the video does not change. It starts by playing the first video file and clicking next button will skip to the next media file, playing it. So, I'm using GTK+/VLC to create a window with a video playback area and a "next" button.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |