[MEncoder-users] Different output when Mencoder runned by PHP script and from a command line

Al applepro7777 at gmail.com
Sat Mar 15 16:56:19 CET 2008


Hello,

I run absolutely same command from PHP script and then command line. I get
different output:

http://www.roamearth.com/temp/with-php-script.flv    ---- lower quality, buggy
playing in VLC, 795 Kb

http://www.roamearth.com/temp/with-command-line.flv    ---- higher quality, ok
playing in VLC, 1600 Kb


The commands are (2 passes):

/usr/local/bin/mencoder -really-quiet -fps 30000/1001 -vf
scale=448:-3,expand=448:336 -sws 9 -of lavf -ovc lavc -lavcopts
vcodec=flv:vbitrate=250:trell:v4mv:mv0:mbd=2:cbp:aic:cmp=3:subcmp=3:vpass=1
-ofps 30000/1001 -oac mp3lame -lameopts abr:br=64:mode=0 -channels 1 -srate
22050 -of lavf -lavfopts format=flv -o /home/re/video/2/temp.flv
/home/re/ff/logo30000.avi /home/re/video/2/34temp

/usr/local/bin/mencoder -really-quiet -fps 30000/1001 -vf
scale=448:-3,expand=448:336 -sws 9 -of lavf -ovc lavc -lavcopts
vcodec=flv:vbitrate=250:trell:v4mv:mv0:mbd=2:cbp:aic:cmp=3:subcmp=3:vpass=2
-ofps 30000/1001 -oac mp3lame -lameopts abr:br=64:mode=0 -channels 1 -srate
22050 -of lavf -lavfopts format=flv -o /home/re/video/2/temp.flv
/home/re/ff/logo30000.avi /home/re/video/2/34temp


I wonder why does it happen? How can I fix it?




More information about the MEncoder-users mailing list