[FFmpeg-user] Facing issue while video crop

Bharathi G bharathi at krify.net
Thu Aug 8 11:38:27 EEST 2019


Hi ,

I am facing issue while cropping the video. i am using  the following
command to crop the video it is working perfect for land scap videos but
for portrait  video it is always crop to top.
Please help in this

potrait
top
-y-ss00:00.0-i input.mp4-t00:06.235-vfcrop=480:480:240:0:exact=0 output.mp4

center
-y-ss00:00.0-i input.mp4-t00:06.235-vfcrop=480:480:145:0:exact=0 output.mp4

bottom

-y-ss00:00.0-i input.mp4-t00:06.235-vfcrop=480:480:12:0:exact=0 output.mp4


landscape
left
-y-ss00:00.0-iinput.mp4-t00:04.104-vfcrop=480:480:0:0:exact=0 output.mp4

center
-y-ss00:00.0-iinput.mp4-t00:04.104-vfcrop=480:480:123:0:exact=0 output.mp4

right
-y-ss00:00.0-iinput.mp4-t00:04.104-vfcrop=480:480:240:0:exact=0 output.mp4
-- 
Thanks & Regards,

*Bharathi G*

Android Developer


Krify Software Technologies (P) Limited   |  Krify Innovations (UK) Limited
•(US) 212-380-1160  •(UK) 020-30062580  •(India) 0884-2342100
•(Web) https://krify.co



Disclaimer:
The content of this mail is Krify - Confidential. This message is for the
named recipient(s) above and may contain confidential, proprietary or
legally privileged information of Krify. If you have received this message
in error, please immediately delete all copies of it, and notify the
sender. Do not disseminate this message to anyone if you are not the
intended recipient. Incase if you don't want to receive any further emails,
then please notify us back.


More information about the ffmpeg-user mailing list