Mercurial > mplayer.hg
changeset 11992:d8890a065727
vd_ffmpeg to set repeat-first-field patch by (Zoltan Hidvegi <mplayer at hzoli do 2y dot net>)
author | michael |
---|---|
date | Tue, 24 Feb 2004 00:31:15 +0000 |
parents | 1c268fb0503d |
children | 4e2d99dbef78 |
files | DOCS/man/en/mplayer.1 libmpcodecs/vd_ffmpeg.c |
diffstat | 2 files changed, 4 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/DOCS/man/en/mplayer.1 Mon Feb 23 21:12:06 2004 +0000 +++ b/DOCS/man/en/mplayer.1 Tue Feb 24 00:31:15 2004 +0000 @@ -3058,9 +3058,8 @@ Only the luma plane is used to find the frame breaks. If a field has no match, it is deinterlaced with simple linear approximation. -If the source is MPEG-2, libmpeg2 must be used for decoding (not -ffmpeg2!), and this must be the first filter to allow access to the -field-flags set by the MPEG-2 decoder. +If the source is MPEG-2, and this must be the first filter to allow +access to the field-flags set by the MPEG-2 decoder. Depending on the source mpeg, you may be fine ignoring this advice, as long as you do not see lots of "Bottom-first field" warnings. With no options it does normal inverse telecine, and should be used @@ -3130,8 +3129,7 @@ If you want to use the ivtc or detc filter on movies that are partly soft telecined, inserting this filter before them should make them more reliable. Currently only libmpeg2 exports the needed flags. -If used on material that does not set them or if using ffmpeg12, the -filter does nothing. +If used on material that does not set them, the filter does nothing. .TP .B telecine[=start] Apply 3:2 'telecine' process to increase framerate by 20%.
--- a/libmpcodecs/vd_ffmpeg.c Mon Feb 23 21:12:06 2004 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Tue Feb 24 00:31:15 2004 +0000 @@ -837,6 +837,7 @@ mpi->fields = MP_IMGFIELD_ORDERED; if(pic->interlaced_frame) mpi->fields |= MP_IMGFIELD_INTERLACED; if(pic->top_field_first ) mpi->fields |= MP_IMGFIELD_TOP_FIRST; + if(pic->repeat_pict == 1) mpi->fields |= MP_IMGFIELD_REPEAT_FIRST; #endif return mpi;