- 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.
19 lines
470 B
Python
19 lines
470 B
Python
"""
|
|
Video Presentation Layer.
|
|
|
|
Contains HTTP controllers, request/response models, and API route definitions.
|
|
"""
|
|
|
|
from .controllers import VideoController, StreamingController
|
|
from .schemas import VideoInfoResponse, VideoListResponse, StreamingInfoResponse
|
|
from .routes import create_video_routes
|
|
|
|
__all__ = [
|
|
"VideoController",
|
|
"StreamingController",
|
|
"VideoInfoResponse",
|
|
"VideoListResponse",
|
|
"StreamingInfoResponse",
|
|
"create_video_routes",
|
|
]
|