[FFmpeg-user] How to split webm files quickly?

Peng Yu pengyu.ut at gmail.com
Wed Jul 5 01:05:16 EEST 2023


OK. This works.

Can I always specify -vcodec copy even for audio files? Or it will
have a back consequence? Thanks.

On 7/4/23, Vincent Deconinck <vincent at deconinck.info> wrote:
> Hi,
>> I currently use these commands to split it. But it is very slow. I
>> have waited for 15 minutes without getting the first chunk finished.
>> What is the fastest way to split a video file like this? Thanks.
>>
>> f=input.webm
>> ffmpeg -i "$f" -acodec copy -ss 00:00:00 -t 00:15:00 0.webm
> "-acodec copy" prevents re-encoding of the audio track.
> Have you tried adding "-vcodec copy" to also prevent re-encoding of the
> video track ?
>
> Kind regards,
>
>
>      Vincent
>
>
>
>


-- 
Regards,
Peng


More information about the ffmpeg-user mailing list