Apple Video Foundation (AVF) and .mpg files

Paul Dupuis paul at researchware.com
Tue Mar 26 17:28:19 EDT 2019


Richmond,

I good suggestion. Thank you. However, looking at an identical video 
clip encoded as MPEG-1 and as MPEG-2 in a test editor shows lots of 
gibberish and no obvious text tags to tell the encoding.

Unfortunately, I don't have time to research byte level binary encoding 
differences between MPEG-1 and MPEG-2, which is why I was hoping some 
LiveCode media guru had already done this and would share.

It was a good idea to try though.



On 3/26/2019 5:17 PM, Richmond via use-livecode wrote:
> I suppose if you open an .mpg file as a TEXT file it should
> contain standard markers as to whether it is encoded as MPEG-1 or MPEG-2.
>
> Useful samples here: http://hubblesource.stsci.edu/sources/video/clips/
>
> Richmond.
>
> On 26.03.19 22:32, Paul Dupuis via use-livecode 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