Use ffmpeg in ubuntu and use a command to split the video

Source: Internet
Author: User
After ffmpeg is installed in the ubuntu Software Center, we can use a command to split the video. For more information, see the label: Ubuntu

In windows, the video conversion tool re-encodes the video when splitting the video. The final video not only changes the quality, but also takes a lot of time. After ffmpeg is installed in the ubuntu Software Center, we can use a command to split the video.

Ffmpeg-ss 01:00:00-I input_file_h264.mp4-vcodec copy-acodec copy-t 00:06:00 output_file.mp4

Where

-Ss indicates the start time of video segmentation.

Time Unit: Hour: minute: Second

-I input file

Input_file_h264.mp4 indicates the video to be split.

-Vcodec copy Video Encoding

-Acodec copy audio encoding

-T indicates the time from the start to the end of the video.

Output_file.mp4 indicates the split video.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.