Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP][inne]ffmpeg
Lirdoner
post
Post #1





Grupa: Zarejestrowani
Postów: 500
Pomógł: 1
Dołączył: 29.09.2009

Ostrzeżenie: (0%)
-----


Witam, pobrałem pewną klasę do pobierania video/audio z youtube na serwer. Niestety pojawia mi się komunikat
Kod
You must have Ffmpeg installed in order to use this function.

Funkcja która wywala ten błąd wygląda tak
  1. /**
  2.   * Check on the command line if we can find an Ffmpeg installation on the script host.
  3.   * @access private
  4.   * @return boolean Returns (boolean) TRUE if Ffmpeg is installed on the server,
  5.   * or FALSE if not.
  6.   */
  7. private function has_ffmpeg()
  8. {
  9. $sh = `which ffmpeg`;
  10. return (bool) (strlen(trim($sh)) > 0);
  11. }

Wszystko uruchamiam teraz na localhost (xampp) i pierwszy raz widzę taki problem. Co z tym zrobić?
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 23.12.2025 - 08:48