---
# System prepended metadata

title: '[How] convert PPT to MP4'
tags: ['#work']

---

# [How] convert PPT to MP4
###### tags: `#work`

> ### 解法: ppt -> pdf -> jpg -> mp4
- [[解法] 將 .pptx 或 .ppt 文件轉換為 mp4](https://askubuntu.com/questions/1250980/convert-pptx-or-ppt-files-to-mp4-on-ubuntu)


> ### 1. ppt -> pdf (libreoffice)
- [libreoffice](https://askubuntu.com/questions/11130/how-can-i-convert-a-ppt-to-a-pdf-from-the-command-line)
- [cmd: soffice --headless --convert-to pdf "文件名"](https://superuser.com/questions/1592093/linux-command-to-convert-powerpoint-pptx-to-pdf)


> ### 2. pdf -> jpg (mupdf) -> mp4 (ffmpeg)
- [FFMPEG-实现PDF和视频互转](https://zhuanlan.zhihu.com/p/365700226)
- cmd: pdf -> jpg
![](https://i.imgur.com/ktWvapk.png)

> ### p.s.
- [ffmpeg一些用法](https://trac.ffmpeg.org/wiki/Slideshow)


soffice --headless --invisible --convert-to pdf --outdir D:\ C:\Users\vincent\Desktop\test.pptx