Some more detailed information of what happens:

1 I start Pd Extended
2 I open the patch which uses pix_record
3 send it "codec 5"
4 send it "open filename.mov"
5 send it "record 1"
6 send it a bang at every frame
7 send it "record 0".

(it is always receiving the gemlist)

Result: it only records the first frame (not a black frame, an actual frame).

If I repeat steps 4-7, i records only one frame again (overwriting the file, as expected). If I repeat only steps 5-7, it does nothing, doesn't even touch the file (this may be expected).

If I close the patch (but not Pd), and repeat steps 2-5, it crashes.


This is Pd Extended 0.42.5, gem 0.92.3 compiled sep 22 2010 (comes with pd extended), Ubuntu 10.04


Apart from the crash which I can avoid, is there something I am missing to have it record more than one frame??? Does anybody know of a codec that gives less issues? (there are too many to try them all).

thanks
m.




On 03/12/2011 08:18 PM, Matteo Sisti Sette wrote:
Hi,

Time ago I succesfully used pix_record in Windows by trying different
codecs until I found one that wouldn't make it crash.

Now I'm trying to use it in linux and I managed to create the output
file and it seems it records one black frame, but nothing more. The file
seems to have the correct dimensions in pixels but it never grows to
more than a few Kb.

I use "codec 5" which is ffmpeg mjpeg.

I have:

[gemhead 99]
|
[t b a]
| /
[pix_snap 500 500]
|
[t b a]
| /
[pix_record]

Well I'm simplifying it, because I have a spigot so that the situation
is equivalent to the picture above only after I've sent the "record 1"
message.

I send to pix_record, in this order:
"file output.mov"
"record 1"
... now for every frame I send it a bang (and the gemlist of course)
"record 0"
...now i stop banging it

I've verified that pix_snap is snapping as expected (I've tried putting
a pix texture after it and using the texture on a square).

Any idea?

It prints this message to the console when it receives the "file" message:
encoding as Quicktime (QT7 compatible)

but it doesn't print any message when it gets the "record 1" and "record
0" messages.

thanks
m.


_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to