Skip to content

Feature/multi resolution transcoding - #7

Merged
GiorgiZanqaidze merged 10 commits into
mainfrom
feature/multi-resolution-transcoding
Dec 20, 2025
Merged

Feature/multi resolution transcoding#7
GiorgiZanqaidze merged 10 commits into
mainfrom
feature/multi-resolution-transcoding

Conversation

@GiorgiZanqaidze

Copy link
Copy Markdown
Contributor

No description provided.

- Introduced `ResolutionConfig` interface for defining video resolutions.
- Added `DEFAULT_RESOLUTIONS` constant for standard resolutions (360p, 720p, 1080p).
- Updated `TranscodeJobData` to include optional `resolutions` array, replacing the deprecated `profile` field for resolution specification.
- Modified `QueueService`, `QueueConsumerService`, and `VideosService` to utilize the new resolution configuration, ensuring backward compatibility with existing profile usage.
- Added functionality to generate and upload a master playlist after successful resolution uploads.
- Introduced `generateMasterPlaylist` method to create HLS playlist content based on successful resolutions.
- Updated progress reporting to reflect the new steps in the transcoding workflow.
- Added `updateStatusSafely` method to handle video status updates with error logging.
- Introduced `categorizeError` method to classify errors and provide detailed logging context.
- Refactored status update calls in the message handling process to utilize the new methods, enhancing robustness and clarity in error management.
- Enhanced progress reporting for transcoding by implementing specific milestones for three resolutions (360p, 720p, 1080p) and dynamic calculations for other resolution counts.
- Added upload progress milestones to improve user feedback during the upload phase.
- Streamlined the progress reporting logic to ensure accurate updates throughout the transcoding and uploading processes.
…ality

- Removed global prefix from API routes for cleaner URL structure.
- Updated video streaming endpoints to support resolution-specific requests and improved error handling.
- Introduced new HTML assets for the main dashboard and video player, enhancing user interface and experience.
- Refactored existing methods to streamline video processing and loading logic, ensuring better performance and maintainability.
- Updated video processing logic to better accommodate multiple resolutions.
- Refined methods for handling resolution-specific tasks, ensuring smoother transcoding and playback.
- Improved overall performance and maintainability of the video processing workflow.
@GiorgiZanqaidze GiorgiZanqaidze self-assigned this Dec 20, 2025
@GiorgiZanqaidze GiorgiZanqaidze added documentation Improvements or additions to documentation enhancement New feature or request improvement New Feature and functionalities labels Dec 20, 2025
@nx-cloud

nx-cloud Bot commented Dec 20, 2025

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit 1d60141

Command Status Duration Result
nx run-many -t lint test build ✅ Succeeded 12s View ↗

☁️ Nx Cloud last updated this comment at 2025-12-20 15:13:19 UTC

@GiorgiZanqaidze
GiorgiZanqaidze merged commit e6efa6a into main Dec 20, 2025
1 check passed
@GiorgiZanqaidze
GiorgiZanqaidze deleted the feature/multi-resolution-transcoding branch December 20, 2025 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request improvement New Feature and functionalities

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant