Recently there has been a lot of call on this list for a Gem video mixer, I myself have been one of the ones calling for it. For any one out there interested recently I have made one that seems to work, and created a videomixer.pd file that uses it. I want to thank Chris Clepper < cclepper@artic.edu>, for his tutorials and helpful suggestions. My patch has no tutorials or explanation, so I would encourage continued development in this area. In addition, it is somewhat of a CPU hog, because it uses the [pix_texture2] object, so finding a more efficient method is something to look into. It is also a little messy, but moderately experienced Gem users should be able to decipher it. You may download it from:
http://www.geocities.com/recursionvideolab/videomixer.zip
Let me know what you think, preferably off list. Also if any of you are in or around San Francisco, it would be fun to have a little conference/get together
cool, thanks :)
a question for those more experienced witrh GEM... what file type should i be able to open with [pix_film] on windows2000? so far the *only* one ive been able to open has been the homer.avi. am i missing seomthing to allow myself to open .mov's and .mpeg's?-josh
Pixelcorrection@wmconnect.com wrote:
Recently there has been a lot of call on this list for a Gem video mixer, I myself have been one of the ones calling for it. For any one out there interested recently I have made one that seems to work, and created a videomixer.pd file that uses it. I want to thank Chris Clepper cclepper@artic.edu, for his tutorials and helpful suggestions. My patch has no tutorials or explanation, so I would encourage continued development in this area. In addition, it is somewhat of a CPU hog, because it uses the [pix_texture2] object, so finding a more efficient method is something to look into. It is also a little messy, but moderately experienced Gem users should be able to decipher it. You may download it from:
http://www.geocities.com/recursionvideolab/videomixer.zip
Let me know what you think, preferably off list. Also if any of you are in or around San Francisco, it would be fun to have a little conference/get together
another quesiton, i managed to peg my cpu something nasty by playing back three .avi's simultaneously just now... i assume this is abnormal, but about how many video files should i expect to be able to play simultaneously on a modern cpu (1.5 - 3 ghz)
thanks, guys/gals
Recently there has been a lot of call on this list for a Gem video mixer, I myself have been one of the ones calling for it. For any one out there interested recently I have made one that seems to work, and created a videomixer.pd file that uses it. I want to thank Chris Clepper cclepper@artic.edu, for his tutorials and helpful suggestions. My patch has no tutorials or explanation, so I would encourage continued development in this area. In addition, it is somewhat of a CPU hog, because it uses the [pix_texture2] object, so finding a more efficient method is something to look into. It is also a little messy, but moderately experienced Gem users should be able to decipher it. You may download it from:
http://www.geocities.com/recursionvideolab/videomixer.zip
Let me know what you think, preferably off list. Also if any of you are in or around San Francisco, it would be fun to have a little conference/get together
That's pretty much one of the two methods that I will present in the video mixing tutorial. I plan to post it sometime this weekend.
The patch shouldn't require too much CPU since the video card does all of the blending. Out of curiosity, what platform, CPU, GPU, movie size and codec are you using? The codec can make a whole lot of difference in performance. After I get more of the tutorial completed, I will write some docs on how to get the best performance out of GEM including info about codecs, graphics chips as well as techniques to optimize patches.
cgc
Thomas,
is it possible to use the flext API as a wrapper for pthreads?
what I have is one class, the main class, called readanysf.cpp. in that is the FLEXT_HEADER(readanysf, flext_dsp).
this file then creates other c++ objects as container structures to play audio. Inside one of these (the one for playing mp3 streaming from the net, called ReadMadUrl.cpp), I'd like to start another thread. However, I couldn't figure out how (if possible) to set up the class so that it inherits properly from flext without it having to be a pd object itself.
At the moment I'm doing it with pthread calls directly. But, if possible, I'd like to use the flext API to try to keep things uniform.
Is this possible?
Hi August, this is fairly easy.
The functionality of flext is split into several classes, of which the most important are:
flext: This one only has static elements, providing basic functionality but nothing external-related flext_base: class for message externals flext_dsp: inherited from flext_base with DSP functions
If you only want to use flext threading you just need to inherit from the class flext. See flext_support.h (or the flext documentation on the website) for all the methods contained therein.
good luck, Thomas
----- Original Message ----- From: "august" august@alien.mur.at To: pd-list@iem.kug.ac.at Sent: Monday, May 05, 2003 4:19 PM Subject: [PD] flext, threading
Thomas,
is it possible to use the flext API as a wrapper for pthreads?
what I have is one class, the main class, called readanysf.cpp. in that is the FLEXT_HEADER(readanysf, flext_dsp).
this file then creates other c++ objects as container structures to play audio. Inside one of these (the one for playing mp3 streaming from the net, called ReadMadUrl.cpp), I'd like to start another thread. However, I couldn't figure out how (if possible) to set up the class so that it inherits properly from flext without it having to be a pd object itself.
At the moment I'm doing it with pthread calls directly. But, if possible, I'd like to use the flext API to try to keep things uniform.
Is this possible?
- august.
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
Hi August, this is fairly easy.
The functionality of flext is split into several classes, of which the most important are:
ok, now that you say it is possible, i'll dig into it deeper.
i kept getting compile errors about m_pd.h . then i'd try to add a FLEXT_HEADER( ) call just to see what would happen. this would get rid of the m_pd.h errors, but gave me other errors.
readanysf~ is almost ready for a 01 release. it can already resample (with varispeed play) using libresample and can play mp3 streams from the net. just needs some more debugging. any volunteers?
I read:
readanysf~ is almost ready for a 01 release. it can already resample (with varispeed play) using libresample and can play mp3 streams from the net. just needs some more debugging. any volunteers?
well give us what you have ;)
take care,
x
On Mon, 2003-05-05 at 16:53, august wrote:
readanysf~ is almost ready for a 01 release. it can already resample (with varispeed play) using libresample and can play mp3 streams from the net. just needs some more debugging. any volunteers?
Here!
Maurizio Umberto Puxeddu.
readanysf~ is almost ready for a 01 release. it can already resample (with varispeed play) using libresample and can play mp3 streams from the net. just needs some more debugging. any volunteers?
Here!
ok, you can download what I have now at :
http://aug.ment.org/software/readanysf~0.09.tar.gz
developers and debuggers release only.
you will need libmad, libogg, libvorbis, libflac, & libsamplerate http://www.mega-nerd.com/SRC/
ill try to get everything in order with some dokumentation and windows .dll's soon. also, I need to come up with a decent makefile.
anyone know of a better tequnique than autoconf, automake? I'd really hate to have to go that route.
-august.
PS: one thing. If you have a low blocksize and switch from opening a mp3 stream to opening another file (or stream) it may hang pd for a bit. this seems to happen because it is trying to fill a buffer chunk from the net and needs to finish before it can return. I'm not sure if PD can handle this, but it seems to be ok on my machine.
i kept getting compile errors about m_pd.h . then i'd try to add a FLEXT_HEADER( ) call just to see what would happen. this would get rid of the m_pd.h errors, but gave me other errors.
Hi, FLEXT_HEADER is only needed for object classes, e.g. inheriting from flext_base or flext_dsp.
For a class derived from just flext you don't need it. If it doesn't work just send me your code and i'll have a look.
greetings, T
i kept getting compile errors about m_pd.h . then i'd try to add a FLEXT_HEADER( ) call just to see what would happen. this would get rid of the m_pd.h errors, but gave me other errors.
Hi, FLEXT_HEADER is only needed for object classes, e.g. inheriting from flext_base or flext_dsp.
For a class derived from just flext you don't need it. If it doesn't work just send me your code and i'll have a look.
greetings, T
i'm working on a project where i need to synchronize 1 video and 8 audio tracks.
how might i do the recording of all the tracks and affix some sort of time-code, and how would i synchronize the output? thanks,
scott