in reply to Webcam Streaming to Perl/Tk with ffmpeg
In my video app (also using ffmpeg), I don't write out JPEG frames but raw video frames of a fixed size, thus skipping (part of) the compression and the decompression steps. This may or may not work well with your Tk widget. You might be able to not construct a new $image every time but reuse the one you have - I'm using OpenGL to draw my content, so I need the raw pixels anyway.
Also see Windows Webcam access., which also treats the handling of FFmpeg as a video source and reading the frames in Perl.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Webcam Streaming to Perl/Tk with ffmpeg
by Anonymous Monk on Jan 09, 2012 at 05:43 UTC |