[MEncoder-users] Simple Mencoder call using Exec

DaveG mplayer01 at dgmm.net
Fri Feb 9 20:28:54 CET 2007


On Friday 09 February 2007 02:05, Nathan Wallis wrote:
> Hi all,
>
> Just wondering if I use PHP to call Mencoder if it is possible to recieve a
> percentage completed of the encoding that I can display via PHP.

Sorry, no idea.

> Also does anyone have any idea why I can't encode JPG files from a
> directory other than the one mencoder.exe resides.....I can encode the
> files and they are detected, but unless they reside in the same directory
> as mencoder.exe, it crashes on the encoding process.

mencoder -oac copy -audiofile ${tmpdir}/zaudio.mp3 -0 $destfile \
 -mf fps=25:type=jpg "mf://${tmpdir}/*.jpg"  \
 -ovc lavc -lavcopts vcodec=mpeg4:mbd=2

This is with "MEncoder 1.0rc1-3.4.2 (C) 2000-2006 MPlayer Team"

-- 
Dave



More information about the MEncoder-users mailing list