Click to See Complete Forum and Search --> : button action in java


mt888
March 25th, 2010, 02:10 PM
I want to program a application, when I push the start button, it runs a ffmpeg command to record a online stream, when I push the stop button, I want to send a "q" key to stop the recording. how should I do?

dlorde
March 25th, 2010, 05:21 PM
See How To Use Buttons (http://java.sun.com/docs/books/tutorial/uiswing/components/button.html) for a detailed explanation and example code.

Furious activity is no substitute for understanding...
H. H. Williams

jitechno
March 27th, 2010, 12:38 PM
See How To Use Buttons (http://java.sun.com/docs/books/tutorial/uiswing/components/button.html) for a detailed explanation and example code.

Furious activity is no substitute for understanding...
H. H. Williams

I think, poster rather asks, how manage activity of ffmpeg
http://en.wikipedia.org/wiki/FFmpeg ?

hm, it depends on ffmpeg, you have send parameter start/ stop video recording (if if is possible),
or simply start / stop this application.