# Paper Slides To Video

> |

- **Type:** Skill
- **Install:** `agentstack add skill-yhbcode000-paper-share-skills-paper-slides-to-video`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [yhbcode000](https://agentstack.voostack.com/s/yhbcode000)
- **Installs:** 0
- **Category:** [Content & Media](https://agentstack.voostack.com/c/content-and-media)
- **Latest version:** 0.1.0
- **License:** Apache-2.0
- **Upstream author:** [yhbcode000](https://github.com/yhbcode000)
- **Source:** https://github.com/yhbcode000/paper-share-skills/tree/main/paper-slides-to-video
- **Website:** https://blog.yhbcode000.tech/paper-share-skills/

## Install

```sh
agentstack add skill-yhbcode000-paper-share-skills-paper-slides-to-video
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Paper Slides to Video

The public entrypoint is:

```text
/paper-slides-to-video/scripts/slides_to_video.py
```

Run it with the package environment:

```bash
uv run --project /paper-slides-to-video python /paper-slides-to-video/scripts/slides_to_video.py 
```

## Exact CLI

- `render PDF FRAME_DIR [--dpi 200]`
- `plan TEX`
- `narrations FRAME_DIR TEX --annotated-tex ANNOTATED_TEX`
- `tts FRAME_DIR [--lang zh]`
- `assemble FRAME_DIR OUTPUT [--pad-sec 0.5] [--speed 1.25]`
- `cover FIRST_FRAME OUTPUT`
- `metadata TEX COVER OUTPUT`
- `full PAPER_DIR --annotated-tex ANNOTATED_TEX`

## Required full workflow

1. Compile `slides-beamer/main.pdf` before invoking this package.
2. Copy `slides-beamer/main.tex` to `video/main_with_narration.tex` and add one nonempty `% NARRATION:` annotation for every rendered physical page. This per-physical-page contract is what keeps landscape and portrait renders in sync: both orientations are assembled from the same PDF pages, so narration/audio cardinality gates apply equally to each orientation.
3. Run `full` with the annotated TeX path.

```bash
uv run --project /paper-slides-to-video python /paper-slides-to-video/scripts/slides_to_video.py full "" --annotated-tex "/video/main_with_narration.tex"
```

`full` removes any stale narrated output before processing. It requires exact PNG/TXT/MP3 cardinality, nonempty narration and audio, probeable positive audio durations, and an assembled MP4 containing both video and audio streams. A missing narration or MP3 exits nonzero and cannot leave a narrated result.

## Tool discovery

- `PDFTOPPM` or `POPPLER_DIR` (directory containing `pdftoppm`), then `PATH`
- `FFMPEG`, then `PATH`
- `FFPROBE`, then `PATH`
- `EDGE_TTS_BIN`, then `PATH`

Silence is never implicit. Programmatic callers may create a deliberately silent page only by calling `encode_slide(..., require_audio=False)`. The public default is `require_audio=True`.

Outputs are written under `/video/`: `video_frames/`, `_narrated.mp4`, `cover.png`, `frames_data.json`, `narrations.json`, and `video_meta.json`.

## Related skills

- skill://batch-papers-single-omp-full-pipeline
- skill://batch-slides-to-video
- skill://blog-to-bilibili
- skill://edge-tts-retry-video-driver
- skill://index-tts-fallback

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [yhbcode000](https://github.com/yhbcode000)
- **Source:** [yhbcode000/paper-share-skills](https://github.com/yhbcode000/paper-share-skills)
- **License:** Apache-2.0
- **Homepage:** https://blog.yhbcode000.tech/paper-share-skills/

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-yhbcode000-paper-share-skills-paper-slides-to-video
- Seller: https://agentstack.voostack.com/s/yhbcode000
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
