Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (539)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (603)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2
  ignore  |  Print  
  screen capture and movie player applet (not a game)  (Read 6483 times)
0 Members and 1 Guest are viewing this topic.
Offline bobjob

JGO Knight


Medals: 10
Projects: 4


David Aaron Muhar


« Posted 2011-05-04 06:06:20 »

This isnt a game I just wanted to show off my latest work.

Iv been working on a screencast applet that records the browser.

Screen cast applet in DEBUG MODE

Its a handy tool for reviewing websites in video, in case you wanted to upload reviews to youtube or something like that.
Currently I only made a frame version that locks onto the window. This has a few issues with pages that dont allow you to access them via a frame.
Ill eventually upload an unlocked version to select custom capture sizes and such.

Movie Player Applet
Working on making an applet that can play movies inside a webpage


Online Webcam Recorder
Also working on a online webcam recorder
Note: It seems that FTP upload doesnt work with Java7 I keep getting a permission exception on the socket.

*Only works on Mac/Windows. I still need to build FFMpeg natives on linux.

My Projects
Games, Webcam chat, Video screencast, PDF tools.

Javagaming.org with chat room
Offline zammbi

JGO Coder


Medals: 4



« Reply #1 - Posted 2011-05-04 08:30:17 »

Worked ok here.
One problem I did notice that it squished the width in the video. Like it didn't understand my screen is widescreen.

Current project - Rename and Sort
Offline bobjob

JGO Knight


Medals: 10
Projects: 4


David Aaron Muhar


« Reply #2 - Posted 2011-05-04 08:39:19 »

Quote
Worked ok here.
One problem I did notice that it squished the width in the video. Like it didn't understand my screen is widescreen.
Thanks for testing it.
It currently records to 640*480. So whatever size the frame of the browser is, it will stretch it to 640*480.

I need to add a settings popup, Ill add an option to maintain aspect ratio.

My Projects
Games, Webcam chat, Video screencast, PDF tools.

Javagaming.org with chat room
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline CommanderKeith
« Reply #3 - Posted 2011-05-04 09:30:51 »

Cool idea.

I used it and went to JGO.

It recorded sound through my microphone which is impressive because I've never done that before!

It dumped an AVI file which played sound well in windows media player, but the video didn't work in WMP or real player.

Offline bobjob

JGO Knight


Medals: 10
Projects: 4


David Aaron Muhar


« Reply #4 - Posted 2011-05-04 19:42:23 »

Quote
the video didn't work in WMP or real player.
thanks for the info. Iv got heeps of codecs on my computer, so I assume that other people will have the same. I really need to find which codecs most people have installed.

Its currently encoding to mpeg4. Ill try something else.

*changed it to Xvid

My Projects
Games, Webcam chat, Video screencast, PDF tools.

Javagaming.org with chat room
Offline bobjob

JGO Knight


Medals: 10
Projects: 4


David Aaron Muhar


« Reply #5 - Posted 2011-05-04 23:07:44 »

recorded a video for youtube using the applet.

Also increased quality over performance as it seems to be performing fast enough.

My Projects
Games, Webcam chat, Video screencast, PDF tools.

Javagaming.org with chat room
Offline ra4king

JGO Kernel


Medals: 356
Projects: 3
Exp: 5 years


I'm the King!


« Reply #6 - Posted 2011-05-05 01:05:57 »

How do you use this? I clicked record, typed in a random file name to save on my desktop, and after visiting a couple sites, I hit stop and there were no files... Sad

Offline bobjob

JGO Knight


Medals: 10
Projects: 4


David Aaron Muhar


« Reply #7 - Posted 2011-05-05 01:30:30 »

Quote
How do you use this? I clicked record, typed in a random file name to save on my desktop, and after visiting a couple sites, I hit stop and there were no files... Sad
can you please run the debug version and try again, and copy/paste the console output so I can try work out what went wrong.

My Projects
Games, Webcam chat, Video screencast, PDF tools.

Javagaming.org with chat room
Offline ra4king

JGO Kernel


Medals: 356
Projects: 3
Exp: 5 years


I'm the King!


« Reply #8 - Posted 2011-05-05 01:34:37 »

From all the output in the console, there was 1 error: "Unable to find a suitable output format for 'C:\Users\Roi'"

EDIT: Yes, that seems to be the problem, if I save it to my desktop it doesn't work. If I save it to my external hard drive it works fine. Weird?

Offline bobjob

JGO Knight


Medals: 10
Projects: 4


David Aaron Muhar


« Reply #9 - Posted 2011-05-05 01:36:17 »

Quote
From all the output in the console, there was 1 error: "Unable to find a suitable output format for 'C:\Users\Roi'"
thanks that helps.
it may be a case of not being able to support spaces in folder names.

My Projects
Games, Webcam chat, Video screencast, PDF tools.

Javagaming.org with chat room
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline ra4king

JGO Kernel


Medals: 356
Projects: 3
Exp: 5 years


I'm the King!


« Reply #10 - Posted 2011-05-05 01:38:10 »

Ah yes! My full desktop address "C:\Users\Roi Atalla\Desktop" with a space between my user name.

Offline bobjob

JGO Knight


Medals: 10
Projects: 4


David Aaron Muhar


« Reply #11 - Posted 2011-05-05 01:43:47 »

*fixed

it was just a matter of adding quotations to the path.

My Projects
Games, Webcam chat, Video screencast, PDF tools.

Javagaming.org with chat room
Offline ra4king

JGO Kernel


Medals: 356
Projects: 3
Exp: 5 years


I'm the King!


« Reply #12 - Posted 2011-05-05 02:22:00 »

Awesome thanks Smiley
Btw, I love the new Look-and-Feel! Did you make it yourself or get it from somewhere?

Offline bobjob

JGO Knight


Medals: 10
Projects: 4


David Aaron Muhar


« Reply #13 - Posted 2011-05-05 02:34:09 »

Quote
Awesome thanks Smiley
Btw, I love the new Look-and-Feel! Did you make it yourself or get it from somewhere?

After searching through a few free look and feels I found one that I liked.

My Projects
Games, Webcam chat, Video screencast, PDF tools.

Javagaming.org with chat room
Offline ra4king

JGO Kernel


Medals: 356
Projects: 3
Exp: 5 years


I'm the King!


« Reply #14 - Posted 2011-05-05 04:15:37 »

That looks beautiful! Thanks, I might use it as well Cheesy

Offline bobjob

JGO Knight


Medals: 10
Projects: 4


David Aaron Muhar


« Reply #15 - Posted 2011-05-11 23:51:44 »

I made the applet now undockable. Its now useful for more than just browser activity.

My Projects
Games, Webcam chat, Video screencast, PDF tools.

Javagaming.org with chat room
Offline stegzzz

Senior Newbie





« Reply #16 - Posted 2011-05-13 17:00:51 »

Hi, tried this and it records pretty good but wanted to edit using movie maker. MM cannot import due to lack of codec, so I installed the xvid codec you referred to but still no joy. Any ideas?

Thanks, Steve
Offline bobjob

JGO Knight


Medals: 10
Projects: 4


David Aaron Muhar


« Reply #17 - Posted 2011-05-13 17:58:25 »

you may want to install the klite codec pack. It should install any missing codecs.

My Projects
Games, Webcam chat, Video screencast, PDF tools.

Javagaming.org with chat room
Offline ra4king

JGO Kernel


Medals: 356
Projects: 3
Exp: 5 years


I'm the King!


« Reply #18 - Posted 2011-05-13 18:00:11 »

Are you using Windows Vista/7? Try using this: http://shark007.net

Offline stegzzz

Senior Newbie





« Reply #19 - Posted 2011-05-13 18:51:20 »

 Smiley Thanks KLite did the trick, now I can edit my screen capture with movie maker, just the ticket!
Offline bobjob

JGO Knight


Medals: 10
Projects: 4


David Aaron Muhar


« Reply #20 - Posted 2011-05-20 00:42:46 »

Started working on a movie player

Movie Player Applet

Currently I havnt put any work into polishing it. It currently only players movies. I still need to add controls, make sure that sound and video are synced.
It also only works on Windows and Mac, still havnt got around to building FFMpeg executables for linux.

My Projects
Games, Webcam chat, Video screencast, PDF tools.

Javagaming.org with chat room
Offline ra4king

JGO Kernel


Medals: 356
Projects: 3
Exp: 5 years


I'm the King!


« Reply #21 - Posted 2011-05-20 01:51:42 »

It is a bit laggy but I'm amazed! How did you do it?

Offline bobjob

JGO Knight


Medals: 10
Projects: 4


David Aaron Muhar


« Reply #22 - Posted 2011-05-20 02:43:58 »

It is a bit laggy but I'm amazed! How did you do it?
Im using FFMpeg to stream decoded data into a raw format, so that java can handle it.

It seems that its going to get allot worse before it gets better, MacOSX is having a hard time handling network activity, and its causing the applet to freeze for 10 seconds, then do a huge catch up out of sync with even the calls to sleep??? This makes no sense.

My Projects
Games, Webcam chat, Video screencast, PDF tools.

Javagaming.org with chat room
Offline ra4king

JGO Kernel


Medals: 356
Projects: 3
Exp: 5 years


I'm the King!


« Reply #23 - Posted 2011-05-20 03:06:19 »

This is Mac what do you expect? Tongue

But how do you send the data from FFMpeg to Java O.o?

Offline bobjob

JGO Knight


Medals: 10
Projects: 4


David Aaron Muhar


« Reply #24 - Posted 2011-05-20 03:37:41 »

you call ffmpeg from the command line, set the output to be a network/streaming protocol, either http/rtp. And handle the server in java.

Just need to make sure you output to a format that java can read. So in this case streaming jpegs, and wav.

My Projects
Games, Webcam chat, Video screencast, PDF tools.

Javagaming.org with chat room
Offline ra4king

JGO Kernel


Medals: 356
Projects: 3
Exp: 5 years


I'm the King!


« Reply #25 - Posted 2011-05-20 03:40:40 »

Oh FFMpag lets you stream to a network? That sounds really convenient because then you can just connect to the server and port and stream in the data!

Offline bobjob

JGO Knight


Medals: 10
Projects: 4


David Aaron Muhar


« Reply #26 - Posted 2011-05-20 03:50:12 »

Yeah its a handy little tool Smiley
I also use it to encode video for the screencast applet.

My Projects
Games, Webcam chat, Video screencast, PDF tools.

Javagaming.org with chat room
Offline ra4king

JGO Kernel


Medals: 356
Projects: 3
Exp: 5 years


I'm the King!


« Reply #27 - Posted 2011-05-20 03:51:39 »

Yep!

Offline jojoh

JGO Knight


Medals: 5
Projects: 7


games4j.com


« Reply #28 - Posted 2011-06-04 14:21:07 »

I wanted to test your recorder to make a small clip of a game. Unfortunately the Audio Capture Device only had one option: "3 (Off)"   Cry

I had similar problem with CamStudio, so it might be a problem with my audio card. Fraps had no problem though.

Offline bobjob

JGO Knight


Medals: 10
Projects: 4


David Aaron Muhar


« Reply #29 - Posted 2011-06-04 14:39:38 »

I wanted to test your recorder to make a small clip of a game. Unfortunately the Audio Capture Device only had one option: "3 (Off)"   Cry

I had similar problem with CamStudio, so it might be a problem with my audio card. Fraps had no problem though.
Damn, the applet uses Java sound to capture from the Mic, so it may be a problem with Java, If you have the latest version of Java then Its probably not going to be fixable. Thanks for reporting the bug.

My Projects
Games, Webcam chat, Video screencast, PDF tools.

Javagaming.org with chat room
Pages: [1] 2
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

rwatson462 (32 views)
2014-12-15 09:26:44

Mr.CodeIt (23 views)
2014-12-14 19:50:38

BurntPizza (50 views)
2014-12-09 22:41:13

BurntPizza (84 views)
2014-12-08 04:46:31

JscottyBieshaar (45 views)
2014-12-05 12:39:02

SHC (59 views)
2014-12-03 16:27:13

CopyableCougar4 (57 views)
2014-11-29 21:32:03

toopeicgaming1999 (123 views)
2014-11-26 15:22:04

toopeicgaming1999 (114 views)
2014-11-26 15:20:36

toopeicgaming1999 (32 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!