[Nouveau] VDPAU DEINTERLACE
poma
pomidorabelisima at gmail.com
Thu May 5 05:12:30 UTC 2016
NVIDIA G98
mesa-dri-drivers-11.2.1-2.20160501.fc22.x86_64
(incl. mesa commit 38fcf7c)
vdpauinfo | grep -i deint
DEINTERLACE_TEMPORAL y
DEINTERLACE_TEMPORAL_SPATIAL -
https://cgit.freedesktop.org/vdpau/libvdpau/tree/include/vdpau/vdpau.h#n3420
#define VDP_VIDEO_MIXER_FEATURE_DEINTERLACE_TEMPORAL ((VdpVideoMixerFeature)0)
/**
* \hideinitializer
* \brief A VdpVideoMixerFeature.
*
* When requested and enabled, this enables a more advanced
* version of temporal de-interlacing, that additionally uses
* edge-guided spatial interpolation.
*
* When multiple de-interlacing options are requested and
* enabled, the back-end implementation chooses the best
* algorithm to apply.
*/
#define VDP_VIDEO_MIXER_FEATURE_DEINTERLACE_TEMPORAL_SPATIAL ((VdpVideoMixerFeature)1)
/**
* \hideinitializer
* \brief A VdpVideoMixerFeature.
*
* When requested and enabled, cadence detection will be enabled
* on interlaced content and the video mixer will try to extract
* progressive frames from pull-down material.
*/
https://cgit.freedesktop.org/vdpau/libvdpau/tree/include/vdpau/vdpau.h#n606
* \subsection deint_adv Advanced De-interlacing
*
* Operation of both temporal and temporal-spatial de-interlacing is
* identical; the only difference is the internal processing the algorithm
* performs in generating the output frame.
*
man 1 mplayer
...
vdpau (X11 only)
...
deint=<-4-4>
...
Select deinterlacing mode (default: -3). Positive values
choose mode and enable deinterlacing. Corresponding nega‐
tive values select the same deinterlacing mode, but do
not enable deinterlacing on startup (useful in configura‐
tion files to specify what mode will be enabled by the
"D" key). All modes respect --field-dominance.
0 same as -3
1 Show only first field, similar to --vf=field.
2 Bob deinterlacing, similar to --vf=tfields=1.
3 motion adaptive temporal deinterlacing. May lead
to A/V desync with slow video hardware and/or high
resolution.
4 motion adaptive temporal deinterlacing with
edge-guided spatial interpolation. Needs fast
video hardware.
Reading all this, am I correctly concluded,
what is supported within NVIDIA G98 HW is DEINTERLACE_TEMPORAL,
which should be engaged with Mplayer's 'vdpau:deint=4' option?
Then again, what DEINTERLACE_TEMPORAL_SPATIAL represents?
As reading the 'vdpauinfo' output it should not be supported.
Is it associated with Mplayer's 'vdpau:deint=3' option,
which in turn works, so to speak?
mplayer -vo vdpau:deint=[34] -vc ffmpeg12vdpau dvb://2@DVBT
Although they achieve solid deinterlacing result,
vdpau:deint=3 and vdpau:deint=4 tend to produce:
************************************************
**** Your system is too SLOW to play this! ****
************************************************
Rest of the deinterlacing modes - 1 and 2, are not so great.
More information about the Nouveau
mailing list