From 10358547c9d54ffa1fc578a4462ad4bfc16955d0 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 30 Mar 2023 10:20:15 -0700 Subject: [PATCH] wip --- fmp4-codecs.html | 40 ++++++++++++++++++++++++++++++++++++++++ fmp4-lies.html | 38 ++++++++++++++++++++++++++++++++++++++ fmp4-tracks.html | 29 +++++++++++++++++------------ fmp4.html | 14 ++++++++------ make-fmp4.sh | 19 ++++++++++--------- meta-playlist.php | 39 +++++++++++++++++---------------------- 6 files changed, 130 insertions(+), 49 deletions(-) create mode 100644 fmp4-codecs.html create mode 100644 fmp4-lies.html diff --git a/fmp4-codecs.html b/fmp4-codecs.html new file mode 100644 index 0000000..6b4b176 --- /dev/null +++ b/fmp4-codecs.html @@ -0,0 +1,40 @@ + + + + + HLS VP9/fMP4 codec variants test + + + +

HLS VP9/fMP4 codec variants test

+ +

Caminandes - Llamigos

+ +

back to main fmp4 entry

+ +

Single video codecs with Opus .mp4 and MP3 raw audio

+ +

VP9 .mp4 + Opus/MP3 (expected to work on all current iOS models, with a sharp picture):

+ + + + +

Motion-JPEG .mov + Opus/MP3 (expected to work on all recent-ish Mac and iOS devices, but be blurry):

+ + +

H.264 .mp4 + Opus/MP3 (expected to work on all Mac and iOS devices):

+ + + + \ No newline at end of file diff --git a/fmp4-lies.html b/fmp4-lies.html new file mode 100644 index 0000000..e0fad1b --- /dev/null +++ b/fmp4-lies.html @@ -0,0 +1,38 @@ + + + + + HLS VP9/fMP4 codec variants test + + + +

HLS VP9/fMP4 codec variants test

+ +

Caminandes - Llamigos

+ +

back to main fmp4 entry

+ +

Lying about video type (marked as if h.264):

+ +

Motion-JPEG .mp4 + Opus/MP3:

+ + +

Motion-JPEG .mov + Opus/MP3:

+ + +

H.263 .3gp + Opus/MP3:

+ + +

MPEG-4 Visual .mp4 + Opus/MP3:

+ + + + \ No newline at end of file diff --git a/fmp4-tracks.html b/fmp4-tracks.html index ffd63ce..c4651bc 100644 --- a/fmp4-tracks.html +++ b/fmp4-tracks.html @@ -2,63 +2,68 @@ - HLS VP9/fMP4 tracks test + VP9/fMP4 HLS tracks test -

HLS VP9/fMP4 tracks test

+

VP9/fMP4 HLS tracks test

Caminandes - Llamigos

back to main fmp4 entry

Component tracks

-

HLS VP9 in fMP4:

+

VP9 .mp4:

-

HLS MJPEG.mov in fMP4:

+

MJPEG .mp4:

+ + +

MJPEG .mov:

-

HLS h.263.3gp in fMP4:

+

h.263 .3gp:

-

HLS MPEG-4 Visual in fMP4:

+

MPEG-4 Visual .mp4:

-

HLS h.264 in fMP4:

+

h.264 .mp4:

-

HLS Opus in fMP4:

+

Opus audio .mp4:

-

HLS AAC in fMP4:

+

AAC audio .mp4:

-

HLS MP3 raw:

+

MP3 audio .mp3:

-

HLS MP3 QuickTime .mov:

+

MP3 audio .mov:

-

HLS MP3 .mp4:

+

MP3 audio .mp4:

diff --git a/fmp4.html b/fmp4.html index 1b539dd..95df6ce 100644 --- a/fmp4.html +++ b/fmp4.html @@ -17,7 +17,7 @@

With fallbacks

-

HLS with VP9/MJPEG video tracks and Opus/MP3 audio tracks. Video.js enabled to provide HLS-over-MSE for Chrome/Firefox.

+

HLS with VP9 (.mp4)/MJPEG (.mov) video tracks and Opus/MP3 audio tracks. Video.js enabled to provide HLS-over-MSE for Chrome/Firefox.

Current behavior:

+

Browsers that play the VP9 track will get sharp video, those that play the MJPEG track will get blurry video. Audio should sound the same either way.