[MPlayer-advusers] status line displays pts values in dts order
Clemens Ladisch
clemens at ladisch.de
Wed Jan 31 09:41:05 CET 2007
When playing a .nut file with reordered frames, the time position shown
in mplayer's status line is wrong - it doesn't show the time of the
currently displayed frame but the pts values of the frames in decoding
order. This means that the displayed time value jumps forward and back,
and that the A-V delay comes out wrong. (The playback itself is OK.)
Below is an example output (H.264 with bframes=16 and b_pyramid=1)
(reordered_pts.nut and full output uploaded to /incoming):
$ mplayer reordered_pts.nut
MPlayer dev-SVN-r22076-3.3.4 (C) 2000-2007 MPlayer Team
[...]
Playing reordered_pts.nut.
libnut file format detected.
seeking -12 SEEK_END seeking 309425 SEEK_SET NUT index read successfully, 10 syncpoints
seeking 733 SEEK_SET VIDEO: [H264] 336x272 0bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
[...]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 336 x 272 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.42:1 - prescaling to correct movie aspect.
VO: [cvidix] 336x272 => 386x272 Planar YV12 [fs]
A: 0.1 V: 0.0 A-V: 0.080 ct: 0.000 1/ 1 ??% ??% ??,?% 0 0
A: 0.1 V: 0.2 A-V: -0.080 ct: -0.004 2/ 2 ??% ??% ??,?% 0 0
A: 0.1 V: 0.1 A-V: 0.027 ct: -0.001 3/ 3 ??% ??% ??,?% 0 0
A: 0.1 V: 0.0 A-V: 0.099 ct: 0.003 4/ 4 ??% ??% ??,?% 0 0
A: 0.2 V: 0.1 A-V: 0.061 ct: 0.007 5/ 5 ??% ??% ??,?% 0 0
A: 0.2 V: 0.3 A-V: -0.101 ct: 0.003 6/ 6 ??% ??% ??,?% 0 0
A: 0.3 V: 0.2 A-V: 0.021 ct: 0.005 7/ 7 ??% ??% ??,?% 0 0
A: 0.3 V: 0.2 A-V: 0.099 ct: 0.009 8/ 8 ??% ??% ??,?% 0 0
A: 0.3 V: 0.3 A-V: 0.051 ct: 0.013 9/ 9 ??% ??% ??,?% 0 0
A: 0.4 V: 0.6 A-V: -0.192 ct: 0.009 10/ 10 ??% ??% ??,?% 0 0
A: 0.4 V: 0.4 A-V: -0.029 ct: 0.006 11/ 11 ??% ??% ??,?% 0 0
A: 0.5 V: 0.4 A-V: 0.093 ct: 0.010 12/ 12 ??% ??% ??,?% 0 0
A: 0.5 V: 0.4 A-V: 0.091 ct: 0.014 13/ 13 ??% ??% ??,?% 0 0
A: 0.5 V: 0.5 A-V: 0.043 ct: 0.018 14/ 14 13% 5% 1.6% 0 0
A: 0.6 V: 0.5 A-V: 0.045 ct: 0.022 15/ 15 12% 5% 1.5% 0 0
A: 0.6 V: 0.9 A-V: -0.317 ct: 0.018 16/ 16 12% 5% 1.5% 0 0
A: 0.6 V: 0.8 A-V: -0.120 ct: 0.014 17/ 17 11% 5% 1.5% 0 0
A: 0.7 V: 0.6 A-V: 0.088 ct: 0.018 18/ 18 11% 5% 1.4% 0 0
A: 0.7 V: 0.6 A-V: 0.085 ct: 0.022 19/ 19 10% 5% 1.4% 0 0
A: 0.8 V: 0.7 A-V: 0.077 ct: 0.026 20/ 20 10% 5% 1.4% 0 0
A: 0.8 V: 0.7 A-V: 0.075 ct: 0.030 21/ 21 9% 5% 1.3% 0 0
A: 0.8 V: 0.8 A-V: 0.032 ct: 0.033 22/ 22 9% 5% 1.3% 0 0
A: 0.9 V: 0.8 A-V: 0.029 ct: 0.036 23/ 23 9% 5% 1.3% 0 0
A: 0.9 V: 0.9 A-V: 0.027 ct: 0.039 24/ 24 8% 5% 1.3% 0 0
[...]
More information about the MPlayer-advusers
mailing list