Hm. Perhaps you could use the CPU load to freeze video when it goes above 100%. Use the IEM version, which is more responsive than the built-in load meter.
An alternative would be to record an extra audio track using writesf~ with some synchronization data as audio, a bit like SMPTE used to work. Then at least you could framesync the audio in an NLE, somehow to track the frame you are recording via audio pulses of different frequencies - some signal derived from the frame number.
This is a problem I have faced many times, and although I tend to use two instances of Pd communicating with one another using netsend/netreceive, it's the same issue.
I haven't tried it yet, but I believe there is an external or something called "framesync"
Ed Ninja Jamm - a revolutionary new musix remix app from Ninja Tune and Seeper, for iPhone and iPad http://www.ninjajamm.com/
Gemnotes-0.2: Live music notation for Pure Data, now with dynamics! http://sharktracks.co.uk/
----- Original Message -----
From: Antonio Roberts antonio@hellocatfood.com To: Max abonnements@revolwear.com Cc: PD list pd-list@iem.at Sent: Thursday, 9 May 2013, 21:16 Subject: Re: [PD] Render a Gem window in [pd~] without dsp turned on
i think in your scenario you should record from within Pd, e.g. using
writesf~ then even if you hear clips while you are recording they will not be in the recording. I understand that this will record the audio, but how would I then synchronise this with the video without resorting to guesswork?
Antonio
On 9 May 2013 10:15, Max abonnements@revolwear.com wrote:
Am 08.05.2013 um 12:14 schrieb Antonio Roberts
In order to make the pd~ process work without dsp you still need to
do a loadbang [pd dsp 1(, but then you may switch dsp off again after a second or so.
this technique works well.
I've tried this, and it's an improvement but it still causes
clipping
in the audio.
Essentially, what I'm trying to do is a screen recording of myself using a patch. Nearly all screen recording software for Linux use Alsa so I'm unable to record audio, due to PD locking Alsa when it's running. So, I instead am using Jack and this script http://pastebin.ca/2373980
However, even by separating the audio and video using [pd~] I'm
still
getting clipping in the audio
i think in your scenario you should record from within Pd, e.g. using
writesf~ then even if you hear clips while you are recording they will not be in the recording.
m.
--
antonio@hellocatfood.com http://www.hellocatfood.com ============================
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list