Hi,
I've installed ffmpeg and ffmpeg-php with no error. I installed the
ffmpeg from yum repo at http://apt.sw.be, I can succesfully convert
almost every video format, but not 3gp files and some mpeg files
my question is :
1. I know that my installed ffmpeg is not supporting 3gp decode
function, I found that out from the ffmpeg.example9.php file, it
said :
[3gp] => Array
(
[encode] => 1
[decode] =>
[fullname] => 3gp format
)
so how do I recompile ffmpeg to enable 3gp? since i installed ffmpeg
from yum repo, maybe Im asking this in the wrong group, but maybe
somebody in this group knows the answer
2. Everytime I upload movie through the ffmpeg-php script, the process
is loged in httpd's error_log even if there is no error, so my httpd
error log is growing very fast. Is there work arround so the httpd
error log is only logging the error output of the ffmpeg-php process?
| > so how do I recompile ffmpeg to enable 3gp? since i installed ffmpeg
| > from yum repo, maybe Im asking this in the wrong group, but maybe
| > somebody in this group knows the answer
|
|
| Does your ffmpeg build have the amr libraries built into it?
How do I check that?
at ffmpeg.example9.php it says
[amr] => Array
(
[encode] => 1
[decode] => 1
[fullname] => 3gpp amr file format
)
does it mean that I have amr libraries? but when I version the ffmpg, here
what is shows
[user@ffmpeg]# ffmpeg --version
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --prefix=/usr --libdir=/usr/lib --mandir=/usr/share/man --incdir=/usr/include/ffmpeg
--enable-libmp3lame --enable-libogg --enable-libvorbis --enable-libogg --enable-libtheora
--enable-libfaad --enable-libfaac --enable-libgsm --enable-xvid --enable-x264
--enable-liba52 --enable-liba52bin --enable-pp --enable-shared --enable-pthreads
--enable-gpl --disable-strip
libavutil version: 49.4.0
libavcodec version: 51.40.4
libavformat version: 51.12.1
built on Jun 4 2007 11:02:12, gcc: 4.1.1 20070105 (Red Hat 4.1.1-52)
then I tried to install the amr lib from
http://ftp.penguin.cz/pub/users/utx/amr/ , and then do svn checkout ffmpeg,
and reconfigure ffmpeg adding --enable-libamr-nb --enable-libamr-wb but I
got error that I have to add --enable-nonfree, so I added it, after
installation I check the version again, it doesn't change
so do I actually have the amr libraries installed?
| >
| > 2. Everytime I upload movie through the ffmpeg-php script, the process
| > is loged in httpd's error_log even if there is no error, so my httpd
| > error log is growing very fast. Is there work arround so the httpd
| > error log is only logging the error output of the ffmpeg-php process?
|
|
| Redirect output of your ffmpeg command /dev/null/
How exactly do I do that? can U give me example?
Sorry if such anoying question, I am newbie in linux :D
Regards,
ArMan
How exactly do I do that? can U give me example?
| >
| > 2. Everytime I upload movie through the ffmpeg-php script, the process
| > is loged in httpd's error_log even if there is no error, so my httpd
| > error log is growing very fast. Is there work arround so the httpd
| > error log is only logging the error output of the ffmpeg-php process?
|
|
| Redirect output of your ffmpeg command /dev/null/
Sorry if such anoying question, I am newbie in linux :D
add...
>/dev/null
Regards,
ArMan