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 thumbnails #417

Closed pdpinch closed 6 years ago

mbertrand commented 6 years ago

@emmello are the thumbnails that should be transferred stored in S3? I noticed that there are thumbnail_url and external_thumbnail_url fields in the videos database, but on the TechTV page for the video the thumbnmail URL is from cloudfront.

For example, for video id 531:

On the video's URL of http://techtv.mit.edu/videos/531-ai-lab-cog-the-humanoid-robot, the thumbnail shown has a URL of https://duqmab81lwd47.cloudfront.net/6097c15a226bfbb478b0bfade55ec0d2/thumbnails/531/thumb.jpg (and is pretty small).

emmello commented 6 years ago

@mbertrand Techtv thumbnails are in ttv_static on AWS.

Ignore anything labeled Kaltura - this is information in the database from the previous hosting service which was left in the DB when we migrated to AWS.

For video 531, the SQL database has an MD5 folder in the external_id field so for video 531, the MD5 is 6097c15a226bfbb478b0bfade55ec0d2

If you look in that folder, you will see two folders - flipbook isn't necessary, since that was used for selecting custom thumbnails for the video. There is also a thumbnail folder

image

It is inside the Thumbnail folder that you can see the different sizes. I also noticed that there are more in the 531 folder - those files look to be a newer date, so it's possible either that someone uploaded or selected a newer thumbnail:

image

pdpinch commented 6 years ago

@mbertrand should this be moved to "In Progress" ?