I used the xuggle-xuggler5.4 in my app to add video and audio playing functionality, I have dig into google and found following snippet:
long duration = container.getDuration();
long target = new Double(duration * .50).longValue();
container.seekKeyFrame(0, target, 0, 0, IContainer.SEEK_FLAG_BYTE);
I don't know if this snippet is not correct, or my xuggle is wrong, or I am SICK (just kidding) but every thing looks fine. when i play the video it always start from the first (not the location i want).
I would be very happy if someone can help me Thanks