-
Notifications
You must be signed in to change notification settings - Fork 420
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
Buggy ttml support #122
Comments
Which version are you using I am getting correct output. I am using git version from here. |
Same here, I'm on latest commit (b95e06c). I've started looking a bit at the code and it looks like it should only affect dvb_teletext subtitles. I'm getting a more correct output by adding another case for smptett like this:
But this quick & dirty fix duplicate existing code to generate smptett and doesn't handle line ending correctly (the -lf param is completly ignored). |
can you share your video file, I will look at it. It seems teletext code is untouched from decades. Now at time of initialization encoder writes the header and footer correctly, but it never gets the decode packet so that it can handle it. and last question are you willing to contribute this in ccextractor. |
I'd like to, but unfortunately I don't have the time right now to do it correctly. |
Forgot to close this ticket when PR #123 was merged. |
The generated ttml file are not valid: they start and end with the valid ttml headers (xml), but the rest of the file is just a in regular SubRip format.
Here's a short example of the kind of file I get with ccextractor -out=smptett video.ts:
The input files I have are all .ts with embedded dvb_teletext subtitles.
The text was updated successfully, but these errors were encountered: