Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ffmpeg script #562

Closed
Yuyz0112 opened this issue Mar 10, 2025 · 1 comment
Closed

ffmpeg script #562

Yuyz0112 opened this issue Mar 10, 2025 · 1 comment

Comments

@Yuyz0112
Copy link
Owner

我要把 scf-01.mp4 前 15s 的内容去掉,应该怎么写 ffmpeg CLI

Copy link
Contributor

ffmpeg -i scf-01.mp4 -ss 00:00:15 -c copy output.mp4

This command will create a new video file named output.mp4 that starts 15 seconds into the original scf-01.mp4 file. The -c copy option tells ffmpeg to stream copy the video and audio, which is faster than re-encoding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant