Closed Captioning Bug
Posted: 21 Dec 2009 07:18
I've been trying to do some work with the closed captioning feature, but it seems like the closed captioning decoder is not working properly when I try to use it with newer DVDs. I am using the Mac OS X version and have tried the latest in the trunk and the latest "stable" version. It seems that about half of the dialogue in newer movies is not showing up at all and what does show up is out of sync. With older DVDs I did not see this problem as much.
This may have to do with the CEA-708 standard not being implemented or possibly the hack used to re-order the 608 closed captioned titles is not working correctly.
In the source code, I see the following comment in "./modules/codec/cc.c":
/* XXX Cc captions data are OUT OF ORDER (because we receive them in the bitstream
* order (ie ordered by video picture dts) instead of the display order.
* We will simulate a simple IPB buffer scheme
* and reorder with pts.
* XXX it won't work with H264 which use non out of order B picture or MMCO
*/
I am a developer and would try to fix this problem, but I do not know the closed caption standard. I am hoping that this problem will be acknowledged and developers who do have experience (and who originally implemented this feature) can fix the bug.
Thanks.
This may have to do with the CEA-708 standard not being implemented or possibly the hack used to re-order the 608 closed captioned titles is not working correctly.
In the source code, I see the following comment in "./modules/codec/cc.c":
/* XXX Cc captions data are OUT OF ORDER (because we receive them in the bitstream
* order (ie ordered by video picture dts) instead of the display order.
* We will simulate a simple IPB buffer scheme
* and reorder with pts.
* XXX it won't work with H264 which use non out of order B picture or MMCO
*/
I am a developer and would try to fix this problem, but I do not know the closed caption standard. I am hoping that this problem will be acknowledged and developers who do have experience (and who originally implemented this feature) can fix the bug.
Thanks.