Page 1 of 1

Is it possible to switch playing URLs without black screen?

Posted: 01 Apr 2018 04:33
by avsuper
Trying to play several URLs using libvlc_media_list_player_play_item_at_index, but each time there is always a black screen when switching.
For example, the playlist is rtsp://192.168.0.101, rtsp://rtsp://192.168.0.102, rtsp://192.168.0.103
calling libvlc_media_list_player_play_item_at_index(p_listPlayer, 0) to play URL No. 1,
and then after 10 seconds, calling libvlc_media_list_player_play_item_at_index(p_listPlayer, 1) to play URL No.2,
at this time, the screen will be black for about one second.
Maybe this function calls media_player_stop internally?
Is it possible keep playing and switching without the black screen? Any options should I add to the media ot player?
Is there any options like bClearScreenOnStop?

Thanks for your reply in advance :-)

Re: Is it possible to switch playing URLs without black screen?

Posted: 03 Apr 2018 09:21
by Jean-Baptiste Kempf
rtsp is long to setup, so 1second is not surprising.

Re: Is it possible to switch playing URLs without black screen?

Posted: 03 Apr 2018 17:18
by avsuper
1 second is OK. I mean if it is possible to keep the last frame when switching to next URL?
I found that when using v2.2.x, switch from one url to another will not show a black screen, only v3.0.x has this problem...
wield...
Do you know what has been changed?

Re: Is it possible to switch playing URLs without black screen?

Posted: 28 Apr 2018 04:40
by avsuper
Anybody can give a clue? Is there any parameters or options that can be set to keep screen not cleaned when playing? Thanks!