You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the request is off the back of failure or unsupported file format, please post a log as it can help us track down what is missing.
Either post it in full here, or drag/drop the file onto GitHub to upload it.
HandBrake doesn't currently handle CC 708 at all. It's something I'd like to have, but low priority. This would fall into the same category although it's probably much easier since you don't really have to parse the full CC data.
You just need to parse enough to know what frame to attach it to (timestamps). Then it's just a matter of inserting it into x264 SEI data for the right frame. There's already an example of how to do this in ffmpeg.
Normally subtitles go from a reader to sync then to either a renderer or the muxer through a series of fifos. I think the right way to do it would be to attach the CC to HandBrake's video frame buffers in sync (where timestamps are inspected for synchronization purposes). There would need to be a flag in settings somewhere to tell sync to do this instead of passing it to the next fifo as it would normally do. And of coarse new CLI option and GUI widgets to support the new setting.
If you can supply some samples, that would be great. It'll help anyone who decides to take on this work. Hopefully my comments will also help (or be a reminder for me if nobody else does this and it hits my radar in the future).
Activity
jstebbins commentedon Jan 14, 2019
HandBrake doesn't currently handle CC 708 at all. It's something I'd like to have, but low priority. This would fall into the same category although it's probably much easier since you don't really have to parse the full CC data.
You just need to parse enough to know what frame to attach it to (timestamps). Then it's just a matter of inserting it into x264 SEI data for the right frame. There's already an example of how to do this in ffmpeg.
Normally subtitles go from a reader to sync then to either a renderer or the muxer through a series of fifos. I think the right way to do it would be to attach the CC to HandBrake's video frame buffers in sync (where timestamps are inspected for synchronization purposes). There would need to be a flag in settings somewhere to tell sync to do this instead of passing it to the next fifo as it would normally do. And of coarse new CLI option and GUI widgets to support the new setting.
If you can supply some samples, that would be great. It'll help anyone who decides to take on this work. Hopefully my comments will also help (or be a reminder for me if nobody else does this and it hits my radar in the future).
leeerickson2050 commentedon Jan 14, 2019
Demo Clip with Captioning:
https://drive.google.com/open?id=1LmRZHIUxPLL_3lXvXPP-OSOrQOhFlu82
Demo 708 MCC file
https://drive.google.com/open?id=1RcDf3rCyiVHNjVOsLtNvZhgPl_bEUiCU
Demo 608 SCC file
https://drive.google.com/open?id=1zRBf7i2fa9PsumJ8odMlu-vpcU7qSWvW
Demo Video
https://drive.google.com/open?id=1K_vS0eOg1OYM2I9e001QjjnrlVCmFjaq
tvadi commentedon Nov 16, 2021
Hi, any update by chance on this? Thanks!
aleczdr commentedon Aug 8, 2022
Hi, has there been any progress on this? It would be a very useful feature, as I wouldn't have to convert everything to flv to use libcaption/ffmpeg.
Also, I noticed that libcaption is foss. Maybe the developers of handbrake could integrate that.
https://github.com/szatmary/libcaption