FFMPEG Query

Hello all,

I am cropping the video using ffmpeg n it’s working properly. But i want
to see a crop preview before executing crop command.

If anyone have an idea,please help me out.

Thanks in advance.

Why not swtich another software, like Joyoshare Media Cutter? You can crop the video and at the same time preview it.

That’s an old thread, and @jerrysmit necrobumped it with by mentioning the name of freaking windows only video cutter that has nothing to do with Rails. I am also necrobumping in case someone else needs it.

Here’s a link that could be helpful:

For example, if you want to crop a video from 0x and 0y by and make it 200x200, then your command will look something like this:

ffmpeg -i input.mp4 -filter:v 'crop=200:200:0:0' output.mp4

If you want to crop video from Rails using carrierwave, you may take a look at this gem:

I was a little more restrained, just flagging it instead - I will try harder next time :rofl: