mirror of https://github.com/calzoneman/sync.git
Prefer MP4 over WebM because IE can't play webm apparently
This commit is contained in:
parent
950853ba71
commit
e6bdbb99b1
|
@ -15,10 +15,10 @@ var ffmpeg = require("./ffmpeg");
|
||||||
* Prefer WebM over MP4, ignore other codecs (e.g. FLV)
|
* Prefer WebM over MP4, ignore other codecs (e.g. FLV)
|
||||||
*/
|
*/
|
||||||
const GOOGLE_PREFERENCE = {
|
const GOOGLE_PREFERENCE = {
|
||||||
"hd1080": [46, 37],
|
"hd1080": [37, 46],
|
||||||
"hd720": [45, 22],
|
"hd720": [22, 45],
|
||||||
"large": [44, 59],
|
"large": [59, 44],
|
||||||
"medium": [43, 18, 34] // 34 is 360p FLV as a last-ditch
|
"medium": [18, 43, 34] // 34 is 360p FLV as a last-ditch
|
||||||
};
|
};
|
||||||
|
|
||||||
const CONTENT_TYPES = {
|
const CONTENT_TYPES = {
|
||||||
|
|
Loading…
Reference in New Issue