andreasjansson/h.264-glitch ๐Ÿ”ข๐Ÿ–ผ๏ธโœ“ โ†’ ๐Ÿ–ผ๏ธ

โ–ถ๏ธ 62 runs ๐Ÿ“… Aug 2025 โš™๏ธ Cog 0.14.0
glitch-art video-effects video-manipulation video-processing

About

Video corruption as a service

Example Output

Output

Performance Metrics

94.09s Prediction Time
94.57s Total Time
All Input Parameters
{
  "video": "https://replicate.delivery/pbxt/NWmxg5oOZCPp258juaD72JtXzgoqRVwtjz8Yqul6SN2TdNNM/Sample.mp4",
  "glitch_intensity": 0.32,
  "freeze_intro_frames": 0,
  "disable_frame_rate_effects": true
}
Input Parameters
seed Type: integer
Random seed (None=random)
video (required) Type: string
Input MP4 video (will be truncated to 2 minutes)
glitch_intensity Type: numberDefault: 0.45Range: 0 - 1
0.0โ€“1.0
freeze_intro_frames Type: integerDefault: 0Range: 0 - 120
Freeze the first IDR for N frames
disable_frame_rate_effects Type: booleanDefault: false
Disable frame duplication and shuffling that cause stop-start effects
Output Schema

Output

Type: string โ€ข Format: uri

Example Execution Logs
Using seed 3685047418
๐ŸŽฌ Initializing datamosh pipeline...
๐Ÿ“‚ Input video: cog-input-745628818.mp4 (16373KB)
โœ‚๏ธ  Truncated to 2 minutes: 16385KB

๐ŸŽฌ === ATTEMPT 1/10 ===
๐Ÿ“Š Glitch intensity: 0.32
๐Ÿ”€ Freeze intro frames: 0
๐ŸŽจ Color chaos: always enabled
๐Ÿšซ Frame rate effects: DISABLED (smooth playback)
๐Ÿ—๏ธ  Building datamoshed video...
  ๐Ÿ“น Probing video properties...
    ๐ŸŽฌ Detected FPS: 30.0
  ๐Ÿ”ง Normalizing GOP structure (Baseline/CAVLC)...
    โœ… Baseline/CAVLC normalization successful
    โœ… Normalized video: 28731KB
  ๐Ÿ”ฌ Extracting H.264 elementary stream...
    โœ… AnnexB H.264 extracted with AUD insertion
  ๐Ÿงฌ Performing enhanced H.264 color datamoshing...
    ๐Ÿšซ Frame rate effects disabled - smooth temporal flow maintained
    ๐ŸŽ›๏ธ  Enhanced datamosh: drop_idr=0.000, mv_corrupt=0.427, ref_swap=0.345
    ๐Ÿ’ฅ Color intensity: bytes=29, slice_prob=0.286, sat_bomb_every=21, wobble=ON
    ๐ŸŽ›๏ธ  UV-targeted params: byte_budget=29, corrupt_prob=0.30, wobble=on, sat_bomb_every=21
    โœ… Color datamoshed stream: 29701KB
  ๐ŸŽฅ Creating final datamoshed MP4...
    โœ… Direct remux: 29713KB
  ๐ŸŽฌ Pure datamoshed video created: 29713KB
โœ… Build complete: datamoshed_video_attempt_0.mp4
๐Ÿงช Testing video playability...
โœ… Video passed playability test!
๐ŸŒ Creating browser-compatible version with audio...
โš ๏ธ Duration mismatch (90.0s vs 72.8s) - video only
Version Details
Version ID
fde2fc9eff14584e1617c6f75a4e75596980dedefbbad16f3ff623ca209cb083
Version Created
August 13, 2025
Run on Replicate โ†’