[MPlayer-dev-eng] [PATCH] 2x Frameduration + vo_x11 geometry option

Jan Kritzner kritzner at i4.informatik.rwth-aachen.de
Wed Mar 26 11:24:54 CET 2003


Hello.

1) In video_read_frame a little break is missing since the addition of 
DEMUXER_TYPE_GIF. This messes up the calculation of the frame_time in some 
cases; especially, when the first the first PTS is not 0, the duration of the 
first frame is wrong... patch "frameduration.patch"

2) -geometry +x+y doesn't work together with -vo x11.
"x11_geometry.patch"

3) A frame is only duplicated when "v_timer_corr" is within the range (-1..0] 
*after* the correction. So when a 15fps video with the frames 1 2 3 is 
encoded, the 30fps video contains frames 1 2 2 3 3 3.
For my needs I prefer having "v_timer_corr" in the range (-0.5..0.5] giving me 
frames 1 1 2 2 3 3.

Bug or feature? If (Bug) apply "duplication.patch"

Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x11_geometry.patch
Type: text/x-diff
Size: 504 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030326/4ad31d30/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: frameduration.patch
Type: text/x-diff
Size: 542 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030326/4ad31d30/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: duplication.patch
Type: text/x-diff
Size: 893 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030326/4ad31d30/attachment-0002.patch>


More information about the MPlayer-dev-eng mailing list