Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

video-editing

How to extract time-accurate video segments with ffmpeg?

May 7, 2023 by Tarik

Ok, first of all assuming you know the start and stop duration; we will add key-frames at that duration. ffmpeg -i a.mp4 -force_key_frames 00:00:09,00:00:12 out.mp4 Most of the time you can directly cut the video with perfection but in your case it does not help you; so we have taken care of it by above … Read more

Categories video Tags ffmpeg, video, video-editing Leave a comment

Cutting the videos based on start and end time using ffmpeg

September 7, 2022 by Tarik

Try using this. It is the fastest and best ffmpeg-way I have figure it out: ffmpeg -ss 00:01:00 -to 00:02:00 -i input.mp4 -c copy output.mp4 This command trims your video in seconds! Explanation of the command: -i: This specifies the input file. In that case, it is (input.mp4). -ss: Used with -i, this seeks in … Read more

Categories video Tags ffmpeg, video, video-editing Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa