[MEncoder-users] Calling mencoder via PHP script
elfumata
elfumata at iespana.es
Fri Nov 26 09:50:05 CET 2004
Hi all,
I get the following error in apache error log file, when run a script in PHP
that call 'mencoder'. The script is...
shell_exec("/usr/local/MPlayer-1.0pre5/bin/mencoder -audiofile sound.mp3
-ofps 25 -o sound.avi -oac mp3lame -ovc xvid -xvidencopts bitrate=300
sound.3gp")
If I execute the same command
/usr/local/MPlayer-1.0pre5/bin/mencoder -audiofile sound.mp3 -ofps 25 -o
sound.avi -oac mp3lame -ovc xvid -xvidencopts bitrate=300 sound.3gp out of
PHP, apache... in other words 'in shell/commands line' It runs OK, It create
my avi file
/----------------------------------
The error is .....
get_path("config") problem
Cannot find codec matching selected -vo and video format 0x33363273
/----------------------------------
I have the file 'codecs.conf' properly located because when run the command
via shell I get...
Reading /lolo/.mplayer/codecs.conf: 73 audio & 180 video codecs 'lolo' is
the same user which apache runs
I modified codecs.conf with ... 'format 0x33363273'.... in order to create
avi files
/--------------------------------
videocodec ffh263
info "FFmpeg H263+ decoder"
status working
fourcc H263,U263,h263,X263
fourcc viv1 h263
driver ffmpeg
dll h263
out YV12,I420,IYUV
format 0x33363273
/--------------------------------
/---------------------------------------------------------------------
All mencoder output in apache error log file is ......
File not found: 'frameno.avi'
Failed to open frameno.avi
get_path("config") problem
MOV: unable to determine audio samplerate, assuming 44.1kHz (got 50)
mpg123: Can't rewind stream by 229 bits!
Cannot find codec matching selected -vo and video format 0x33363273
/---------------------------------------------------------------------
I use:
- PHP4
- apache-1.3.29-1
- Mandrake 10
Thank you very much in advance
---Publicidad--------------------------------------------------------
Nuevo Messenger Multimedia de Yahoo ¡ Descárgalas Gratis !
http://tracker.tradedoubler.com/click?p=21420&a=1038692
More information about the MEncoder-users
mailing list