Apple Video Foundation (AVF) and .mpg files

Paul Dupuis paul at researchware.com
Tue Mar 26 17:21:38 EDT 2019


I have a list of all the formats AVF supports and doesn't support.

My specific interest is: Is there a way to tell a MPEG-1 file from an 
MPEG-2 file with the same .mpg extension?

For example, does someone know a technique or have code to read the 
first X bytes of the file and determine encoding from that OR use some 
shell wizardry to tell the encoding?


On 3/26/2019 5:05 PM, Rick Harrison via use-livecode wrote:
> I also supports .mp4 which is MPEG-4 if that helps.
>
> Rick
>
>> On Mar 26, 2019, at 4:32 PM, Paul Dupuis via use-livecode <use-livecode at lists.runrev.com> wrote:
>>
>> Livecode 9.x.x uses Apple Video Foundation (AVF) for the LC Player object under OSX.
>> AVF supports MPEG-1 video but not MPEG-2 video.
>> Both MPEG-1 and MPEG-2 use the .mpg file extenstion.
>>
>> Question for any media geniuses on this list: Is there a way in LiveCode to tell a MPEG-1 .mpg file from a MPEG-2.mpg file?
>>
>>
>> _______________________________________________
>> 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