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:
#!/bin/sh | |
filename="passwords.gpg" | |
if [ $EDITOR ] | |
then | |
editor=$EDITOR | |
elif [ -f /usr/bin/editor ] | |
then | |
editor=/usr/bin/editor | |
else | |
editor=vi |
#!/usr/bin/env python | |
from lxml.html import parse | |
def get_today_releases(): | |
url = 'http://www.mangaupdates.com/releases.html' | |
root = parse(url).getroot() | |
today_rls = root.xpath("//div/div[2]//tr[position()>=2]") | |
releases = [] |
// from http://scratch99.com/web-development/javascript/convert-bytes-to-mb-kb/ | |
function bytesToSize(bytes) { | |
var sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB']; | |
if (bytes == 0) return 'n/a'; | |
var i = parseInt(Math.floor(Math.log(bytes) / Math.log(1024))); | |
if (i == 0) return bytes + ' ' + sizes[i]; | |
return (bytes / Math.pow(1024, i)).toFixed(1) + ' ' + sizes[i]; | |
}; |
``` | |
Optional Features: | |
--disable-option-checking ignore unrecognized --enable/--with options | |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] | |
--enable-load-relative resolve load paths at run time | |
--disable-werror don't make warnings into errors even if a compiler | |
support -Werror feature [disabled by default unless | |
development version] | |
--enable-pthread obsolete, and ignored |
package main | |
import ( | |
"crypto/aes" | |
"crypto/cipher" | |
"crypto/rand" | |
"encoding/base64" | |
"fmt" | |
"io" | |
) |
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"log" | |
"net" | |
"os" | |
"time" | |
) |
<?php | |
if(!function_exists('config_path')) | |
{ | |
/** | |
* Return the path to config files | |
* @param null $path | |
* @return string | |
*/ | |
function config_path($path=null) |