[MPlayer-users] eq2 on individual images

Rich Felker dalias at aerifal.cx
Thu Jan 31 05:28:06 CET 2008


On Wed, Jan 30, 2008 at 01:31:55PM -0500, Eric Kratzer wrote:
> Rich,
> 
> Works great!
> 
> Thanks,

No problem, but please don't top-post. Also you might want to play
with lavc options to control the quality of the output jpeg. vqscale
would be the main one. Setting it to 1 should give maximum quality, 2
or even 3 may be perfectly acceptable though depending on your needs.

> On 1/29/08, Rich Felker <dalias at aerifal.cx> wrote:
> > 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
> > _______________________________________________
> > MPlayer-users mailing list
> > MPlayer-users at mplayerhq.hu
> > https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
> >
> 
> 
> -- 
> ..`'.    .`'.    .`'.    .`'.
>     `.,'    `.,'    `.,'    `e
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users



More information about the MPlayer-users mailing list