SuperAPIAI Directory

pdf2video

github.com · AI video

pdf2video is an open-source tool that converts PDF documents into video presentations with smooth animations. It supports multiple scene types, including card stack entrances, focusing and zooming in on specific pages, smooth page turning, and fan carousels, and comes with animation effects such as natural card unfolding, breathing, bounce-back, and folding. The project provides a title system, a bottom information bar, an ending scene, dynamic duration, background music fade-in and fade-out, and 2x high-resolution rendering of focused pages. In terms of configuration, users place the PDF and background music into the public/ folder and control the presentation flow and script entry types through props.json. The project also includes a Claude Code skill that can automatically analyze PDFs, extract key points and page titles, generate configuration, and render videos. The output specifications are 1920x1080, 30fps.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

pdf2video is an open-source project for converting PDF documents into video presentations with smooth animations. Its core goal is to transform static PDF content into a more expressive video presentation format.

In terms of main capabilities, the project provides multiple scene types. The stack type implements card stacking display and entrance animations; the focus type can extract and zoom in on specific pages and supports scrolling; the switch type implements smooth page sliding transitions; the fan type uses a fan-shaped or carousel layout with rotation and focus effects. The animation design includes a natural poker-card-like unfolding when focusing, a breathing effect before scrolling, a bounce-back effect when scrolling stops, and a folding animation for seamless scene transitions.

The project also includes a title system that can display the main title and subtitle at the opening, continuously display a corner title while browsing pages, and support custom titles for each page. The bottom information bar provides a scene title with typewriter-effect description, a progress indicator (such as the 1/5 format), and customizable per-page descriptions. In the ending scene, the PDF stack moves to the left as staggered cards, with a "Thank you" message and title displayed on the right, along with animated decorative lines.

In terms of dynamic effects and rendering, the video duration is automatically calculated based on the script configuration. Background music supports automatic fade-in and fade-out (2 seconds each), and the duration automatically matches the video length. Focused pages are rendered at 2x resolution to ensure clarity when zooming.

In terms of usage, users need to place the PDF and background music into the public/ folder, and then control the presentation flow by configuring script entry types in props.json. The project supports development preview and provides example configuration. In addition, the project includes a Claude Code skill (located at .claude/skills/pdf-to-video/) that can be used for automated PDF-to-video conversion. The skill is already in the correct location; to use it globally, it can be copied to the user's home directory. After installation, users only need to give Claude an instruction, for example, "Help me turn this PDF into a presentation video: /path/to/document.pdf", and it can automatically complete steps such as reading and analyzing PDF content, extracting key points and page titles, generating props.json configuration, and automatically rendering the video.

The project structure is clear, and the tech stack includes Remotion (React video framework), react-pdf (PDF rendering), pdfjs-dist (PDF parsing), and Zod (schema validation). The output specifications are resolution 1920 x 1080, frame rate 30 fps, and duration dynamically changing according to the script. The project was created by @JinsFavorites, and the author encourages users to give a ⭐️ if they find it useful.

In terms of limitations, the materials do not provide information about system requirements, dependency installation details, custom animation parameters, error handling, performance limitations, etc.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools