Hi i am using DOM to Upload Videos to my server. ffmpeg ist installed properly:
ffmpeg_log.txt:
[2010-10-14 12:08:15] /usr/local/bin/ffmpeg
[2010-10-14 12:08:15] FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers
built on Oct 13 2010 14:32:14 with gcc 4.2.1 20070719 [FreeBSD]
configuration: --prefix=/usr/local --mandir=/usr/local/man --enable-shared --enable-gpl --enable-postproc --enable-avfilter --enable-avfilter-lavf --enable-pthreads --enable-x11grab --enable-memalign-hack --cc=cc --extra-cflags=-msse -I/usr/local/include --extra-ldflags=-L/usr/local/lib --extra-libs=-pthread --disable-debug --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libdirac --disable-libfaac --disable-libfaad --disable-ffserver --disable-libgsm --disable-libmp3lame --disable-libopenjpeg --disable-libschroedinger --disable-ffplay --disable-libspeex --disable-libtheora --disable-libvorbis --disable-libvpx --disable-libx264 --disable-libxvid
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
Use -h to get full help or, even better, run 'man ffmpeg'
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
But everytime i upload anvideo, FileDataObjectManager.php doesnt change the ClassName
Every time "File" is saved to file.ClassName.
// Provide an "upgrade" to File subclasses
if($file->class == "File") {
$ext = strtolower($file->Extension);
if(in_array($ext, MP3::$allowed_file_types) && FileDataObjectManager::$upgrade_audio)
$file = $file->newClassInstance("MP3");
else if(in_array($ext, array('jpg','jpeg','gif','png')) && FileDataObjectManager::$upgrade_image)
$file = $file->newClassInstance("Image");
else if(in_array($ext, FLV::$allowed_file_types) && FileDataObjectManager::$upgrade_video)
$file = $file->newClassInstance("FLV");
}
Can anybody help to debug this?