如何使用FFMPEG从视频中提取视频片段? [英] How to extract a video segment from a video using FFMPEG?

查看:362
本文介绍了如何使用FFMPEG从视频中提取视频片段?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是FFMPEG的新手,我被困在使用FFMPEG提取视频片段的过程中.由于我使用的是直接命令行界面. 如果我要从第0帧到第100000帧提取视频,或者如果我想从5小时长的视频中提取1小时的视频片段,那么命令行参数是什么?

I am a newbie to FFMPEG, I am stuck at using FFMPEG to extract a segment of video. Since I am using the direct command line interface. What would be the command line arguments if I am to extract say, video from frame 0 to frame 100000 or if I wanted to extract a video segment of 1 hour from a video that is 5 hours long?

谢谢!

推荐答案

啊!只需添加-t 01:00:00即可提取1小时的视频.

Aah! Simple just add -t 01:00:00 to extract the 1 hour video.

这篇关于如何使用FFMPEG从视频中提取视频片段?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆