[软件服务] 开源untrunc 来修复视频mp4
date
May 16, 2024
slug
newsoftware-untrunc-fix-mp4
status
Published
summary
新软件-
tags
software
service
type
Post
URL
![notion image](https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F79e99652-d5b9-4f77-b4a7-df11d59c6483%2F76c37e68-6a77-4722-80ee-b109ebe247ab%2FUntitled.jpeg?table=block&id=138381df-bf1f-400e-ab86-f5d1c62c9b89&cache=v2)
Summary
- ‣
需要同一个camera的其他好的视频来提供参数
ok.mp4 - from the same camera, any video
broken.mp4
cd ~/_my/cloudsync/sh88qh_h1/SynologyDrive/__qh_tmp/data/
git clone https://github.com/anthwlock/untrunc
cd untrunc
docker build -t untrunc .
# -s 可以去掉
docker run --rm -v $(pwd):/mnt untrunc -s /mnt/ok.mp4 /mnt/broken.mp4