Skip to content

Instantly share code, notes, and snippets.


Hao Wu Hao-Wu

  • Beijing
Block or report user

Report or block Hao-Wu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Hao-Wu / gist:c6a3d0dbdf4ed8f34cd7b42ff7114d55
Created Feb 26, 2018
FFMPEG compress mp4 video file to specific width with the same aspect ratio
View gist:c6a3d0dbdf4ed8f34cd7b42ff7114d55
ffmpeg -i input.mp4 -vf scale=302:-1 -vcodec h264 -acodec aac output.mp4
You can’t perform that action at this time.