hi!
I will record a video stream using two pix_record : when one is closing the .mov files the other begin to record a new one and so on...
is it possible to do that with one gemhead ? cause when I start recording with one then stop recording, then start recording with the second one, pd crash...
I'm using Pd version 0.42.5.extended-20100302 + GEM: ver: 0.92.2 with ubuntu karmic koala on a macbook
thanks for any help stéfan
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
stéfan piat wrote:
hi!
I will record a video stream using two pix_record : when one is closing the .mov files the other begin to record a new one and so on...
is it possible to do that with one gemhead ? cause when I start recording with one then stop recording, then start recording with the second one, pd crash...
like always it would be nice to have an example patch. [pix_record] is very specific about the userinput: you need to provide everything (codec, filename,...) and in the correct order! once this is guaranteed, i think it is quite stable. (else it is not)
fgmadr IOhannes
here is an example patch...
thx. stéfan
2010/3/5 IOhannes m zmölnig zmoelnig@iem.at
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
stéfan piat wrote:
hi!
I will record a video stream using two pix_record : when one is closing the .mov files the other begin to record a new one
and
so on...
is it possible to do that with one gemhead ? cause when I start recording with one then stop recording, then start recording with the second one, pd crash...
like always it would be nice to have an example patch. [pix_record] is very specific about the userinput: you need to provide everything (codec, filename,...) and in the correct order! once this is guaranteed, i think it is quite stable. (else it is not)
fgmadr IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkuRScgACgkQkX2Xpv6ydvSHDgCgguRsqrOHxkf6b/7HT8EUO/5F rWMAnRtu1ae3/iel2V5jdvoFm0mt9mut =gc0M -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
stéfan piat wrote:
here is an example patch...
i haven't looked at it closely, but i see that you set the [codec( only once. you really must do this every single time you want to record (either before or after setting the filename, cannot remember which)
i don't say it's not a mess...
fgmadr IOhannes
Hello Stéfan,
This patch should work. ++
Jack
Le vendredi 05 mars 2010 à 19:39 +0100, stéfan piat a écrit :
here is an example patch...
thx. stéfan
2010/3/5 IOhannes m zmölnig zmoelnig@iem.at -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
stéfan piat wrote: > hi! > > I will record a video stream using two pix_record : > when one is closing the .mov files the other begin to record a new one and > so on... > > is it possible to do that with one gemhead ? > cause when I start recording with one then stop recording, then start > recording with the second one, pd crash... > like always it would be nice to have an example patch. [pix_record] is very specific about the userinput: you need to provide everything (codec, filename,...) and in the correct order! once this is guaranteed, i think it is quite stable. (else it is not) fgmadr IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkuRScgACgkQkX2Xpv6ydvSHDgCgguRsqrOHxkf6b/7HT8EUO/5F rWMAnRtu1ae3/iel2V5jdvoFm0mt9mut =gc0M -----END PGP SIGNATURE-----
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
hello jack,
with your patch it crash at the very beginning.. and when changing [codec 3( to [codec 0( then it crash when [record 1( is send the 2nd time to the 2nd pix_record
maybe is it specific to ubuntu and I have to send additionnal messages to pix_video or pix_record ?
best, stéfan
2010/3/5 Jack jack@rybn.org
Hello Stéfan,
This patch should work. ++
Jack
Le vendredi 05 mars 2010 à 19:39 +0100, stéfan piat a écrit :
here is an example patch...
thx. stéfan
2010/3/5 IOhannes m zmölnig zmoelnig@iem.at -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
stéfan piat wrote: > hi! > > I will record a video stream using two pix_record : > when one is closing the .mov files the other begin to record a new one and > so on... > > is it possible to do that with one gemhead ? > cause when I start recording with one then stop recording, then start > recording with the second one, pd crash... > like always it would be nice to have an example patch. [pix_record] is very specific about the userinput: you need to provide everything (codec, filename,...) and in the correct order! once this is guaranteed, i think it is quite stable. (else it is not) fgmadr IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkuRScgACgkQkX2Xpv6ydvSHDgCgguRsqrOHxkf6b/7HT8EUO/5F rWMAnRtu1ae3/iel2V5jdvoFm0mt9mut =gc0M -----END PGP SIGNATURE-----
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
stéfan piat wrote:
hello jack,
with your patch it crash at the very beginning..
it works fine here
and when changing [codec 3( to [codec 0(
though i have to change that as well. in general it's probably a bad idea to select the codec by number, because the numbers are derived from the installed codecs on your system. e.g. '1' can be h.264 on your system and 'png' on my system.
i suggest using the numeric IDs instead: e.g. [codec mjpa( morks fine here. some codecs might be more stable than others (or probably some parameters are missing for those unstable codecs which makes them crash more likely)
then it crash when [record 1( is send the 2nd time to the 2nd pix_record
maybe is it specific to ubuntu and I have to send additionnal messages to pix_video or pix_record ?
the only specificty that should be there is that nobody knows which codecs you have installed...
Le samedi 06 mars 2010 à 12:04 +0100, IOhannes m zmölnig a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
stéfan piat wrote:
hello jack,
with your patch it crash at the very beginning..
it works fine here
Hmm, strange, it works also fine here on Ubuntu 9.10, Pd-ext 0.41.4 and GEM 0.92.2.
and when changing [codec 3( to [codec 0(
though i have to change that as well. in general it's probably a bad idea to select the codec by number, because the numbers are derived from the installed codecs on your system. e.g. '1' can be h.264 on your system and 'png' on my system.
i suggest using the numeric IDs instead: e.g. [codec mjpa( morks fine here.
Ok, here [codec 3( is [codec mjpa( and i have no problem with it. ++
Jack
some codecs might be more stable than others (or probably some parameters are missing for those unstable codecs which makes them crash more likely)
then it crash when [record 1( is send the 2nd time to the 2nd pix_record
maybe is it specific to ubuntu and I have to send additionnal messages to pix_video or pix_record ?
the only specificty that should be there is that nobody knows which codecs you have installed... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkuSNr0ACgkQkX2Xpv6ydvTD6gCgy7miqyi3qVGgRs5DnkwwJY1D uiUAnitBKdq74iEeNVZEjnD4bnW03h7v =zyGG -----END PGP SIGNATURE-----
ok, it works with [codec mjpa(
I was using [codec 0( which is [codec jpeg( here..
thanks! stéfan
2010/3/6 Jack jack@rybn.org
Le samedi 06 mars 2010 à 12:04 +0100, IOhannes m zmölnig a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
stéfan piat wrote:
hello jack,
with your patch it crash at the very beginning..
it works fine here
Hmm, strange, it works also fine here on Ubuntu 9.10, Pd-ext 0.41.4 and GEM 0.92.2.
and when changing [codec 3( to [codec 0(
though i have to change that as well. in general it's probably a bad idea to select the codec by number, because the numbers are derived from the installed codecs on your system. e.g. '1' can be h.264 on your system and 'png' on my system.
i suggest using the numeric IDs instead: e.g. [codec mjpa( morks fine
here. Ok, here [codec 3( is [codec mjpa( and i have no problem with it. ++
Jack
some codecs might be more stable than others (or probably some parameters are missing for those unstable codecs which makes them crash more likely)
then it crash when [record 1( is send the 2nd time to the 2nd
pix_record
maybe is it specific to ubuntu and I have to send additionnal messages
to
pix_video or pix_record ?
the only specificty that should be there is that nobody knows which codecs you have installed... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkuSNr0ACgkQkX2Xpv6ydvTD6gCgy7miqyi3qVGgRs5DnkwwJY1D uiUAnitBKdq74iEeNVZEjnD4bnW03h7v =zyGG -----END PGP SIGNATURE-----