Skip to main content
2 of 5
added 44 characters in body; edited title
We are Borg
  • 415
  • 3
  • 9
  • 22

FFMpeg : Creating a video clip of approx. 10 seconds when video duration is unknown without audio-

I am working on a project where I am looking to extract a video clip from an input video. I have found many links(Eg : link) which do this task, but in all this I have to specify video duration.

Unfortunately I don't have that information as I am giving a file-path. What I am looking for is a 10 seconds clip from the video which is saved at specific location without the audio part.

My intention is to show that 10 seconds video as a preview of the actual video in the frontend, and I don't want to start sound in that.. :D

Any help would be nice. Thank you.

We are Borg
  • 415
  • 3
  • 9
  • 22