Implement video processing module with FFmpeg conversion, OpenCV metadata extraction, and file system repository
- Added FFmpegVideoConverter for video format conversion using FFmpeg. - Implemented NoOpVideoConverter for scenarios where FFmpeg is unavailable. - Created OpenCVMetadataExtractor for extracting video metadata. - Developed FileSystemVideoRepository for managing video files in the file system. - Integrated video services with dependency injection in VideoModule. - Established API routes for video management and streaming. - Added request/response schemas for video metadata and streaming information. - Implemented caching mechanisms for video streaming. - Included error handling and logging throughout the module.
This commit is contained in:
18
usda_vision_system/video/domain/__init__.py
Normal file
18
usda_vision_system/video/domain/__init__.py
Normal file
@@ -0,0 +1,18 @@
|
||||
"""
|
||||
Video Domain Layer.
|
||||
|
||||
Contains pure business logic and domain models for video operations.
|
||||
No external dependencies - only Python standard library and domain concepts.
|
||||
"""
|
||||
|
||||
from .models import VideoFile, VideoMetadata, StreamRange
|
||||
from .interfaces import VideoRepository, VideoConverter, MetadataExtractor
|
||||
|
||||
__all__ = [
|
||||
"VideoFile",
|
||||
"VideoMetadata",
|
||||
"StreamRange",
|
||||
"VideoRepository",
|
||||
"VideoConverter",
|
||||
"MetadataExtractor",
|
||||
]
|
||||
Reference in New Issue
Block a user