ffmpeg -i inputfile.mp4 -aspect 1:1 -r 18.84 -vf "crop=440:440:320:750" outputfile.mp4
Arguments:
-aspect(aspect ratio, required or error)-r(framerate, required or error)"crop=440:440:320:750"corresponds towidth:height:topleftx:toplefty
| package com.doomonafireball.samples.android.widget; | |
| import com.doomonafireball.samples.android.R; | |
| import android.content.Context; | |
| import android.content.res.Resources; | |
| import android.content.res.TypedArray; | |
| import android.graphics.Canvas; | |
| import android.graphics.Color; | |
| import android.graphics.Paint; |
| <?xml version="1.0" encoding="utf-8"?> | |
| <resources> | |
| <declare-styleable name="CircularProgressView"> | |
| <attr name="cpv__backgroundColor" format="color" /> | |
| <attr name="cpv__backgroundColorPressed" format="color" /> | |
| <attr name="cpv__animationTime" format="float" /> | |
| <attr name="cpv__insideRadius" format="dimension" /> | |
| <attr name="cpv__progressWidth" format="dimension" /> | |
| </declare-styleable> | |
| </resources> |
| package com.doomonafireball.demo.android.widget; | |
| import android.content.Context; | |
| import android.util.AttributeSet; | |
| import android.view.MotionEvent; | |
| import android.widget.ScrollView; | |
| /** | |
| * User: derek Date: 12/7/13 Time: 2:37 PM | |
| * |
| package com.doomonafireball.demo.android.widget; | |
| import android.content.Context; | |
| import android.util.AttributeSet; | |
| import android.view.MotionEvent; | |
| import android.view.View; | |
| import android.widget.ListView; | |
| /** | |
| * User: derek Date: 12/7/13 Time: 2:37 PM |
| Welcome to White Elephant! Please input names line by line. When you are finished inputting names, press enter on a blank line. | |
| Participant name: Erika Cober | |
| Participant name: Kevin Conner | |
| Participant name: Derek Brameyer | |
| Participant name: Jeff Pamer | |
| Participant name: Eric Richardson | |
| Participant name: Andrew Harris | |
| Participant name: Fabian Reddig | |
| Participant name: Hyun-Woo Park |