PHP Classes

ffmpeg not finding extensions?

Recommend this page to a friend!

      PHP Video Toolkit  >  All threads  >  ffmpeg not finding extensions?  >  (Un) Subscribe thread alerts  
Subject:ffmpeg not finding extensions?
Summary:example03 fails
Messages:1
Author:Eduard Marghidan
Date:2012-03-20 11:34:57
 

  1. ffmpeg not finding extensions?   Reply   Report abuse  
Picture of Eduard Marghidan Eduard Marghidan - 2012-03-20 11:34:57
am trying to get example03 to work, but i get this error:

FFMPEG ERROR: Execute error. Output for file "/var/www/vhosts/mysite.com/httpdocs/videotoolkit/examples/tmp/1332243129-4f686ab93c34d/tmp_%d.jpg" was found, but the file contained no data. Please check the available codecs compiled with FFmpeg can support this type of conversion. You can check the encode decode availability by inspecting the output array from PHPVideoToolkit::getFFmpegInfo().

I have all the right folders with 777 perms, etc.
But the output from FFmpegInfo doesn't seem to have a valid configuration?
although I have all the packages installed fine. Any help would be appreciated.
[root@host5 examples]# ffmpeg
FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers
built on Jan 29 2012 23:55:02 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-avfilter-lavf --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.19. 0 / 1.19. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...


output example09:
FFmpeg-PHP Support
Congratulations you have the FFmpeg-PHP module installed.

This is the information that is accessible about your install of FFmpeg.

Array
(
[compiler] => Array
(
[configuration] => Array
(
[0] => --prefix
[1] => --libdir
[2] => --shlibdir
[3] => --mandir
[4] => --incdir
[5] => --disable-avisynth
[6] => --extra-cflags
[7] => --param
[8] => --enable-avfilter
[9] => --enable-avfilter-lavf
[10] => --enable-libdirac
[11] => --enable-libfaac
[12] => --enable-libfaad
[13] => --enable-libfaadbin
[14] => --enable-libgsm
[15] => --enable-libmp3lame
[16] => --enable-libopencore-amrnb
[17] => --enable-libopencore-amrwb
[18] => --enable-libx264
[19] => --enable-gpl
[20] => --enable-nonfree
[21] => --enable-postproc
[22] => --enable-pthreads
[23] => --enable-shared
[24] => --enable-swscale
[25] => --enable-vdpau
[26] => --enable-version3
[27] => --enable-x11grab
)

[vhook-support] =>
[versions] => Array
(
)

)

[formats] => Array
(
)

[filters] => Array
(
)

[abbreviations] => Array
(
)

[ffmpeg-php-support] => module
)