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:
| <?php | |
| // Nota: O ideal é que esse script fique em outro arquivo para | |
| // não misturar regras de negócio com o HTML ... | |
| $wsdl = "http://ws.registrocivil.org.br/listarCartoriosReceitaFederal.cfc?wsdl"; | |
| try { | |
| $options = array( | |
| 'soap_version' => SOAP_1_1, |
| ini_set('soap.wsdl_cache_enabled', 0); | |
| ini_set('soap.wsdl_cache_ttl', 900); | |
| ini_set('default_socket_timeout', 15); | |
| $params = array('param1'=>$param1); | |
| $wsdl = 'http://service_url/method?WSDL'; |
git add HISTORY.md
git commit -m "Changelog for upcoming release 0.1.1."
bumpversion patch
| CREATE FUNCTION `lat_lng_distance` (lat1 FLOAT, lng1 FLOAT, lat2 FLOAT, lng2 FLOAT) | |
| RETURNS FLOAT | |
| DETERMINISTIC | |
| BEGIN | |
| RETURN 6371 * 2 * ASIN(SQRT( | |
| POWER(SIN((lat1 - abs(lat2)) * pi()/180 / 2), | |
| 2) + COS(lat1 * pi()/180 ) * COS(abs(lat2) * | |
| pi()/180) * POWER(SIN((lng1 - lng2) * | |
| pi()/180 / 2), 2) )); | |
| END |