Play m4a files on Windows 7

panagiotis merakos merakosp at gmail.com
Sat Aug 13 17:02:37 EDT 2016


@Peter
You are right, I cannot see the feature note in the Release Notes of LC 8.1
DP2, although it *should* be there since the pull request that implemented
that feature did include a "feature-windows_player_callbacks.md" file. This
looks like a bug in the release note builder. We will investigate this on
Monday. Now, regarding your question, I am not 100% sure but I think that
the Windows player reports always longer duration compared to OSX, but this
multiplier is not constant, it differs depending on the audio/video file.
This is why I suggest setting the callbacks as a fraction of the duration,
since this will work cross platform. i.e.

(duration/8),callback1
(duration/6),callback2
(duration/2),callback3
...

@Jacque
I am glad this helped :)

On Sat, Aug 13, 2016 at 11:44 PM, J. Landman Gay <jacque at hyperactivesw.com>
wrote:

> Thank you Panos, you may have saved us. I'll pass this on to the client
> for testing. I'm very glad you were reading the list today. :)
>
>
> On 8/13/2016 3:06 PM, panagiotis merakos wrote:
>
>> Hi all,
>>
>> @Jacque:
>>
>> I can successfully play .m4a audio files on Windows 7 using LC 8.1 dp3
>> *after* installing the LAV filters suggested in the LC Forums:
>> http://forums.livecode.com/viewtopic.php?f=18&t=27380
>> Note that this is not officially suggested by LiveCode Ltd, it is just a
>> working solution.
>>
>> @Peter:
>>
>> Player callbacks are supported in LC 8.1 dp2 onwards:
>> https://github.com/livecode/livecode/pull/4140
>> So you can try them in 8.1 dp3 which is more stable than dp2. Just one
>> thing to note:
>> The Windows DS player uses different timescale, so e.g the same video
>> might
>> have a 1200 duration on OSX and 15200 on Windows (the numbers are
>> completely random). So when you set the callbacks do *not* use an absolute
>> value for the time, but relative to the player duration.
>>
>> Best,
>> Panos
>> --
>>
>> On Sat, Aug 13, 2016 at 10:57 PM, J. Landman Gay <
>> jacque at hyperactivesw.com>
>> wrote:
>>
>> Yes, you're right. We're pretty much screwed then. All the universities
>>> have demanded that QT be removed from all site computers and our app
>>> depends on .m4a audio. There are too many audio files to convert to
>>> another
>>> format, and the audio guy refuses to do it anyway due to the quality
>>> degredation.
>>>
>>> We tried installing a codec pack but that didn't work either. We're in
>>> trouble.
>>>
>>>
>>> On 8/13/2016 2:09 PM, Peter Bogdanoff wrote:
>>>
>>> I see that Ian Macphail says:
>>>> "We decided to overhaul the Windows player object, replacing the
>>>> existing
>>>> Quicktime based implementation with one based on DirectShow, which is
>>>> fully
>>>> supported on all current Windows versions.”
>>>> https://livecode.com/removing-quicktime-dependency-from-live
>>>> codes-player-object/
>>>>
>>>> And the Microsoft page describing DirectShow’s supported formats (a
>>>> rather limited list)-- .m4a is not one of them:
>>>> https://msdn.microsoft.com/en-us/library/ms787745(VS.85).aspx
>>>>
>>>> I’m very interested in this subject, especially when LC gets callbacks
>>>> working.
>>>>
>>>> Peter Bogdanoff
>>>> UCLA
>>>>
>>>>
>>>> On Aug 13, 2016, at 11:51 AM, J. Landman Gay <jacque at hyperactivesw.com>
>>>> wrote:
>>>>
>>>> On 8/9/2016 4:58 PM, J. Landman Gay wrote:
>>>>
>>>>>
>>>>> On 8/9/2016 4:26 PM, J. Landman Gay wrote:
>>>>>>
>>>>>> We need to play .m4a files on Windows 7 and up. Double-clicking one of
>>>>>>> those files plays back successfully on a Win 7 machine. Loading a
>>>>>>> player
>>>>>>> control with the URL to the file in LC on the same machine does not
>>>>>>> (LC
>>>>>>> 7.1.4).
>>>>>>>
>>>>>>> Is this fixable? Is there something users can install to make it
>>>>>>> work?
>>>>>>> Or do we need a more recent version of LC?
>>>>>>>
>>>>>>>
>>>>>>> Poking around, it looks like I have to build in LC 8.1. If that's
>>>>>> correct, then it's risky, it isn't stable yet. Is there any other way?
>>>>>>
>>>>>>
>>>>>> I've done some tests on  both Windows 10 and Vista using LC 8.1 but
>>>>> m4a
>>>>> files still do not play when setting the filename of a player. They do
>>>>> play
>>>>> using WMP. This is becoming an urgent issue for my client and I need
>>>>> to get
>>>>> it working quickly. Does anyone know what we need to install, or how
>>>>> to get
>>>>> this working?
>>>>>
>>>>> Is anyone else able to play .m4a files on Windows using the new player
>>>>> object?
>>>>>
>>>>> --
>>>>> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
>>>>> HyperActive Software           |     http://www.hyperactivesw.com
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>
>>>>
>>>>
>>> --
>>> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
>>> HyperActive Software           |     http://www.hyperactivesw.com
>>>
>>>
>>> _______________________________________________
>>> 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
>>
>>
>
> --
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
>
>
> _______________________________________________
> 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