1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 17:42:17 +00:00
mpv/libmpcodecs
Uoti Urpala 74b7dcc5f4 core: Add support for decoder reordering of pts values
Add a mode where libavcodec's reordered_opaque feature is used to
associate container packet timestamps with decoded frames. This should
improve behavior at least for MPEG files with interlaced h264; the
previous code does not cope well with the libavformat demuxer
producing two field packets with separate timestamps but the
libavcodec h264 decoder only producing a single output frame for those
two packets (so half the timestamps have no associated output frame).

The current libavformat mpeg demuxer seems to finally work with
interlaced h264 files and produce valid timestamps which are useful
with a mode like this.

By default MPlayer now selects between this new mode and the old one
automatically based on the number of timestamp problems they cause; by
default the new mode is used if both seem to work. The new option
-pts-association-mode can be used to force a particular mode. If
correct-pts mode is disabled this has no effect on timing.

Also remove the "EXPERIMENTAL" marker from the manpage description of
-correct-pts.
2009-11-21 20:53:10 +02:00
..
native Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
ad_acm.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
ad_alaw.c whitespace cosmetics: Remove all trailing whitespace. 2009-05-13 02:58:57 +00:00
ad_dk3adpcm.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
ad_dmo.c Translation system changes part 2: replace macros by strings 2009-07-07 01:38:20 +03:00
ad_dshow.c Translation system changes part 2: replace macros by strings 2009-07-07 01:38:20 +03:00
ad_dvdpcm.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
ad_faad.c Merge svn changes up to r29912 2009-11-16 07:01:46 +02:00
ad_ffmpeg.c cosmetics: remove some unused variables 2009-11-17 06:56:29 +02:00
ad_hwac3.c Merge svn changes up to r29455 2009-07-29 01:32:03 +03:00
ad_hwmpa.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
ad_imaadpcm.c Merge svn changes up to r29412 2009-07-07 02:56:01 +03:00
ad_internal.h
ad_liba52.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
ad_libdca.c
ad_libdv.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
ad_libmad.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
ad_libvorbis.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
ad_mp3lib.c whitespace cosmetics: Remove all trailing whitespace. 2009-05-13 02:58:57 +00:00
ad_mpc.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
ad_msadpcm.c Replace libavutil internal header #includes with MPlayer copies 2009-07-26 06:16:43 +03:00
ad_msgsm.c whitespace cosmetics: Remove all trailing whitespace. 2009-05-13 02:58:57 +00:00
ad_pcm.c whitespace cosmetics: Remove all trailing whitespace. 2009-05-13 02:58:57 +00:00
ad_qtaudio.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
ad_realaud.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
ad_sample.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
ad_speex.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
ad_twin.c Merge svn changes up to r29752 2009-10-06 04:48:00 +03:00
ad.c Merge svn changes up to r29117 2009-04-01 02:43:47 +03:00
ad.h
ae_faac.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
ae_faac.h
ae_lame.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
ae_lame.h
ae_lavc.c Merge svn changes up to r29752 2009-10-06 04:48:00 +03:00
ae_lavc.h
ae_pcm.c Merge svn changes up to r29912 2009-11-16 07:01:46 +02:00
ae_pcm.h
ae_toolame.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
ae_toolame.h
ae_twolame.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
ae_twolame.h
ae.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
ae.h
cmmx.h
dec_audio.c Translation system changes part 2: replace macros by strings 2009-07-07 01:38:20 +03:00
dec_audio.h Get rid of pointless 'extern' keywords. 2008-12-03 23:01:03 +00:00
dec_teletext.c Merge svn changes up to r29912 2009-11-16 07:01:46 +02:00
dec_teletext.h Add support for DVB teletext. 2009-11-10 11:31:47 +00:00
dec_video.c core: Add support for decoder reordering of pts values 2009-11-21 20:53:10 +02:00
dec_video.h OSD: Ensure that OSD content is drawn in filter-added frames 2009-01-15 01:09:21 +02:00
img_format.c Support VDPAU MPEG4 hardware decoding 2009-11-16 02:46:33 +02:00
img_format.h Support VDPAU MPEG4 hardware decoding 2009-11-16 02:46:33 +02:00
mp_image.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
mp_image.h Merge svn changes up to r29117 2009-04-01 02:43:47 +03:00
mpc_info.h
pullup.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
pullup.h
vd_dmo.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vd_dshow.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vd_ffmpeg.c core: Add support for decoder reordering of pts values 2009-11-21 20:53:10 +02:00
vd_hmblck.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vd_ijpg.c Make various functions static 2008-08-12 14:57:12 +03:00
vd_internal.h
vd_libdv.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vd_libmpeg2.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vd_lzo.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vd_mpegpes.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vd_mpng.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vd_mtga.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vd_null.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vd_qtvideo.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vd_raw.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vd_realvid.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vd_sgi.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vd_theora.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vd_vfw.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vd_vfwex.c
vd_xanim.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vd_xvid4.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vd_zrmjpeg.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vd.c Merge svn changes up to r29752 2009-10-06 04:48:00 +03:00
vd.h core: Add support for decoder reordering of pts values 2009-11-21 20:53:10 +02:00
ve_lavc.c Merge svn changes up to r29912 2009-11-16 07:01:46 +02:00
ve_libdv.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
ve_nuv.c Replace libavutil internal header #includes with MPlayer copies 2009-07-26 06:16:43 +03:00
ve_qtvideo.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
ve_raw.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
ve_vfw.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
ve_x264.c sync to x264-r1296 2009-10-19 21:23:08 +00:00
ve_xvid4.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
ve.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_1bpp.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_2xsai.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_ass.c Change type names to match upstream libass 2009-08-07 00:13:33 +03:00
vf_blackframe.c
vf_bmovl.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_boxblur.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_crop.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_cropdetect.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_decimate.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_delogo.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_denoise3d.c Merge svn changes up to r29134 2009-04-02 23:55:13 +03:00
vf_detc.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_dint.c
vf_divtc.c Merge svn changes up to r29277 2009-05-08 23:50:26 +03:00
vf_down3dright.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_dsize.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_dvbscale.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_eq2.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_eq.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_expand.c Merge svn changes up to r29684 2009-09-16 22:28:12 +03:00
vf_field.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_fil.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_filmdint.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_flip.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_format.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_framestep.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_fspp.c Merge svn changes up to r29412 2009-07-07 02:56:01 +03:00
vf_geq.c Merge svn changes up to 27824 2008-10-25 05:12:34 +03:00
vf_gradfun.c Replace libavutil internal header #includes with MPlayer copies 2009-07-26 06:16:43 +03:00
vf_halfpack.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_harddup.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_hqdn3d.c Merge svn changes up to r29417 2009-07-12 15:52:00 +03:00
vf_hue.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_il.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_ilpack.c Merge svn changes up to r29684 2009-09-16 22:28:12 +03:00
vf_ivtc.c Merge svn changes up to r29684 2009-09-16 22:28:12 +03:00
vf_kerndeint.c Merge svn changes up to r29134 2009-04-02 23:55:13 +03:00
vf_lavc.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_lavcdeint.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_mcdeint.c Remove unnecessary libavutil/internal.h includes 2009-07-26 06:15:19 +03:00
vf_mirror.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_noformat.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_noise.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_ow.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_palette.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_perspective.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_phase.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_pp7.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_pp.c vf_pp: Remove deprecated "hex mode" support 2009-07-26 20:22:48 +03:00
vf_pullup.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_qp.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_rectangle.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_remove_logo.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_rgb2bgr.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_rgbtest.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_rotate.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_sab.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_scale.c Merge svn changes up to r29532 2009-08-18 02:29:37 +03:00
vf_scale.h
vf_screenshot.c Mark some functions that do not need external visibility as static. 2009-09-30 23:47:00 +00:00
vf_smartblur.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_softpulldown.c
vf_softskip.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_spp.c Remove unnecessary libavutil/internal.h includes 2009-07-26 06:15:19 +03:00
vf_swapuv.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_telecine.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_test.c Translation system changes part 2: replace macros by strings 2009-07-07 01:38:20 +03:00
vf_tfields.c vf: Remove unused VFCTRL_FLIP_PAGE 2009-10-21 07:35:22 +03:00
vf_tile.c Translation system changes part 2: replace macros by strings 2009-07-07 01:38:20 +03:00
vf_tinterlace.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_unsharp.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_uspp.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_vo.c Add yuv_colorspace property, implemented in vo_vdpau and vo_xv 2009-11-15 17:03:41 +02:00
vf_yadif.c vf: Remove unused VFCTRL_FLIP_PAGE 2009-10-21 07:35:22 +03:00
vf_yuvcsp.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_yuy2.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_yvu9.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf_zrmjpeg.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vf.c vf: Free MP_IMGTYPE_NUMBERED buffers too 2009-09-18 07:36:32 +03:00
vf.h Add yuv_colorspace property, implemented in vo_vdpau and vo_xv 2009-11-15 17:03:41 +02:00
vfcap.h Add VOCAP_NOSLICES and use it to allow vo_vdpau to not support slices for 2009-02-18 12:30:15 +00:00
vqf.h Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00