11 Commits

Author SHA1 Message Date
yair-mv
70a9c6a218 Add alpha channel video support with proper strip photography orientation
- Add --alpha flag to generate PNG sequences with transparency
- Implement extract_column_strip_alpha() and extract_row_strip_alpha() functions
- Create BGRA PNG frames with transparent backgrounds instead of black padding
- Perfect for video editing workflows - no keyframe compression
- Each PNG shows progressive scan line accumulation with alpha channel
- Row mode properly rotated CCW 90° to match image mode orientation
- Add horizontal flipping to all modes so time flows right to left (strip photography convention)
- Progressive content grows from right to left in video frames
- Compatible with all major video editors (Premiere, Final Cut, DaVinci Resolve)
- Auto-generates organized output directories for PNG sequences
- Add comprehensive documentation for alpha video mode
- Tested successfully with PNG sequence generation
- Ideal for professional compositing and video editing workflows
2025-11-08 13:09:06 +02:00
yair-mv
614fe5fe99 Fix video generation padding logic
- Remove incorrect padding that was causing massive file sizes
- Fix progressive accumulation to show proper scan line build-up over time
- Each frame now shows accumulated scan lines up to that point with proper padding
- Video dimensions correctly set to final size with black padding for progressive frames
- Tested successfully: 101 frames at 101x2456 resolution = 1.1MB file size
- Duration now correctly matches frame count / fps (3.37 seconds for 101 frames at 30fps)
2025-11-08 12:45:28 +02:00
yair-mv
8fece16ca7 Add timestamp overlay feature for video mode
- Add --timestamp / --ts flag to embed frame count on bottom left corner
- Implement add_timestamp_overlay() function with large, visible text
- Yellow text on black background for good visibility
- Shows 'Frame: X/Y' format with current and total frame counts
- Works with both column and row video modes
- Applied after rotation for proper positioning
- Update documentation with timestamp examples and parameter descriptions
- Tested successfully with sample video files
2025-11-08 12:26:11 +02:00
yair-mv
c1faa2088c Add MJPEG video generation feature with proper rotation
- Add --video flag to generate MJPEG AVI files showing scan line accumulation over time
- Add --fps parameter to control output video frame rate (default: 30.0)
- Implement extract_column_strip_video() and extract_row_strip_video() functions
- Each video frame shows progressive build-up of strip photography effect
- Video dimensions automatically calculated based on input video and scan line count
- Row mode videos rotated CCW 90° to match image mode orientation
- Add validation for video mode arguments and proper file extensions
- Update documentation with video mode examples and features
- Tested successfully with sample video files
2025-11-08 12:23:11 +02:00
yair-mv
ebae0c818d timeline at bottom 2025-11-03 17:27:32 +02:00
yair-mv
777f9d14b0 feat: add timeline overlay and video segment options
- Add --timeline flag to overlay frame numbers as ruler at bottom
- Add --start and --end parameters to process video segments
- Timeline shows evenly-spaced frame numbers with tick marks
- Timeline always horizontal from left to right at bottom
- Segment processing maintains actual frame numbers in timeline
- Update all extraction and analysis functions to support segments
2025-11-03 17:27:01 +02:00
yair-mv
6f58bdf628 relax efaults to 100 2025-11-02 10:38:13 +02:00
yair-mv
c8e5a299d6 feat: add relax option and improve debug mode output
- Add --relax option to include N frames before/after threshold frames
- Implement two-pass approach for relax feature
- Generate PowerShell command in debug mode to test all suggested thresholds
- Place debug mode outputs in results/debug folder by default
2025-11-02 10:26:04 +02:00
yair-mv
8da27a1ead feat: improve CLI UX with smart defaults and auto-output generation
- Add default yrow=8 when no mode specified
- Make --output optional, auto-generate to results/ folder
- Add 4-char UUID and threshold to auto-generated filenames
- Auto-append .jpg extension when no extension provided
- Rotate row mode output 90° clockwise for proper orientation
- Move debug mode outputs to results/ folder
- Add uuid module for unique filename generation

Example outputs:
- results/video_a3f2_t0_01.jpg (auto-generated)
- results/video_7c91_t0_05_changes.png (debug mode)
2025-11-02 10:17:21 +02:00
5shekel
2e531e478a add threshold 2025-10-26 10:12:28 +02:00
5shekel
be3eddb3a6 first 2025-10-26 10:04:16 +02:00