Convert GIF to MP4 with FFmpegAPI
FFmpeg is a powerful tool for media processing. While it can be used to perform virtually any kind of media processing (such as applying filters, cropping, or merging), this workflow only demonstrates format conversion: GIF to MP4.
This workflow uses a REST API for FFmpeg. Be sure to follow the steps outlined in the notes to create a free account and get an API key.
How to use: Execute the workflow to bring up the form. You can select the GIF that you want to convert. Once selected, click 'Convert'. You'll get the converted MP4 URL a few seconds later. Go ahead and download that.
How it works Here is a high-level overview of how it works: Once you select a file and click 'Convert', we upload the file to n8n and get its name. The name is then used to create a file entry in FFmpegAPI and get an Upload URL and a file path. The upload URL is then used to upload the binary assets from step 1. Finally, the file path from step 2 is used to process the file and convert it into an MP4. The download URL is returned at the last step so you can download the final file.
Requirements A free API key from FFmpegAPI
Customization
You can change the first node (Attach file) to accept multiple or different file formats. Currently, it's only restricted to .gif files. The Process file node can also be changed to perform any other operation on the file. Consult the FFmpegAPI docs for more information.
Related Templates
AI Agent: Scrape, Summarize & Save Articles to Notion (Gemini, Browserless)
This n8n workflow automates the process of saving web articles or links shared in a chat conversation directly into a No...
USDT And TRC20 Wallet Tracker API Workflow for n8n
Overview This n8n workflow is specifically designed to monitor USDT TRC20 transactions within a specified wallet. It u...
Send structured logs to BetterStack from any workflow using HTTP Request
Send structured logs to BetterStack from any workflow using HTTP Request Who is this for? This workflow is perfect for...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments