Playing sound files
Peter Bogdanoff
bogdanoff at me.com
Sun Apr 24 02:11:43 EDT 2016
I’m wrong, apparently AVfoundation does do text tracks.
https://www.raywenderlich.com/30200/avfoundation-tutorial-adding-overlays-and-animations-to-videos
Will there be the capability to create these tracks in LiveCode? For Windows? I know not.
Peter Bogdanoff
On Apr 23, 2016, at 10:59 PM, Peter Bogdanoff <bogdanoff at me.com> wrote:
> You can do timed subtitles now using callbacks—if you want the text to display outside the player, like in a field.
>
> Look up “callbacks" in the dictionary. Basically you build a list with lines like this:
>
> <time>,<command>
>
> When the player reaches that time it sends that command.
>
> The handler that receives the command has the job of putting the appropriate text into the field.
>
> QuickTime has always had the ability to display subtitles (“text track”) directly in a player video window. I don’t think AV Foundation does that.
>
> Peter Bogdanoff
> UCLA
>
>
> On Apr 23, 2016, at 8:15 PM, Sannyasin Brahmanathaswami <brahma at hindu.org> wrote:
>
>> Panos:
>>
>> I will throw in an important use case here as we need LC to move forward to gain parity with the world of audio and video that runs in sync with
>>
>> 1) subtitling
>> 2) full transcript
>> 3) song lyrics
>>
>> This requires a backend where subtitles/yrics/transcripts are timecoded “along the way” so to speak, so that as the narration (audio or video) progresses, the visual text elements (presentation varies, on screen… a field off to the right of the video etc. below the player…
>>
>> So, whatever you do… make sure that we can support this on all platforms w/o quicktime
>>
>> Been waiting “decades” …that’s an exaggeration.. Just 17 years… not decades. We might even be able to give SMIL a kick (he’s been asleep since 2008) and make it useful again.
>>
>> Imagine this + sound
>>
>> https://upload.wikimedia.org/wikipedia/commons/9/9b/SMIL_missile_demo.svg
>>
>> BR
>>
>>
>>
>> On 4/23/16, 9:34 AM, "use-livecode on behalf of panagiotis merakos" <use-livecode-bounces at lists.runrev.com on behalf of merakosp at gmail.com> wrote:
>>
>>>
>>> *>>>A related question: One thing I currently use when saving files as
>>> QuickTime is Fast Start (Prepare for Internet Streaming). This allows files
>>> to start playing before they are completely downloaded. Will the new
>>> Windows player support some kind of streaming format like this?*All I can
>>> say now is that implementing a Windows player is of higher priority than is
>>> was before, and we will give our best to make the new Windows player to
>>> provide the full functionality as before, without relying to QuickTime.
>>>
>>> Best,
>>> Panos
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list