Does any one know what Player "intervals" actually are?
Paul Dupuis
paul at researchware.com
Tue Feb 18 10:13:05 EST 2020
Or even more specifically, does any one know what player object
"intervals" (the values for currentTime, startTime, endTime, timeScale,
and duration properties of a player) actually are? Are they frames?
Something else? And does anyone know why they vary by Media Framework
(i.e Quicktime vs Apple Video Foundation vs DirectShow)
For example, the same MP3 file under Quicktime (macOS or Windows) has a
timeScale of 600, and under AVF a timeScale of 44100 and under
DirectShow a timeScale of 10000000.
What's more if you get the duration and the timeScale and convert to
seconds, the different frameworks give (slightly) different values
(largest difference is 3s on a 2m45s MP3)
For example, look at the lengthy list of data below: This is timeScale
and duration for different file formats by media frameworks. A file of
the same name (i.e. audio.aac) is the SAME file on any media Framework
that can read it. Formats readable by the player differ by Media
Framework. The data is tab delimited, so if the listserv preserves the
tabs, you should be able to cut and paste to a spreadsheet for easier
viewing.
LC6.7.11 with QT for Windows LC9.6.0dp2 with DirectShow w
LAV Codecs LC9.5.0 with AVF (OSX)
Interval Duration Media File Interval Duration Media
File Interval Duration Media File
600 7216 audio.aac 10000000 119930840 audio.aac
44100 525312 audio.aac
600 7202 audio.adts 10000000 540160000 audio.ac3
48000 2592768 audio.ac3
600 7188 audio.aif 10000000 119836600 audio.adt
44100 531456 audio.adts
600 7188 audio.aifc 10000000 119836600 audio.adts
44100 528318 audio.aif
600 7188 audio.aiff 10000000 119800000 audio.aif
44100 528318 audio.aifc
600 20280 audio.amr 10000000 119800000 audio.aifc
44100 528318 audio.aiff
600 7188 audio.au 10000000 119800000 audio.aiff
8000 271200 audio.amr
600 20926 audio.caf 10000000 339000000 audio.amr
44100 528318 audio.au
90000 2652480 audio.m1a 10000000 119800000 audio.au
44100 1538116 audio.caf
90000 2652480 audio.m2a 10000000 348779140 audio.caf
48000 1339776 audio.m1a
600 7188 audio.m4a 10000000 348779140 audio.caff
48000 1339776 audio.m2a
600 7188 audio.m4b 10000000 293760000 audio.m1a
600 7188 audio.m4a
600 7188 audio.m4p 10000000 293760000 audio.m2a
600 7188 audio.m4b
600 7188 audio.m4r 10000000 119800000 audio.m4a
600 7188 audio.m4p
600 7188 audio.mov 10000000 119800000 audio.m4b
600 7188 audio.m4r
90000 2652480 audio.mp2 10000000 119800000 audio.m4p
600 7188 audio.mov
600 7225 audio.mp3 10000000 119800000 audio.m4r
48000 1339776 audio.mp1
600 7188 audio.mp4 10000000 119800000 audio.mov
90000 2650320 audio.mp2
90000 2652480 audio.mpa 10000000 293760000 audio.mp1
44100 529920 audio.mp3
600 7188 audio.qt 10000000 293760000 audio.mp2
600 7188 audio.mp4
600 7188 audio.snd 10000000 120160000 audio.mp3
48000 1339776 audio.mpa
600 7188 audio.wav 10000000 119800000 audio.mp4
600 7188 audio.qt
600 7188 audio.wave 10000000 293760000 audio.mpa
44100 528318 audio.wav
600 17779 video.3g2 10000000 119800000 audio.qt
600 17779 video.3g2
600 17779 video.3gp 10000000 119800000 audio.snd
600 17779 video.3gp
600 17779 video.3gp2 10000000 543114970 audio.ulaw
600 17779 video.3gp2
600 17779 video.3gpp 10000000 543114970 audio.ulw
600 17779 video.3gpp
600 17680 video.avi 10000000 119800000 audio.wav
1000000 29466372 video.avi
2997 88300 video.dif 10000000 119800000 audio.wave
30000 882882 video.dv
2997 88300 video.dv 10000000 119810000 audio.wma.(WMA1
codec).wma 90000 2650320 video.m2v.(MPEG-2).m2v
90000 2652480 video.m1v 10000000 119810000
audio.wma.(WMA2 codec).wma 600 17677 video.m4v.(AAC codec).m4v
600 17677 video.m4v.(AAC codec).m4v 10000000 296316670
video.3g2 600 17677 video.m4v.(h264 codec).m4v
600 17677 video.m4v.(h264 codec).m4v 10000000 296316670
video.3gp 600 17677 video.mov
600 17677 video.mov 10000000 296316670 video.3gp2
90000 2656130 video.mp4
90000 2656131 video.mp4 10000000 296316670 video.3gpp
90000 2650320 video.mpeg.(MPEG-1).mpeg
600 17677 video.mp4v 10000000 186900000 video.asf
90000 2650320 video.mpeg.(MPEG-2).mpeg
90000 2652480 video.mpeg.(MPEG-1).mpeg 10000000
294666670 video.avi 90000 2650320 video.mpg.(MPEG-1).mpg
90000 2652480 video.mpg.(MPEG-1).mpg 10000000 294627670
video.dif 90000 2650320 video.mpg.(MPEG-2).mpg
90000 2652480 video.mpv 10000000 294627670 video.dv
90000 2656130 video.mqv
90000 2656131 video.mqv 10000000 51600000 video.flv
600 17677 video.qt
600 17677 video.qt 10000000 294627670 video.m1v
90000 2650320 video.vob.(MPEG-2).vob
10000000 294627670 video.m2v.(MPEG-2).m2v
10000000 294616670 video.m4v.(AAC codec).m4v
10000000 294616670 video.m4v.(h264 codec).m4v
10000000 58800000 video.mkv
10000000 294616670 video.mov
10000000 295125560 video.mp4
10000000 294616670 video.mp4v
10000000 294627670 video.mpeg.(MPEG-1).mpeg
10000000 294627670 video.mpeg.(MPEG-2).mpeg
10000000 294627670 video.mpg.(MPEG-1).mpg
10000000 294627670 video.mpg.(MPEG-2).mpg
10000000 294627670 video.mpv
10000000 295125560 video.mqv
10000000 305280000 video.ogg
10000000 520040140 video.ogv
10000000 294616670 video.qt
10000000 294627670 video.vob.(MPEG-2).vob
10000000 294627670 video.vro.(MPEG-2).vro
10000000 515446660 video.webm
10000000 294880000 video.wmv
More information about the use-livecode
mailing list