Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [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
Damonsson
post
Post #2





Grupa: Zarejestrowani
Postów: 2 355
Pomógł: 533
Dołączył: 15.01.2010
Skąd: Bydgoszcz

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


Jak masz Windows 64bit system to raczej nie zainstalujesz ffmpeg, pół dnia z tym walczyłem kiedyś. A jakby Ci się udało, to się pochwal jak, chętnie skorzystam z rady (IMG:style_emoticons/default/biggrin.gif)

Ten post edytował Damonsson 3.03.2013, 16:19:32
Go to the top of the page
+Quote Post
Lirdoner
post
Post #3





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

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


Mam 32bit jednak na samym localhoscie mi się to za bardzo nie przyda (IMG:style_emoticons/default/biggrin.gif) Ważne żeby potem hosting wszystko obsługiwał.
Wie ktoś może jak to wygląda od strony właśnie hostingu?
Go to the top of the page
+Quote Post

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 - 06:59