Hello there,I want to ask something about vlcj.
Is there any way to check if the file that it's playing has something to display in video surface?
It's all there...Hello there,I want to ask something about vlcj.
Is there any way to check if the file that it's playing has something to display in video surface?
Code: Select all
int outputs = mediaPlayer.getVideoOutputs(); // this calls libvlc_media_player_has_vout
if(outputs > 0) {
...
}
Code: Select all
boolean isPlaying = mediaPlayer.isPlaying(); // this calls libvlc_media_player_is_playing
Code: Select all
int tracks = mediaPlayer.getVideoTrackCount(); // this calls libvlc_video_get_track_count
Return to “Development around libVLC”
Users browsing this forum: No registered users and 4 guests