9 Commits
Author SHA1 Message Date
Stevan Freeborn e611522c7b feat: enable processing of large video files over 2GB
Update audio extraction to use file-based streaming
instead of in-memory buffers to support processing
video files larger than 2GB.

**Changes:**
- Modified `IAudioExtractor.ExtractMp3FromMp4Async()`
  to accept an output audio stream parameter instead
  of creating a MemoryStream internally
- Updated `AudioExtractor` to write directly to the
  provided audio stream, eliminating the need to load
  entire video into memory
- Enhanced `FFMpegService` to detect FileStream inputs
  and use direct file-to-file processing when possible,
  falling back to pipe-based streaming for other stream types
- Refactored `DefaultCommand` to create output directory
  and audio file stream before extraction, enabling direct
  file-based audio extraction
- Updated all unit and integration tests to accommodate the
  new audio stream parameter

This change prevents `OutOfMemoryException` errors when processing
large video files by streaming data directly to disk rather than
buffering in memory. Additionally, it removes the possibility of
overflowing the 2GB size limit that `MemoryStream` has, which
would result in `IOException` errors when trying to write or
copy to it.
2025-10-10 16:23:02 -05:00
Stevan Freeborn 6e890b2e4e tests: make test classes public 2025-08-20 15:00:32 -05:00
Stevan Freeborn bd0a7fe3cd chore: lots of chores 2025-08-19 16:25:15 -05:00
Stevan Freeborn ef45a4098a feat: initial whipser transcriber implementation 2025-07-29 18:00:09 -05:00
Stevan Freeborn 5ee040f2d0 tests: add integration test for audio extractor 2025-07-28 17:59:27 -05:00
Stevan Freeborn 30f2032cef tests: setup test coverage 2025-07-28 17:26:54 -05:00
Stevan Freeborn a1864371dd feat: extract audio conversion to separate class and refine audio extraction 2025-07-27 23:33:05 -05:00
Stevan Freeborn 0a661d6970 feat: refactor audio extraction to reusable class 2025-07-24 11:22:15 -05:00
Stevan Freeborn 2733fb20dd chore: initial project setup 2025-07-16 12:43:09 -05:00