Run Java ScreenGrabber

I am trying to check Screen Grabber sample from JMF. Can someone tell me how to write a basic method to run this example ?.

I reviewed Google many times and did not find a way to make it work. because I don’t know which of the two classes (LiveStream or DataSource) should use in the main method.

Otherwise, I tried to execute the command:

java JMStudio screen://0,0,160,120/10 

But this shows me the following exception:

 UNABLE_CREATE_PLAYER*javax.media.NoPlayerException: Cannot find a Player for :screen://0,0,160,120/10 

Thanks for the help.

Hello!

+4
source share
2 answers

Not necessary.

JMF never worked and stayed. ( Google: β€œJMF is dead . ” ) Find another screen capture engine.

+1
source

this is a late answer, but with the same hopes as Lobo, I would like to add constructive information:

1) JMF is old, but also an old gun. it works

2) it is pure Java, and if you are a Java guy, it will be useful, anyway

3) use the methods you mentioned if you can. follow the instructions. otherwise, there is a free package that can be downloaded from http://www.kemottron.com , MODERATOR-CONFERENCE, you can try. pure Java, and it captures your desktop and streams on the Internet.

Yours faithfully,

0
source

Source: https://habr.com/ru/post/1336938/


All Articles