Facing issue while video crop

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Facing issue while video crop

Bharathi G
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.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Facing issue while video crop

Carl Eugen Hoyos-2
Am Do., 8. Aug. 2019 um 10:38 Uhr schrieb Bharathi G <[hidden email]>:

> 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

Please provide the command line you tested together with the complete,
uncut console output if you need support on this mailing list.

[...]

> The content of this mail is Krify - Confidential.

Please remove this from emails sent to a public mailing list.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Facing issue while video crop

Michael Koch
In reply to this post by Bharathi G

> 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

Of course it's always cropped to top, because the y position value is 0
in all three cases.

Michael

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".