mitodl / odl-video-service

building blocks for a basic video service for ODL
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Migrate TechTV Public Collections to OVS #451

Closed pdpinch closed 6 years ago

pdpinch commented 6 years ago

This epic is part of a larger effort to shut down the TechTV web site.

There are three types of public collections on TechTV. Since they are similar, we can migrate them at the same time, applying slightly different business logic:

acceptance criteria

@emmello will provide a list of collections that fall into 1 and 2 above. All other collections will be handled as 3 above.

related issues

mbertrand commented 6 years ago

@pdpinch: should the original video still be copied over to S3 and made available for download to Dropbox (by admins), even though it will only play from Youtube? Each TechTV video typically has the original uploaded file plus the transcoded MP4 video files.

screen shot 2018-02-27 at 12 39 07 pm

mbertrand commented 6 years ago

Region-blocking collection ids: 575,587,1081,1214,2191,2884,2885,2886,2887,2888,2890,2891,2894,2956,3152,3251,3254,3255,3256,3257,3326,3384,3401

Not on Youtube: 2228,3672

pdpinch commented 6 years ago

I believe that was our plan.

As a separate issue, I'd still like to develop a lifecycle for these public videos where, when they aren't viewed, they are cycled off S3.

should the original video still be copied over to S3 and made available for download to Dropbox

mbertrand commented 6 years ago

There are about 10,500 public videos. The OVS-QA Youtube account has a standard API quota of 1,000,000 "units"/day, and according to the docs a video upload uses on average 1600 units, so that's a max of about 625 uploads/day. Unless we apply to increase that we may have to batch imports over multiple days.

mbertrand commented 6 years ago

We can run the import script on certain collections at a time via the --collections command-line parameter: --collections 575 587 2191

Another idea is to just spread out the YouTube uploads over multiple days, though this will conflict a bit with acceptance criterion # 3 in the description: