[MPlayer-users] eq2 on individual images

Rich Felker dalias at aerifal.cx
Wed Jan 30 04:15:11 CET 2008


On Tue, Jan 29, 2008 at 03:35:39PM -0500, Eric Kratzer wrote:
> John,
> 
> On 1/29/08, John Brown <johnbrown105 at hotmail.com> wrote:
> >
> >
> >
> > Eric Kratzer wrote:
> > >
> > > Hello,
> > >
> > > I would like to use mplayer/mencoder to apply an eq2 filter to a
> > > single jpeg image, keeping the filename intact. An odd request, but
> > > is this possible?
> > >
> >
> > MEncoder cannot encode a "movie" that has only one frame. However,
> > you can make some copies of your JPEG: 01.jpg, 02.jpg,...,05.jpg
> > (4 or 5 should be enough), then:
> > mencoder mf://0*.jpg -mf fps= -o test.avi
> > mplayer -vo jpeg test.avi
> >
> > Any of the resulting JPEG(s) should be what you want, but you will have to
> > rename it.
> 
> Thats where I am right now.. was hoping to avoid a few steps, or using
> tools like imagemagick, which are painfully slow in comparison.

mencoder -vf eq2=... -ovc lavc -lavcopts vcodec=mjpeg -of rawvideo -o out.jpg mf://in.jpg

should work..

Rich



More information about the MPlayer-users mailing list