Apple Video Foundation (AVF) and .mpg files
JB
sundown at pacifier.com
Tue Mar 26 23:15:39 EDT 2019
On OS X 10.11 you can use the shell command with afinfo
JB:desktop JB$ afinfo /Users/JB/Desktop/myFile.mp3
File: /Users/JB/Desktop/myFile.mp3
File type ID: MPG3
Num Tracks: 1
----
Data format: 2 ch, 44100 Hz, '.mp3' (0x00000000) 0 bits/channel, 0 bytes/packet, 1152 frames/packet, 0 byte
s/frame
no channel layout.
estimated duration: 244.166500 sec
audio bytes: 5859996
audio packets: 9347
bit rate: 192000 bits per second
packet size upper bound: 1052
maximum packet size: 627
audio data file offset: 39692
optimized
——
The above info was returned from a mp3 file using the terminal.
JB
> On Mar 26, 2019, at 1: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
>
More information about the use-livecode
mailing list