I've got a video camera that I'm using to capture video; the camera records in H.264 at 720p resolution. I'd like to transcode this stuff to a simpler, smaller format; something that will work properly on digital photo frames that support video, for example. As well, I'd like to transcode to DVD format where possible, so I can burn DVDs for family members. And I'd like this process to be accessible from within Java, so I can set up a server at home to do the transcoding and I can manage the process over the Web from work.
What's the best way to programmatically do transcoding from within Java? What libraries exist for H.264 support, and how do I access them?