-
Notifications
You must be signed in to change notification settings - Fork 127
Description
Checklist
- I have searched the issues page for any duplicate issues open or closed and confirmed that this bug has not been reported before.
- I have tested the issue with the current build.
- I have attached log files, uploaded sample data, and commands used so that the issue can be easily reproduced by the developers.
Bug Description
The combination of ld-process-vbi and ld-export-metadata are not producing fully valid SCC files for Line 21 data. Specifically, they do not save the parity bit transmitted with each data byte into the SCC file. According to all the references I can find, the parity bit of each data byte should be present, and other software I have used to make SCC files from decoded video include the parity bits.
Steps to Reproduce
Sample files available here: https://www.dropbox.com/scl/fo/1n1rskldcfsa08ijzw34x/AI-hiBBa1UioxGD0HP8WMNE?rlkey=02zwwwvbs87dgidov1ebi7mk9&dl=0
- Run
ld-process-vbi line21-sample.tbcusing the sample data linked above - Run
ld-export-metadata --closed-captions line21-sample-ld-tools.scc line21-sample.tbc.json - Observe the lack of parity bits in the resultant SCC file
- Download sccyou https://github.com/amiaopensource/sccyou
- Run
sccyou -l 2 line21-sample.mkvusing the sample video linked above - Observe parity bits are present in the resultant SCC file
Expected Behaviour
Parity bits should be included in the Line 21 data bytes in the SCC file output from ld-export-metadata.
Example:
00:00:18:04 9470 9470 4946 2057 4520 CBCE 4F57 204F D552 20D3 49C7 CEC1 4CD3 942C 942C 942F 942F
Actual Behaviour
Parity bits are omitted from the Line 21 data bytes in the SCC file output from ld-export-metadata.
Example:
00:00:18:04 1470 1470 4946 2057 4520 4b4e 4f57 204f 5552 2053 4947 4e41 4c53 142c 142c 142f 142f
Environment
- Decode version: vhs_decode / Commit: 4247b4f
- Operating System: Windows 11, Ubuntu 24.04
- Hardware Used: Multiple
Additional Information
SCC file format documentation: http://www.theneitherworld.com/mcpoodle/SCC_TOOLS/DOCS/SCC_FORMAT.HTML
Sample SCC file from PBS program supplier documentation: https://docs.pbs.org/space/MM/5344210/Closed+Captioning#Sample-files
Line 21 Data Services specification (free):
https://shop.cta.tech/products/cta-608
Is it related to tbc-video-export?
No