-
Notifications
You must be signed in to change notification settings - Fork 519
fix: RCWT/WTV timing fixes, Latin-1 music note encoding #1849
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This PR triggers a fresh CI run to verify the combined effect of: - PR #1847: Hardsubx crash fix, memory leak fixes, rcwt exit code fix - PR #1848: XDS empty content entries fix 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
55a6b8d to
0c0e444
Compare
The rcwt_loop() function set min_pts = 0 for RCWT files but did not set pts_set = 2 (MinPtsSet). This caused the Rust timing code to skip the fts_now calculation (which checks pts_set == MinPtsSet), resulting in all captions having timestamps compressed near 0 instead of their correct times spread across the file duration. The fix adds pts_set = 2 after setting min_pts, which tells the timing system that min_pts is valid and fts_now can be calculated properly. Fixes Test 217 timing issue where: - Before: 00:00:00,001 --> 00:00:00,091 (wrong) - After: 00:00:02,402 --> 00:00:04,536 (correct) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
WTV timing fix: - Set min_pts on first valid timestamp to enable fts_now calculation - Set pts_set = 2 (MinPtsSet) instead of 1 (Received) - This fixes WTV files where all timestamps were clustered around 1 second instead of being spread across the actual video duration Latin-1 encoding fix: - Change music note substitution from pilcrow (0xB6) to '#' (0x23) - Pilcrow caused grep to treat output files as binary - '#' is a more recognizable substitute for the musical note character 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
CCExtractor CI platform finished running the test files on linux. Below is a summary of the test results, when compared to test for commit 138ccd0...:
Your PR breaks these cases:
NOTE: The following tests have been failing on the master branch as well as the PR:
Congratulations: Merging this PR would fix the following tests:
It seems that not all tests were passed completely. This is an indication that the output of some files is not as expected (but might be according to you). Check the result page for more info. |
CCExtractor CI platform finished running the test files on windows. Below is a summary of the test results, when compared to test for commit 138ccd0...:
Your PR breaks these cases:
NOTE: The following tests have been failing on the master branch as well as the PR:
Congratulations: Merging this PR would fix the following tests:
It seems that not all tests were passed completely. This is an indication that the output of some files is not as expected (but might be according to you). Check the result page for more info. |
Summary
This PR includes bug fixes discovered during CI regression test triage. After extensive FFmpeg validation, most failing tests produce correct output and need ground truth updates on Sample Platform.
Bug Fixes Included
RCWT/BIN timing fix (
general_loop.c)rcwt_loop()setmin_pts = 0but didn't setpts_set = 2(MinPtsSet)fts_nowcalculation, causing timestamps to cluster near 0WTV timing fix (
wtv_functions.c)pts_set = 1instead ofpts_set = 2Latin-1 music note encoding (
encoding.rs)#as substituteTests Requiring Ground Truth Updates
XDS Section (14 tests)
Test IDs: 98, 103, 105, 106, 114, 117, 119, 120, 121, 123, 124, 125, 132
WTV Section (11 tests)
Test IDs: 84, 85, 86, 87, 89, 90, 91, 93, 94, 95, 96
Broken Section (4 tests)
Test IDs: 2, 5, 8, 9
DVD Section (3 tests)
Test IDs: 133, 134, 135
Hauppauge Section (3 tests)
Test IDs: 48, 49, 50
General Section (timing tests)
Test IDs: 6, 10, 24, 25, 26, 27, 31, 32, 33, 34, 35, 36, 38, 41, 42, 44, 45, 46, 47
DVB Section (1 test)
Test ID: 21
Teletext Section (1 test)
Test ID: 78
Hardsubx Section (1 test)
Test ID: 241
CEA-708 Section (6 tests)
Test IDs: 137, 141, 142, 146, 147, 149
Summary of Required GT Updates
Tests That Should Pass (No GT Update Needed)
Test Plan
🤖 Generated with Claude Code