Yeap it's working
I forgot the play() command.
It does all the working as it "registers" the new video surface ..
(videoSurface alone doesn't do anything).
Thks in advance..
Not working mediaPlayer.setVideoSurface(canvas1) if i disable the video track i hear only sound,the video stop working If i enable it after 2 secs it dispalys the video in the canvas 1 (nice) So if i disable it and set the video surface to canvas 2 and enable the track again canvas1 & canvas 2 s...
Well i am making a java application for my university. It's a Server-Client application for streaming audio-video. I use vlcj and libvlc both to windows and linux I want to make a stream application based on tcp but us i see vlcj support http,rtp.,rtcp I don't want to use the mrl wrapper from vlc fo...
If I do int it=mediaPlayer.getVideoTrack(); mediaPlayer.setVideoTrack(-1); Thread.sleep(2000); mediaPlayer.setVideoTrack(it); the result is playing video & audio when the video_track is -1 playing audio - Black image in canvas after 2 secs palying audio - still black image in canvas All that wit...
Well is there any way to change canvas while playing a video file? i have panel1 with canvas1 and panel 2 with canvas2 When the video starts the videosurface points to canvas1. Is there any way after a click in a button to point the output of the video in canvas 2? One solution i found is when i wan...
Hello again,us I see the mediaPlayer.getlength() has some problems. If the file that i have choose isn't playing the getlength() gives me 0 length.When the file that i have choose starts playing the length of file is correct. Any way to take the duration of the media file that i have choose before p...