whoami7 - Manager
:
/
home
/
bleuhbh
/
www
/
root
/
public
/
newRadio
/
Upload File:
files >> /home/bleuhbh/www/root/public/newRadio/ffmpegtester.php
<?php // Try to locate ffmpeg binary $paths = [ '../../admin/php/ffmpeg/bin/ffmpeg', 'root/admin/php/ffmpeg/bin/ffmpeg', 'www/root/admin/php/ffmpeg/bin/ffmpeg', 'www/root/admin/php/ffmpeg/bin/ffmpeg', 'www/root/admin/php/ffmpeg/bin/ffmpeg', 'www/root/admin/php/ffmpeg/bin/ffmpeg','root/admin/php/ffmpeg/bin/ffmpeg']; foreach ($paths as $path) { $cmd = escapeshellcmd($path) . ' -version 2>&1'; $output = []; $returnCode = 0; exec($cmd, $output, $returnCode); if ($returnCode === 0 && isset($output[0]) && stripos($output[0], 'ffmpeg') !== false) { echo "✅ FFmpeg found at: $path\n"; echo "🔍 Version info:\n" . implode("\n", $output); exit; } } echo "❌ FFmpeg not found in common paths or not accessible from PHP.\n";
Copyright ©2021 || Defacer Indonesia