Drupal 7 - Pfad zu FFMPEG

am 21.07.2013 - 17:29 Uhr in
Hallo zusammen,
ich habe leider ein Problem FFMPEG auf einer Drupal 7 Installation zum Laufen zu bekommen.
Das Video Modul ist installiert und aktiviert und nun wollte ich zwecks Umwandlung von Videos und automatischer Erstellung von je einem Thumbnail pro Video noch FFMPEG zum Laufen bringen.
Zum FFMEG selbst, "ffmpeg -version" bringt folgende Ausgabe:
ffmpeg version 1.2.1
built on Jul 19 2013 11:08:19 with Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
configuration: --prefix=/usr/local/Cellar/ffmpeg/1.2.1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
libavutil 52. 18.100 / 52. 18.100
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.104 / 54. 63.104
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 42.103 / 3. 42.103
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Als Pfad habe ich unter "Path to FFmpeg or avconv executable" folgendes eingetragen: /usr/local/bin/ffmpeg
(den Pfad habe ich mir vorher im Terminal per "which ffmpeg" ausgeben lassen)
Daraufhin bekomme ich folgende Fehlermeldung von Drupal angezeigt:
FFmpeg not found at /usr/local/bin/ffmpeg. To convert videos and create thumbnails you have to install FFmpeg on your server. For more information please see the documentation.
Visit the FFmpeg debug page for information thay may help you find the cause of this problem.
Die Debug Page listet als Debug Information dieses Array auf:
array (
'ffmpeg-found' => false,
'compiler' =>
array (
),
'binary' =>
array (
),
'ffmpeg-php-support' => false,
'raw' => 'dyld: Symbol not found: __cg_jpeg_resync_to_restart
Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
Expected in: /Applications/MAMP/Library/lib/libJPEG.dylib
in /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
dyld: Symbol not found: __cg_jpeg_resync_to_restart
Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
Expected in: /Applications/MAMP/Library/lib/libJPEG.dylib
in /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
dyld: Symbol not found: __cg_jpeg_resync_to_restart
Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
Expected in: /Applications/MAMP/Library/lib/libJPEG.dylib
in /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
dyld: Symbol not found: __cg_jpeg_resync_to_restart
Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
Expected in: /Applications/MAMP/Library/lib/libJPEG.dylib
in /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
',
)
Hat jemand vielleicht eine Idee, woran das liegen könnte?
- Anmelden oder Registrieren um Kommentare zu schreiben
hast du ffmpeg installiert
am 22.07.2013 - 06:48 Uhr
hast du ffmpeg installiert auf deinem server? auf nromalen webhosting anbeietrn ist der meistens nciht vorhanden!
FFMPEG Installation
am 22.07.2013 - 08:21 Uhr
Bisher wollt ich es erst einmal nur lokal zum Laufen bekommen.
Zu meiner lokalen Umgebung:
- Mac OS 10.7.5
- Mamp (mit PHP Version 5.4.10)
Und dort ist ffmpeg definitiv installiert.
Fehlermeldung beseitigt
am 22.07.2013 - 10:06 Uhr
So die ffmpeg-Pfad-Fehlermeldung unter Drupal habe ich wegbekommen.
Habe unter
/Applications/MAMP/Library/bin/envvars
folgenden Pfad
export DYLD_LIBRARY_PATH
geändert in
export PATH="$PATH:/opt/local/bin"
Den Hinweis dazu hatte ich hier gefunden:
http://stackoverflow.com/questions/15186390/ffmpeg-command-doesnt-work-i...
Muss allerdings erst noch ausgiebig testen, ob die Videokonvertierung und Thumbnailerzeugung im Zusammenspiel Mamp-Drupal nun so laufen wie gewollt.
Aber vielleicht hilft dies ja dem ein oder anderen mit ähnlichem Problem weiter.