mirror of
https://github.com/mpv-player/mpv
synced 2025-03-21 10:51:51 +00:00
vd_ffmpeg to set repeat-first-field patch by (Zoltan Hidvegi <mplayer at hzoli do 2y dot net>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11993 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f4f06018b9
commit
b49ee1f782
@ -3058,9 +3058,8 @@ up from their original framerate for TV.
|
|||||||
Only the luma plane is used to find the frame breaks.
|
Only the luma plane is used to find the frame breaks.
|
||||||
If a field has no match, it is deinterlaced with simple linear
|
If a field has no match, it is deinterlaced with simple linear
|
||||||
approximation.
|
approximation.
|
||||||
If the source is MPEG-2, libmpeg2 must be used for decoding (not
|
If the source is MPEG-2, and this must be the first filter to allow
|
||||||
ffmpeg2!), and this must be the first filter to allow access to the
|
access to the field-flags set by the MPEG-2 decoder.
|
||||||
field-flags set by the MPEG-2 decoder.
|
|
||||||
Depending on the source mpeg, you may be fine ignoring this advice, as
|
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.
|
long as you do not see lots of "Bottom-first field" warnings.
|
||||||
With no options it does normal inverse telecine, and should be used
|
With no options it does normal inverse telecine, and should be used
|
||||||
@ -3130,8 +3129,7 @@ used for soft 3:2 pulldown (soft telecine).
|
|||||||
If you want to use the ivtc or detc filter on movies that are partly soft
|
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.
|
telecined, inserting this filter before them should make them more reliable.
|
||||||
Currently only libmpeg2 exports the needed flags.
|
Currently only libmpeg2 exports the needed flags.
|
||||||
If used on material that does not set them or if using ffmpeg12, the
|
If used on material that does not set them, the filter does nothing.
|
||||||
filter does nothing.
|
|
||||||
.TP
|
.TP
|
||||||
.B telecine[=start]
|
.B telecine[=start]
|
||||||
Apply 3:2 'telecine' process to increase framerate by 20%.
|
Apply 3:2 'telecine' process to increase framerate by 20%.
|
||||||
|
@ -837,6 +837,7 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){
|
|||||||
mpi->fields = MP_IMGFIELD_ORDERED;
|
mpi->fields = MP_IMGFIELD_ORDERED;
|
||||||
if(pic->interlaced_frame) mpi->fields |= MP_IMGFIELD_INTERLACED;
|
if(pic->interlaced_frame) mpi->fields |= MP_IMGFIELD_INTERLACED;
|
||||||
if(pic->top_field_first ) mpi->fields |= MP_IMGFIELD_TOP_FIRST;
|
if(pic->top_field_first ) mpi->fields |= MP_IMGFIELD_TOP_FIRST;
|
||||||
|
if(pic->repeat_pict == 1) mpi->fields |= MP_IMGFIELD_REPEAT_FIRST;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return mpi;
|
return mpi;
|
||||||
|
Loading…
Reference in New Issue
Block a user