wip
This commit is contained in:
parent
15b30ffae7
commit
e508fb2d05
6 changed files with 104 additions and 89 deletions
|
|
@ -7,36 +7,40 @@ $audio = [];
|
|||
$video = [];
|
||||
|
||||
$audioCodecs = [
|
||||
'mpeg' => 'mp4a.40.34',
|
||||
//'mpeg' => 'mp4a.40.34', // (this seems wrong but it works for now)
|
||||
'mpeg' => 'mp4a.6b', // should work!
|
||||
//'mpeg' => 'mp3', // doesn't seem to work
|
||||
'aac' => 'mp4a.40.2',
|
||||
'opus' => 'opus',
|
||||
];
|
||||
|
||||
// @fixme use correct settings based on the file
|
||||
$videoCodecs = [
|
||||
'vp9' => 'vp09.00.10.08',
|
||||
'vp9' => 'vp09.00.41.08',
|
||||
'h264' => 'avc1.42e00a',
|
||||
|
||||
//'mpeg4' => 'mp4v.20.9', // fail?
|
||||
//'mpeg4' => 'mp4v.20',
|
||||
|
||||
// Lies for desktop safari
|
||||
// 'mpeg4' => 'avc1', // lies
|
||||
// 'h263' => 'avc1', // lies
|
||||
//'mpeg4' => 'avc1', // lies
|
||||
//'h263' => 'avc1', // lies
|
||||
|
||||
// truths
|
||||
/*
|
||||
'mjpeg' => 'jpeg', // works on current mac & ios 13, but not ios 10
|
||||
'h263' => 's263',
|
||||
'mpeg4' => 'mp4v',
|
||||
*/
|
||||
//'mjpeg' => 'jpeg', // works on current mac & iOS 16, but not iOS 10
|
||||
//'h263' => 's263', // fail? or should it be s263?
|
||||
//'mpeg4' => 'mp4v.20.9', // fail?
|
||||
|
||||
// These lies work on iOS 10 and iOS 13+ too
|
||||
// These lies work on current mac & and iOS 16, but not iOS 10
|
||||
//'h263' => 'jpeg', // lies
|
||||
//'mpeg4' => 'jpeg', // lies
|
||||
|
||||
// none of them seem to work on iOS 12!
|
||||
|
||||
// These lies work on iOS 10 and iOS 16 too
|
||||
'mjpeg' => 'avc1.42e00a', // lies
|
||||
'h263' => 'avc1.42e00a', // lies
|
||||
'mpeg4' => 'avc1.42e00a', // lies
|
||||
|
||||
// none of them seem to work on iOS 12!
|
||||
];
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue