Search found 5 matches

Go to advanced search

by Kwigon
15 Dec 2021 12:04
Forum: Development around libVLC
Topic: Unfreed memory when playing images
Replies: 2
Views: 4319

Unfreed memory when playing images

Hello, I am trying to create a player which will play an endless slideshow of both images and videos. It should run for an unlimited time, therefore, memory usage is important to me. I would like to ask what is the correct way to free memory after playing media. According to https://wiki.videolan.or...
by Kwigon
15 Dec 2021 11:53
Forum: Development around libVLC
Topic: Code randomly hangs on libvlc_media_player_set_media
Replies: 7
Views: 8132

Re: Code randomly hangs on libvlc_media_player_set_media

The issue seems to have been caused by one of the pictures being too large (~8K), therefore the screen froze as VLC tried to load it and after 10 seconds it just continued with the next one. Solved by limiting picture resolution, which is not ideal but is good enough in my usecase.
by Kwigon
25 Aug 2021 15:21
Forum: Development around libVLC
Topic: Code randomly hangs on libvlc_media_player_set_media
Replies: 7
Views: 8132

Re: Code randomly hangs on libvlc_media_player_set_media

Took some time to figure out how to view the vlc log using python-vlc bindings. Here are the last few hundred lines from the log I got: https://pastebin.com/zsNyArcv The numbers represent when the next `play` call was made (1 through 8 ). To my untrained eye it seems like it just stopped without any...
by Kwigon
18 Aug 2021 15:38
Forum: Development around libVLC
Topic: Code randomly hangs on libvlc_media_player_set_media
Replies: 7
Views: 8132

Re: Code randomly hangs on libvlc_media_player_set_media

There's nothing relevant in journalctl. I'm not sure how to view VLC logs when running the python-vlc bindings. Looked into the documentation and couldn't find anything. Do you have any specific logs in mind?
by Kwigon
07 Aug 2021 08:58
Forum: Development around libVLC
Topic: Code randomly hangs on libvlc_media_player_set_media
Replies: 7
Views: 8132

Code randomly hangs on libvlc_media_player_set_media

I am trying to create a slideshow style viewer which will display videos and images. However, when testing my approach (code below) the VLC randomly freezes on `self.mediaplayer.set_media(self.media)` in the `Player.play` method. Specifically using the trace module it seems to hang on line 331 in th...

Go to advanced search