quicktime-java
[Prev] Thread [Next] | [Prev] Date [Next]
Re: Arabic TextMedia in Movie? Andre-John Mas Fri Aug 15 08:00:41 2008
On 7-Aug-08, at 10:23 , Joshua Foster wrote:
Hi,I need to display an Arabic caption over a movie. I've got the basics of creating a text track and adding it to a movie:
<snip>
But thus far I have been unable to show an Arabic string, it comes out as a bunch of question marks. I've tried running the string through CharsetEncoder with different charsets: UTF-16, UTF-16BE, etc., and they just give me different combinations of unprintable- character squares and question marks.I've read about two other possibilities... storing the Arabic text in a file and reading it into a Track using MediaImporter, and somehow specifying the movie and caption both in an XML file (??) but I've been unable to find examples for either.Can anybody give me a hint or point me to any code or documentation? Keep in mind that I know nothing about Quicktime and I was only introduced to QTJava two days ago, so talk to me like a five-year- old...
Hi,I thought I would do a bit of hunting myself and I came across this technical note:
http://developer.apple.com/qa/qa2005/qa1400.htmlThe technical note is target towards the C API, but hopefully this should give you
the starting point for solving your problem. André keywords: charset, utf-16, character set, encoding _______________________________________________ Do not post admin requests to the list. They will be ignored. QuickTime-java mailing list ([EMAIL PROTECTED]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quicktime-java/alexiscircle%40gmail.com This email sent to [EMAIL PROTECTED]
- Arabic TextMedia in Movie? Joshua Foster
- Re: Arabic TextMedia in Movie? Andre-John Mas <=
- RE: Arabic TextMedia in Movie? Joshua Foster