Mercurial > mplayer.hg
comparison TOOLS/README @ 16473:d9697b778be2
Nits suggested by Diego
author | gpoirier |
---|---|
date | Tue, 13 Sep 2005 11:38:39 +0000 |
parents | fce59530dcfd |
children | ec026c1779cc |
comparison
equal
deleted
inserted
replaced
16472:ae74a32ca5d9 | 16473:d9697b778be2 |
---|---|
258 | 258 |
259 Author: Matthias Wieser | 259 Author: Matthias Wieser |
260 | 260 |
261 Description: Calculates the PSNR between two existing video files. | 261 Description: Calculates the PSNR between two existing video files. |
262 The PSNR is calculated frame by frame. | 262 The PSNR is calculated frame by frame. |
263 Prints also the overall PSNR. | 263 Also prints the overall PSNR. |
264 The script can be used to: | 264 The script can be used to: |
265 * compare different softwarescalers (should I use | 265 * Compare different softwarescalers (should I use |
266 -sws 1 or -sws 2) ? | 266 -sws 1 or -sws 2 ?) |
267 * compare different resolutions (is it better to scale | 267 * Compare different resolutions (is it better to scale |
268 down to 640x360 or to 560x320) | 268 down to 640x360 or to 560x320) |
269 * compare different deinterlacers | 269 * Compare different deinterlacers |
270 * compare different video codecs | 270 * Compare different video codecs |
271 * compare video filters (is it better to use -vf hqdn3d | 271 * Compare video filters (is it better to use -vf hqdn3d |
272 or lavcopts:nr=400) | 272 or lavcopts:nr=400) |
273 * [...] | 273 * [...] |
274 | 274 |
275 Usage: psnr-video.sh <file1> <file2> [<frames>] [<options1>] [<options2>] | 275 Usage: psnr-video.sh <file1> <file2> [<frames>] [<options1>] [<options2>] |
276 | 276 |
279 [<frames>] is the number of frames to process, starting | 279 [<frames>] is the number of frames to process, starting |
280 from frame 1. | 280 from frame 1. |
281 [<options1>] are additional MPlayer options for <file1> | 281 [<options1>] are additional MPlayer options for <file1> |
282 [<options2>] are additional MPlayer options for <file2> | 282 [<options2>] are additional MPlayer options for <file2> |
283 | 283 |
284 A file called psnr.dat will be created with the following | 284 A file called ./psnr.dat will be created with the following |
285 content: | 285 content: |
286 | 286 |
287 File;Y;Cb;Cr | 287 File;Y;Cb;Cr |
288 00000001.ppm;34.23;39.54;40.06;35.426 | 288 00000001.ppm;34.23;39.54;40.06;35.426 |
289 00000002.ppm;33.03;38.71;39.26;34.271 | 289 00000002.ppm;33.03;38.71;39.26;34.271 |
293 00000247.ppm;35.55;40.84;42.15;36.785 | 293 00000247.ppm;35.55;40.84;42.15;36.785 |
294 PSNR:;35.9887 | 294 PSNR:;35.9887 |
295 | 295 |
296 Note: This script relies on the the tool "pnmpsnr" for the | 296 Note: This script relies on the the tool "pnmpsnr" for the |
297 frame-by-frame PSNR calculation. | 297 frame-by-frame PSNR calculation. |
298 Be aware that psnr-video.sh needs a lot of temporal space | 298 Be aware that psnr-video.sh needs a lot of temporary space |
299 inside /temp/. | 299 inside /temp/. |
300 | 300 |
301 | 301 |
302 asfinfo | 302 asfinfo |
303 | 303 |