Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma
You can get the list of supported formats with:
ffmpeg -formats
You can get the list of installed codecs with:
" Vim syntax file | |
" Language: Todo | |
" Maintainer: Huy Tran | |
" Latest Revision: 14 June 2020 | |
if exists("b:current_syntax") | |
finish | |
endif | |
" Custom conceal |
import java.util.ArrayList; | |
import java.util.Collections; | |
import java.util.List; | |
import java.util.Scanner; | |
/* | |
* HACKERRANK INTERVIEW QUESTION | |
* | |
* You are given a list of size N, initialized with zeroes. You have to perform M queries on the list and output the | |
* maximum of final values of all the N elements in the list. For every query, you are given three integers a, b and k and |
# Convert an animated video to gif | |
# Works best for videos with low color palettes like Dribbble shots | |
# | |
# @param $1 - video file name like `animation.mov` | |
# @param @optional $2 - resize parameter as widthxheight like `400x300` | |
# | |
# Example: vidtogif animation.mov 400x300 | |
# Requirements: ffmpeg and gifsicle. Can be downloaded via homebrew | |
# | |
# http://chrismessina.me/b/13913393/mov-to-gif |
#!/usr/bin/env sh | |
open "tel://$*" |
<?php | |
/** | |
- * Carbon diffForHumans multi-language. | |
- * Inspired in a code made by Meroje (https://gist.github.com/Meroje/7783731) | |
- * This code has been improved as in that original version was only showing | |
- * past date differences. Not it's able to show differences in past and future. | |
- * | |
- * Use it this way: | |
- * |