Hi all

For some reason pix_record only produces 1 frame videos when recording from
the webcam. The mov files produces are however 8M big. VLC cannot open the
recorded video and only displays a small black frame with some solitary
random green pixels. PD is able to open a single frame but no more frames
can be accesed. PD says when loading the video

[pix_film]: loaded file: C:/Users/bgphumee/Desktop/photocall/test02.mov
with 1 frames (160x120) at -1.000000 fps

This happens on windows 10 Enterprise with the latest PD with GEM installed
via Deken. We also tried in another windows machine with similar results.

I made a small test from the PD help to make sure it was not my patch doing
something wrong. I attach it.

I also tried it in Linux and I get some weird results with PD freezing
while recording and not producing any file at all.

is this some bug in GEM or am I making something wrong? I have not used GEM
for three of four years and it might have changed. I searched online but
could not find any references to similar errors.

many thanks

enrike
#N canvas 735 97 527 361 10;
#X declare -lib Gem;
#X obj 26 20 cnv 15 100 60 empty empty empty 20 12 0 14 #bcbcbc #404040 0;
#N canvas 0 0 450 300 gemwin 0;
#X obj 132 136 gemwin;
#X obj 67 89 outlet;
#X obj 67 10 inlet;
#X msg 67 70 set destroy;
#X msg 132 112 create \, 1;
#X msg 198 112 destroy;
#X msg 156 71 set create;
#X obj 67 41 route create;
#X connect 2 0 7 0;
#X connect 3 0 1 0;
#X connect 4 0 0 0;
#X connect 5 0 0 0;
#X connect 6 0 1 0;
#X connect 7 0 3 0;
#X connect 7 0 4 0;
#X connect 7 1 6 0;
#X connect 7 1 5 0;
#X restore 31 59 pd gemwin;
#X msg 31 40 destroy;
#X text 27 19 Create window:;
#X obj 169 208 pix_record;
#X msg 143 173 bang;
#X msg 227 186 auto \$1;
#X obj 227 168 tgl 15 0 empty empty empty 0 -6 0 8 #fcfcfc #000000 #000000 0 1;
#X msg 180 127 file C:/Users/bgphumee/Desktop/photocall/test02.mov;
#X obj 180 84 bng 15 250 50 0 empty empty empty 0 -6 0 8 #fc2828 #000000 #000000;
#N canvas 0 0 450 300 savepanel 0;
#X obj 114 62 inlet;
#X obj 114 254 outlet;
#X obj 114 199 t b a;
#X obj 114 125 savepanel;
#X msg 114 162 set file \$1;
#X connect 0 0 3 0;
#X connect 2 0 1 0;
#X connect 2 1 1 0;
#X connect 3 0 4 0;
#X connect 4 0 2 0;
#X restore 180 103 pd savepanel;
#X msg 283 186 record \$1;
#X obj 283 168 tgl 15 0 empty empty empty 0 -6 0 8 #fcfcfc #000000 #000000 0 1;
#X obj 180 146 t a;
#X floatatom 197 231 3 0 0 0 - - - 0;
#N canvas 6 49 515 369 print 0;
#X obj 102 176 inlet;
#X obj 102 198 s \$0-nfo;
#X obj 102 220 r \$0-nfoprint;
#X obj 102 242 print INFO;
#X text 62 90 actually you can just hook a [print] to the 3rd outlet.;
#X text 64 115 here it's a bit more complicated \, as we want to filter out the messages generated from the [pd PROPERTIES] window.;
#X connect 0 0 1 0;
#X connect 2 0 3 0;
#X restore 226 230 pd print;
#X obj 204 17 declare -lib Gem;
#X obj 34 141 pix_video;
#X obj 34 185 rectangle 4 3, f 15;
#X obj 34 161 pix_texture;
#X obj 97 118 gemhead;
#X msg 24 110 device 0;
#X connect 1 0 2 0;
#X connect 2 0 1 0;
#X connect 4 1 14 0;
#X connect 4 2 15 0;
#X connect 5 0 4 0;
#X connect 6 0 4 0;
#X connect 7 0 6 0;
#X connect 8 0 13 0;
#X connect 9 0 10 0;
#X connect 10 0 8 0;
#X connect 11 0 13 0;
#X connect 12 0 11 0;
#X connect 13 0 4 0;
#X connect 17 0 19 0;
#X connect 18 0 4 0;
#X connect 19 0 18 0;
#X connect 20 0 17 0;
#X connect 21 0 17 0;
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to