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

Alexander Roalter alex at roalter.it
Tue May 12 23:36:28 CEST 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crop.diff
Type: text/x-patch
Size: 10491 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090512/9b1e860b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: speed.diff
Type: text/x-patch
Size: 1268 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090512/9b1e860b/attachment-0001.bin>


More information about the MPlayer-dev-eng mailing list