Convert Video to MP4 in n8n Automatically
Automated video conversion to MP4 format with n8n and ffpipe. No code, no servers. Free tier includes 100 minutes per month.
What It Does
This workflow automatically converts any video format (MOV, AVI, WebM, etc.) to MP4 with H.264 video codec and AAC audio. Perfect for ensuring universal compatibility across web, mobile, and desktop platforms. Ideal for media workflows, content management systems, or batch processing video libraries.
How It Works with n8n
This preset integrates seamlessly with n8n automation workflows. Simply add the ffpipe HTTP node to your workflow, configure the preset and input URL, and the video processing happens automatically in the background. Results are returned via webhook or polling, allowing you to continue your workflow immediately.
The workflow handles all the heavy lifting: file validation, encoding, output optimization, and error handling. No need to manage servers or monitor processing status — ffpipe takes care of everything.
API Request Example
Make a request directly to the ffpipe API using your API key:
curl -X POST https://api.ffpipe.net/v1/presets/run \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"preset": "transcode_h264_mp4",
"input_url": "https://storage.example.com/video.mov"
}' Response: You'll receive a job ID, status, and estimated completion time. Poll the job status endpoint or use webhooks to get notified when processing completes.
Frequently Asked Questions
What video formats can be converted to MP4?
ffpipe supports converting from any video format that FFmpeg can read, including MOV, AVI, WebM, MKV, FLV, WMV, and more. The output is always H.264 video with AAC audio for maximum compatibility.
How long does MP4 conversion take?
Processing time depends on the video duration, resolution, and bitrate. Most videos process in 1-3x real time. A 10-minute video typically completes within 15-30 seconds.
Can I customize the bitrate and quality?
Yes, the API supports a crf parameter (0-51, default 23) to control quality. Lower values = better quality but larger files. Check the full API documentation for all available options.
What happens if conversion fails?
If an error occurs, ffpipe returns a detailed error message in the job status response. Common issues include unsupported codecs or corrupted input files. Check the documentation for troubleshooting guides.
Related Presets
Ready to automate?
Get 100 free minutes per month on the free tier. No credit card required.
Start Free TrialFor full API reference and advanced options, see the API documentation.