[mythtv] Playback Data live TV "Deint: None"

Mark Kendall mark.kendall at gmail.com
Tue Feb 18 12:19:05 UTC 2020


On Mon, 17 Feb 2020 at 22:30, Mark Kendall <mark.kendall at gmail.com> wrote:

>
> I *think* the root problem is something like;
>  - the above profile is chosen
>  - your SD channels then do not meet the criteria for this profile and it
> is filtered out
>  - there is no other profile - and everything defaults to 'off' (i.e. no
> hardware accel, no deint etc)
>

OK  I've reproduced that profile and it does indeed drop back to no
deinterlacing. There are a couple of issues here:-

- when I updated the database video profiles (as part of the render merge),
I missed the vdpau and openglvaapi render options when using ffmpeg
decoding - which is why your (I'm assuming) fallback profile of software
decode is rejected. Not quite sure how to deal with that at this stage -
slightly reluctant to push another database update  though I could just
handle it in the code for now. Profiles using software decode and
vdpau/vaapi rendering should have been switched to software decode and
opengl rendering (the deinterlacers should  have been updated correctly).

- we really should have a suitable 'default' profile when everything else
is rejected. It will default to ffmpeg decoding and opengl output but it
would be better if it also defaulted to the number of CPUs present for
decoding and some basic software deinterlacing.

- I pretty much forgot about the previous option of using software decoding
but vdpau/vaapi for rendering. Is this something that people need? The only
benefit now would be to make the most of VDPAU/VAAPI/NVDEC etc
deinterlacers. I'm just not sure how useful it is for the extra code it
would require. Most VDPAU, VAAPI and NVDEC hardware will decode anything
that is interlaced. VideoToolbox has no deinterlacing support (at least not
via FFmpeg), drmprime, mmal and v4l2 are similar - and mediacodec is a law
unto itself.

With respect to your current issue, I will put something in place to fix
the vdpau rendering case. Otherwise you could just remove the resolution
check for using VDPAU decoding or add a new profile entry that explicitly
sets the fallback to software decoding and the deinterlacing options you
want.

Regards
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-dev/attachments/20200218/02922432/attachment.htm>


More information about the mythtv-dev mailing list