[mythtv-users] non-printable character in CC track from Handbrake
Jim Stichnoth
stichnot at gmail.com
Fri Sep 13 13:59:52 UTC 2013
On Thu, Sep 12, 2013 at 6:28 PM, Joey Morris <rjmorris.list at zoho.com> wrote:
> I'm playing MKV files that I ripped from my DVDs using Handbrake on
> Linux. When I enable closed captions, MythTV displays a little empty
> box at the end of every caption, representing what I assume is a
> non-printable character. Like maybe the captions end in \n\r and
> MythTV can't handle the \r. I used mkvextract to export a CC track to
> an SRT file. When I examined the captions, I didn't see any unusual
> characters at the end of them, just a 0x0a.
>
> Closed captions from OTA recordings do not exhibit this behavior.
>
> I'm running 0.26-fixes. Does anyone else have this problem? Any
> thoughts on what's causing it or additional steps to debug?
>
> If you run mythfrontend with "-v vbi", it should produce logs describing
the text strings it's trying to render, which would hopefully also show any
unusual characters that may be rendered as an empty rectangle. This is
unlikely to be whitespace like \r, since all caption text has leading and
trailing whitespace removed by the QString::trimmed() operation. From the
QString documentation, "This includes the ASCII characters '\t', '\n',
'\v', '\f', '\r', and ' '."
Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130913/a8ce06ef/attachment.html>
More information about the mythtv-users
mailing list