[MEncoder-users] [Script] PSNR between two video files
Rich Felker
dalias at aerifal.cx
Thu Aug 25 16:59:42 CEST 2005
On Thu, Aug 25, 2005 at 02:12:11PM +0200, Guillaume POIRIER wrote:
> At first, I didn't quite understand how you were able to compute the
> psnr of 2 pictures with only a shell script. Doing such thing in bash
> would probably give you the "master of shell script" crown! :)
It can be done, but very difficult.. Requires lots of black magic with
sed and tr, or you can make it somewhat easier if you allow yourself
to use uuencode, perhaps.
> A quick glance at the code shows that you use the tool "pnmpsnr" to do
> the frame-by-frame... so no crown for you today! ;o)
Also the huge temp space thing is very bad.. I bet that can be
overcome with some tricky use of fifos..
Rich
More information about the MEncoder-users
mailing list