NSjonas
NSjonas

Reputation: 12072

Playing and cutting video using Java

I'm writing a Video catalog system and I was wondering if its possible to first, open a video in my application (needs to be a wide variety of formats), and second, allow users to cut the video at a given time-stamp.

If this isn't something that can be done easily, then is it possible to open a video using an existing program on the machine through java?

EDIT

After a little research I found I could use the java Desktop API open open files with their default program. Due to the fact that the program needs to be able to work with a wide variety of format (including footage from RED camera), I've decided to go down this route.

Upvotes: 2

Views: 4731

Answers (2)

Joachim Rohde
Joachim Rohde

Reputation: 6045

For the first part you might have a look at vlcj.

Upvotes: 2

AlexR
AlexR

Reputation: 115388

You have to use Java Media Framework (JMF). It is very powerful although you have to spend some time to learn the basic concepts before you are starting coding.

Upvotes: 1

Related Questions