Skip to content

Commit

Permalink
Remove usage of the Theora codec (#3358)
Browse files Browse the repository at this point in the history
  • Loading branch information
padenot authored Feb 2, 2024
1 parent 8e199f6 commit e9dc701
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 19 deletions.
3 changes: 0 additions & 3 deletions src/resources/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Binary file removed src/resources/four-colors-theora-bt601.ogv
Binary file not shown.
16 changes: 0 additions & 16 deletions src/webgpu/web_platform/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit e9dc701

Please sign in to comment.