This commit is contained in:
Brooke Vibber 2023-03-29 10:59:47 -07:00
commit 15b30ffae7
4 changed files with 156 additions and 110 deletions

View file

@ -24,21 +24,19 @@ $videoCodecs = [
// 'mpeg4' => 'avc1', // lies
// 'h263' => 'avc1', // lies
'mjpeg' => 'jpeg', // works on mov, not mp4
// These lies work on iOS too
'h263' => 'avc1.42e00a', // lies
'mpeg4' => 'avc1.42e00a', // lies
//'mpeg4' => 'mp4v', // ???
//'h263' => 'h263', // ???
/*
'h264' => 'mp4v',
'h263' => 'mp4v',
'mjpeg' => 'mp4v',
// truths
/*
'mjpeg' => 'jpeg', // works on current mac & ios 13, but not ios 10
'h263' => 's263',
'mpeg4' => 'mp4v',
*/
*/
// These lies work on iOS 10 and iOS 13+ too
'mjpeg' => 'avc1.42e00a', // lies
'h263' => 'avc1.42e00a', // lies
'mpeg4' => 'avc1.42e00a', // lies
// none of them seem to work on iOS 12!
];