Skip to content

CLI #1490

Answered by mifi
masterofobzene asked this question in Q&A
CLI #1490
Feb 23, 2023 · 1 comments · 19 replies
Discussion options

You must be logged in to vote

Well, if its not, please tell me how to make ffmpeg cut a one hour video into segmentS of 30 seconds. Have in mind that by doing so, it makes losslesscut obsolete.

just to prove my point that AI works I copy pasted your question:

ChatGTP output:

please tell me how to make ffmpeg cut a one hour video into segmentS of 30 seconds

You can use ffmpeg to split a one-hour video into 30-second segments using the -segment_time option. Here’s the command:

ffmpeg -i input.mp4 -c copy -map 0 -f segment -segment_time 30 -reset_timestamps 1 output_%03d.mp4

Explanation:

  • -i input.mp4 → Specifies the input video.
  • -c copy → Copies the streams without re-encoding (fast and lossless).
  • -map 0 → Ensures a…

Replies: 1 comment 19 replies

Comment options

You must be logged in to vote
19 replies
@masterofobzene
Comment options

@mifi
Comment options

mifi Jan 31, 2025
Maintainer

@mifi
Comment options

mifi Jan 31, 2025
Maintainer

@mifi
Comment options

mifi Jan 31, 2025
Maintainer

Answer selected by masterofobzene
@masterofobzene
Comment options

@mifi
Comment options

mifi Jan 31, 2025
Maintainer

@masterofobzene
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants