From 04935e2001abe913dd45505dd4959944a1fcadf3 Mon Sep 17 00:00:00 2001 From: Paul Adenot Date: Thu, 1 Feb 2024 11:37:04 +0100 Subject: [PATCH] Remove usage of the Theora codec --- src/resources/README.md | 3 --- src/resources/four-colors-theora-bt601.ogv | Bin 8014 -> 0 bytes src/webgpu/web_platform/util.ts | 16 ---------------- 3 files changed, 19 deletions(-) delete mode 100644 src/resources/four-colors-theora-bt601.ogv diff --git a/src/resources/README.md b/src/resources/README.md index 375e5db55d00..990b2b98e0a4 100644 --- a/src/resources/README.md +++ b/src/resources/README.md @@ -7,9 +7,6 @@ The test video files were generated with by ffmpeg cmds below: // Generate four-colors-vp8-bt601.webm, mimeType: 'video/webm; codecs=vp8' ffmpeg.exe -loop 1 -i .\four-colors.png -c:v libvpx -pix_fmt yuv420p -frames 50 -colorspace smpte170m -color_primaries smpte170m -color_trc smpte170m -color_range tv four-colors-vp8-bt601.webm -// Generate four-colors-theora-bt601.ogv, mimeType: 'video/ogg; codecs=theora' -ffmpeg.exe -loop 1 -i .\four-colors.png -c:v libtheora -pix_fmt yuv420p -frames 50 -colorspace smpte170m -color_primaries smpte170m -color_trc smpte170m -color_range tv four-colors-theora-bt601.ogv - // Generate four-colors-h264-bt601.mp4, mimeType: 'video/mp4; codecs=avc1.4d400c' ffmpeg.exe -loop 1 -i .\four-colors.png -c:v libx264 -pix_fmt yuv420p -frames 50 -colorspace smpte170m -color_primaries smpte170m -color_trc smpte170m -color_range tv four-colors-h264-bt601.mp4 diff --git a/src/resources/four-colors-theora-bt601.ogv b/src/resources/four-colors-theora-bt601.ogv deleted file mode 100644 index 67c57d1adef341d0b126def5d40cd099a0357d7f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8014 zcmeHLc|25Y|DLfg$-b1(AhHu75+jU+80!$(*T$B8-}i(Jk5nFOSwnV)LDV2iLe@;y z>`4gaJ%gvGclo{V^ZC91ynl3k&iP*V_5I%Wea@NtT*v2j!`4;@L;yNQq*nw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>yQ(T_|s&{D)78wUJj&{Dom!`)UCQ2&mv@p5WVwcCp+p(#<$K-ZC3podrf zn#S@5FbLnoEyZlp<4Sp7G2}`5sKGNX=SkY$yb<~#;KjFeu028WHNHum$i^o=H>^WM z1J342dK}GHHG83k(+tRKve(hO@lYm7ae8{V@yw_*b2=%tWi5|Pvvl146mJPxO4w$@ zmCBAg;=9dg_6jSF#{f-U+cco#a!>6V@k_siJ;75TL3BB=Wj#V)LP9v2?Fh`3-~adq zB!s)WpIbNvI*(5a{(Bx&Efht}Poc~36fXlapM2c?Bj9!dIiik3F&g1p@x^+vYcQ=y zMBfyU{z?EmxBeO?N2u2iem<%k28;AdjQ*tGN2z{3^8Wdw@ekjSzbqf5<`p;?9fvi) z$!+v;7%eR-T&zD1|MyqsFIEa4>S^*nVbqB&XxIHv=&C1;Pl*2je~n&!$)Hn_hjHPA z{vsfr5*#~S0dG?Pc*l|ge4bD~;g@57Irh-Cza0C&=veYY!yY=83}_a?*A#y__LpOS kIri`m?f;%*i4;!!=~%pZPv$C~|K-?Uj{W7>|2@b44Jk$HsQ>@~ diff --git a/src/webgpu/web_platform/util.ts b/src/webgpu/web_platform/util.ts index aa92c90f3d7c..ad6f0adde82a 100644 --- a/src/webgpu/web_platform/util.ts +++ b/src/webgpu/web_platform/util.ts @@ -134,22 +134,6 @@ export const kVideoInfo = makeTable({ bottomRightColor: 'green', }, }, - 'four-colors-theora-bt601.ogv': { - mimeType: 'video/ogg; codecs=theora', - colorSpace: 'bt601', - coded: { - topLeftColor: 'yellow', - topRightColor: 'red', - bottomLeftColor: 'blue', - bottomRightColor: 'green', - }, - display: { - topLeftColor: 'yellow', - topRightColor: 'red', - bottomLeftColor: 'blue', - bottomRightColor: 'green', - }, - }, 'four-colors-h264-bt601.mp4': { mimeType: 'video/mp4; codecs=avc1.4d400c', colorSpace: 'bt601',