ev_vid-help.pd 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. #N canvas 364 151 775 650 10;
  2. #X declare -path . -path .. -path data -path ../data -path ev-in -path
  3. ../ev-in -path ev-main -path ../ev-main -path ev-pano -path ../ev-pano
  4. -path ev-pro -path ../ev-pro -path libs/gil -path ../libs/gil -path
  5. libs/kollabs -path ../libs/kollabs -path media -path ../media -path
  6. ev-glsl -path ../ev-glsl;
  7. #X obj 12 12 cnv 15 740 16 empty empty EXTENDED_VIEW_VIDEOPLAYBACK_MODULE
  8. 2 8 0 14 -99865 -262144 0;
  9. #X obj 392 563 cnv 15 360 45 empty empty PARAMETER_LIST_for_ev_vid
  10. 3 8 0 12 -128992 -262144 0;
  11. #X obj 486 100 gemwin 20;
  12. #X msg 486 69 0 \, destroy;
  13. #X text 380 41 CLICK HERE:;
  14. #X obj 392 121 gemhead;
  15. #X obj 12 245 cnv 15 360 45 empty empty creation_arguments: 5 8 0 12
  16. -162280 -1 0;
  17. #X obj 12 296 cnv 15 360 40 empty empty inlets/outlets 5 8 0 12 -233017
  18. -66577 0;
  19. #X text 16 308 Inlet 1: GEMlist;
  20. #X obj 12 39 cnv 15 360 200 empty empty description 5 12 0 12 -233017
  21. -66577 0;
  22. #X text 17 193 Contains specific storage_&_osc-subpatch which houses
  23. abstractions to register parameters for storage and osc communication
  24. ;
  25. #X obj 584 346 unpack f f;
  26. #X floatatom 584 368 5 0 0 0 - - -;
  27. #X floatatom 641 368 5 0 0 0 - - -;
  28. #X text 580 384 video resolution;
  29. #X floatatom 507 457 5 0 0 0 - - -;
  30. #X floatatom 546 414 5 0 0 0 - - -;
  31. #X text 486 469 elapsed time;
  32. #X text 522 429 video length;
  33. #N canvas 1 54 434 136 init 0;
  34. #X obj 122 67 ../ev-main/ev_declare;
  35. #X restore 704 70 pd init;
  36. #X obj 392 530 bng 15 250 50 0 empty empty bangs_when_fadeIN_ends 17
  37. 7 0 10 -262144 -1 -1;
  38. #X obj 469 494 bng 15 250 50 0 empty empty bangs_when_end_is_reached
  39. 17 7 0 10 -262144 -1 -1;
  40. #X obj 12 343 cnv 15 360 300 empty empty GUI_controls 5 8 0 12 -204800
  41. -66577 0;
  42. #X obj 392 323 route fIn fOut end elapsed length dimen;
  43. #X obj 430 512 bng 15 250 50 0 empty empty bangs_when_fadeout_starts
  44. 17 7 0 10 -262144 -1 -1;
  45. #X obj 392 247 pix_texture;
  46. #X obj 392 269 rectangle 4 3;
  47. #X text 146 308 Outlet 1: GEMlist;
  48. #X text 17 257 1st: module ID \, needs to be unique \; 2nd: storage
  49. domain \, see [ev_storage-help] for details;
  50. #N canvas 712 224 379 208 explanation_modes 0;
  51. #X text 12 13 explanation of [time_accurate] and [frame_accurate] \;
  52. \; one deploys a counter that counts up to the end of the file \, which
  53. means \, if the cpu is under heavy load \, playback speed maybe gets
  54. slow. The [time accurate]-mode relies on the realtime-object and makes
  55. sure \, that the playback-speed of the file is constant. If CPU-Load
  56. is up \, it results in frames being dropped/jumped over. the visual
  57. output is still rather ok and looks fluid.;
  58. #X restore 225 428 pd explanation_modes;
  59. #X text 15 59 video playback module with controls over In/Out fades
  60. \, and time-adjustments \; All values for length are given in frames.
  61. Fade-length is given in frames as well. Fade-out-time-value displays
  62. the length of the fade-out in frames. \; The numberbox [sec:] displays
  63. entered or actively changed values in seconds. Framerate of loaded
  64. videos have to be entered manually \, but is saved within scenes of
  65. the Extended-view-storage system.;
  66. #X obj 636 253 loadbang;
  67. #X obj 636 323 s /ev/vid/\$0/filename;
  68. #X msg 636 301 ../media/diver.mov;
  69. #X obj 636 275 del 1000;
  70. #X text 396 615 (c)2011 Peter Venus & Marian Weger \; /part of EXTENDED
  71. VIEW toolkit/ gpl v3;
  72. #X msg 451 42 dimen 800 600 \, color 0.5 0.5 0.5 \, create \, 1;
  73. #X obj 392 143 ev_vid \$0;
  74. #X obj 392 298 r /ev/vid/\$0/info;
  75. #X text 15 356 on/off : switches the module and its processing on/off
  76. \; open : open file dialog \; loop_on/off : switch file looping on/off
  77. \; play & stop : should do what it says \; frame/time accurate : switches
  78. between 2 playback modes. open subpatch for further details \; \; fps
  79. : set framerate of loaded file \; settings : opens advanced settings
  80. \; \; __________________advanced settings________________________ start/end_time
  81. : set in and out points of loaded video \; fade_in/out_time : set fades
  82. directly in the player (compare to the transition-possibilities in
  83. [ev_storage].. see [ev_storage-help] for details) \; lvl : set gain/level
  84. for video (0...100) \; form : adjust shape of the fade-curve (0...100)
  85. \; weight : fade between linear and curved fade-behaviour (0-100) \;
  86. show_curve: shows the fade-curve \; flip: flips content horicontal
  87. and vertical;
  88. #N canvas 1 56 470 519 parameter_list 0;
  89. #X text 28 13 control parameters for [ev_vid];
  90. #X text 25 36 /ev/vid/<id>/fadeIn_time --- fadeIn-time in frames \;
  91. /ev/vid/<id>/fadeOut_time --- fadeOut-time in frames \; /ev/vid/<id>/start_time
  92. --- time offset in frames(adjusting length of file \, non destructive)
  93. \; /ev/vid/<id>/end_time --in frames \, adjusting endpoint of videofile
  94. \, in frames \, non destructive \; /ev/vid/<id>/filename --- set new
  95. video file path \; /ev/vid/<id>/start --- start video \; /ev/vid/<id>/stop
  96. --- stop video \; /ev/vid/<id>/open --- start open dialog \; /ev/vid/<id>/texture_id
  97. --- access as texture from outside \; /ev/vid/<id>/gain --- sets max
  98. gain level of video \; /ev/vid/<id>/weight --- adjusts weight of the
  99. fading-curve \; /ev/vid/<id>/form --- alters the shape of the fade
  100. curve \; /ev/vid/<id>/loop --- play video in a loop \; /ev/vid/<id>/flip/horicontal
  101. --- flip video horicontally \; /ev/vid/<id>/flip/vertical --- flip
  102. video vertically \; /ev/vid/<id>/curve/vis --- show fade curve \;;
  103. #X restore 574 582 pd parameter_list for ev_vid;
  104. #X text 395 582 open subpatch for list;
  105. #X connect 3 0 2 0;
  106. #X connect 5 0 37 0;
  107. #X connect 11 0 12 0;
  108. #X connect 11 1 13 0;
  109. #X connect 23 0 20 0;
  110. #X connect 23 1 24 0;
  111. #X connect 23 2 21 0;
  112. #X connect 23 3 15 0;
  113. #X connect 23 4 16 0;
  114. #X connect 23 5 11 0;
  115. #X connect 25 0 26 0;
  116. #X connect 31 0 34 0;
  117. #X connect 33 0 32 0;
  118. #X connect 34 0 33 0;
  119. #X connect 36 0 2 0;
  120. #X connect 37 0 25 0;
  121. #X connect 38 0 23 0;