Allegro.cc - Online Community

Allegro.cc Forums » Programming Questions » allegro output -> video recording& Layering

This thread is locked; no one can reply to it. rss feed Print
allegro output -> video recording& Layering
karistouf
Member #5,126
October 2004
avatar

hello, this is are 2 global question I m asking myself before beginning a new project:
*is it possible to record a clean video stream in PAL 25fps inside allegro ?
if not, is there any incompatibility to use a c++ library ( if you know a free and weightloss one could be good ) ?
if no avi recording is possible, do you think that serial screen capture will be effectiv for this rate ?

*as allegro is only 1 window, does it have any incopatibility with working on 2 monitors the same window ( rez 1920 x 800)

the project is video oriented... for cartoonery.

Thanks for your answer !

Andrei Ellman
Member #3,434
April 2003

Allegro does not natively support video-capture. You can use another library to grab video, but you will have to write the code to display the grabbed video in the Allegro window.

What platform are you using? I don't know if there's a multiplatform video-grabbing library available, but on Windows, I think that one of the Windows libraries supports grabbing video. Allegro also has code for converting Windows bitmaps into Allegro bitmaps, so if the video-capture library for windows can produce Windows-bitmaps, you would just need to call the Allegro function to turn it into an Allegro bitmap.

AFAIK, Allegro fullscreen applications can only use one monitor. Not sure about Windowed applications. You might want to try and create a Windowed application where the window is the size of two monitors.

AE.

--
Don't let the illegitimates turn you into carbon.

karistouf
Member #5,126
October 2004
avatar

hello andrei, I m under windows, with dev-cpp ( mingw32 compiler). I hate completely windows code like, so about video grabing libraries, a cross platform should be sure better.
i m planning to be able to record what i m doing in an allegro fullscreen. as functionnalities of sprites manipulations are very easy in allegro, i want to create a project to manipulate LIVE like digital puppets. No flash like encoding api, but a simple, intuitive , with sensors interface.
I will make test with windowed applications, because, I m not only need a recording but also need to perform live those manipulatuions (I m working in theatre field). So the window extended to 2 screen can be usefull: principal screen for menus calling and encoding, 2nd monitor for diffusion in video projector.

Thanks for your answer, I m intterrested about what you think on this subject and generally how to handle it .... sincerely, christoph

Go to: