2017-09-26 12 views
0

私は指定された部分でmp4を分割する必要があります。彼らはすべて異なった期間です。セグメント分割の例:ffmpegまたはavconvでmp4を高速に分割する方法はどこですか?

1 - 0:00:00 to 0:01:11 
segment 2 - 0:01:11 to 0:04:24 
segment 3 - 0:05:51 to 0:06:30 
... 

私はすでにスクリプトを1つずつ抽出していますが、かなり遅いです。 ファイルを開いたり、デコードしたり、最初から探したりするのに多くの時間を浪費していると思います。

答えて

0

ffmpegのオプションを持っている

- segment_times times 
    Specify a list of split points. times contains 
    a list of comma separated duration specifications, 
    in increasing order. See also the segment_time option. 
関連する問題