aboutsummaryrefslogtreecommitdiff
path: root/packages/noncvs/windows/extra/Gem/pix_film-help.pd
blob: 462d0685d0b6760332c4edb795482a63510ff883 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
#N canvas 76 43 724 565 10;
#X text 452 8 GEM object;
#X obj 9 272 cnv 15 430 280 empty empty empty 20 12 0 14 -233017 -66577
0;
#X text 40 274 Inlets:;
#X text 39 441 Outlets:;
#X obj 9 239 cnv 15 430 30 empty empty empty 20 12 0 14 -195568 -66577
0;
#X text 18 238 Arguments:;
#X obj 8 56 cnv 15 430 180 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 449 57 cnv 15 250 350 empty empty empty 20 12 0 14 -228992 -66577
0;
#X text 453 40 Example:;
#X obj 594 340 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577
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 599 379 pd gemwin;
#X msg 599 360 create;
#X text 595 339 Create window:;
#X obj 451 88 cnv 15 155 250 empty empty empty 20 12 0 14 -24198 -66577
0;
#X obj 451 63 gemhead;
#X text 17 455 Outlet 1: gemlist;
#X text 24 288 Inlet 1: gemlist;
#X obj 451 360 pix_texture;
#X obj 463 93 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X text 505 57 open a supported;
#X text 506 68 movie-clip;
#X obj 476 287 unpack 0 0 0;
#X floatatom 466 310 5 0 0 3 length - -;
#X floatatom 515 310 5 0 0 3 width - -;
#X floatatom 565 310 5 0 0 3 height - -;
#X obj 520 268 bng 15 250 50 0 empty empty end_reached 20 7 0 10 -262144
-1 -1;
#X floatatom 502 233 5 0 10000 1 frame# - -;
#X text 71 31 Class: pix object (pix source);
#X text 29 57 Description: load in a movie-file;
#X obj 463 122 openpanel;
#X msg 463 142 open \$1;
#X obj 451 382 rectangle 4 3;
#X text 50 12 Synopsis: [pix_film];
#X text 15 78 [pix_film] loads in a preproducecd digital-video to be
used aas a texture \, bitblit or something else.;
#X obj 451 251 pix_film;
#X text 64 249 symbol: file to load initially;
#X text 24 303 Inlet 1: message: open <filename> [RGBA|YUV|Grey]: opens
the movie <filename> and decodes it into the specified color-space.
;
#X text 24 346 Inlet 1: message: colorspace "RGBA|YUV|Grey": decodes
the current film into the specified colorspace.;
#X text 24 375 Inlet 1: message : auto 1|0 : starts/stops automatic
playback.;
#X text 22 407 Inlet 2: float: <frame#> changes the frame to be decoded
on rendering.;
#X text 17 524 Outlet 3: bang: indicates that the last frame has been
reached. (or: an illegal frame would have been decoded);
#X msg 469 185 auto \$1;
#X obj 469 167 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
1;
#X msg 480 209 colorspace Grey;
#X text 13 104 You can open a specified film via the "open" message
\, which takes an optional argument for the colorspace \, to which
the movie should be decoded (RGBA \, YUV or Grey).;
#X text 17 471 Outlet 2: list: <length> <width> <height>: gets the
dimensions (in fps and pixels) of a film when it gets loaded. if length
is not available (video-streams) -1 is returned.;
#X text 14 144 Normally \, you will only get one specified (via the
second inlet) frame of the film \, To play back a complete film \,
you have to change the frame accordingly \, OR use the "auto" message
\, to automatically proceed to the next frame each rendering-cycle.
In auto-mode \, the film is NOT looped. Instead you can reset the current-frame
to zero when the end of the film is reached.;
#N canvas 67 224 450 432 :: 0;
#X text 24 16 the format [pix_film] is able to decode depends on the
system you are running Gem.;
#X text 30 101 Win32: [pix_film] should be able to decode AVIs (all
installed codecs). If you are lucky and your version of Gem is compiled
with quicktime-support and you have quicktime installed on your machine
\, you might be able to play back quicktime MOVs.;
#X text 31 63 macOS-X: [pix_film] should be ablte to decode quicktime
MOVs.;
#X text 32 175 linux: that's a bit tricky. Since there is no "native"
video-format for linux it heavily depends on what you have installed
on your machine and how Gem has been compiled. If your system supports
it \, [pix_film] is able to use quicktime4linux/libquicktime to decode
quicktime-MOVs \, libmpeg1/libmpeg3 to decode MPEG2-videos and libaviplay
which opens a wide range of supported formats (with the possibility
to install additional codec-plugins) \, from AVI via MPEG2 to DivX
\, although i have found MPEG support rather unstable. libaviplay does
not support quicktime decoding. There is also some ruddy ffmpeg support
(apart from the one supplied by libaviplay).;
#X text 36 351 although one wouldn't believe it \, but i have found
that under linux i could play most formats...;
#X restore 485 464 pd :: FORMATS;
#X connect 10 0 11 0;
#X connect 11 0 10 0;
#X connect 14 0 34 0;
#X connect 17 0 31 0;
#X connect 18 0 29 0;
#X connect 21 0 22 0;
#X connect 21 1 23 0;
#X connect 21 2 24 0;
#X connect 26 0 34 1;
#X connect 29 0 30 0;
#X connect 30 0 34 0;
#X connect 34 0 17 0;
#X connect 34 1 21 0;
#X connect 34 2 25 0;
#X connect 41 0 34 0;
#X connect 42 0 41 0;
#X connect 43 0 34 0;