All of lore.kernel.org
 help / color / mirror / Atom feed
From: poma <pomidorabelisima-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: "nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org"
	<nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>
Subject: VDPAU DEINTERLACE
Date: Thu, 5 May 2016 07:12:30 +0200	[thread overview]
Message-ID: <572AD63E.5070703@gmail.com> (raw)


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.


_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

             reply	other threads:[~2016-05-05  5:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-05  5:12 poma [this message]
     [not found] ` <572AD63E.5070703-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-05-09 17:37   ` VDPAU DEINTERLACE Ilia Mirkin
     [not found]     ` <CAKb7UvhaNdY9ebfKyHQ8Q83u3B1ihX9qCWX7CiHfZ=PJb8etOA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-05-09 18:42       ` poma
     [not found]         ` <5730DA04.3020507-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-05-09 18:45           ` Ilia Mirkin
     [not found]             ` <CAKb7Uvgv2keE2wxUAdKQhYjo5eQrZZxW_jxqZCbQwRGy-u4Now-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-05-09 18:55               ` poma

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=572AD63E.5070703@gmail.com \
    --to=pomidorabelisima-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.