Subtitles and NVDEC?
Moderator: Forum Moderators
Subtitles and NVDEC?
I know when V31 first released there was a note regarding subtitles not work with NVDEC but is this issue still active or are subtitles supposed to be working now?
I'm running on Ubuntu 20.04 on both my backend and main remote frontend. Latest updates are installed for OS and Mythtv. Subtitles work for VDPAU as well as the other profile Codecs just not NVDEC.
I'm running on Ubuntu 20.04 on both my backend and main remote frontend. Latest updates are installed for OS and Mythtv. Subtitles work for VDPAU as well as the other profile Codecs just not NVDEC.
Re: Subtitles and NVDEC?
Never had a problem here.
BE/FE-Asrock AB350 Pro Ryzen 3 3200G, 6 atsc tuners. FE's-GF8200's Athlon II, Ryzen 3 2200G. Mythtv user since 2005.
Re: Subtitles and NVDEC?
I just did a quick test playing back recordings with MythTV master on Ubuntu 18.
DVB subtitles are shown both with VDPAU and NVDEC.
However, ATSC CC subtitles are shown with VDPAU but NOT with NVDEC.
DVB subtitles are shown both with VDPAU and NVDEC.
However, ATSC CC subtitles are shown with VDPAU but NOT with NVDEC.
Re: Subtitles and NVDEC?
Both atsc and vbi work here on latest V31.
BE/FE-Asrock AB350 Pro Ryzen 3 3200G, 6 atsc tuners. FE's-GF8200's Athlon II, Ryzen 3 2200G. Mythtv user since 2005.
Re: Subtitles and NVDEC?
ATSC CC subtitles are shown with VDPAU but NOT with NVDEC is what I see here. Those who have theirs working, can you post your playback profile settings?
Thanks
Andrew
Thanks
Andrew
Re: Subtitles and NVDEC?
I've got 5 frontends and they all use the same settings, which are pretty much the default ones for NVDEC Normal. All systems are xubuntu 20.04 LTS consisting of system in listed in sig line.
BE/FE-Asrock AB350 Pro Ryzen 3 3200G, 6 atsc tuners. FE's-GF8200's Athlon II, Ryzen 3 2200G. Mythtv user since 2005.
Re: Subtitles and NVDEC?
USA broadcast shows have cea-608 subtitles and they do not display with NVDEC. I just confirmed this by testing. The menu does not even show the subtitle option.
I suspect that the person who sees the subtitles is not really using NVDEC. Use "playback data" to see which decode method is being used. If you select NVDEC on a system that doesn't support NVDEC, it silently falls back to software decode and this may be what is happening.
I suspect that the person who sees the subtitles is not really using NVDEC. Use "playback data" to see which decode method is being used. If you select NVDEC on a system that doesn't support NVDEC, it silently falls back to software decode and this may be what is happening.
Re: Subtitles and NVDEC?
Here are my settings
[- Attachments
-
- standard.png (158.93 KiB) Viewed 14987 times
-
- playback-sttings.png (76.14 KiB) Viewed 14987 times
BE/FE-Asrock AB350 Pro Ryzen 3 3200G, 6 atsc tuners. FE's-GF8200's Athlon II, Ryzen 3 2200G. Mythtv user since 2005.
Re: Subtitles and NVDEC?
You need to look at the playback data
While playing : Menu -> Playback -> Playback Data
The codec / dec will tell you whether it is using NVDEC
Bigger image : https://www.dropbox.com/s/804ezfjevrvy0 ... 1.png?dl=0
While playing : Menu -> Playback -> Playback Data
The codec / dec will tell you whether it is using NVDEC
Bigger image : https://www.dropbox.com/s/804ezfjevrvy0 ... 1.png?dl=0
Re: Subtitles and NVDEC?
Yes, this does select NVDEC but only if it is available for your graphics card. As far as I know NVDEC only works for Nvidia cards.
If you select NVDEC on e.g. Intel-only cards where NVDEC is not available then automatically FFmpeg is used instead.
CC subtitle playback with FFMpeg is OK.
The decoder that is actually used can be viewed when playing back by:
- Press "M" for the "Playback Menu" menu,
- 4th choice "Playback" for the "Playback" menu
- 4th menu choice "Playback Data"
then a black OSD appears with all kind of debug data. Second column, second entry is "Codec/Dec" and this shows on my Intel laptop "MPEG2 ffmpeg" even when NVDEC is selected. See picture below.
If you select NVDEC on e.g. Intel-only cards where NVDEC is not available then automatically FFmpeg is used instead.
CC subtitle playback with FFMpeg is OK.
The decoder that is actually used can be viewed when playing back by:
- Press "M" for the "Playback Menu" menu,
- 4th choice "Playback" for the "Playback" menu
- 4th menu choice "Playback Data"
then a black OSD appears with all kind of debug data. Second column, second entry is "Codec/Dec" and this shows on my Intel laptop "MPEG2 ffmpeg" even when NVDEC is selected. See picture below.
Re: Subtitles and NVDEC?
So any idea when this is or even if it is going to be supported with v31? I've heard that this is supposed to be the future codec for Nvidia cards but a none starter for those of use with hearing loss.pgbennett wrote: ↑Fri May 28, 2021 2:07 pmUSA broadcast shows have cea-608 subtitles and they do not display with NVDEC. I just confirmed this by testing. The menu does not even show the subtitle option.
I suspect that the person who sees the subtitles is not really using NVDEC. Use "playback data" to see which decode method is being used. If you select NVDEC on a system that doesn't support NVDEC, it silently falls back to software decode and this may be what is happening.
Re: Subtitles and NVDEC?
Now reported in Github issue #364 https://github.com/MythTV/mythtv/issues/364.
N.B. This does not guarantee a quick fix but it does raise the visibility of this bug and it reduces the likelihood of this bug being forgotten.....
N.B. This does not guarantee a quick fix but it does raise the visibility of this bug and it reduces the likelihood of this bug being forgotten.....
Re: Subtitles and NVDEC?
In the meantime there are workarounds - you can select VDPAU or Standard decode. Alternatively you can set up a post-recording job to extract subtitles into a file after recording so that the player will pick them up. This would not help with Live TV, since it would only extract the subtitles at the end of a recording.
Re: Subtitles and NVDEC?
Ya been forced to stay on VDPAU so far.