Creating Video.validated which is used by find_corrupt_videos.py to search.

This commit is contained in:
Roland 2023-08-08 13:42:55 -06:00
parent d0d315cd67
commit e8e5b5727f
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
17 changed files with 253 additions and 125 deletions

View file

@ -193,11 +193,6 @@ function VideoPage({videoFile, prevFile, nextFile, fetchVideo, ...props}) {
}
let videoSource = <source src={videoUrl}/>;
if (video.codec_names && video.codec_names.indexOf('mp4') >= 0) {
videoSource = <source src={videoUrl} type="video/mp4"/>
} else if (video.codec_names && video.codec_names.indexOf('vp9') >= 0) {
videoSource = <source src={videoUrl} type='video/mp4;codecs="vp9, vorbis"'/>
}
return <>
<Container style={{margin: '1em'}}>