alfg / ffmpeg-commander

🛠️ FFmpeg Command Generator Web UI
http://alfg.dev/ffmpeg-commander/
MIT License
762 stars 90 forks source link

Cropping Option #16

Closed cinghaman closed 3 years ago

cinghaman commented 3 years ago

Looking at ways to add option to crop the input video at a given time stamp like crop 10 sec from the video starting at 15min ... Also looking at ways to do a dynamic video source input like from a google spreadsheet (picking the files from dropbox).

Do you think your tool could achieve something like that?

alfg commented 3 years ago

Hey @cinghaman,

Can you enable clip from the format tab using a start time of: 00:15:00 and stop time of: 00:15:10 to clip the video? It should generate the following output, which you can use to trim your video.

ffmpeg -i input.mp4 -ss 00:15:00 -to 00:15:10 -c:v libx264 -c:a copy output.mp4

Also, I'm not sure about adding a dynamic video source, since this tool doesn't actually do any processing. Instead it just generates the command for you to run ffmpeg on your machine. The input and output options are a used to populate the input/output when generating the output command.

cinghaman commented 3 years ago

Hey @cinghaman,

Can you enable clip from the format tab using a start time of: 00:15:00 and stop time of: 00:15:10 to clip the video? It should generate the following output, which you can use to trim your video.

ffmpeg -i input.mp4 -ss 00:15:00 -to 00:15:10 -c:v libx264 -c:a copy output.mp4

Also, I'm not sure about adding a dynamic video source, since this tool doesn't actually do any processing. Instead it just generates the command for you to run ffmpeg on your machine. The input and output options are a used to populate the input/output when generating the output command.

Perfect thanks

alfg commented 3 years ago

You're welcome. :)

Can this be closed?