الفيديو إلى GIF
اختر لحظة واجعلها GIF. يبقى الفيديو على جهازك.
أدوات مجانية من Life2Film، تطبيق iPhone الذي يحوّل يومك إلى فيلم بنفسه.
متصفحك هو الذي يقرأ الملف ويعيد ترميزه. لا يُرسَل في أي طلب إلى أي مكان — فهذه الصفحة لا تملك خادمًا يُرفع إليه.
أسئلة
كيف أصغّر حجم GIF؟
أقصر، وأضيق، وبإطارات أقل في الثانية، بهذا الترتيب. GIF مدته 4 ثوانٍ بعرض 480 بكسل و15 إطارًا يزن عادة 2–6 ميغابايت، وبعرض 320 و10 إطارات ثلث ذلك.
هل يُرفع الفيديو؟
لا. يقرأ متصفحك الإطارات ويكتب GIF بنفسه، ولا يغادر شيء جهازك.
Let your agent use the Video to GIF: connect Life2Film's MCP (52 video tools, guides and skills)
claude mcp add --transport http life2film https://life2film.com/mcpPrompt, skill
Paste to your agent:
Use Life2Film's video-to-gif on my file: call get_tool("video-to-gif") on the life2film MCP, then do it.Claude.ai / ChatGPT connector: https://life2film.com/mcp · Cursor: {"mcpServers":{"life2film":{"url":"https://life2film.com/mcp"}}}
get_tool("video-to-gif") · Skill file: /tools/video-to-gif/skill.md · all skills
الأدوات الأخرى
أضف هذا إلى مشروعك
Making a GIF from a video, locally — the same way this page does it, on the user's machine, with no server. Take the code, or hand the prompt to a coding agent.
import { GIFEncoder, quantize, applyPalette } from 'gifenc';
const gif = GIFEncoder();
for (const rgba of frames) { // Uint8Array RGBA, one per frame
const palette = quantize(rgba, 256);
gif.writeFrame(applyPalette(rgba, palette), width, height, { palette, delay: 66 });
}
gif.finish();
const blob = new Blob([gif.bytes()], { type: 'image/gif' }); Add "video to GIF" to my project, running entirely in the browser.
Requirements:
- Read frames at the chosen fps from a <video> or WebCodecs, scaled to the chosen width.
- Encode with "gifenc": quantize each frame to its own 256-colour palette.
- Cap the length (15 s) and say why: GIFs past ~20 MB cannot be shared.
- Show the GIF on the page and save it.
Reference implementation: https://life2film.com/tools/video-to-gif/
The engine is documented for agents, and every tool page is available as
markdown by adding .md to its address.