ATSC 3.0

bobmyth
Newcomer
Posts: 6
Joined: Fri Jul 03, 2020 12:17 am
United States of America

Re: ATSC 3.0

Post by bobmyth »

I understand the situation better now, thanks. Unfortunately, patching and compiling mythtv is beyond my current skill set.
white_haired_uncle
Senior
Posts: 277
Joined: Thu Feb 23, 2023 8:55 pm
Location: Safe outside my gilded cage
United States of America

Re: ATSC 3.0

Post by white_haired_uncle »

gigem wrote:
Thu Apr 08, 2021 9:33 pm
The current, internal, HDHR recorder in MythTV is incompatible with the HDHR5-4K except when only ATSC 1.0 channels are used. The reason is due to a limitation in the HDHR API. There is no way to specify which modulation is needed when allocating a tuner. This limitation is very unlikely to be fixed as Silicon Dust considers that old, API to be obsolete.

The only current way to record mixed ATSC 1.0 and 3.0 programs with the HDHR5-4K is to use the external, mythhdhrrecorder (https://github.com/garybuhrmaster/mythhdhrrecorder). That recorder works because it uses the new, HTTP API preferred by Silicon Dust.

In addition, MythTV must be configured to use the HDHR5-4K with two videosources. One videosource must only contain the ATSC 1.0 channels and have up to 2 tuners assigned to it. The other videosource must only contain the ATSC 3.0 channels and have up to 2 tuners assigned to it. As I understand it, that is the only way to force the use of either ATSC 1.0-only or ATSC 1.0/3.0 tuners. Without that control, there will be cases where recordings fail because the correct type of tuner is not available when needed.
Is it still the case that external recorder will be needed for the HDHR-4K/ATSC3.0?

Is it still the case that external recorder does not support multirec?

If both are true, I can see this being a problem with the "lighthouse" model being used with the ATSC3.0 rollout in the US, as for the next several years the major networks' ATSC3.0 will all be on the same one or maybe two channels. It's not a huge deal for me, as I rarely record much from the big 4/5/6 networks and don't care much about HD/HDR/multipath/etc, but I suspect for some people it might be.

Is there anything on the roadmap that's fit to share (specifically, is external recorder a workaround for now, or the future for HDHR-4K/ATSC3.0)?
User avatar
kmdewaal
Developer
Posts: 647
Joined: Wed Dec 07, 2016 8:01 pm
Netherlands

Re: ATSC 3.0

Post by kmdewaal »

Can somebody with a HDHR-4K/ATSC3.0 and that can receive ATSC3.0 channels please post the channel lineup as reported by the HDHR-4K box?
Type this in a browser (replacing 10.0.0.172 with the IP address of your HDHomeRun):

Code: Select all

http://10.0.0.172/lineup.xml?tuning
and post the result.

Context is that I am looking in how to support HDHomeRun HTTP streaming directly in MythTV.
This would then also enable recording ATSC3.0 channels.... but note that playing back the audio is a different topic.

Thanks,
Klaas.
Lost Dog
Junior
Posts: 36
Joined: Sat Feb 08, 2014 4:18 pm
United States of America

Re: ATSC 3.0

Post by Lost Dog »

Here you go!

2.1KATU24218vsb5330000003MPEG2AC31http://10.128.45.159:5004/auto/v2.1 2.2Charge!24218vsb5330000004MPEG2AC3http://10.128.45.159:5004/auto/v2.2 2.3Comet24218vsb5330000005MPEG2AC3http://10.128.45.159:5004/auto/v2.3 2.4TBD24218vsb5330000006MPEG2AC3http://10.128.45.159:5004/auto/v2.4 3.1KVDO36118vsb2010000006MPEG2AC3http://10.128.45.159:5004/auto/v3.1 6.1KOIN-HD24238vsb5390000003MPEG2AC31http://10.128.45.159:5004/auto/v6.1 6.2GetTV24238vsb5390000004MPEG2AC3http://10.128.45.159:5004/auto/v6.2 6.3Rewind24238vsb5390000005MPEG2AC3http://10.128.45.159:5004/auto/v6.3 8.1KGW24258vsb5450000003MPEG2AC31http://10.128.45.159:5004/auto/v8.1 8.2Crime24258vsb5450000004MPEG2AC3http://10.128.45.159:5004/auto/v8.2 8.3Quest24258vsb5450000005MPEG2AC3http://10.128.45.159:5004/auto/v8.3 8.4Twist24258vsb5450000008MPEG2AC3http://10.128.45.159:5004/auto/v8.4 8.5ThisTV24258vsb5450000009MPEG2AC3http://10.128.45.159:5004/auto/v8.5 8.6TheGrio24258vsb54500000010MPEG2AC3http://10.128.45.159:5004/auto/v8.6 10.1OPB24278vsb1950000003MPEG2AC31http://10.128.45.159:5004/auto/v10.1 10.2World24278vsb1950000004MPEG2AC31http://10.128.45.159:5004/auto/v10.2 10.3OPBKids24278vsb1950000005MPEG2AC3http://10.128.45.159:5004/auto/v10.3 10.4OPB-FM24278vsb1950000006MPEG2AC3http://10.128.45.159:5004/auto/v10.4 12.1FOX 1224298vsb2070000003MPEG2AC31http://10.128.45.159:5004/auto/v12.1 12.2COZI24298vsb2070000004MPEG2AC3http://10.128.45.159:5004/auto/v12.2 12.3DABL24298vsb2070000005MPEG2AC3http://10.128.45.159:5004/auto/v12.3 12.4OXYGEN24298vsb2070000006MPEG2AC3http://10.128.45.159:5004/auto/v12.4 17.1KWVT-HD36118vsb2010000003MPEG2AC31http://10.128.45.159:5004/auto/v17.1 20.1KOXI-CD92898vsb5090000001001MPEG2AC31http://10.128.45.159:5004/auto/v20.1 20.2KOXI-CD92898vsb5090000001002MPEG2AC3http://10.128.45.159:5004/auto/v20.2 20.3KOXI-CD92898vsb5090000001003MPEG2AC3http://10.128.45.159:5004/auto/v20.3 20.4KOXI-CD92898vsb5090000001004MPEG2AC3http://10.128.45.159:5004/auto/v20.4 20.5KOXI-CD92898vsb5090000001005MPEG2AC3http://10.128.45.159:5004/auto/v20.5 20.6KOXI-CD92898vsb5090000001006MPEG2AC3http://10.128.45.159:5004/auto/v20.6 20.7KOXI-CD92898vsb5090000001007MPEG2AC3http://10.128.45.159:5004/auto/v20.7 20.8KOXI-CD92898vsb5090000001008MPEG2AC3http://10.128.45.159:5004/auto/v20.8 20.9KOXI-CD92898vsb5090000001009MPEG2AC3http://10.128.45.159:5004/auto/v20.9 22.1ION24398vsb5210000003MPEG2AC31http://10.128.45.159:5004/auto/v22.1 22.2Bounce24398vsb5210000004MPEG2AC31http://10.128.45.159:5004/auto/v22.2 22.3Laff24398vsb5210000005MPEG2AC3http://10.128.45.159:5004/auto/v22.3 22.4Defy TV24398vsb5210000006MPEG2AC3http://10.128.45.159:5004/auto/v22.4 22.5SCRIPPS24398vsb5210000007MPEG2AC3http://10.128.45.159:5004/auto/v22.5 22.6Jewelry24398vsb5210000008MPEG2AC3http://10.128.45.159:5004/auto/v22.6 22.7QVC24398vsb5210000009MPEG2AC3http://10.128.45.159:5004/auto/v22.7 22.8HSN24398vsb52100000010MPEG2AC3http://10.128.45.159:5004/auto/v22.8 23.1CRIME60798vsb5270000003H264AC3http://10.128.45.159:5004/auto/v23.1 23.2QVC60798vsb5270000004MPEG2AC3http://10.128.45.159:5004/auto/v23.2 23.3HSN60798vsb5270000005MPEG2AC3http://10.128.45.159:5004/auto/v23.3 23.4QVC260798vsb5270000006MPEG2AC3http://10.128.45.159:5004/auto/v23.4 23.5HSN260798vsb5270000007MPEG2AC3http://10.128.45.159:5004/auto/v23.5 24.1TBN HD24318vsb5810000003MPEG2AC31http://10.128.45.159:5004/auto/v24.1 24.2inspire24318vsb5810000004MPEG2AC31http://10.128.45.159:5004/auto/v24.2 24.3SMILE24318vsb5810000005MPEG2AC3http://10.128.45.159:5004/auto/v24.3 24.4Enlace24318vsb5810000006MPEG2AC3http://10.128.45.159:5004/auto/v24.4 24.5POSITIV24318vsb5810000007MPEG2AC3http://10.128.45.159:5004/auto/v24.5 27.1KSLM36118vsb2010000004MPEG2AC3http://10.128.45.159:5004/auto/v27.1 29.1KJYY-LD102508vsb5630000001MPEG2AC31http://10.128.45.159:5004/auto/v29.1 29.2TXitos102508vsb5630000002MPEG2AC3http://10.128.45.159:5004/auto/v29.2 29.3MeTV102508vsb5630000003MPEG2AC3http://10.128.45.159:5004/auto/v29.3 29.4AceTV102508vsb5630000004MPEG2AC3http://10.128.45.159:5004/auto/v29.4 29.5HSN102508vsb5630000005MPEG2AC3http://10.128.45.159:5004/auto/v29.5 29.6ShopLC102508vsb5630000006MPEG2AC3http://10.128.45.159:5004/auto/v29.6 29.7Sonlife102508vsb5630000007MPEG2AC3http://10.128.45.159:5004/auto/v29.7 31.1KBLN-DT104858vsb5750000001MPEG2AC3http://10.128.45.159:5004/auto/v31.1 31.2BLBN-2104858vsb5750000002MPEG2AC3http://10.128.45.159:5004/auto/v31.2 31.3BLBN-3104858vsb5750000003MPEG2AC3http://10.128.45.159:5004/auto/v31.3 31.4BLBN-4104858vsb5750000004MPEG2AC3http://10.128.45.159:5004/auto/v31.4 32.1KRCW24218vsb5330000007MPEG2AC31http://10.128.45.159:5004/auto/v32.1 32.2Antenna24238vsb5390000006MPEG2AC3http://10.128.45.159:5004/auto/v32.2 32.3Grit24238vsb5390000007MPEG2AC3http://10.128.45.159:5004/auto/v32.3 32.4TBD24238vsb5390000008MPEG2AC3http://10.128.45.159:5004/auto/v32.4 35.1KORK-CD18vsb5990000001MPEG2AC31http://10.128.45.159:5004/auto/v35.1 35.2KOXO-CD18vsb5990000002MPEG2AC31http://10.128.45.159:5004/auto/v35.2 35.3KORS-CD18vsb5990000003MPEG2AC3http://10.128.45.159:5004/auto/v35.3 35.4KKEI-CD18vsb5990000004MPEG2AC3http://10.128.45.159:5004/auto/v35.4 37.1KPWC-HD36118vsb2010000005MPEG2AC31http://10.128.45.159:5004/auto/v37.1 42.1KPXG-LD80558vsb5150000001MPEG2AC31http://10.128.45.159:5004/auto/v42.1 42.2KPXG-ES80558vsb5150000002MPEG2AC31http://10.128.45.159:5004/auto/v42.2 42.3KPXG-LD80558vsb5150000003MPEG2AC3http://10.128.45.159:5004/auto/v42.3 47.1KUNP-LD81738vsb5930000003MPEG2AC31http://10.128.45.159:5004/auto/v47.1 47.2Stadium81738vsb5930000004MPEG2AC3http://10.128.45.159:5004/auto/v47.2 47.3Charge!81738vsb5930000005MPEG2AC3http://10.128.45.159:5004/auto/v47.3 49.1Fox12+24298vsb2070000007MPEG2AC31http://10.128.45.159:5004/auto/v49.1 49.2Mystery24258vsb5450000006MPEG2AC3http://10.128.45.159:5004/auto/v49.2 49.3Circle24298vsb2070000008MPEG2AC3http://10.128.45.159:5004/auto/v49.3 49.4CourtTV24258vsb5450000007MPEG2AC3http://10.128.45.159:5004/auto/v49.4 102.1KATUatsc35870000000+22HEVC1http://10.128.45.159:5004/auto/v102.1 106.1KOINatsc35870000000+1+28HEVC1http://10.128.45.159:5004/auto/v106.1 108.1KGWatsc356900000003HEVC1http://10.128.45.159:5004/auto/v108.1 110.1KOPBatsc356900000004HEVC1http://10.128.45.159:5004/auto/v110.1 112.1KPTVatsc356900000002HEVC1http://10.128.45.159:5004/auto/v112.1 132.1KRCWatsc35870000000+1+25HEVC1http://10.128.45.159:5004/auto/v132.1 149.1KPDXatsc356900000001HEVC1http://10.128.45.159:5004/auto/v149.1 5000Unknown80558vsb5270000001MPEG2AC3http://10.128.45.159:5004/auto/v5000 5001Unknown104858vsb5810000001MPEG2AC31http://10.128.45.159:5004/auto/v5001 5002Unknown104858vsb5810000002MPEG2AC31http://10.128.45.159:5004/auto/v5002
User avatar
kmdewaal
Developer
Posts: 647
Joined: Wed Dec 07, 2016 8:01 pm
Netherlands

Re: ATSC 3.0

Post by kmdewaal »

That is a big list! But to make it even bigger, can you please post it with the XML included? This will then be something like this for each channel:

Code: Select all

<Program>
<GuideNumber>5001</GuideNumber>
<GuideName>Unknown</GuideName>
<TransportStreamID>1</TransportStreamID>
<Modulation>8vsb</Modulation>
<Frequency>201000000</Frequency>
<ProgramNumber>14</ProgramNumber>
<VideoCodec>MPEG2</VideoCodec>
<AudioCodec>AC3</AudioCodec>
<URL>http://192.168.1.14:5004/auto/v5001</URL>
</Program>
The tags are needed to update the XML parser for the new channel fetcher.
The resulting file will be a bit big, so maybe you can post it somewhere (pastebin)?
Lost Dog
Junior
Posts: 36
Joined: Sat Feb 08, 2014 4:18 pm
United States of America

Re: ATSC 3.0

Post by Lost Dog »

kmdewaal wrote:
Fri May 12, 2023 3:42 pm
That is a big list! But to make it even bigger, can you please post it with the XML included? This will then be something like this for each channel:

Code: Select all

<Program>
<GuideNumber>5001</GuideNumber>
<GuideName>Unknown</GuideName>
<TransportStreamID>1</TransportStreamID>
<Modulation>8vsb</Modulation>
<Frequency>201000000</Frequency>
<ProgramNumber>14</ProgramNumber>
<VideoCodec>MPEG2</VideoCodec>
<AudioCodec>AC3</AudioCodec>
<URL>http://192.168.1.14:5004/auto/v5001</URL>
</Program>
The tags are needed to update the XML parser for the new channel fetcher.
The resulting file will be a bit big, so maybe you can post it somewhere (pastebin)?
Here it is!

https://pastebin.com/6ZG5wnx3
User avatar
kmdewaal
Developer
Posts: 647
Joined: Wed Dec 07, 2016 8:01 pm
Netherlands

Re: ATSC 3.0

Post by kmdewaal »

Thanks, that is exactly what I wanted. Looks like the relevant tags (GuideNumber GuideName and URL) are identical to what is already supported.
Parsing for the additional tags is to be added but not strictly needed; the current version of mythtv master should be able to record atsc3 channels.
How to do this is a bit complicated; I tried to explain this in the WIki here https://www.mythtv.org/wiki/Channel_Sca ... l_Import_2
In a nutshell, what needs to be done is this:
- Get the latest version of mythtv master
- Create a Video Source
- Create a Capture Card type "HDHomeRun Networked tuner"
- Connect the HDHomeRun capture card to the video source
- Scan for channels with the option "HDHomeRun Channel Import" (see also https://www.mythtv.org/wiki/Channel_Sca ... nel_Import)
- Create a Capture Card type "IPTV recorder" (this is then later called FREEBOX)
- Connect the IPTV (FREEBOX) capture card to the same video source
- DIsconnect the HDHomeRun capture card from the video source
If you now look at the guide then you should see all channels including the atsc3 channels.
The atsc3.0 channels can be identified by a major number in the 100 range.
Playing live TV should work if you have a powerful PC or hardware decoding for HEVC, but without audio for the atsc3 channels.
Making a recording should also work; if there is no guide information a Manual Recording can be made with start- and endtime.
Guide information has to come from another source, e.g. Schedules Direct.

If you can give this a try it would be great!
User avatar
kmdewaal
Developer
Posts: 647
Joined: Wed Dec 07, 2016 8:01 pm
Netherlands

Re: ATSC 3.0

Post by kmdewaal »

Another approach: if you create the IPTV capture card then you can add the URL of the M3U of the HDHomeRun, e.g. http://<ipv4>/lineup.m3u and replace <ipv4> with the IP adddress of the HDHomeRun; you can then also fetch the channels. So then you do not need the HDHomeRun capturecard at all. BTW never tested with ATSC but it should work.
Lost Dog
Junior
Posts: 36
Joined: Sat Feb 08, 2014 4:18 pm
United States of America

Re: ATSC 3.0

Post by Lost Dog »

kmdewaal wrote:
Tue May 16, 2023 8:21 pm

If you can give this a try it would be great!
I'll see what I can do when I get a chance.

As you said, ATSC3 audio will be an issue due to AC4 being used. Will it passthrough the audio however? If a receiver decodes AC4 will we then get audio?

Sadly, Schedules Direct does not list ATCS3 channels yet. Because ATCS3 is still in testing a rollout, they are not adding it to the listing. Additionally, the 100 based channel numbers was done by SiliconDust to differentiate ATCS3 from the standard ATCS1 stations. They typically have the same channel numbers as ATCS1 and an ATCS3 tuner would pick the right one. This caused a huge amount of confusion so SD added the 1 to the station number.
User avatar
kmdewaal
Developer
Posts: 647
Joined: Wed Dec 07, 2016 8:01 pm
Netherlands

Re: ATSC 3.0

Post by kmdewaal »

As you said, ATSC3 audio will be an issue due to AC4 being used. Will it passthrough the audio however? If a receiver decodes AC4 will we then get audio?
No, as I understand it the audio format must be recognized even if it is not fully decoded. Support for this must be first in FFmpeg and then in MythTV there must be a few bits added to make it possible.
Sadly, Schedules Direct does not list ATCS3 channels yet.
I do not use Schedules DIrect so I do not really understand it. Maybe it is possible to do something clever with XMLTVID values so that Schedules Direct will put in the guide data. Or, you can create a separate video source for the atsc3 channels and modify the channel numbers so that they are the same as the equivalent atsc channels if the channel number is what matters.
Post Reply