How to convert php WeChat amr to mp3: first download "ffmpeg6-php54-win32-vc9"; then copy "php_ffmpeg.dll" to "php-5.4.45\ext"; finally change the current directory Just add it to the system environment variable path and convert the audio format.
Recommended: "PHP Video Tutorial"
php5.4 ffmpeg WeChat recording amr format to mp3 Format
First download: ffmpeg6-php54-win32-vc9
Windows Server 2008 PHP environment configuration is as follows:
Copy php_ffmpeg.dll to php-5.4. Under 45\ext
Open php.ini and add
[FFmpeg] extension=php_ffmpeg.dll
at the end. Note: php-5.4.x requires thread-safe mode
Please change ffmpeg6-php54-win32-vc9 Place all dll files except php_ffmpeg.dll in the System32 directory
phpinfo() as shown below:
Add the current directory to the system In the environment variable path, audio format conversion:
Convert mobile phone recording amr format to mp3 format
shell_exec("ffmpeg -i a.amr b.mp3");
The above is the detailed content of How to convert php WeChat amr to mp3. For more information, please follow other related articles on the PHP Chinese website!