Page 1 of 1

How to play streaming video in vlcj ?

Posted: 18 Jul 2012 20:40
by jobs
my server is streaming video using ffmpeg in mpegts format over UDP ...and i want to play that video using library vlcj (Java) can one provide me a small example or direct me to a working example from where i can learn
thanks

from the vlcj documentation i just got that we have to use udp://IP:port but this is not working ......where i m wrong please help

Re: How to play streaming video in vlcj ?

Posted: 20 Jul 2012 09:50
by RĂ©mi Denis-Courmont
Raw MPEG-TS over UDP would be udp://IP:port where IP is the destination IP adress and port the destination UDP port number.
MPEG-TS over RTP over UDP would be rtp://IP:port with the same conventions.