White flashes using _media_list_player_next or previous

This forum is about all development around libVLC.
imanafa
New Cone
New Cone
Posts: 5
Joined: 07 May 2014 18:13

White flashes using _media_list_player_next or previous

Postby imanafa » 08 May 2014 03:38

Hey guys,

I wrote a wrapper for libvlc using c# and am using it to create this player. so far everything has been going fine. I'm using the functions and they are working as they should. there is only one problem:

when i switch between files going forward(next) or backwards(previous) there are white flash frames happening that i seem to be unable to get rid of. i tried it on v 1.1.9 and 2.1.3 and they both have the same issue (my application and the installed player both show the flashes) . So im thinking its a vlc issue and not my code( using media_list_player).

I also tried implementing the list and playing the files from my list using media_player functions instead of media_list_player. but it only made it worse as the flashes are longer more visible now and happen every time.

I think this happens when the player is disposed. im not sure though. is there a way to avoid these flashes? has anybody had the same problem?

imanafa
New Cone
New Cone
Posts: 5
Joined: 07 May 2014 18:13

Re: White flashes using _media_list_player_next or previous

Postby imanafa » 12 May 2014 08:44

I just deleted my last two posts to make a better update. So this white flash basically happens when you switch between videos, meaning when you close one media and open another. it is less than a second. I think its the delay you have for switching between medias. The white flash is actually the color of the Winform which is the default greyish color (named control). So when you change that color to black you dont get the white flashes anymore. On vlc 1.1.9 application itself when i switch between videos i get the same thing and can actually see the new video opening from the top - left corner of the screen and expand to vlc size very quickly.

Im trying to make a player that can open streams from network or web. is there a way to have less delays in file opening while switching in between medias? I think there would be more lag in those cases when i try to change medias! can somebody help me with this or give suggestions? I have searched for answers online but have not been able to find anything that could put me in the right direction.

all suggestions are welcome. Thank you

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: White flashes using _media_list_player_next or previous

Postby Jean-Baptiste Kempf » 20 May 2014 22:16

The video output is recycled between videos, but when the videos are too different, you see the flash.
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.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 30 guests