Mailing List Archive

Playback Data live TV "Deint: None"
The "Playback Data" box shows "Deint: None" when playing live TV from any
channel. When playing a recording from the same channel the box shows
"Deint: 2x VDPAU Advanced" which is what is configured.
This is what I also expect when playing live TV.
Note that I cannot see a difference in video quality, which means that
either mythfrontend is doing the deinterlacing but does not display it, or
that my TV does the deinterlacing itself.

Thanks,
Klaas.
Re: Playback Data live TV "Deint: None" [ In reply to ]
On Mon, 10 Feb 2020 at 20:03, Klaas de Waal <klaas.de.waal@gmail.com> wrote:
>
> The "Playback Data" box shows "Deint: None" when playing live TV from any channel. When playing a recording from the same channel the box shows "Deint: 2x VDPAU Advanced" which is what is configured.
> This is what I also expect when playing live TV.

Klaas

Can you generate some logs with '-v playback'?

Piotr has also reported this issue but I can't reproduce it here.

> Note that I cannot see a difference in video quality, which means that either mythfrontend is doing the deinterlacing but does not display it, or that my TV does the deinterlacing itself.

If the TV is deinterlacing for you - then you are a lucky man:)

The other possibility is that it is in fact progressive material? -
probably unlikely though.

Thanks and regards
Mark
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Playback Data live TV "Deint: None" [ In reply to ]
On 11/02/2020 08:35, Mark Kendall wrote:
> On Mon, 10 Feb 2020 at 20:03, Klaas de Waal <klaas.de.waal@gmail.com> wrote:
>>
>> The "Playback Data" box shows "Deint: None" when playing live TV from any channel. When playing a recording from the same channel the box shows "Deint: 2x VDPAU Advanced" which is what is configured.
>> This is what I also expect when playing live TV.
>
> Klaas
>
> Can you generate some logs with '-v playback'?
>
> Piotr has also reported this issue but I can't reproduce it here.
>
>> Note that I cannot see a difference in video quality, which means that either mythfrontend is doing the deinterlacing but does not display it, or that my TV does the deinterlacing itself.
>
> If the TV is deinterlacing for you - then you are a lucky man:)
>
> The other possibility is that it is in fact progressive material? -
> probably unlikely though.
>
> Thanks and regards
> Mark

I'm seeing 2x VDPAU Temporal or NVDEC Adaptive, as setup, for live BBC
TWO SD DVB-T and live BBC TWO HD DVB-T2, yesterday's master.

John

_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Playback Data live TV "Deint: None" [ In reply to ]
On 11/02/2020 12:38, John Pilkington wrote:
> On 11/02/2020 08:35, Mark Kendall wrote:
>> On Mon, 10 Feb 2020 at 20:03, Klaas de Waal <klaas.de.waal@gmail.com>
>> wrote:
>>>
>>> The "Playback Data" box shows "Deint: None" when playing live TV from
>>> any channel. When playing a recording from the same channel the box
>>> shows "Deint: 2x VDPAU Advanced" which is what is configured.
>>> This is what I also expect when playing live TV.
>>
>> Klaas
>>
>> Can you generate some logs with '-v playback'?
>>
>> Piotr has also reported this issue but I can't reproduce it here.
>>
>>> Note that I cannot see a difference in video quality, which means
>>> that either mythfrontend is doing the deinterlacing but does not
>>> display it, or that my TV does the deinterlacing itself.
>>
>> If the TV is deinterlacing for you - then you are a lucky man:)
>>
>> The other possibility is that it is in fact progressive material? -
>> probably unlikely though.
>>
>> Thanks and regards
>> Mark
>
> I'm seeing 2x VDPAU Temporal or NVDEC Adaptive, as setup,  for live BBC
> TWO SD DVB-T and live BBC TWO HD DVB-T2, yesterday's master.
>
> John
>
I sent that, and the display immediately went to 'None' during an
out-of-studio sequence.
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Playback Data live TV "Deint: None" [ In reply to ]
On Tue, 11 Feb 2020 at 13:45, John Pilkington <johnpilk222@gmail.com> wrote:

> On 11/02/2020 12:38, John Pilkington wrote:
> > On 11/02/2020 08:35, Mark Kendall wrote:
> >> On Mon, 10 Feb 2020 at 20:03, Klaas de Waal <klaas.de.waal@gmail.com>
> >> wrote:
> >>>
> >>> The "Playback Data" box shows "Deint: None" when playing live TV from
> >>> any channel. When playing a recording from the same channel the box
> >>> shows "Deint: 2x VDPAU Advanced" which is what is configured.
> >>> This is what I also expect when playing live TV.
> >>
> >> Klaas
> >>
> >> Can you generate some logs with '-v playback'?
> >>
> >> Piotr has also reported this issue but I can't reproduce it here.
> >>
> >>> Note that I cannot see a difference in video quality, which means
> >>> that either mythfrontend is doing the deinterlacing but does not
> >>> display it, or that my TV does the deinterlacing itself.
> >>
> >> If the TV is deinterlacing for you - then you are a lucky man:)
> >>
> >> The other possibility is that it is in fact progressive material? -
> >> probably unlikely though.
> >>
> >> Thanks and regards
> >> Mark
> >
> > I'm seeing 2x VDPAU Temporal or NVDEC Adaptive, as setup, for live BBC
> > TWO SD DVB-T and live BBC TWO HD DVB-T2, yesterday's master.
> >
> > John
> >
> I sent that, and the display immediately went to 'None' during an
> out-of-studio sequence.
>


Hi Mark,

Attached a log with "-v playback" of mythfrontend, live TV with 3 different
channels, with a recent (v32-pre) master.
Contrary to John's experience, on my TV the "Playback Data" window shows
always "Deint: None" on live TV.

Thanks,
Klaas.

>
>
Re: Playback Data live TV "Deint: None" [ In reply to ]
Klaas,

This line looks to be the issue (it's repeated multiple times):-

CoreContext mythvideoout.cpp:375 (SetDeinterlacing) VideoOutput:
SetDeinterlacing (Doublerate 1): Single None Double None

I have an idea where the problem is - just need to kick my son off the
tv to test it:)

regards
Mark

On Tue, 11 Feb 2020 at 19:07, Klaas de Waal <klaas.de.waal@gmail.com> wrote:
>
>
>
> On Tue, 11 Feb 2020 at 13:45, John Pilkington <johnpilk222@gmail.com> wrote:
>>
>> On 11/02/2020 12:38, John Pilkington wrote:
>> > On 11/02/2020 08:35, Mark Kendall wrote:
>> >> On Mon, 10 Feb 2020 at 20:03, Klaas de Waal <klaas.de.waal@gmail.com>
>> >> wrote:
>> >>>
>> >>> The "Playback Data" box shows "Deint: None" when playing live TV from
>> >>> any channel. When playing a recording from the same channel the box
>> >>> shows "Deint: 2x VDPAU Advanced" which is what is configured.
>> >>> This is what I also expect when playing live TV.
>> >>
>> >> Klaas
>> >>
>> >> Can you generate some logs with '-v playback'?
>> >>
>> >> Piotr has also reported this issue but I can't reproduce it here.
>> >>
>> >>> Note that I cannot see a difference in video quality, which means
>> >>> that either mythfrontend is doing the deinterlacing but does not
>> >>> display it, or that my TV does the deinterlacing itself.
>> >>
>> >> If the TV is deinterlacing for you - then you are a lucky man:)
>> >>
>> >> The other possibility is that it is in fact progressive material? -
>> >> probably unlikely though.
>> >>
>> >> Thanks and regards
>> >> Mark
>> >
>> > I'm seeing 2x VDPAU Temporal or NVDEC Adaptive, as setup, for live BBC
>> > TWO SD DVB-T and live BBC TWO HD DVB-T2, yesterday's master.
>> >
>> > John
>> >
>> I sent that, and the display immediately went to 'None' during an
>> out-of-studio sequence.
>
>
>
> Hi Mark,
>
> Attached a log with "-v playback" of mythfrontend, live TV with 3 different channels, with a recent (v32-pre) master.
> Contrary to John's experience, on my TV the "Playback Data" window shows always "Deint: None" on live TV.
>
> Thanks,
> Klaas.
>>
>>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-dev
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Playback Data live TV "Deint: None" [ In reply to ]
Hi Mark,

I do have loads of old recordings copied to the Video's (just a straight
file copy, I am not into metadata and all that) and almost all of them now
also play back with "Deint: None". For the SD recordings I can actually see
that the interlacing is not done (or done less well). So it is not just
Live TV. Hope this helps.

Kind regards,
Klaas.


On Tue, 11 Feb 2020 at 20:47, Mark Kendall <mark.kendall@gmail.com> wrote:

> Klaas,
>
> This line looks to be the issue (it's repeated multiple times):-
>
> CoreContext mythvideoout.cpp:375 (SetDeinterlacing) VideoOutput:
> SetDeinterlacing (Doublerate 1): Single None Double None
>
> I have an idea where the problem is - just need to kick my son off the
> tv to test it:)
>
> regards
> Mark
>
> On Tue, 11 Feb 2020 at 19:07, Klaas de Waal <klaas.de.waal@gmail.com>
> wrote:
> >
> >
> >
> > On Tue, 11 Feb 2020 at 13:45, John Pilkington <johnpilk222@gmail.com>
> wrote:
> >>
> >> On 11/02/2020 12:38, John Pilkington wrote:
> >> > On 11/02/2020 08:35, Mark Kendall wrote:
> >> >> On Mon, 10 Feb 2020 at 20:03, Klaas de Waal <klaas.de.waal@gmail.com
> >
> >> >> wrote:
> >> >>>
> >> >>> The "Playback Data" box shows "Deint: None" when playing live TV
> from
> >> >>> any channel. When playing a recording from the same channel the box
> >> >>> shows "Deint: 2x VDPAU Advanced" which is what is configured.
> >> >>> This is what I also expect when playing live TV.
> >> >>
> >> >> Klaas
> >> >>
> >> >> Can you generate some logs with '-v playback'?
> >> >>
> >> >> Piotr has also reported this issue but I can't reproduce it here.
> >> >>
> >> >>> Note that I cannot see a difference in video quality, which means
> >> >>> that either mythfrontend is doing the deinterlacing but does not
> >> >>> display it, or that my TV does the deinterlacing itself.
> >> >>
> >> >> If the TV is deinterlacing for you - then you are a lucky man:)
> >> >>
> >> >> The other possibility is that it is in fact progressive material? -
> >> >> probably unlikely though.
> >> >>
> >> >> Thanks and regards
> >> >> Mark
> >> >
> >> > I'm seeing 2x VDPAU Temporal or NVDEC Adaptive, as setup, for live
> BBC
> >> > TWO SD DVB-T and live BBC TWO HD DVB-T2, yesterday's master.
> >> >
> >> > John
> >> >
> >> I sent that, and the display immediately went to 'None' during an
> >> out-of-studio sequence.
> >
> >
> >
> > Hi Mark,
> >
> > Attached a log with "-v playback" of mythfrontend, live TV with 3
> different channels, with a recent (v32-pre) master.
> > Contrary to John's experience, on my TV the "Playback Data" window shows
> always "Deint: None" on live TV.
> >
> > Thanks,
> > Klaas.
> >>
> >>
> > _______________________________________________
> > mythtv-dev mailing list
> > mythtv-dev@mythtv.org
> > http://lists.mythtv.org/mailman/listinfo/mythtv-dev
> > http://wiki.mythtv.org/Mailing_List_etiquette
> > MythTV Forums: https://forum.mythtv.org
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-dev
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
Re: Playback Data live TV "Deint: None" [ In reply to ]
Sorry Klaas,

I forgot to follow up on this over the weekend.

Can you post a '-v playback' log from playing something from videos
(where deinterlacing is not setup correctly). I still can't figure out
what is going on, but the video use case should simplify the logs (and
there is some new logging in master).

Thanks and regards
Mark

On Sun, 16 Feb 2020 at 20:32, Klaas de Waal <klaas.de.waal@gmail.com> wrote:
>
> Hi Mark,
>
> I do have loads of old recordings copied to the Video's (just a straight file copy, I am not into metadata and all that) and almost all of them now also play back with "Deint: None". For the SD recordings I can actually see that the interlacing is not done (or done less well). So it is not just Live TV. Hope this helps.
>
> Kind regards,
> Klaas.
>
>
> On Tue, 11 Feb 2020 at 20:47, Mark Kendall <mark.kendall@gmail.com> wrote:
>>
>> Klaas,
>>
>> This line looks to be the issue (it's repeated multiple times):-
>>
>> CoreContext mythvideoout.cpp:375 (SetDeinterlacing) VideoOutput:
>> SetDeinterlacing (Doublerate 1): Single None Double None
>>
>> I have an idea where the problem is - just need to kick my son off the
>> tv to test it:)
>>
>> regards
>> Mark
>>
>> On Tue, 11 Feb 2020 at 19:07, Klaas de Waal <klaas.de.waal@gmail.com> wrote:
>> >
>> >
>> >
>> > On Tue, 11 Feb 2020 at 13:45, John Pilkington <johnpilk222@gmail.com> wrote:
>> >>
>> >> On 11/02/2020 12:38, John Pilkington wrote:
>> >> > On 11/02/2020 08:35, Mark Kendall wrote:
>> >> >> On Mon, 10 Feb 2020 at 20:03, Klaas de Waal <klaas.de.waal@gmail.com>
>> >> >> wrote:
>> >> >>>
>> >> >>> The "Playback Data" box shows "Deint: None" when playing live TV from
>> >> >>> any channel. When playing a recording from the same channel the box
>> >> >>> shows "Deint: 2x VDPAU Advanced" which is what is configured.
>> >> >>> This is what I also expect when playing live TV.
>> >> >>
>> >> >> Klaas
>> >> >>
>> >> >> Can you generate some logs with '-v playback'?
>> >> >>
>> >> >> Piotr has also reported this issue but I can't reproduce it here.
>> >> >>
>> >> >>> Note that I cannot see a difference in video quality, which means
>> >> >>> that either mythfrontend is doing the deinterlacing but does not
>> >> >>> display it, or that my TV does the deinterlacing itself.
>> >> >>
>> >> >> If the TV is deinterlacing for you - then you are a lucky man:)
>> >> >>
>> >> >> The other possibility is that it is in fact progressive material? -
>> >> >> probably unlikely though.
>> >> >>
>> >> >> Thanks and regards
>> >> >> Mark
>> >> >
>> >> > I'm seeing 2x VDPAU Temporal or NVDEC Adaptive, as setup, for live BBC
>> >> > TWO SD DVB-T and live BBC TWO HD DVB-T2, yesterday's master.
>> >> >
>> >> > John
>> >> >
>> >> I sent that, and the display immediately went to 'None' during an
>> >> out-of-studio sequence.
>> >
>> >
>> >
>> > Hi Mark,
>> >
>> > Attached a log with "-v playback" of mythfrontend, live TV with 3 different channels, with a recent (v32-pre) master.
>> > Contrary to John's experience, on my TV the "Playback Data" window shows always "Deint: None" on live TV.
>> >
>> > Thanks,
>> > Klaas.
>> >>
>> >>
>> > _______________________________________________
>> > mythtv-dev mailing list
>> > mythtv-dev@mythtv.org
>> > http://lists.mythtv.org/mailman/listinfo/mythtv-dev
>> > http://wiki.mythtv.org/Mailing_List_etiquette
>> > MythTV Forums: https://forum.mythtv.org
>> _______________________________________________
>> mythtv-dev mailing list
>> mythtv-dev@mythtv.org
>> http://lists.mythtv.org/mailman/listinfo/mythtv-dev
>> http://wiki.mythtv.org/Mailing_List_etiquette
>> MythTV Forums: https://forum.mythtv.org
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-dev
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Playback Data live TV "Deint: None" [ In reply to ]
Klaas de Waal <klaas.de.waal@gmail.com>
[image: Attachments]19:43 (6 minutes ago)
to Development
Hi Mark,

Here is a log from today's master with playback of TV recordings copied to
the Videos.
First a number of SD/mpeg2 recordings, they all play with "Deint: None".
This are all old TV recordings so they are all interlaced.
Then a number HD/H264 recordings and they now all play with "Deint: 2x
VDPAU Advanced".
Could it be that you have already fixed this?
About the SD not being deinterlaced, could this be a setting of mine?

Kind regards,
Klaas.

On Mon, 17 Feb 2020 at 09:06, Mark Kendall <mark.kendall@gmail.com> wrote:

> Sorry Klaas,
>
> I forgot to follow up on this over the weekend.
>
> Can you post a '-v playback' log from playing something from videos
> (where deinterlacing is not setup correctly). I still can't figure out
> what is going on, but the video use case should simplify the logs (and
> there is some new logging in master).
>
> Thanks and regards
> Mark
>
> On Sun, 16 Feb 2020 at 20:32, Klaas de Waal <klaas.de.waal@gmail.com>
> wrote:
> >
> > Hi Mark,
> >
> > I do have loads of old recordings copied to the Video's (just a straight
> file copy, I am not into metadata and all that) and almost all of them now
> also play back with "Deint: None". For the SD recordings I can actually see
> that the interlacing is not done (or done less well). So it is not just
> Live TV. Hope this helps.
> >
> > Kind regards,
> > Klaas.
> >
> >
> > On Tue, 11 Feb 2020 at 20:47, Mark Kendall <mark.kendall@gmail.com>
> wrote:
> >>
> >> Klaas,
> >>
> >> This line looks to be the issue (it's repeated multiple times):-
> >>
> >> CoreContext mythvideoout.cpp:375 (SetDeinterlacing) VideoOutput:
> >> SetDeinterlacing (Doublerate 1): Single None Double None
> >>
> >> I have an idea where the problem is - just need to kick my son off the
> >> tv to test it:)
> >>
> >> regards
> >> Mark
> >>
> >> On Tue, 11 Feb 2020 at 19:07, Klaas de Waal <klaas.de.waal@gmail.com>
> wrote:
> >> >
> >> >
> >> >
> >> > On Tue, 11 Feb 2020 at 13:45, John Pilkington <johnpilk222@gmail.com>
> wrote:
> >> >>
> >> >> On 11/02/2020 12:38, John Pilkington wrote:
> >> >> > On 11/02/2020 08:35, Mark Kendall wrote:
> >> >> >> On Mon, 10 Feb 2020 at 20:03, Klaas de Waal <
> klaas.de.waal@gmail.com>
> >> >> >> wrote:
> >> >> >>>
> >> >> >>> The "Playback Data" box shows "Deint: None" when playing live TV
> from
> >> >> >>> any channel. When playing a recording from the same channel the
> box
> >> >> >>> shows "Deint: 2x VDPAU Advanced" which is what is configured.
> >> >> >>> This is what I also expect when playing live TV.
> >> >> >>
> >> >> >> Klaas
> >> >> >>
> >> >> >> Can you generate some logs with '-v playback'?
> >> >> >>
> >> >> >> Piotr has also reported this issue but I can't reproduce it here.
> >> >> >>
> >> >> >>> Note that I cannot see a difference in video quality, which means
> >> >> >>> that either mythfrontend is doing the deinterlacing but does not
> >> >> >>> display it, or that my TV does the deinterlacing itself.
> >> >> >>
> >> >> >> If the TV is deinterlacing for you - then you are a lucky man:)
> >> >> >>
> >> >> >> The other possibility is that it is in fact progressive material?
> -
> >> >> >> probably unlikely though.
> >> >> >>
> >> >> >> Thanks and regards
> >> >> >> Mark
> >> >> >
> >> >> > I'm seeing 2x VDPAU Temporal or NVDEC Adaptive, as setup, for
> live BBC
> >> >> > TWO SD DVB-T and live BBC TWO HD DVB-T2, yesterday's master.
> >> >> >
> >> >> > John
> >> >> >
> >> >> I sent that, and the display immediately went to 'None' during an
> >> >> out-of-studio sequence.
> >> >
> >> >
> >> >
> >> > Hi Mark,
> >> >
> >> > Attached a log with "-v playback" of mythfrontend, live TV with 3
> different channels, with a recent (v32-pre) master.
> >> > Contrary to John's experience, on my TV the "Playback Data" window
> shows always "Deint: None" on live TV.
> >> >
> >> > Thanks,
> >> > Klaas.
> >> >>
> >> >>
> >> > _______________________________________________
> >> > mythtv-dev mailing list
> >> > mythtv-dev@mythtv.org
> >> > http://lists.mythtv.org/mailman/listinfo/mythtv-dev
> >> > http://wiki.mythtv.org/Mailing_List_etiquette
> >> > MythTV Forums: https://forum.mythtv.org
> >> _______________________________________________
> >> mythtv-dev mailing list
> >> mythtv-dev@mythtv.org
> >> http://lists.mythtv.org/mailman/listinfo/mythtv-dev
> >> http://wiki.mythtv.org/Mailing_List_etiquette
> >> MythTV Forums: https://forum.mythtv.org
> >
> > _______________________________________________
> > mythtv-dev mailing list
> > mythtv-dev@mythtv.org
> > http://lists.mythtv.org/mailman/listinfo/mythtv-dev
> > http://wiki.mythtv.org/Mailing_List_etiquette
> > MythTV Forums: https://forum.mythtv.org
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-dev
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
Re: Playback Data live TV "Deint: None" [ In reply to ]
On Mon, 17 Feb 2020 at 18:52, Klaas de Waal <klaas.de.waal@gmail.com> wrote:

>
> Klaas de Waal <klaas.de.waal@gmail.com>
> [image: Attachments]19:43 (6 minutes ago)
> to Development
> Hi Mark,
>
> Here is a log from today's master with playback of TV recordings copied to
> the Videos.
> First a number of SD/mpeg2 recordings, they all play with "Deint: None".
> This are all old TV recordings so they are all interlaced.
> Then a number HD/H264 recordings and they now all play with "Deint: 2x
> VDPAU Advanced".
> Could it be that you have already fixed this?
> About the SD not being deinterlaced, could this be a setting of mine?
>
> Thanks Klaas,

Can you describe the entries you have in the video display profile you are
using?

I see this line:-

(VideoDisplayProfile) VDP: Accepting: cmp() w(>720) h(>576) framerate()
codecs() dec(vdpau) cpus(2) skiploop(enabled) rend(opengl-hw)
deint(high:shader:driver,high:shader:driver)

Is that your only entry? (for that profile)

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)

If you can confirm the profile, I can verify in the morning. There are a
few small, obvious fixes that your logs highlight (e.g. we shouldn't
default to 0 decoder threads).

I'm also wondering if you previously had a second entry that used VDPAU for
rendering only (for SD content) - which is no longer valid - and which
would have been the fallback?

Thanks and regards

Mark
Re: Playback Data live TV "Deint: None" [ In reply to ]
On Mon, 17 Feb 2020 at 22:30, Mark Kendall <mark.kendall@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
Re: Playback Data live TV "Deint: None" [ In reply to ]
Hi Mark,

Yes, I had indeed a setting for width > 720 and height > 576 for the
profile and no default setting . The default setting used to be software
decoding.
I have removed the width and height restrictions and the videos of all
resolutions play now with deinterlacing. OK.

But, and this is the crucial part, now that I have removed the width/height
restrictions also the live TV does use the deiinterlacing!!!!!

This suggests that the live TV setting can select the wrong profile, such
as that it does not look at the width and height settings in the profile.
Or that it selects a profile when width and height are still zero (because
no video has been decoded yet).

I agree about using all available CPU cores as default value.

About software decoding, this has always been my preferred setting when the
CPU was fast enough because software decoding is usually more capable of
handling errors in the input stream in the sense that it does better
correction so that you do not see the errors. At least with MPEG2/SD this
was the case. But given that I have been watching via the VDPAU decoder for
the last few years this is for me not much of an issue. But my cable signal
is perfect, for terrestrial and satellite the software decoding option
would be useful.

Thanks,
Klaas.


On Tue, 18 Feb 2020 at 13:19, Mark Kendall <mark.kendall@gmail.com> wrote:

> On Mon, 17 Feb 2020 at 22:30, Mark Kendall <mark.kendall@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
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-dev
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
Re: Playback Data live TV "Deint: None" [ In reply to ]
Hi Mark,

Have tested just now with the latest master and the deinterlacing for Live
TV is OK now. Both Live TV and playback from recordings do now look at the
values selected in the video profile.

Thanks,
Klaas.


On Tue, 18 Feb 2020 at 19:10, Klaas de Waal <klaas.de.waal@gmail.com> wrote:

> Hi Mark,
>
> Yes, I had indeed a setting for width > 720 and height > 576 for the
> profile and no default setting . The default setting used to be software
> decoding.
> I have removed the width and height restrictions and the videos of all
> resolutions play now with deinterlacing. OK.
>
> But, and this is the crucial part, now that I have removed the
> width/height restrictions also the live TV does use the deiinterlacing!!!!!
>
> This suggests that the live TV setting can select the wrong profile, such
> as that it does not look at the width and height settings in the profile.
> Or that it selects a profile when width and height are still zero
> (because no video has been decoded yet).
>
> I agree about using all available CPU cores as default value.
>
> About software decoding, this has always been my preferred setting when
> the CPU was fast enough because software decoding is usually more capable
> of handling errors in the input stream in the sense that it does better
> correction so that you do not see the errors. At least with MPEG2/SD this
> was the case. But given that I have been watching via the VDPAU decoder for
> the last few years this is for me not much of an issue. But my cable signal
> is perfect, for terrestrial and satellite the software decoding option
> would be useful.
>
> Thanks,
> Klaas.
>
>
> On Tue, 18 Feb 2020 at 13:19, Mark Kendall <mark.kendall@gmail.com> wrote:
>
>> On Mon, 17 Feb 2020 at 22:30, Mark Kendall <mark.kendall@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
>> _______________________________________________
>> mythtv-dev mailing list
>> mythtv-dev@mythtv.org
>> http://lists.mythtv.org/mailman/listinfo/mythtv-dev
>> http://wiki.mythtv.org/Mailing_List_etiquette
>> MythTV Forums: https://forum.mythtv.org
>>
>
Re: Playback Data live TV "Deint: None" [ In reply to ]
On Tue, Feb 18, 2020 at 11:10 AM Klaas de Waal <klaas.de.waal@gmail.com>
wrote:

> Hi Mark,
>
> Yes, I had indeed a setting for width > 720 and height > 576 for the
> profile and no default setting . The default setting used to be software
> decoding.
> I have removed the width and height restrictions and the videos of all
> resolutions play now with deinterlacing. OK.
>
> But, and this is the crucial part, now that I have removed the
> width/height restrictions also the live TV does use the deiinterlacing!!!!!
>
> This suggests that the live TV setting can select the wrong profile, such
> as that it does not look at the width and height settings in the profile.
> Or that it selects a profile when width and height are still zero
> (because no video has been decoded yet).
>
> I agree about using all available CPU cores as default value.
>
> About software decoding, this has always been my preferred setting when
> the CPU was fast enough because software decoding is usually more capable
> of handling errors in the input stream in the sense that it does better
> correction so that you do not see the errors. At least with MPEG2/SD this
> was the case. But given that I have been watching via the VDPAU decoder for
> the last few years this is for me not much of an issue. But my cable signal
> is perfect, for terrestrial and satellite the software decoding option
> would be useful.
>

On my Shield I use software decode and OpenGL rendering. This is because I
have one station which broadcasts "corrupt" 1080i mpeg2 which the hardware
decoders do not handle well, resulting in pixelization. When using the
software decoder the picture looks perfect.

John