Get H.264 frame from UDP stream using jCodec

2.1k views Asked by At

I am wondering how to get and decode a H.264 frame from a UDP live stream using jCodec. I see examples of how to get it from a file, but I need to get it from a live stream. I have the application receiving the live stream packets, but I need to know how to decode the packets and display the live stream.

Also, if there us a better way to do this than using jCodec please let me know. I looked for a while and that was the best I could find that is still actively maintained.

1

There are 1 answers

2
Steve Glick On BEST ANSWER

I ended up using vlcj instead of jCodec. More information about vlcj can be found here:

http://www.capricasoftware.co.uk/projects/vlcj/index.html

And a tutorial to get started can be found here:

http://www.capricasoftware.co.uk/projects/vlcj/tutorial1.html