[MPlayer-dev-eng] Cropdetect Aspect Ratio display & True Speed Patches

Alexander Roalter alex at roalter.it
Tue May 12 21:44:06 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Attached are two patches:

a) crop.diff
adds another field to the output of the cropdetect filter containing the
true aspect ratio of a video:

[CROP] Crop area: X: 0..719 Y: 0..479 R:1.78:1 (-vf crop=720:480:0:0).
                                      ^^^^^^^^
[CROP] Crop area: X: 0..719 Y: 73..510 R:2.34:1 (-vf crop=720:432:0:76).
                                       ^^^^^^^^
[CROP] Crop area: X: 0..719 Y: 74..501 R:2.39:1 (-vf crop=720:416:0:80).
                                       ^^^^^^^^

working for all situations I came across to date.


b) speed.diff
adds a command line parameter -speed24, which in case of PAL material
(25fps) switches to a playback speed of 24fps downpitching the audio
also as intended.

If no downpitching is necessary (very few PAL DVDs have pitch correction
applied) -af scaletempo would be needed though, otherwise the voices
would be half a tone too low.

- --
Cheers,
Alex
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iEYEARECAAYFAkoJ0YUACgkQ1J0MF2u394yNjACgnM8iwoCTZDAth4JjhAn4dz3w
Y7wAnitCRSMhbpQEsE+b2COIyCu53RIl
=Dt5t
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crop.diff
Type: text/x-patch
Size: 10490 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090512/f1f4e738/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: speed.diff
Type: text/x-patch
Size: 1267 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090512/f1f4e738/attachment-0001.bin>


More information about the MPlayer-dev-eng mailing list