polto@alsenet.com wrote:
Merci pour ta reponce.
Je crois t'avoir rencontre au WSIS a Geneve. (au paladium)
yes, but in the COUNTER WSIS, not the WSIS )
je vois l'objet, mais quand je consulte son help, je vois juste le help de object. (en plus ca me fait des inlet, outlet que si je le fait avec message, pas objet.)
no comprendo esto. all the help is in a sub abstraction called rs_pdp_live~, the file rs_pdp_live~.pd should be in the folder where you try to open the help file too ( the simpler is to go to pidip/doc ).
and, of course, pidip needs to be compiled with ffmpeg support ( the one from debian is ).
i attached here the two necessary files for getting the help working.
ciao, sevy
Je sais que c'est tres newb comme question, mais je ne vois auqune doc....
Merci !!
Polto.
#N canvas 259 178 509 391 10; #X obj 128 113 rs_pdp_live~; #X obj 156 158 dac~; #X text 51 321 written by Yves Degoyon (ydegoyon@free.fr); #X text 236 112 <-- everything is in this box; #X text 265 127 where the block size is redefined; #X text 265 142 this is necessary for an; #X text 266 154 ( acceptable? ) audio decoding; #X obj 395 221 loadbang; #X msg 395 251 ; pd dsp 1; #X text 51 308 and the video files supported by your ffmpeg (avi , mpg , ..); #X text 51 295 pdp_live~ : decodes a live video stream from ffmpeg ; #X connect 0 0 1 0; #X connect 0 1 1 1; #X connect 7 0 8 0;
#N canvas 393 46 872 636 10; #X text 455 594 written by Yves Degoyon (ydegoyon@free.fr); #X floatatom 223 540 5 0 0 0 - - -; #X text 268 540 Streaming status; #X floatatom 243 519 5 0 0 0 - - -; #X text 611 77 Connect to a live stream; #X text 325 111 Disconnect from the current stream; #X msg 247 109 disconnect; #X text 292 520 Number of video frames decoded; #X text 452 570 ( at least from ffserver ); #X text 21 570 NOTE : as for pdp_ffmpeg~ , transmitting audio; #X text 20 588 with the video stream produces some unsteady sound; #X text 21 603 a prefered solution would be to use mp3cast~/mp3amp~ ; #X msg 253 415 priority $1; #X floatatom 342 416 5 0 0 0 - - -; #X text 388 439 ( optional , if you know what you're doing ); #X obj 72 543 outlet~; #X text 393 411 Set the priority of decoding thread; #X msg 247 214 connect $1; #X text 455 556 pdp_live~ : decodes a live video stream; #X text 453 582 and reads most common files ( avi , mpg , .... ) ; #X text 325 164 Read video file; #X obj 247 143 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 247 165 openpanel; #X msg 253 384 audio $1; #X obj 322 386 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X text 353 386 Activate decoding of audio ( default : off ); #X obj 247 189 makefilename file://%s; #X msg 244 52 connect http://localhost:8090/test1.mpg; #X obj 327 355 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1; #X msg 253 355 thread $1; #X obj 383 355 loadbang; #X msg 348 355 1; #X text 451 355 Activate threading ( default : on ); #X floatatom 259 496 5 0 0 0 - - -; #X text 305 496 Reception framerate; #X text 333 476 End of stream reached; #X floatatom 286 475 5 0 0 0 - - -; #X obj 115 424 pdp_live~; #X obj 341 257 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1; #X obj 397 255 loadbang; #X msg 362 255 1; #X msg 250 256 autoplay $1; #X text 465 255 Activate auto play mode ( default : on ); #X msg 252 291 bang; #X msg 392 293 bang; #X floatatom 433 294 5 0 0 0 - - -; #X text 485 292 In manual mode , read next frame ( autoplay = off ); #X obj 328 293 metro 70; #X msg 254 319 loop $1; #X obj 316 320 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1; #X obj 372 318 loadbang; #X msg 337 318 1; #X text 440 318 Activate loop mode for files ( default : on ); #X floatatom 75 252 5 0 0 0 - - -; #X text 6 194 Frame seek; #X msg 289 292 stop; #X obj 134 543 outlet~; #X text 390 424 ([0 , 20 ] default : 1 ); #X text 6 222 ffmpeg >= 0.4.9; #X text 6 207 warning : works only with; #X obj 35 501 pdp_xv; #X obj 66 61 block~ 1024; #X msg 246 78 connect http://gollum.artefacte.org:8090/osas.mpg; #X connect 6 0 37 0; #X connect 12 0 37 0; #X connect 13 0 12 0; #X connect 17 0 37 0; #X connect 21 0 22 0; #X connect 22 0 26 0; #X connect 23 0 37 0; #X connect 24 0 23 0; #X connect 26 0 17 0; #X connect 27 0 37 0; #X connect 28 0 29 0; #X connect 29 0 37 0; #X connect 30 0 31 0; #X connect 31 0 28 0; #X connect 37 0 60 0; #X connect 37 1 15 0; #X connect 37 2 56 0; #X connect 37 3 1 0; #X connect 37 4 3 0; #X connect 37 5 33 0; #X connect 37 6 36 0; #X connect 38 0 41 0; #X connect 39 0 40 0; #X connect 40 0 38 0; #X connect 41 0 37 0; #X connect 43 0 37 0; #X connect 44 0 47 0; #X connect 45 0 47 1; #X connect 47 0 37 0; #X connect 48 0 37 0; #X connect 49 0 48 0; #X connect 50 0 51 0; #X connect 51 0 49 0; #X connect 53 0 37 1; #X connect 55 0 47 0; #X connect 62 0 37 0;