[Rust] Finished the TS module
In raising this pull request, I confirm the following (please check boxes):
- [x] I have read and understood the contributors guide.
- [x] I have checked that another pull request for this purpose does not exist.
- [x] I have considered, and confirmed that this submission will be valuable to others.
- [x] I accept that this submission may not be used, and the pull request closed at the will of the maintainer.
- [x] I give this submission freely, and claim no ownership to its content.
- [ ] I have mentioned this change in the changelog.
My familiarity with the project is as follows (check one):
- [ ] I have never used CCExtractor.
- [ ] I have used CCExtractor just a couple of times.
- [ ] I absolutely love CCExtractor, but have not contributed previously.
- [x] I am an active contributor to CCExtractor.
Finished TS Module, now all subtitles for TS files are extracted with rust.
Also added some functions which were left for stream_functions and ts_tables.
The 3 PRs, #1717, #1720, and this one migrates the entire TS suite to the transportstream module in Rust, the files migrated are
ts_tables.c
ts_functions.c
ts_functions.h
ts_info.c(some parts of it I didn't require)
ts_tables_epg.c
stream_functions.c
This is a preview PR.
CCExtractor CI platform finished running the test files on linux. Below is a summary of the test results, when compared to test for commit afde4d6...:
| Report Name | Tests Passed |
| Broken | 13/13 |
| CEA-708 | 13/14 |
| DVB | 2/7 |
| DVD | 0/3 |
| DVR-MS | 2/2 |
| General | 22/27 |
| Hauppage | 0/3 |
| MP4 | 3/3 |
| NoCC | 10/10 |
| Options | 81/86 |
| Teletext | 1/21 |
| WTV | 13/13 |
| XDS | 32/34 |
Your PR breaks these cases:
- ccextractor --autoprogram --out=srt --latin1 f1422b8bfe...
- ccextractor --datapid 5603 --autoprogram --out=srt --latin1 --teletext 85c7fc1ad7...
- ccextractor --stdout --quiet --no-fontcolor 79a51f3500...
- ccextractor --stdout --quiet --no-fontcolor 767b546f96...
- ccextractor --autoprogram --out=srt --latin1 --quant 0 85271be4d2...
- ccextractor --hauppauge --autoprogram --out=srt --latin1 a03b5b2a56...
- ccextractor --autoprogram --out=srt --hauppauge --latin1 553d78e755...
- ccextractor --autoprogram --out=ttxt --hauppauge --ucla --latin1 553d78e755...
- ccextractor --myth c83f765c66...
- ccextractor --tpage 801 4e56e88ba4...
- ccextractor --tverbose 4e56e88ba4...
- ccextractor --teletext 4e56e88ba4...
- ccextractor --autoprogram --out=srt --latin1 4e56e88ba4...
- ccextractor --autoprogram --out=ttxt --latin1 c0d2fba8c0...
- ccextractor --autoprogram --out=ttxt --latin1 006fdc391a...
- ccextractor --autoprogram --out=ttxt --latin1 e92a1d4d2a...
- ccextractor --autoprogram --out=ttxt --latin1 b37ce60eb9...
- ccextractor --autoprogram --out=ttxt --latin1 7e4ebf7fd7...
- ccextractor --autoprogram --out=ttxt --latin1 9256a60e4b...
- ccextractor --autoprogram --out=ttxt --latin1 27d7a43dd6...
- ccextractor --autoprogram --out=ttxt --latin1 297a44921a...
- ccextractor --autoprogram --out=ttxt --latin1 efbe129086...
- ccextractor --autoprogram --out=ttxt --latin1 eae0077731...
- ccextractor --autoprogram --out=ttxt --latin1 e2e2b501e0...
- ccextractor --autoprogram --out=ttxt --latin1 8c1615c1a8...
- ccextractor --autoprogram --out=ttxt --latin1 c6407fb294...
- ccextractor --autoprogram --out=ttxt --latin1 --datets dcada745de...
- ccextractor --autoprogram --out=srt --latin1 --tpage 398 5d5838bde9...
- ccextractor --autoprogram --out=srt --latin1 --tpage 299 44c45593fb...
- ccextractor --autoprogram --out=srt --latin1 --tpage 299 b8c55aa2e9...
- ccextractor --autoprogram --out=srt --latin1 --teletext --tpage 398 3b276ad8bf...
- ccextractor --autoprogram --out=ttxt --latin1 b236a0590b...
- ccextractor --autoprogram --out=ttxt --latin1 --ucla --xds b992e0cccb...
NOTE: The following tests have been failing on the master branch as well as the PR:
- ccextractor --service 1 --out=txt f17524b53f..., Last passed:
Never
- ccextractor --autoprogram --out=ttxt --latin1 5ae2007a79..., Last passed:
Never
- ccextractor --autoprogram --out=ttxt --latin1 1e44efd810..., Last passed:
Never
- ccextractor --autoprogram --out=ttxt --latin1 add511677c..., Last passed:
Never
- ccextractor --autoprogram --out=srt --latin1 e9b9008fdf..., Last passed:
Never
- ccextractor --autoprogram --out=ttxt --latin1 27e46255f0..., Last passed:
Never
- ccextractor --autoprogram --out=ttxt --latin1 1974a299f0..., Last passed:
Never
- ccextractor --autoprogram --out=ttxt --latin1 132d7df7e9..., Last passed:
Never
- ccextractor --autoprogram --out=ttxt --latin1 99e5eaafdc..., Last passed:
Never
- ccextractor --in=ps e9b9008fdf..., Last passed:
Never
- ccextractor --autoprogram --out=ttxt --latin1 --ucla --xds 0069dffd21..., Last passed:
Never
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.