🎧
Audiovisual Design
WS 2024 Audiovisual Design
WS 2024 Audiovisual Design
  • Audiovisual Design
  • Sessions
    • Session 1
      • Audiovisual Toolchains
      • Processing Basics
    • Session 2:
      • Bitmap Manipulations & Image Effects
      • OSC Connections
    • Session 3
      • Introduction to TouchDesigner
      • Image processing and manipulation
      • Dynamic video processing
    • Session 4 + 5
      • Masking
      • More examples of OSC-Links between TD and SC
      • Streaming bitmap data
      • Projection mapping
    • Session 6
      • 3D Environments
      • Audio analysis
    • Session 7
      • Outlook
      • Collected Assignments / ToDo
    • Session 8 (presentation)
  • Audiovisual Theory
    • Audiovisual Artforms
    • Theories of Audiovisual Perception
    • Artistic Concepts
  • Bibliography
    • Bibliography
    • Links
Powered by GitBook
On this page
  1. Sessions
  2. Session 3

Dynamic video processing

PreviousImage processing and manipulationNextSession 4 + 5

Last updated 5 months ago

CtrlK
  • Choice of video codecs for audiovisual art and media art
  • Jumping time + Dilation and compression of video time

Choice of video codecs for audiovisual art and media art

TL;DR: Use MPEG2 instead of MP4(H.264) for your projects.

Video codecs use two main approaches to compression: intra-frame and inter-frame techniques. Intra-frame compression treats each frame as an independent image, similar to how JPEG compression works. Common examples of intra-frame codecs include Motion JPEG (MJPEG) and ProRes. These codecs excel at frame-accurate editing since each frame stands alone without dependencies. They also offer better resilience to errors or corruption, since problems in one frame won't affect others. Additionally, they have lower encoding latency since they don't need to analyze multiple frames. However, this independence comes at the cost of larger file sizes. Due to these characteristics, intra-frame codecs are frequently used in professional video editing, security cameras, and medical imaging applications.

In contrast, inter-frame codecs employ temporal compression by encoding the differences between frames rather than storing each frame completely. Popular inter-frame codecs include H.264/AVC, H.265/HEVC, VP9, and AV1. These codecs typically use three types of frames: I-frames (keyframes) which are complete frames similar to intra-frame coding, P-frames which store differences from previous frames, and B-frames which can reference both past and future frames. This approach achieves much better compression ratios and requires lower bandwidth for streaming, making it ideal for online video delivery. However, inter-frame compression is more computationally intensive to encode and decode, less suitable for editing, and can suffer from error propagation where problems in one frame affect subsequent frames that reference it.

Video and image files to download:

https://we.tl/t-VG9yAtbuEA

Jumping time + Dilation and compression of video time

Assigment

Write a SynthDef in SuperCollider (maybe a drone?) that changes randomly in time and "pushes" the video when changes occur.

// Write the code for SC!

'choreograph1 - water' ,Hiroaki Umeda