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:
| ============================= | |
| **http://kickass.to/infiniteskills-learning-jquery-mobile-working-files-t7967156.html | |
| **http://kickass.to/lynda-bootstrap-3-advanced-web-development-2013-eng-t8167587.html | |
| **http://kickass.to/lynda-css-advanced-typographic-techniques-t7928210.html | |
| **http://kickass.to/lynda-html5-projects-interactive-charts-2013-eng-t8167670.html | |
| **http://kickass.to/vtc-html5-css3-responsive-web-design-course-t7922533.html | |
| *http://kickass.to/10gen-m101js-mongodb-for-node-js-developers-2013-eng-t8165205.html | |
| *http://kickass.to/cbt-nuggets-amazon-web-services-aws-foundations-t7839734.html |
| docker rmi $(docker images -q -f dangling=true) |
I'm going to cover a simple, but effective, utility for managing state and transitions (aka workflow). We often need to store the state (status) of a model and it should only be in one state at a time.
| # delete local tag '12345' | |
| git tag -d 12345 | |
| # delete remote tag '12345' (eg, GitHub version too) | |
| git push origin :refs/tags/12345 | |
| # alternative approach | |
| git push --delete origin tagName | |
| git tag -d tagName |
| """ | |
| An asynchronous task manager. | |
| This is a simple implementation for background task handing. No guarentees are | |
| provided for task execution. | |
| This was developed in the course of the work don for the victims project and | |
| that version is available at | |
| https://github.com/victims/victims-web/blob/master/src/victims_web/handlers/task.py |
| # Installation | |
| brew install ffmpeg --with-vpx --with-vorbis --with-libvorbis --with-vpx --with-vorbis --with-theora --with-libogg --with-libvorbis --with-gpl --with-version3 --with-nonfree --with-postproc --with-libaacplus --with-libass --with-libcelt --with-libfaac --with-libfdk-aac --with-libfreetype --with-libmp3lame --with-libopencore-amrnb --with-libopencore-amrwb --with-libopenjpeg --with-openssl --with-libopus --with-libschroedinger --with-libspeex --with-libtheora --with-libvo-aacenc --with-libvorbis --with-libvpx --with-libx264 --with-libxvid | |
| # Easy Peasy | |
| ffmpeg -i video.mp4 video.webm |
| // app.js | |
| const KEY = 'express.sid' | |
| , SECRET = 'express'; | |
| var express = require('express') | |
| , app = express() | |
| , server = require('http').createServer(app) | |
| , io = require('socket.io').listen(server) | |
| , cookie = express.cookieParser(SECRET) | |
| , store = new express.session.MemoryStore() |
| #! /usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # T: an array containing the values of the coins | |
| # L: integer wich is the total to give back | |
| # Output: Minimal number of coins needed to make a total of L | |
| def dynamicCoinChange( T, L ): | |
| Opt = [0 for i in range(0, L+1)] | |