video-downloader-transcoder

Manage a NestJS video download and transcode pipeline with yt-dlp and ffmpeg-static.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/cromesdk/ai-skills --skill video-downloader-transcoder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: video-downloader-transcoder
Source: https://github.com/cromesdk/ai-skills/tree/main/skills/nestjs/nestjs-video-downloader-transcoder
Command: npx skills add https://github.com/cromesdk/ai-skills --skill video-downloader-transcoder

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires youtube-dl-exec, ffmpeg-static, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of downloading media from various sources and transcoding it into desired formats and quality levels within a NestJS backend, ensuring robust and secure API operations.

Core Features & Use Cases

  • Video Downloading: Utilizes yt-dlp via youtube-dl-exec to download media.
  • Video Transcoding: Employs ffmpeg-static for efficient video and audio transcoding.
  • API Integration: Maintains a stable POST /video-downloader-transcoder/transcode endpoint with validated DTOs.
  • Use Case: Implement or fix a feature in your NestJS application that allows users to upload a video URL, have it downloaded, and then transcoded into an MP4 format with a specific quality preset, all handled securely by the backend.

Quick Start

Use the video-downloader-transcoder skill to add or repair the existing NestJS video download and transcode API.

Frequently Asked Questions about video-downloader-transcoder

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I download and transcode videos in a NestJS backend?

To download and transcode videos in NestJS, use youtube-dl-exec to run yt-dlp for media retrieval and ffmpeg-static for format conversion with quality presets. The pipeline operates synchronously through a secure POST API endpoint with DTO validation.

Can I use yt-dlp and ffmpeg-static together for video processing?

Yes, yt-dlp and ffmpeg-static work together within a synchronous NestJS pipeline where youtube-dl-exec manages media downloading and ffmpeg-static executes the transcoding. The integration includes structured stage logging and secure subprocess execution.

What is the best way to validate API requests for video transcoding in NestJS?

Validate API requests for video transcoding in NestJS using validated DTOs to preserve the API contract. This approach ensures secure subprocess execution and enables structured stage logging for the video download and transcode pipeline endpoint.

Does the NestJS video download and transcode pipeline support quality presets?

Yes, the NestJS video download and transcode pipeline supports quality presets for transcoding media into desired formats like MP4. Quality presets are applied during the ffmpeg-static processing stage alongside optional preview embedding and structured logging.

Why does my NestJS video transcoding subprocess need secure execution?

NestJS video transcoding subprocesses need secure execution to protect the backend when running external binaries like yt-dlp and ffmpeg-static. Secure execution mitigates risks when processing user-provided video URLs during the synchronous download and transcode pipeline.