Actions11
- Filters and Effect Actions
- Metadata Actions
- RTMP Restreaming Actions
- Transcoding Actions
- Video Processing Actions
Overview
This node provides video transcoding functionality using ffmpeg. It allows users to convert input videos into different formats or codecs with customizable parameters such as video codec, bitrate, frame rate, and resolution. This is useful for scenarios like preparing videos for web streaming, reducing file size, or converting videos to a compatible format for specific devices.
Practical examples include:
- Transcoding an uploaded video to H.264 codec with a specific bitrate and resolution for optimized playback.
- Changing the frame rate of a video to match broadcast standards.
- Converting videos from one format to another while adjusting quality settings.
Properties
Name | Meaning |
---|---|
Video Input | A valid video URL or the name of the input binary field containing the video to transcode. |
Video Output Name | The name of the output binary field where the transcoded video file will be stored. |
Video Codec | The codec to use for transcoding the video (e.g., h264, vp9). |
Transcoding Options | Collection of optional parameters: - Video Bitrate: target bitrate in kbps (default 480) - Fram Rate: frames per second (default 480) - Resolution: output resolution string (e.g., "640x480") |
Output
The node outputs the transcoded video file in a binary field named according to the "Video Output Name" property. The json
output contains metadata about the operation result, but the main content is the binary video data ready for further processing or saving.
Dependencies
- Requires an API key credential for accessing the underlying ffmpeg service.
- Depends on an external ffmpeg-based service or API configured within n8n.
- No additional environment variables are explicitly required based on static analysis.
Troubleshooting
- Invalid video input: If the input video URL or binary field is incorrect or inaccessible, the node may fail to process the video. Ensure the input source is valid and reachable.
- Unsupported codec or options: Providing an unsupported video codec or invalid transcoding options can cause errors. Verify that the codec and parameters are supported by the ffmpeg service.
- API authentication errors: Missing or invalid API credentials will prevent the node from functioning. Confirm that the API key credential is correctly set up in n8n.
- Performance issues: Large videos or high-resolution settings may lead to long processing times or timeouts. Adjust bitrate, resolution, or frame rate accordingly.