mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-03 21:23:48 +00:00
[BUG] Processing of file ended prematurely in switch_to_next_file() on UK Freeview DVB subtitles #719
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @thunderbolt-tom on GitHub (Oct 9, 2022).
CCExtractor version: 0.94
In raising this issue, I confirm the following:
Necessary information
ccextractor -o outfile infileVideo links
https://www.dropbox.com/s/o3j75jmsm60rj0w/ccissue.ts?dl=0
Additional information
I've been successfully using ccextractor to extract subtitles from UK Freeview transmissions for several years. These are recorded using mythtv using Hauppauge DVB TV cards and the recorded files are MPEG TS files. Recently (since around the beginning of September) all files have failed to extract with the following output:
In all cases the error happens almost immediately after I run the command.
I'm using the latest version (0.94) compiled from source from the git repository on Ubuntu 20.04. However the issue also happens on version 0.88 also compiled from source, and version 0.87 as supplied in the Ubuntu repositories.
I've tried various command line options including -myth (this error doesn't happen, but it finds no subtitles whatsoever), -haup, -in=ts, -ignoreptsjumps, -fixptsjumps and -ve, none of which make any difference.
This only started happening on transmissions since around the start of September and ccextractor still works on older recorded transmissions. I did not update any software or change hardware, so I presume something changed with the way they are transmitted. I've subsequently updated mythtv just in case, but the problems still persists. The problem happens on every channel that I record from.
The subtitles show successfully when I play the file in players such as Kodi and VLC. Also, if I copy the streams into another TS file with ffmpeg using a command such as
ffmpeg -i infile.ts -map v:0 -map a:0 -map s:0 -c copy -format mpegts outfile.ts, then ccextractor does work with the resulting file.I've linked to a small sample cut from a recent recording which is sufficient to demonstrate the problem.