hala,
here attached a patch for streaming easily using the http://giss.tv infrastructure..
it will work as is on linux and on OSX, the camera object pdp_v4l should be replaced by pdp_ieee1394, i guess it's the only thing to change, ( ad, will you help testing ? ).
you'll know more about all the GISS project at the pd convention..
saludos, sevy
#N canvas 10 10 996 688 10; #N canvas 0 0 999 654 streaming 0; #X text 737 451 ==== VIDEOS SETTINGS ========; #X text 736 552 ==== AUDIO SETTINGS ========; #X msg 738 500 videoquality $1; #X msg 740 524 videobitrate $1; #X msg 738 573 audioquality $1; #X msg 739 601 audiobitrate $1; #X msg 277 386 disconnect; #X floatatom 41 530 5 0 0 0 - - -; #X text 83 531 Streaming status; #X floatatom 68 551 13 0 0 0 - - -; #X text 177 551 Number of video frames emitted; #X floatatom 96 571 7 0 0 0 - - -; #X text 147 571 Number of video frames dropped; #X floatatom 124 594 5 0 0 0 - - -; #X text 168 593 Emission framerate; #X msg 738 474 framerate $1; #X floatatom 145 617 7 0 0 0 - - -; #X text 201 618 Audio stream time; #X floatatom 165 639 7 0 0 0 - - -; #X text 220 639 Video stream time; #X obj 518 622 block~ 512; #X obj 142 366 inlet~; #X obj 216 366 inlet~; #X obj 159 490 pdp_theonice~; #X obj 686 321 / 10; #X obj 767 265 loadbang; #X floatatom 691 216 5 0 0 0 - - -; #X msg 693 260 200; #X obj 55 236 metro 200; #X obj 66 209 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 ; #X obj 62 266 pdp_reg; #X msg 41 371 ; pd dsp 1; #X obj 40 620 select 1; #X obj 54 754 f; #X msg 28 725 bang; #X floatatom 85 698 3 0 29 0 - - -; #X msg 71 657 13; #X msg 38 657 16; #X obj 126 688 s frames; #X obj 145 714 s audiotime; #X obj 166 738 s videotime; #X obj 288 8 r connect; #X obj 277 365 r disconnect; #X obj 272 672 -; #X obj 273 697 abs; #X floatatom 275 720 5 0 0 0 - - -; #X obj 275 743 moses 30; #X floatatom 328 769 5 0 0 0 - - -; #X floatatom 275 769 5 0 0 0 - - -; #X obj 388 800 t b; #X obj 420 800 s disconnect; #X obj 477 822 s connect; #X obj 70 443 pdp_affine; #X floatatom 120 417 5 0 0 0 - stream-lum -; #X floatatom 165 418 5 0 0 0 - - -; #X msg 124 394 1; #X obj 265 463 s audio; #X obj 13 581 select 0; #X obj 421 821 del 500; #X obj 237 223 pdp_scale 160 128; #X obj 347 63 r server-name; #X obj 318 89 symbol; #X symbolatom 318 112 30 0 0 0 - - -; #X obj 318 65 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X symbolatom 468 87 30 0 0 0 - - -; #X obj 468 40 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 497 38 r mount-point; #X obj 601 16 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 630 14 r port-number; #X obj 318 30 t b b b; #X obj 289 29 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X msg 322 166 connect $1 $2 $3; #X msg 45 80 passwd $1; #X obj 45 56 symbol; #X symbolatom 96 59 10 0 0 0 - - -; #X obj 44 24 r password; #X obj 320 140 pack s s f; #X msg 51 809 ; bstatus color $1 $2 $3; #X msg -1 685 ; bstatus 1; #X msg 84 741 ; bstatus 0; #X obj 54 782 pack 0 0 0; #X obj 264 415 env~; #X obj 265 441 - 80; #X obj 63 343 loadbang; #X obj 736 120 loadbang; #X obj 737 171 s iserver-name; #X obj 737 196 s server-name; #X obj 895 119 loadbang; #X obj 896 170 s iport-number; #X obj 896 195 s port-number; #X msg 735 144 symbol stream.giss.tv; #X msg 894 143 8000; #X obj 468 64 symbol; #X obj 601 40 float; #X floatatom 602 62 5 0 0 0 - - -; #X obj 232 145 r pdp_pckt; #X obj 40 144 r connect; #X msg 41 174 1; #X obj 112 143 r disconnect; #X msg 113 173 0; #X obj 347 439 pdp_spigot; #X obj 346 463 pdp_glx; #X obj 425 422 tgl 15 0 empty stream-preview empty 0 -6 0 8 -262144 -1 -1 1 1; #X msg 798 350 2; #N canvas 135 92 534 518 metadata 0; #X obj 66 445 outlet; #X obj 292 375 r stream-genre; #X msg 288 417 genre $1; #X obj 347 45 loadbang; #X msg 360 395 symbol free_media; #X obj 366 422 s istream-genre; #X msg 256 306 symbol giss_stream; #X obj 257 328 s istream-description; #X obj 201 284 r stream-description; #X msg 183 349 description $1; #X obj 184 191 r stream-url; #X msg 239 213 symbol http://giss.tv; #X obj 240 235 s istream-url; #X msg 174 256 url $1; #X msg 195 120 symbol various; #X msg 110 167 artist $1; #X obj 196 142 s istream-artist; #X obj 140 98 r stream-artist; #X obj 142 46 s istream-title; #X msg 142 24 symbol pd_stream; #X obj 87 3 r stream-title; #X msg 49 75 title $1; #X connect 1 0 2 0; #X connect 2 0 0 0; #X connect 3 0 4 0; #X connect 3 0 6 0; #X connect 3 0 11 0; #X connect 3 0 14 0; #X connect 3 0 19 0; #X connect 4 0 5 0; #X connect 6 0 7 0; #X connect 8 0 9 0; #X connect 9 0 0 0; #X connect 10 0 13 0; #X connect 11 0 12 0; #X connect 13 0 0 0; #X connect 14 0 16 0; #X connect 15 0 0 0; #X connect 17 0 15 0; #X connect 19 0 18 0; #X connect 20 0 21 0; #X connect 21 0 0 0; #X restore 764 625 pd metadata; #X obj 388 268 f; #X obj 391 210 r stream-width; #X msg 619 147 320; #X obj 619 170 s istream-width; #X obj 619 122 loadbang; #X obj 392 238 t b b f; #X obj 450 268 f; #X obj 414 300 pack f f; #X msg 415 324 dim $1 $2; #X obj 502 239 t b b f; #X obj 501 212 r stream-height; #X obj 495 122 loadbang; #X msg 495 147 240; #X obj 495 170 s istream-height; #X obj 422 352 print; #X msg 817 296 7; #X msg 845 408 64; #X msg 685 298 5; #X msg 703 382 32; #X obj 835 474 r stream-framerate; #X obj 817 322 s istream-framerate; #X obj 854 499 r stream-vqual; #X obj 795 378 s istream-vqual; #X obj 843 434 s istream-vbitrate; #X obj 859 523 r stream-vbitrate; #X obj 857 576 r stream-aqual; #X obj 677 349 s istream-aqual; #X obj 699 406 s istream-abitrate; #X obj 859 600 r stream-abitrate; #X obj 433 454 route 0; #X msg 416 484 close; #X connect 2 0 23 0; #X connect 3 0 23 0; #X connect 4 0 23 0; #X connect 5 0 23 0; #X connect 6 0 23 0; #X connect 7 0 32 0; #X connect 7 0 57 0; #X connect 9 0 38 0; #X connect 15 0 23 0; #X connect 16 0 39 0; #X connect 16 0 43 1; #X connect 18 0 40 0; #X connect 18 0 43 0; #X connect 21 0 23 0; #X connect 21 0 81 0; #X connect 22 0 23 1; #X connect 23 0 7 0; #X connect 23 1 9 0; #X connect 23 2 11 0; #X connect 23 3 13 0; #X connect 23 4 16 0; #X connect 23 5 18 0; #X connect 24 0 131 0; #X connect 25 0 120 0; #X connect 25 0 122 0; #X connect 25 0 123 0; #X connect 25 0 103 0; #X connect 25 0 27 0; #X connect 25 0 121 0; #X connect 27 0 26 0; #X connect 28 0 30 0; #X connect 29 0 28 0; #X connect 30 0 52 0; #X connect 32 0 37 0; #X connect 32 0 78 0; #X connect 32 1 36 0; #X connect 32 1 79 0; #X connect 33 0 80 0; #X connect 34 0 33 0; #X connect 35 0 33 1; #X connect 35 0 34 0; #X connect 36 0 35 0; #X connect 37 0 35 0; #X connect 41 0 70 0; #X connect 42 0 6 0; #X connect 43 0 44 0; #X connect 44 0 45 0; #X connect 45 0 46 0; #X connect 46 0 48 0; #X connect 46 1 47 0; #X connect 47 0 49 0; #X connect 49 0 50 0; #X connect 49 0 58 0; #X connect 52 0 23 0; #X connect 52 0 100 0; #X connect 53 0 52 1; #X connect 54 0 52 2; #X connect 55 0 52 1; #X connect 58 0 51 0; #X connect 59 0 30 1; #X connect 60 0 61 1; #X connect 61 0 62 0; #X connect 62 0 76 0; #X connect 63 0 61 0; #X connect 64 0 76 1; #X connect 65 0 92 0; #X connect 66 0 92 1; #X connect 67 0 93 0; #X connect 68 0 93 1; #X connect 69 0 63 0; #X connect 69 1 65 0; #X connect 69 2 67 0; #X connect 70 0 69 0; #X connect 71 0 23 0; #X connect 72 0 23 0; #X connect 73 0 72 0; #X connect 75 0 73 0; #X connect 75 0 74 0; #X connect 76 0 71 0; #X connect 80 0 77 0; #X connect 81 0 82 0; #X connect 82 0 56 0; #X connect 83 0 31 0; #X connect 83 0 55 0; #X connect 84 0 90 0; #X connect 87 0 91 0; #X connect 90 0 85 0; #X connect 90 0 86 0; #X connect 91 0 88 0; #X connect 91 0 89 0; #X connect 92 0 64 0; #X connect 93 0 94 0; #X connect 94 0 76 2; #X connect 95 0 59 0; #X connect 96 0 97 0; #X connect 97 0 29 0; #X connect 98 0 99 0; #X connect 99 0 29 0; #X connect 100 1 101 0; #X connect 102 0 100 1; #X connect 102 0 134 0; #X connect 103 0 127 0; #X connect 105 0 112 0; #X connect 106 0 110 0; #X connect 107 0 108 0; #X connect 109 0 107 0; #X connect 110 0 105 0; #X connect 110 1 111 0; #X connect 110 2 105 1; #X connect 111 0 112 1; #X connect 112 0 113 0; #X connect 113 0 59 0; #X connect 113 0 119 0; #X connect 114 0 105 0; #X connect 114 1 111 0; #X connect 114 2 111 1; #X connect 115 0 114 0; #X connect 116 0 117 0; #X connect 117 0 118 0; #X connect 120 0 125 0; #X connect 121 0 128 0; #X connect 122 0 24 0; #X connect 123 0 132 0; #X connect 124 0 15 0; #X connect 126 0 2 0; #X connect 129 0 3 0; #X connect 130 0 4 0; #X connect 133 0 5 0; #X connect 134 0 135 0; #X connect 135 0 101 0; #X restore 815 576 pd streaming; #X obj 865 519 adc~; #X obj 158 497 cnv 15 250 60 empty empty empty 10 5 1 10 -128992 -66577 0; #X floatatom 166 505 8 0 0 0 - frames -; #X floatatom 166 535 8 0 0 0 - videotime -; #X floatatom 166 520 8 0 0 0 - audiotime -; #X text 223 506 Frames emitted; #X text 224 521 Audio stream time; #X text 224 537 Video stream time; #X obj 504 495 cnv 15 200 120 empty empty empty 20 12 0 14 -62784 -66577 0; #X text 569 530 start; #X text 578 569 stop; #X obj 630 525 bng 25 250 50 0 connect empty empty 0 -6 0 8 -24198 -1 -1; #X obj 632 565 bng 25 250 50 0 disconnect empty empty 0 -6 0 8 -258699 -1 -1; #X obj 418 499 vu 15 120 audio empty -1 -8 0 8 -66577 -1 1 0; #X obj 852 598 dac~; #X obj 47 306 cnv 15 300 120 empty empty empty 20 12 0 14 -236851 -66577 0; #X text 50 307 Server configuration; #X symbolatom 130 336 30 0 0 0 server: iserver-name server-name; #X symbolatom 130 378 30 0 0 0 mountpoint: - mount-point; #X symbolatom 129 398 30 0 0 0 password: - password; #X obj 360 508 tgl 40 0 empty bstatus empty 0 -6 0 8 -24198 -262144 -262144 1 1; #X obj 50 497 cnv 15 100 60 empty empty empty 20 12 0 14 -99865 -66577 0; #X text 72 500 G.I.S.S.; #X text 68 517 streaming; #X text 80 536 patch; #N canvas 0 0 996 665 camera 0; #X obj 505 310 metro 70; #X obj 547 262 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; #X msg 505 263 stop; #X obj 506 339 pdp_v4l; #X obj 207 -10 loadbang; #X msg 127 51 1; #X msg 41 124 channel $1; #X msg 200 266 open $1; #X obj 200 241 r cam-device; #X obj 276 218 s icam-device; #X msg 276 191 symbol /dev/video0; #X obj 80 421 pdp_spigot; #X obj 66 375 r cam-preview; #X obj 80 447 pdp_glx; #X msg 201 162 norm $1; #X msg 274 87 symbol PAL; #X obj 274 113 s icam-norm; #X obj 201 133 r cam-norm; #X obj 42 98 r cam-channel; #X obj 127 76 s icam-channel; #X obj 173 402 s icam-preview; #X obj 139 398 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1; #X msg 172 376 float 1; #X obj 537 214 r cam-start; #X obj 537 238 route 1; #X obj 507 370 s pdp_pckt; #X obj 184 432 route 0; #X msg 187 458 close; #X connect 0 0 3 0; #X connect 1 0 0 0; #X connect 2 0 0 0; #X connect 3 0 11 0; #X connect 3 0 25 0; #X connect 4 0 5 0; #X connect 4 0 10 0; #X connect 4 0 15 0; #X connect 4 0 22 0; #X connect 5 0 19 0; #X connect 6 0 3 0; #X connect 7 0 3 0; #X connect 8 0 7 0; #X connect 10 0 9 0; #X connect 11 1 13 0; #X connect 12 0 21 0; #X connect 14 0 3 0; #X connect 15 0 16 0; #X connect 17 0 14 0; #X connect 18 0 6 0; #X connect 21 0 11 1; #X connect 21 0 26 0; #X connect 22 0 20 0; #X connect 23 0 24 0; #X connect 24 0 1 0; #X connect 24 1 2 0; #X connect 26 0 27 0; #X connect 27 0 13 0; #X restore 813 161 pd camera; #X obj 670 32 cnv 15 300 120 empty empty empty 20 12 0 14 -236851 -66577 0; #X symbolatom 749 54 30 0 0 0 device: icam-device cam-device; #X symbolatom 751 93 30 0 0 0 norm: icam-norm cam-norm; #X floatatom 750 74 5 0 0 0 channel: icam-channel cam-channel; #X obj 750 111 tgl 15 0 cam-preview icam-preview preview: -65 8 0 12 -250685 -1 -1 1 1; #X obj 750 131 tgl 15 1 cam-start empty start!: -65 8 0 12 -24198 -1 -1 1 1; #X floatatom 129 356 5 0 0 0 port: iport-number port-number; #N canvas 0 0 996 665 quicktime 0; #X obj 111 134 playlist mov 250 100 {Helvetica 10 bold} #457782 yellow black red; #X obj 197 497 pdp_yqt; #X msg 189 462 open $1; #X msg 107 478 loop $1; #X obj 167 240 tgl 15 0 empty empty loop: -35 8 0 12 -262144 -1 -1 1 1; #X obj 194 530 s pdp_pckt; #X obj 286 564 s~ lchan; #X obj 320 532 s~ rchan; #X obj 87 564 loadbang; #X msg 67 499 1; #X floatatom 309 332 5 0 0 0 - - -; #X obj 171 260 hsl 160 15 20 300 0 0 empty empty speed: -45 6 0 12 -262144 -1 -1 2839 1; #X obj 269 457 metro 70; #X obj 169 281 tgl 15 0 empty empty preview: -60 6 0 12 -260818 -1 -1 1 1; #X obj 449 292 pdp_spigot; #X obj 449 323 pdp_glx; #X obj 169 303 tgl 15 0 empty empty start!: -50 6 0 12 -24198 -1 -1 0 1; #X msg 251 388 70; #X obj 453 262 route 0; #X msg 521 269 close; #X connect 0 0 2 0; #X connect 1 0 5 0; #X connect 1 0 14 0; #X connect 1 4 6 0; #X connect 1 5 7 0; #X connect 2 0 1 0; #X connect 3 0 1 0; #X connect 4 0 3 0; #X connect 8 0 9 0; #X connect 8 0 17 0; #X connect 9 0 4 0; #X connect 9 0 13 0; #X connect 10 0 12 1; #X connect 11 0 10 0; #X connect 12 0 1 0; #X connect 13 0 14 1; #X connect 13 0 18 0; #X connect 14 1 15 0; #X connect 16 0 12 0; #X connect 17 0 11 0; #X connect 18 0 19 0; #X connect 19 0 15 0; #X coords 0 -1 1 1 300 240 1 100 100; #X restore 37 32 pd quicktime files; #X obj 811 543 r~ lchan; #X obj 878 543 r~ rchan; #X text 673 33 Camera configuration ( video 4 linux ); #X obj 794 519 r~ llchan; #X obj 903 518 r~ rrchan; #N canvas 0 0 996 665 theora 0; #X obj 111 134 playlist ogg 250 100 {Helvetica 10 bold} #457782 yellow black red; #X msg 189 462 open $1; #X obj 194 530 s pdp_pckt; #X obj 87 564 loadbang; #X msg 67 499 1; #X floatatom 309 332 5 0 0 0 - - -; #X obj 173 244 hsl 160 15 20 300 0 0 empty empty speed: -45 6 0 12 -262144 -1 -1 1136 1; #X obj 171 265 tgl 15 0 empty empty preview: -60 6 0 12 -260818 -1 -1 1 1; #X obj 345 413 pdp_spigot; #X obj 345 444 pdp_glx; #X obj 171 287 tgl 15 0 empty empty start!: -50 6 0 12 -24198 -1 -1 0 1; #X obj 197 497 pdp_theorin~; #X obj 269 457 metro 40; #X msg 251 388 40; #X msg 183 576 autoplay 0; #X obj 319 532 s~ rrchan; #X obj 286 564 s~ llchan; #X obj 428 394 route 0; #X msg 434 421 close; #X connect 0 0 1 0; #X connect 1 0 11 0; #X connect 3 0 4 0; #X connect 3 0 13 0; #X connect 3 0 14 0; #X connect 4 0 7 0; #X connect 5 0 12 1; #X connect 6 0 5 0; #X connect 7 0 8 1; #X connect 7 0 17 0; #X connect 8 1 9 0; #X connect 10 0 12 0; #X connect 11 0 2 0; #X connect 11 0 8 0; #X connect 11 1 16 0; #X connect 11 2 15 0; #X connect 12 0 11 0; #X connect 13 0 6 0; #X connect 14 0 11 0; #X connect 17 0 18 0; #X connect 18 0 9 0; #X coords 0 -1 1 1 300 240 1 100 100; #X restore 352 32 pd theora files ( good machine ); #X text 300 8 <<<<<<<<<<<<<< Input files or cameras >>>>>>>>>>>>>>>>> ; #X text 318 281 <<<<<<<<<<<<<< Stream configuration >>>>>>>>>>>>>>>>> ; #X text 344 473 <<<<<<<<<<<<<< Emission >>>>>>>>>>>>>>>>>; #X obj 364 304 cnv 15 300 120 empty empty empty 20 12 0 14 -236851 -66577 0; #X symbolatom 450 323 30 0 0 0 title: istream-title stream-title; #X symbolatom 451 378 30 0 0 0 description: istream-description stream-description ; #X symbolatom 451 398 30 0 0 0 genre: istream-genre stream-genre; #X text 367 305 Meta data ( without spaces ); #X symbolatom 450 340 30 0 0 0 artist: istream-artist stream-artist ; #X symbolatom 450 359 30 0 0 0 url: istream-url stream-url; #X obj 674 305 cnv 15 300 120 empty empty empty 20 12 0 14 -236851 -66577 0; #X floatatom 867 305 5 0 0 0 width: istream-width stream-width; #X floatatom 868 323 5 0 0 0 height: istream-height stream-height; #X floatatom 871 341 5 0 0 0 Framerate_(1..100): istream-framerate stream-framerate; #X floatatom 868 358 5 0 0 0 Video_quality_(0..63): istream-vqual stream-vqual ; #X floatatom 869 375 5 0 0 0 Video_bitrate_(45..2000): istream-vbitrate stream-vbitrate; #X floatatom 870 392 5 0 0 0 Audio_quality_(-0.1..1.0): istream-aqual stream-aqual; #X floatatom 871 410 5 0 0 0 Audio_bitrate_(8..2000): istream-abitrate stream-abitrate; #X text 677 306 Stream quality :; #X text 569 503 EMISSION; #X obj 771 504 cnv 15 200 120 empty empty empty 20 12 0 14 -261689 -66577 0; #X text 800 520 G.I.S.S.; #X obj 51 562 cnv 15 360 60 empty empty empty 20 12 0 14 -236851 -66577 0; #X obj 249 563 tgl 15 0 stream-preview empty preview: -65 8 0 12 -250685 -1 -1 1 1; #X text 61 564 Live controls ::; #X obj 143 586 hsl 128 15 0 5 0 0 stream-lum empty Luminosity -80 6 0 12 -44926 -1 -1 5600 1; #X text 912 536 is not; #X text 915 574 T. V.; #X connect 1 0 0 0; #X connect 1 0 15 0; #X connect 1 1 0 1; #X connect 1 1 15 1; #X connect 35 0 0 0; #X connect 35 0 15 0; #X connect 36 0 0 1; #X connect 36 0 15 1; #X connect 38 0 0 0; #X connect 39 0 0 1; #X connect 39 0 15 1; #X coords 0 0 1 1 85 60 0;
Hey Yves,
Do you think it would be possible to make an object that has the same
name on both platforms, but one is based on pdp_ieee1394 and the
other on pdp_v4l? That would make for cross-platform pidip patches,
which would be quite nice.
.hc
On Jul 11, 2007, at 11:57 PM, Yves Degoyon wrote:
hala,
here attached a patch for streaming easily using the http://giss.tv infrastructure..
it will work as is on linux and on OSX, the camera object pdp_v4l should be replaced by pdp_ieee1394, i guess it's the only thing to change, ( ad, will you help testing ? ).
you'll know more about all the GISS project at the pd convention..
saludos, sevy #N canvas 10 10 996 688 10; #N canvas 0 0 999 654 streaming 0; #X text 737 451 ==== VIDEOS SETTINGS ========; #X text 736 552 ==== AUDIO SETTINGS ========; #X msg 738 500 videoquality $1; #X msg 740 524 videobitrate $1; #X msg 738 573 audioquality $1; #X msg 739 601 audiobitrate $1; #X msg 277 386 disconnect; #X floatatom 41 530 5 0 0 0 - - -; #X text 83 531 Streaming status; #X floatatom 68 551 13 0 0 0 - - -; #X text 177 551 Number of video frames emitted; #X floatatom 96 571 7 0 0 0 - - -; #X text 147 571 Number of video frames dropped; #X floatatom 124 594 5 0 0 0 - - -; #X text 168 593 Emission framerate; #X msg 738 474 framerate $1; #X floatatom 145 617 7 0 0 0 - - -; #X text 201 618 Audio stream time; #X floatatom 165 639 7 0 0 0 - - -; #X text 220 639 Video stream time; #X obj 518 622 block~ 512; #X obj 142 366 inlet~; #X obj 216 366 inlet~; #X obj 159 490 pdp_theonice~; #X obj 686 321 / 10; #X obj 767 265 loadbang; #X floatatom 691 216 5 0 0 0 - - -; #X msg 693 260 200; #X obj 55 236 metro 200; #X obj 66 209 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 ; #X obj 62 266 pdp_reg; #X msg 41 371 ; pd dsp 1; #X obj 40 620 select 1; #X obj 54 754 f; #X msg 28 725 bang; #X floatatom 85 698 3 0 29 0 - - -; #X msg 71 657 13; #X msg 38 657 16; #X obj 126 688 s frames; #X obj 145 714 s audiotime; #X obj 166 738 s videotime; #X obj 288 8 r connect; #X obj 277 365 r disconnect; #X obj 272 672 -; #X obj 273 697 abs; #X floatatom 275 720 5 0 0 0 - - -; #X obj 275 743 moses 30; #X floatatom 328 769 5 0 0 0 - - -; #X floatatom 275 769 5 0 0 0 - - -; #X obj 388 800 t b; #X obj 420 800 s disconnect; #X obj 477 822 s connect; #X obj 70 443 pdp_affine; #X floatatom 120 417 5 0 0 0 - stream-lum -; #X floatatom 165 418 5 0 0 0 - - -; #X msg 124 394 1; #X obj 265 463 s audio; #X obj 13 581 select 0; #X obj 421 821 del 500; #X obj 237 223 pdp_scale 160 128; #X obj 347 63 r server-name; #X obj 318 89 symbol; #X symbolatom 318 112 30 0 0 0 - - -; #X obj 318 65 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X symbolatom 468 87 30 0 0 0 - - -; #X obj 468 40 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 497 38 r mount-point; #X obj 601 16 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 630 14 r port-number; #X obj 318 30 t b b b; #X obj 289 29 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X msg 322 166 connect $1 $2 $3; #X msg 45 80 passwd $1; #X obj 45 56 symbol; #X symbolatom 96 59 10 0 0 0 - - -; #X obj 44 24 r password; #X obj 320 140 pack s s f; #X msg 51 809 ; bstatus color $1 $2 $3; #X msg -1 685 ; bstatus 1; #X msg 84 741 ; bstatus 0; #X obj 54 782 pack 0 0 0; #X obj 264 415 env~; #X obj 265 441 - 80; #X obj 63 343 loadbang; #X obj 736 120 loadbang; #X obj 737 171 s iserver-name; #X obj 737 196 s server-name; #X obj 895 119 loadbang; #X obj 896 170 s iport-number; #X obj 896 195 s port-number; #X msg 735 144 symbol stream.giss.tv; #X msg 894 143 8000; #X obj 468 64 symbol; #X obj 601 40 float; #X floatatom 602 62 5 0 0 0 - - -; #X obj 232 145 r pdp_pckt; #X obj 40 144 r connect; #X msg 41 174 1; #X obj 112 143 r disconnect; #X msg 113 173 0; #X obj 347 439 pdp_spigot; #X obj 346 463 pdp_glx; #X obj 425 422 tgl 15 0 empty stream-preview empty 0 -6 0 8 -262144 -1 -1 1 1; #X msg 798 350 2; #N canvas 135 92 534 518 metadata 0; #X obj 66 445 outlet; #X obj 292 375 r stream-genre; #X msg 288 417 genre $1; #X obj 347 45 loadbang; #X msg 360 395 symbol free_media; #X obj 366 422 s istream-genre; #X msg 256 306 symbol giss_stream; #X obj 257 328 s istream-description; #X obj 201 284 r stream-description; #X msg 183 349 description $1; #X obj 184 191 r stream-url; #X msg 239 213 symbol http://giss.tv; #X obj 240 235 s istream-url; #X msg 174 256 url $1; #X msg 195 120 symbol various; #X msg 110 167 artist $1; #X obj 196 142 s istream-artist; #X obj 140 98 r stream-artist; #X obj 142 46 s istream-title; #X msg 142 24 symbol pd_stream; #X obj 87 3 r stream-title; #X msg 49 75 title $1; #X connect 1 0 2 0; #X connect 2 0 0 0; #X connect 3 0 4 0; #X connect 3 0 6 0; #X connect 3 0 11 0; #X connect 3 0 14 0; #X connect 3 0 19 0; #X connect 4 0 5 0; #X connect 6 0 7 0; #X connect 8 0 9 0; #X connect 9 0 0 0; #X connect 10 0 13 0; #X connect 11 0 12 0; #X connect 13 0 0 0; #X connect 14 0 16 0; #X connect 15 0 0 0; #X connect 17 0 15 0; #X connect 19 0 18 0; #X connect 20 0 21 0; #X connect 21 0 0 0; #X restore 764 625 pd metadata; #X obj 388 268 f; #X obj 391 210 r stream-width; #X msg 619 147 320; #X obj 619 170 s istream-width; #X obj 619 122 loadbang; #X obj 392 238 t b b f; #X obj 450 268 f; #X obj 414 300 pack f f; #X msg 415 324 dim $1 $2; #X obj 502 239 t b b f; #X obj 501 212 r stream-height; #X obj 495 122 loadbang; #X msg 495 147 240; #X obj 495 170 s istream-height; #X obj 422 352 print; #X msg 817 296 7; #X msg 845 408 64; #X msg 685 298 5; #X msg 703 382 32; #X obj 835 474 r stream-framerate; #X obj 817 322 s istream-framerate; #X obj 854 499 r stream-vqual; #X obj 795 378 s istream-vqual; #X obj 843 434 s istream-vbitrate; #X obj 859 523 r stream-vbitrate; #X obj 857 576 r stream-aqual; #X obj 677 349 s istream-aqual; #X obj 699 406 s istream-abitrate; #X obj 859 600 r stream-abitrate; #X obj 433 454 route 0; #X msg 416 484 close; #X connect 2 0 23 0; #X connect 3 0 23 0; #X connect 4 0 23 0; #X connect 5 0 23 0; #X connect 6 0 23 0; #X connect 7 0 32 0; #X connect 7 0 57 0; #X connect 9 0 38 0; #X connect 15 0 23 0; #X connect 16 0 39 0; #X connect 16 0 43 1; #X connect 18 0 40 0; #X connect 18 0 43 0; #X connect 21 0 23 0; #X connect 21 0 81 0; #X connect 22 0 23 1; #X connect 23 0 7 0; #X connect 23 1 9 0; #X connect 23 2 11 0; #X connect 23 3 13 0; #X connect 23 4 16 0; #X connect 23 5 18 0; #X connect 24 0 131 0; #X connect 25 0 120 0; #X connect 25 0 122 0; #X connect 25 0 123 0; #X connect 25 0 103 0; #X connect 25 0 27 0; #X connect 25 0 121 0; #X connect 27 0 26 0; #X connect 28 0 30 0; #X connect 29 0 28 0; #X connect 30 0 52 0; #X connect 32 0 37 0; #X connect 32 0 78 0; #X connect 32 1 36 0; #X connect 32 1 79 0; #X connect 33 0 80 0; #X connect 34 0 33 0; #X connect 35 0 33 1; #X connect 35 0 34 0; #X connect 36 0 35 0; #X connect 37 0 35 0; #X connect 41 0 70 0; #X connect 42 0 6 0; #X connect 43 0 44 0; #X connect 44 0 45 0; #X connect 45 0 46 0; #X connect 46 0 48 0; #X connect 46 1 47 0; #X connect 47 0 49 0; #X connect 49 0 50 0; #X connect 49 0 58 0; #X connect 52 0 23 0; #X connect 52 0 100 0; #X connect 53 0 52 1; #X connect 54 0 52 2; #X connect 55 0 52 1; #X connect 58 0 51 0; #X connect 59 0 30 1; #X connect 60 0 61 1; #X connect 61 0 62 0; #X connect 62 0 76 0; #X connect 63 0 61 0; #X connect 64 0 76 1; #X connect 65 0 92 0; #X connect 66 0 92 1; #X connect 67 0 93 0; #X connect 68 0 93 1; #X connect 69 0 63 0; #X connect 69 1 65 0; #X connect 69 2 67 0; #X connect 70 0 69 0; #X connect 71 0 23 0; #X connect 72 0 23 0; #X connect 73 0 72 0; #X connect 75 0 73 0; #X connect 75 0 74 0; #X connect 76 0 71 0; #X connect 80 0 77 0; #X connect 81 0 82 0; #X connect 82 0 56 0; #X connect 83 0 31 0; #X connect 83 0 55 0; #X connect 84 0 90 0; #X connect 87 0 91 0; #X connect 90 0 85 0; #X connect 90 0 86 0; #X connect 91 0 88 0; #X connect 91 0 89 0; #X connect 92 0 64 0; #X connect 93 0 94 0; #X connect 94 0 76 2; #X connect 95 0 59 0; #X connect 96 0 97 0; #X connect 97 0 29 0; #X connect 98 0 99 0; #X connect 99 0 29 0; #X connect 100 1 101 0; #X connect 102 0 100 1; #X connect 102 0 134 0; #X connect 103 0 127 0; #X connect 105 0 112 0; #X connect 106 0 110 0; #X connect 107 0 108 0; #X connect 109 0 107 0; #X connect 110 0 105 0; #X connect 110 1 111 0; #X connect 110 2 105 1; #X connect 111 0 112 1; #X connect 112 0 113 0; #X connect 113 0 59 0; #X connect 113 0 119 0; #X connect 114 0 105 0; #X connect 114 1 111 0; #X connect 114 2 111 1; #X connect 115 0 114 0; #X connect 116 0 117 0; #X connect 117 0 118 0; #X connect 120 0 125 0; #X connect 121 0 128 0; #X connect 122 0 24 0; #X connect 123 0 132 0; #X connect 124 0 15 0; #X connect 126 0 2 0; #X connect 129 0 3 0; #X connect 130 0 4 0; #X connect 133 0 5 0; #X connect 134 0 135 0; #X connect 135 0 101 0; #X restore 815 576 pd streaming; #X obj 865 519 adc~; #X obj 158 497 cnv 15 250 60 empty empty empty 10 5 1 10 -128992
-66577 0; #X floatatom 166 505 8 0 0 0 - frames -; #X floatatom 166 535 8 0 0 0 - videotime -; #X floatatom 166 520 8 0 0 0 - audiotime -; #X text 223 506 Frames emitted; #X text 224 521 Audio stream time; #X text 224 537 Video stream time; #X obj 504 495 cnv 15 200 120 empty empty empty 20 12 0 14 -62784
-66577 0; #X text 569 530 start; #X text 578 569 stop; #X obj 630 525 bng 25 250 50 0 connect empty empty 0 -6 0 8 -24198 -1 -1; #X obj 632 565 bng 25 250 50 0 disconnect empty empty 0 -6 0 8 -258699 -1 -1; #X obj 418 499 vu 15 120 audio empty -1 -8 0 8 -66577 -1 1 0; #X obj 852 598 dac~; #X obj 47 306 cnv 15 300 120 empty empty empty 20 12 0 14 -236851
-66577 0; #X text 50 307 Server configuration; #X symbolatom 130 336 30 0 0 0 server: iserver-name server-name; #X symbolatom 130 378 30 0 0 0 mountpoint: - mount-point; #X symbolatom 129 398 30 0 0 0 password: - password; #X obj 360 508 tgl 40 0 empty bstatus empty 0 -6 0 8 -24198 -262144 -262144 1 1; #X obj 50 497 cnv 15 100 60 empty empty empty 20 12 0 14 -99865 -66577 0; #X text 72 500 G.I.S.S.; #X text 68 517 streaming; #X text 80 536 patch; #N canvas 0 0 996 665 camera 0; #X obj 505 310 metro 70; #X obj 547 262 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; #X msg 505 263 stop; #X obj 506 339 pdp_v4l; #X obj 207 -10 loadbang; #X msg 127 51 1; #X msg 41 124 channel $1; #X msg 200 266 open $1; #X obj 200 241 r cam-device; #X obj 276 218 s icam-device; #X msg 276 191 symbol /dev/video0; #X obj 80 421 pdp_spigot; #X obj 66 375 r cam-preview; #X obj 80 447 pdp_glx; #X msg 201 162 norm $1; #X msg 274 87 symbol PAL; #X obj 274 113 s icam-norm; #X obj 201 133 r cam-norm; #X obj 42 98 r cam-channel; #X obj 127 76 s icam-channel; #X obj 173 402 s icam-preview; #X obj 139 398 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1; #X msg 172 376 float 1; #X obj 537 214 r cam-start; #X obj 537 238 route 1; #X obj 507 370 s pdp_pckt; #X obj 184 432 route 0; #X msg 187 458 close; #X connect 0 0 3 0; #X connect 1 0 0 0; #X connect 2 0 0 0; #X connect 3 0 11 0; #X connect 3 0 25 0; #X connect 4 0 5 0; #X connect 4 0 10 0; #X connect 4 0 15 0; #X connect 4 0 22 0; #X connect 5 0 19 0; #X connect 6 0 3 0; #X connect 7 0 3 0; #X connect 8 0 7 0; #X connect 10 0 9 0; #X connect 11 1 13 0; #X connect 12 0 21 0; #X connect 14 0 3 0; #X connect 15 0 16 0; #X connect 17 0 14 0; #X connect 18 0 6 0; #X connect 21 0 11 1; #X connect 21 0 26 0; #X connect 22 0 20 0; #X connect 23 0 24 0; #X connect 24 0 1 0; #X connect 24 1 2 0; #X connect 26 0 27 0; #X connect 27 0 13 0; #X restore 813 161 pd camera; #X obj 670 32 cnv 15 300 120 empty empty empty 20 12 0 14 -236851
-66577 0; #X symbolatom 749 54 30 0 0 0 device: icam-device cam-device; #X symbolatom 751 93 30 0 0 0 norm: icam-norm cam-norm; #X floatatom 750 74 5 0 0 0 channel: icam-channel cam-channel; #X obj 750 111 tgl 15 0 cam-preview icam-preview preview: -65 8 0 12 -250685 -1 -1 1 1; #X obj 750 131 tgl 15 1 cam-start empty start!: -65 8 0 12 -24198 -1 -1 1 1; #X floatatom 129 356 5 0 0 0 port: iport-number port-number; #N canvas 0 0 996 665 quicktime 0; #X obj 111 134 playlist mov 250 100 {Helvetica 10 bold} #457782 yellow black red; #X obj 197 497 pdp_yqt; #X msg 189 462 open $1; #X msg 107 478 loop $1; #X obj 167 240 tgl 15 0 empty empty loop: -35 8 0 12 -262144 -1 -1 1 1; #X obj 194 530 s pdp_pckt; #X obj 286 564 s~ lchan; #X obj 320 532 s~ rchan; #X obj 87 564 loadbang; #X msg 67 499 1; #X floatatom 309 332 5 0 0 0 - - -; #X obj 171 260 hsl 160 15 20 300 0 0 empty empty speed: -45 6 0 12 -262144 -1 -1 2839 1; #X obj 269 457 metro 70; #X obj 169 281 tgl 15 0 empty empty preview: -60 6 0 12 -260818 -1 -1 1 1; #X obj 449 292 pdp_spigot; #X obj 449 323 pdp_glx; #X obj 169 303 tgl 15 0 empty empty start!: -50 6 0 12 -24198 -1 -1 0 1; #X msg 251 388 70; #X obj 453 262 route 0; #X msg 521 269 close; #X connect 0 0 2 0; #X connect 1 0 5 0; #X connect 1 0 14 0; #X connect 1 4 6 0; #X connect 1 5 7 0; #X connect 2 0 1 0; #X connect 3 0 1 0; #X connect 4 0 3 0; #X connect 8 0 9 0; #X connect 8 0 17 0; #X connect 9 0 4 0; #X connect 9 0 13 0; #X connect 10 0 12 1; #X connect 11 0 10 0; #X connect 12 0 1 0; #X connect 13 0 14 1; #X connect 13 0 18 0; #X connect 14 1 15 0; #X connect 16 0 12 0; #X connect 17 0 11 0; #X connect 18 0 19 0; #X connect 19 0 15 0; #X coords 0 -1 1 1 300 240 1 100 100; #X restore 37 32 pd quicktime files; #X obj 811 543 r~ lchan; #X obj 878 543 r~ rchan; #X text 673 33 Camera configuration ( video 4 linux ); #X obj 794 519 r~ llchan; #X obj 903 518 r~ rrchan; #N canvas 0 0 996 665 theora 0; #X obj 111 134 playlist ogg 250 100 {Helvetica 10 bold} #457782 yellow black red; #X msg 189 462 open $1; #X obj 194 530 s pdp_pckt; #X obj 87 564 loadbang; #X msg 67 499 1; #X floatatom 309 332 5 0 0 0 - - -; #X obj 173 244 hsl 160 15 20 300 0 0 empty empty speed: -45 6 0 12 -262144 -1 -1 1136 1; #X obj 171 265 tgl 15 0 empty empty preview: -60 6 0 12 -260818 -1 -1 1 1; #X obj 345 413 pdp_spigot; #X obj 345 444 pdp_glx; #X obj 171 287 tgl 15 0 empty empty start!: -50 6 0 12 -24198 -1 -1 0 1; #X obj 197 497 pdp_theorin~; #X obj 269 457 metro 40; #X msg 251 388 40; #X msg 183 576 autoplay 0; #X obj 319 532 s~ rrchan; #X obj 286 564 s~ llchan; #X obj 428 394 route 0; #X msg 434 421 close; #X connect 0 0 1 0; #X connect 1 0 11 0; #X connect 3 0 4 0; #X connect 3 0 13 0; #X connect 3 0 14 0; #X connect 4 0 7 0; #X connect 5 0 12 1; #X connect 6 0 5 0; #X connect 7 0 8 1; #X connect 7 0 17 0; #X connect 8 1 9 0; #X connect 10 0 12 0; #X connect 11 0 2 0; #X connect 11 0 8 0; #X connect 11 1 16 0; #X connect 11 2 15 0; #X connect 12 0 11 0; #X connect 13 0 6 0; #X connect 14 0 11 0; #X connect 17 0 18 0; #X connect 18 0 9 0; #X coords 0 -1 1 1 300 240 1 100 100; #X restore 352 32 pd theora files ( good machine ); #X text 300 8 <<<<<<<<<<<<<< Input files or cameras >>>>>>>>>>>>>>>>> ; #X text 318 281 <<<<<<<<<<<<<< Stream configuration >>>>>>>>>>>>>>>>> ; #X text 344 473 <<<<<<<<<<<<<< Emission >>>>>>>>>>>>>>>>>; #X obj 364 304 cnv 15 300 120 empty empty empty 20 12 0 14 -236851 -66577 0; #X symbolatom 450 323 30 0 0 0 title: istream-title stream-title; #X symbolatom 451 378 30 0 0 0 description: istream-description
stream-description ; #X symbolatom 451 398 30 0 0 0 genre: istream-genre stream-genre; #X text 367 305 Meta data ( without spaces ); #X symbolatom 450 340 30 0 0 0 artist: istream-artist stream-artist ; #X symbolatom 450 359 30 0 0 0 url: istream-url stream-url; #X obj 674 305 cnv 15 300 120 empty empty empty 20 12 0 14 -236851 -66577 0; #X floatatom 867 305 5 0 0 0 width: istream-width stream-width; #X floatatom 868 323 5 0 0 0 height: istream-height stream-height; #X floatatom 871 341 5 0 0 0 Framerate_(1..100): istream-framerate stream-framerate; #X floatatom 868 358 5 0 0 0 Video_quality_(0..63): istream-vqual
stream-vqual ; #X floatatom 869 375 5 0 0 0 Video_bitrate_(45..2000): istream- vbitrate stream-vbitrate; #X floatatom 870 392 5 0 0 0 Audio_quality_(-0.1..1.0): istream-aqual stream-aqual; #X floatatom 871 410 5 0 0 0 Audio_bitrate_(8..2000): istream-abitrate stream-abitrate; #X text 677 306 Stream quality :; #X text 569 503 EMISSION; #X obj 771 504 cnv 15 200 120 empty empty empty 20 12 0 14 -261689 -66577 0; #X text 800 520 G.I.S.S.; #X obj 51 562 cnv 15 360 60 empty empty empty 20 12 0 14 -236851
-66577 0; #X obj 249 563 tgl 15 0 stream-preview empty preview: -65 8 0 12
-250685 -1 -1 1 1; #X text 61 564 Live controls ::; #X obj 143 586 hsl 128 15 0 5 0 0 stream-lum empty Luminosity -80 6 0 12 -44926 -1 -1 5600 1; #X text 912 536 is not; #X text 915 574 T. V.; #X connect 1 0 0 0; #X connect 1 0 15 0; #X connect 1 1 0 1; #X connect 1 1 15 1; #X connect 35 0 0 0; #X connect 35 0 15 0; #X connect 36 0 0 1; #X connect 36 0 15 1; #X connect 38 0 0 0; #X connect 39 0 0 1; #X connect 39 0 15 1; #X coords 0 0 1 1 85 60 0; _______________________________________________ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
"...information-sharing is a powerful positive good, and... it is an
ethical duty of hackers to share their expertise by writing open-
source code and facilitating access to information and to computing
resources wherever possible." - Eric Raymond
Hans-Christoph Steiner wrote:
Hey Yves,
Do you think it would be possible to make an object that has the same
name on both platforms, but one is based on pdp_ieee1394 and the
other on pdp_v4l? That would make for cross-platform pidip patches,
which would be quite nice.
how about making an abstraction [pdp_video] (or whatever) which would be [pdp_v4l] on linux and [pdp_ieee1394] on os-x.
i would suggest the same for the [pdp_glx] and [pdp_xv] objects (e.g. [pdp_screen] or [pdp_output] if these do not yet exist)
the installer/packager/... would take care of which [pdp_video] to install (e.g. by generating this abstraction, or adding the extra/<os>/ path where the correct oebject resides to the properties...
fmgad.sr IOhannes
On Jul 12, 2007, at 11:58 AM, IOhannes m zmoelnig wrote:
Hans-Christoph Steiner wrote:
Hey Yves,
Do you think it would be possible to make an object that has the same name on both platforms, but one is based on pdp_ieee1394 and the other on pdp_v4l? That would make for cross-platform pidip patches, which would be quite nice.
how about making an abstraction [pdp_video] (or whatever) which
would be [pdp_v4l] on linux and [pdp_ieee1394] on os-x.i would suggest the same for the [pdp_glx] and [pdp_xv] objects (e.g. [pdp_screen] or [pdp_output] if these do not yet exist)
the installer/packager/... would take care of which [pdp_video] to install (e.g. by generating this abstraction, or adding the extra/ <os>/ path where the correct oebject resides to the properties...
That seems more complicated than just making:
gcc -o pdp_video.pd_darwin pdp_ieee1394.c
and
gcc -o pdp_video.pd_linux pdp_v4l.c
That's basically how Gem does it, right?
.hc
I spent 33 years and four months in active military service and
during that period I spent most of my time as a high class muscle man
for Big Business, for Wall Street and the bankers. - General
Smedley Butler