Problems with generating preview image

You need to be logged in to post messages in the forums. New users may register here.

Holger Marx

Member since:
09 January 2008

Posts: 4

Wednesday 03 December 2008 2:12:46 am

Hello and thanks to Damien!


I have installed the eZ Video FLV extension (version 0.2) on an eZ Publish 4.0.1 installation.
After uploading a wmv-file via Video FLV datatype the file is converted to flv correctly.

The only problem is the missing preview image, which should be generated.
The needed directory flv_preview (in var/ezwebin_site/storage/) exists - but it is empty!

Calling ../video/preview/163/960 I get the error message:
Fatal error: failed to convert frame to gd image in ../extension/ezvideoflv/datatypes/ezvideoflv/ezvideoflv.php on line 157

line 157:
$gd_image = $frame->toGDImage();



Calling ../video/flv/163/960 the download dialogue starts ... so the given ids seem to be correct!

-------------------------------------------------------------
My ffmpeg-php settings:

ffmpeg-php version 0.5.3.1
libavcodec version Lavc51.71.0
libavformat version Lavf52.21.0
ffmpeg-php gd support enabled


-------------------------------------------------------------
My gd settings:

GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.2.1
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled



Any ideas? Do I use a wrong version of ffmpeg-php or gd?
Up

Holger Marx

Member since:
09 January 2008

Posts: 4

Friday 05 December 2008 1:28:17 am

The problem is solved!
Cause of the problem was a bug in the ffmpeg-php-extension.
The bug could be fixed by using this patch: http://www.mail-archive.com/debian-bugs-forwarded@lists.debian.org/msg10124.html

Although the patch is for ffmpeg-php 0.5.3.1-2 it works for version 0.6.0-svn too!
Up

You need to be logged in to post messages in the forums. New users may register here.