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