Datahäxan
5 days ago
- #h264
- #glitch-art
- #film-modification
- The author did not enjoy the 1922 film Häxan, finding it outdated and bland by modern standards.
- They experimented with glitching the film's data stream to introduce visual effects and color into the black-and-white film.
- First attempt: NULL-ed every 10th frame in the h264 data, creating smears and glitchy squares but no color.
- Second attempt: Added colorful noise and sine waves to raw yuv420p data, resulting in inefficient compression and repetitive patterns.
- Third attempt: Successfully introduced color and glitches by tweaking least-significant bits in I-frames, focusing on chroma data.
- The final glitched version includes psychedelic effects and melting text, making the film more enjoyable.
- Process involves extracting h264 from mp4, glitching it with a Python script, and recombining with ffmpeg.
- Each run produces subtly different results due to random number generation.