I've added the bit-rate calculator to l1dump. Except for the L1_Basic FEC mode issue, it should be accurate for all modes. Sub-frames were a bit of a pain. I had to parse the L1 data twice to make it work.
Also, there's now an l1dump.h file. https://github.com/drmpeg/dtv-utils
Search found 10 matches
- Mon Aug 11, 2025 5:16 am
- Forum: ATSC 3.0 Nextgen TV
- Topic: BSID Bug?
- Replies: 21
- Views: 6743
- Fri Aug 08, 2025 9:15 pm
- Forum: ATSC 3.0 Nextgen TV
- Topic: BSID Bug?
- Replies: 21
- Views: 6743
Re: BSID Bug?
This is great! I have a question though. I see in your collection of tools that you have an atsc3rate.c which appears to calculate the total bitrate for a PLP. Is the data necessary to use this present in the l1dump output? I eyeballed it and couldn't immediately verify all the parameters are ...
- Thu Aug 07, 2025 7:59 pm
- Forum: ATSC 3.0 Nextgen TV
- Topic: BSID Bug?
- Replies: 21
- Views: 6743
Re: BSID Bug?
How to use the utility. First get the base64 string with hdhomerun_config.

Copy and paste the base64 string into a file with your favorite editor (for example, l1detail.txt). Then run the utility.
./l1dump l1detail.txt

Copy and paste the base64 string into a file with your favorite editor (for example, l1detail.txt). Then run the utility.
./l1dump l1detail.txt
- Thu Aug 07, 2025 7:48 pm
- Forum: ATSC 3.0 Nextgen TV
- Topic: BSID Bug?
- Replies: 21
- Views: 6743
Re: BSID Bug?
Here's the C code.
https://github.com/drmpeg/dtv-utils/blob/master/l1dump.c
Some examples.
Two PLPs with TDM.
L1B_version = 0
L1B_mimo_scattered_pilot_encoding = Walsh-Hadamard pilots or no MIMO subframes
L1B_lls_flag = No LLS in current frame
L1B_time_info_flag = Time information is not ...
https://github.com/drmpeg/dtv-utils/blob/master/l1dump.c
Some examples.
Two PLPs with TDM.
L1B_version = 0
L1B_mimo_scattered_pilot_encoding = Walsh-Hadamard pilots or no MIMO subframes
L1B_lls_flag = No LLS in current frame
L1B_time_info_flag = Time information is not ...
- Wed Aug 06, 2025 1:36 pm
- Forum: ATSC 3.0 Nextgen TV
- Topic: BSID Bug?
- Replies: 21
- Views: 6743
Re: BSID Bug?
Ah, right...
The Sony demod driver returns the L1basic in a struct with everything split out. My tuner driver wrapper code puts it back together into the raw form before passing it to my ATSC 3 code. The CRC is the one thing that is missing so my conversion code sets it to zero.
Okay, no ...
- Wed Aug 06, 2025 6:24 am
- Forum: ATSC 3.0 Nextgen TV
- Topic: BSID Bug?
- Replies: 21
- Views: 6743
Re: BSID Bug?
I'm in the process of writing a parser for the new L1_Detail function. Is the L1_Basic CRC supposed to be all zeroes?
Here's the BASE64 string from the HDHomeRun.
ACHgAAAAADIAFcYgYMGH////////AAAAAAEjCABAAAABRSzATlPXhAzif////w84uPc=
Which decodes to (in hex ...
Here's the BASE64 string from the HDHomeRun.
ACHgAAAAADIAFcYgYMGH////////AAAAAAEjCABAAAABRSzATlPXhAzif////w84uPc=
Which decodes to (in hex ...
- Sat Aug 02, 2025 4:44 pm
- Forum: ATSC 3.0 Nextgen TV
- Topic: Encryption
- Replies: 817
- Views: 1201416
Re: Encryption
I may have lost track of this. But usually there a fixed number of days for comments and then a set day for a "ruling". What is the end date if any. That way I can just hibernate until then
The end date for reply comments was June 6, 2025. No date set for a ruling.
https://docs.fcc.gov/public ...
- Sat Aug 02, 2025 4:30 pm
- Forum: ATSC 3.0 Nextgen TV
- Topic: BSID Bug?
- Replies: 21
- Views: 6743
Re: BSID Bug?
The bsid only appears in the L1_Detail if L1D_version is >= than 1. I'm gonna guess that there are plenty of transmitters sending a L1_Detail with L1D_version = 0 and no bsid.
- Mon Apr 07, 2025 11:07 pm
- Forum: ATSC 3.0 Nextgen TV
- Topic: Encryption
- Replies: 817
- Views: 1201416
Re: Encryption
The FCC has posted a document that seeks comment on the NAB proposal to sunset ATSC 1.0.
https://docs.fcc.gov/public/attachments/DA-25-314A1.pdf
From the document:
"Also, the Commission has received thousands of consumer comments objecting to broadcasters employing the use of Digital Rights ...
https://docs.fcc.gov/public/attachments/DA-25-314A1.pdf
From the document:
"Also, the Commission has received thousands of consumer comments objecting to broadcasters employing the use of Digital Rights ...
- Fri Jan 26, 2024 4:34 pm
- Forum: ATSC 3.0 Nextgen TV
- Topic: Encryption
- Replies: 817
- Views: 1201416
Re: Encryption - 16-142' in the 'Proceeding(s) box
Proceeding 16-142 is a HOT topic on the FCC Filing page. It has 4,102 responses . No other topic has above 2,000 responses, and only 5 (including 16-142) have over 1,000. The responses I've read are almost exclusively opposing DRM, and all are very well written.
If the FCC and/or broadcasters ...