Re: [PD] How to capture sound video from Pd/Gem
Am 01.03.2011 22:29, schrieb Markus Demmel: Hi List, does anybody know a good (working) way to capture audio and video from Pd/Gem under linux? hi markus i give it out in images with [pix_write] and soundfile with [writesf~] the tif images i animate with ffmpeg for ex.: ffmpeg -f gem%05d.tif -b 800k test.avi (but i have better experience with mencoder for doing this) mencoder fex.: mencoder mf://*.tif -mf fps=25 -o test.avi -ovc lavc -lavcopts vcodec=msmpeg4v2:vbitrate=800 and than i bring the movie and the audio-files together with ffmpeg f.ex: ffmpeg -i test.avi -i sound.aiff -vcodec copy -async 10 -ab 128k output.mov hmm thats my way to do it (but always with different parameters...i'm a newby in it and experiment always). hope it helps a little for me it's fine cause it is scriptable and with the [shell]- object i directly can integrate it into my patch ** So far i tried using glc-capture, which gives good video results, but refuses to record any sound at all. glc-capture should work with alsa, but it only outputs error messages like this: snd_pcm_open (input): Device or resource busy or [ 33.15s alsa_capture error ] initialization failed: Invalid argument ... markus ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] How to capture sound video from Pd/Gem
Am 04.03.2011 11:16, schrieb chr: Am 01.03.2011 22:29, schrieb Markus Demmel: Hi List, does anybody know a good (working) way to capture audio and video from Pd/Gem under linux? hi markus i give it out in images with [pix_write] and soundfile with [writesf~] the tif images i animate with ffmpeg for ex.: ffmpeg -f gem%05d.tif -b 800k test.avi (but i have better experience with mencoder for doing this) mencoder fex.: mencoder mf://*.tif -mf fps=25 -o test.avi -ovc lavc -lavcopts vcodec=msmpeg4v2:vbitrate=800 and than i bring the movie and the audio-files together with ffmpeg f.ex: ffmpeg -i test.avi -i sound.aiff -vcodec copy -async 10 -ab 128k output.mov sorry, the output have also to be .avi oder the input .mov... it makes no sense to convert it like this... greetings christian hmm thats my way to do it (but always with different parameters...i'm a newby in it and experiment always). hope it helps a little for me it's fine cause it is scriptable and with the [shell]- object i directly can integrate it into my patch So far i tried using glc-capture, which gives good video results, but refuses to record any sound at all. glc-capture should work with alsa, but it only outputs error messages like this: snd_pcm_open (input): Device or resource busy or [ 33.15s alsa_capture error ] initialization failed: Invalid argument ... markus ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] How to capture sound video from Pd/Gem
Hi, it looks like i can't capture with recordmyDesktop... i only get error code 256 / 2816 I would like to give [pdp_rec~] a try, but i can't make a [pix_2pdp] object. The error message here is: /usr/lib/pd-extended/extra/pix_2pdp.pd_linux: /usr/lib/pd-extended/extra/pix_2pdp.pd_linux: undefined symbol: _ZN9CPPExtern4postEPKcz but the object is there and the help file refers to pix_freeframe, which could be because of the version of GEM from svn. Markus On 02.03.2011 00:12, Pedro Lopes wrote: Hey, I use recordmydesktop, it captures OpenGL and audio through Jack, sou I route it to record pd output. Sometimes I have lags, which is shi* but then again I did not setup things carefully (i'm not with an rt kernel now, and my screen is wid). All these videos are recorded that way 1) http://vimeo.com/11792446 (see the last frame of this one[1], it helps you with the arguments for the recordmydesktop - since they are a bit freaky) - This was done with a slower laptop than my newer but it was RT and I really felt that it helps in grabbing the video/audio data. 2) http://vimeo.com/11949192 (see the first frame of this one[1], no lagged older laptop with rt kernel) 3) http://vimeo.com/17469068 (once again first frame, this is lagged better laptop, kernel is not rt) [1] hooray for laziness in not cutting the videos! Best, Pedro Lopes On Tue, Mar 1, 2011 at 9:55 PM, ALAN BROOKER alan.brooker2...@gmail.com mailto:alan.brooker2...@gmail.com wrote: ahh correction- the object is under pidip and is called [pdp_rec~] On Tue, Mar 1, 2011 at 9:44 PM, ALAN BROOKER alan.brooker2...@gmail.com mailto:alan.brooker2...@gmail.com wrote: I dont know how much this could help but a good object for recording visuals and sound synced is[pdp_record] either part of pdp or pidip (cant remember which one). try the gem_to_pdp bridge to connect Gem scene and [pdp_record] together. To be honest I am as yet to try this myself as I often just out put Gem visuals as a series of tiffs and then stitch them together later to make an ogg file. On Tue, Mar 1, 2011 at 9:29 PM, Markus Demmel a...@zankapfel.org mailto:a...@zankapfel.org wrote: Hi List, does anybody know a good (working) way to capture audio and video from Pd/Gem under linux? So far i tried using glc-capture, which gives good video results, but refuses to record any sound at all. glc-capture should work with alsa, but it only outputs error messages like this: snd_pcm_open (input): Device or resource busy or [ 33.15s alsa_capture error ] initialization failed: Invalid argument ... markus ___ Pd-list@iem.at mailto:Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailto:Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Pedro Lopes (MSc) contact: pedro.lo...@ist.utl.pt mailto:pedro.lo...@ist.utl.pt website: http://web.ist.utl.pt/Pedro.Lopes / http://pedrolopesresearch.wordpress.com/ | http://twitter.com/plopesresearch ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] How to capture sound video from Pd/Gem
Never seen such error, for me it simply works :) It just says that? This helps? http://ubuntuforums.org/archive/index.php/t-453465.html http://ubuntuforums.org/archive/index.php/t-453465.html http://www.uluga.ubuntuforums.org/showthread.php?p=8365819 On Thu, Mar 3, 2011 at 4:38 PM, Markus Demmel a...@zankapfel.org wrote: 256 / 2816 -- Pedro Lopes (MSc) contact: pedro.lo...@ist.utl.pt website: http://web.ist.utl.pt/Pedro.Lopes / http://pedrolopesresearch.wordpress.com/ | http://twitter.com/plopesresearch ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] How to capture sound video from Pd/Gem
if you don't get anywhere with [pdp_rec~] another alternative could be to try the gridflow objects [#to_pix] to connect a Gem scene to gridflow -- then connect to [#record] to record the scene. However I don't think it records sound- check out the Gridflow help index and files. Personally I have not had much luck with recording in Gem, as mentioned I output tiffs to combine into a movie file...any sound I record separately and add later using a video editor. A bit of a pain but at least it comes together in the end. ..except IMHO the only really good video editor (Kdenlives) loves crashing . Next best thing is Pitivi On Thu, Mar 3, 2011 at 4:38 PM, Markus Demmel a...@zankapfel.org wrote: Hi, it looks like i can't capture with recordmyDesktop... i only get error code 256 / 2816 I would like to give [pdp_rec~] a try, but i can't make a [pix_2pdp] object. The error message here is: /usr/lib/pd-extended/extra/pix_2pdp.pd_linux: /usr/lib/pd-extended/extra/pix_2pdp.pd_linux: undefined symbol: _ZN9CPPExtern4postEPKcz but the object is there and the help file refers to pix_freeframe, which could be because of the version of GEM from svn. Markus On 02.03.2011 00:12, Pedro Lopes wrote: Hey, I use recordmydesktop, it captures OpenGL and audio through Jack, sou I route it to record pd output. Sometimes I have lags, which is shi* but then again I did not setup things carefully (i'm not with an rt kernel now, and my screen is wid). All these videos are recorded that way 1) http://vimeo.com/11792446 (see the last frame of this one[1], it helps you with the arguments for the recordmydesktop - since they are a bit freaky) - This was done with a slower laptop than my newer but it was RT and I really felt that it helps in grabbing the video/audio data. 2) http://vimeo.com/11949192 (see the first frame of this one[1], no lagged older laptop with rt kernel) 3) http://vimeo.com/17469068 (once again first frame, this is lagged better laptop, kernel is not rt) [1] hooray for laziness in not cutting the videos! Best, Pedro Lopes On Tue, Mar 1, 2011 at 9:55 PM, ALAN BROOKER alan.brooker2...@gmail.com mailto:alan.brooker2...@gmail.com wrote: ahh correction- the object is under pidip and is called [pdp_rec~] On Tue, Mar 1, 2011 at 9:44 PM, ALAN BROOKER alan.brooker2...@gmail.com mailto:alan.brooker2...@gmail.com wrote: I dont know how much this could help but a good object for recording visuals and sound synced is[pdp_record] either part of pdp or pidip (cant remember which one). try the gem_to_pdp bridge to connect Gem scene and [pdp_record] together. To be honest I am as yet to try this myself as I often just out put Gem visuals as a series of tiffs and then stitch them together later to make an ogg file. On Tue, Mar 1, 2011 at 9:29 PM, Markus Demmel a...@zankapfel.org mailto:a...@zankapfel.org wrote: Hi List, does anybody know a good (working) way to capture audio and video from Pd/Gem under linux? So far i tried using glc-capture, which gives good video results, but refuses to record any sound at all. glc-capture should work with alsa, but it only outputs error messages like this: snd_pcm_open (input): Device or resource busy or [ 33.15s alsa_capture error ] initialization failed: Invalid argument ... markus ___ Pd-list@iem.at mailto:Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailto:Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Pedro Lopes (MSc) contact: pedro.lo...@ist.utl.pt mailto:pedro.lo...@ist.utl.pt website: http://web.ist.utl.pt/Pedro.Lopes / http://pedrolopesresearch.wordpress.com/ | http://twitter.com/plopesresearch ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] How to capture sound video from Pd/Gem
On Thu, 3 Mar 2011, ALAN BROOKER wrote: if you don't get anywhere with [pdp_rec~] another alternative could be to try the gridflow objects [#to_pix] to connect a Gem scene to gridflow -- then connect to [#record] to record the scene. However I don't think it records sound- check out the Gridflow help index and files. In GridFlow, [#io.quicktimehw] (libquicktime) is the only module that can record video. You have to use it through the [#out] interface. It's available in all the Ubuntu packages, and in the latest OSX package (9.13). There's nothing for writing sound in GridFlow. However, there's a fairly new feature of [#io.quicktimehw] for reading sound from a quicktime, which is available through [#in~] as signals or through [#in] as grids. It's still a bit experimental though. ([#in~] is just a simple combination of [#in] with [#to~]) It's very possible that I replace libquicktime with something else (but patches would stay compatible, apart from use of the name quicktimehw) ___ | Mathieu Bouchard tél: +1.514.383.3801 Villeray, Montréal, QC ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] How to capture sound video from Pd/Gem
I dont know how much this could help but a good object for recording visuals and sound synced is[pdp_record] either part of pdp or pidip (cant remember which one). try the gem_to_pdp bridge to connect Gem scene and [pdp_record] together. To be honest I am as yet to try this myself as I often just out put Gem visuals as a series of tiffs and then stitch them together later to make an ogg file. On Tue, Mar 1, 2011 at 9:29 PM, Markus Demmel a...@zankapfel.org wrote: Hi List, does anybody know a good (working) way to capture audio and video from Pd/Gem under linux? So far i tried using glc-capture, which gives good video results, but refuses to record any sound at all. glc-capture should work with alsa, but it only outputs error messages like this: snd_pcm_open (input): Device or resource busy or [ 33.15s alsa_capture error ] initialization failed: Invalid argument ... markus ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] How to capture sound video from Pd/Gem
ahh correction- the object is under pidip and is called [pdp_rec~] On Tue, Mar 1, 2011 at 9:44 PM, ALAN BROOKER alan.brooker2...@gmail.com wrote: I dont know how much this could help but a good object for recording visuals and sound synced is[pdp_record] either part of pdp or pidip (cant remember which one). try the gem_to_pdp bridge to connect Gem scene and [pdp_record] together. To be honest I am as yet to try this myself as I often just out put Gem visuals as a series of tiffs and then stitch them together later to make an ogg file. On Tue, Mar 1, 2011 at 9:29 PM, Markus Demmel a...@zankapfel.org wrote: Hi List, does anybody know a good (working) way to capture audio and video from Pd/Gem under linux? So far i tried using glc-capture, which gives good video results, but refuses to record any sound at all. glc-capture should work with alsa, but it only outputs error messages like this: snd_pcm_open (input): Device or resource busy or [ 33.15s alsa_capture error ] initialization failed: Invalid argument ... markus ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] How to capture sound video from Pd/Gem
Hey, I use recordmydesktop, it captures OpenGL and audio through Jack, sou I route it to record pd output. Sometimes I have lags, which is shi* but then again I did not setup things carefully (i'm not with an rt kernel now, and my screen is wid). All these videos are recorded that way 1) http://vimeo.com/11792446 (see the last frame of this one[1], it helps you with the arguments for the recordmydesktop - since they are a bit freaky) - This was done with a slower laptop than my newer but it was RT and I really felt that it helps in grabbing the video/audio data. 2) http://vimeo.com/11949192 (see the first frame of this one[1], no lagged older laptop with rt kernel) 3) http://vimeo.com/17469068 (once again first frame, this is lagged better laptop, kernel is not rt) [1] hooray for laziness in not cutting the videos! Best, Pedro Lopes On Tue, Mar 1, 2011 at 9:55 PM, ALAN BROOKER alan.brooker2...@gmail.comwrote: ahh correction- the object is under pidip and is called [pdp_rec~] On Tue, Mar 1, 2011 at 9:44 PM, ALAN BROOKER alan.brooker2...@gmail.com wrote: I dont know how much this could help but a good object for recording visuals and sound synced is[pdp_record] either part of pdp or pidip (cant remember which one). try the gem_to_pdp bridge to connect Gem scene and [pdp_record] together. To be honest I am as yet to try this myself as I often just out put Gem visuals as a series of tiffs and then stitch them together later to make an ogg file. On Tue, Mar 1, 2011 at 9:29 PM, Markus Demmel a...@zankapfel.org wrote: Hi List, does anybody know a good (working) way to capture audio and video from Pd/Gem under linux? So far i tried using glc-capture, which gives good video results, but refuses to record any sound at all. glc-capture should work with alsa, but it only outputs error messages like this: snd_pcm_open (input): Device or resource busy or [ 33.15s alsa_capture error ] initialization failed: Invalid argument ... markus ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Pedro Lopes (MSc) contact: pedro.lo...@ist.utl.pt website: http://web.ist.utl.pt/Pedro.Lopes / http://pedrolopesresearch.wordpress.com/ | http://twitter.com/plopesresearch ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] How to capture sound video from Pd/Gem
Markus, You may find some things that will help in the patches by Max Neupert. Though his patches keep the audio and video as separate files, the techniques work well. http://www.maxneupert.de/pd/ The files on Motion detection (17-documentation.pd in particular) and Audiovisual programming may help out. Hope this is helpful, Mitch On Mar 1, 2011, at 6:14 PM, pd-list-requ...@iem.at wrote: Message: 1 Date: Tue, 01 Mar 2011 22:29:32 +0100 From: Markus Demmel a...@zankapfel.org Subject: [PD] How to capture sound video from Pd/Gem To: pd-list@iem.at Message-ID: 4d6d653c.7000...@zankapfel.org Content-Type: text/plain; charset=ISO-8859-1 Hi List, does anybody know a good (working) way to capture audio and video from Pd/Gem under linux? So far i tried using glc-capture, which gives good video results, but refuses to record any sound at all. glc-capture should work with alsa, but it only outputs error messages like this: snd_pcm_open (input): Device or resource busy or [ 33.15s alsa_capture error ] initialization failed: Invalid argument ... markus ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] How to capture sound video from Pd/Gem
oh..p.s.: i mentioned a screen-capture technique, not really a direct buffer technique or whatever. :) On Tue, Mar 1, 2011 at 11:51 PM, Mitchell Turner mmturner2...@gmail.comwrote: Markus, You may find some things that will help in the patches by Max Neupert. Though his patches keep the audio and video as separate files, the techniques work well. http://www.maxneupert.de/pd/ The files on Motion detection (17-documentation.pd in particular) and Audiovisual programming may help out. Hope this is helpful, Mitch On Mar 1, 2011, at 6:14 PM, pd-list-requ...@iem.at wrote: Message: 1 Date: Tue, 01 Mar 2011 22:29:32 +0100 From: Markus Demmel a...@zankapfel.org Subject: [PD] How to capture sound video from Pd/Gem To: pd-list@iem.at Message-ID: 4d6d653c.7000...@zankapfel.org Content-Type: text/plain; charset=ISO-8859-1 Hi List, does anybody know a good (working) way to capture audio and video from Pd/Gem under linux? So far i tried using glc-capture, which gives good video results, but refuses to record any sound at all. glc-capture should work with alsa, but it only outputs error messages like this: snd_pcm_open (input): Device or resource busy or [ 33.15s alsa_capture error ] initialization failed: Invalid argument ... markus ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Pedro Lopes (MSc) contact: pedro.lo...@ist.utl.pt website: http://web.ist.utl.pt/Pedro.Lopes / http://pedrolopesresearch.wordpress.com/ | http://twitter.com/plopesresearch ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] How to capture sound video from Pd/Gem
Make sure you choose the divx encoding or it will not work On 3/1/11 4:55 PM, ALAN BROOKER alan.brooker2...@gmail.com wrote: ahh correction- the object is under pidip and is called [pdp_rec~] On Tue, Mar 1, 2011 at 9:44 PM, ALAN BROOKER alan.brooker2...@gmail.com wrote: I dont know how much this could help but a good object for recording visuals and sound synced is[pdp_record] either part of pdp or pidip (cant remember which one). try the gem_to_pdp bridge to connect Gem scene and [pdp_record] together. To be honest I am as yet to try this myself as I often just out put Gem visuals as a series of tiffs and then stitch them together later to make an ogg file. On Tue, Mar 1, 2011 at 9:29 PM, Markus Demmel a...@zankapfel.org wrote: Hi List, does anybody know a good (working) way to capture audio and video from Pd/Gem under linux? So far i tried using glc-capture, which gives good video results, but refuses to record any sound at all. glc-capture should work with alsa, but it only outputs error messages like this: snd_pcm_open (input): Device or resource busy or [ 33.15s alsa_capture error ] initialization failed: Invalid argument ... markus ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list