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:
| # RGB to Lab conversion | |
| # Step 1: RGB to XYZ | |
| # http://www.easyrgb.com/index.php?X=MATH&H=02#text2 | |
| # Step 2: XYZ to Lab | |
| # http://www.easyrgb.com/index.php?X=MATH&H=07#text7 | |
| def rgb2lab(inputColor): |
| <html> | |
| <head> | |
| <script src="gif.js"></script> | |
| <script src="http://cdnjs.cloudflare.com/ajax/libs/p5.js/0.3.11/p5.min.js"></script> | |
| <script src="http://cdnjs.cloudflare.com/ajax/libs/p5.js/0.3.11/addons/p5.dom.js"></script> | |
| <script src="sketch.js"></script> | |
| </head> | |
| <body> | |
| <p>First, allow camera access.<p><p>Then click once to start recording, and another time finish recording and make a gif.</p> | |
| </body> |
| """ | |
| MIT License | |
| Copyright (c) 2017 Cyrille Rossant | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is |