CMU-CREATE-Lab / data-visualization-tools

EarthTime, and various data visualization libraries
Other
14 stars 5 forks source link

Mobile story fails silently if thumbnail video too long #113

Open rsargent opened 4 years ago

rsargent commented 4 years ago

@arwright created a mobile story in follow-up to the PA Dept of Env Protection Environmental Justice board presentation, and one of the waypoints didn't render. She created the minimal repro case (thanks @arwright!):

https://earthtime.org/m/stories/thumbnail_test#waypoints=1rCiksJv4aXi1usI0_9zdl4v5vuOfiHgMRidiDPt1WfE.1073081657

consists of the a long video thumbnail

https://thumbnails-v2.createlab.org/thumbnail?root=https://headless.earthtime.org/%23v%3D76.56346%2C-113.96152%2C5.141%2ClatLng%26t%3D62.25%26ps%3D25%26l%3Dblsat%2Cgoes16-nov-2018%26bt%3D20181108140000%26et%3D20181130%26startDwell%3D0%26endDwell%3D0&width=1280&height=720&format=mp4&fps=30&tileFormat=mp4&startDwell=0&endDwell=0&fromScreenshot&timestampOnlyUI=true

which is a video with too many frames, so it 400s with

400: Bad Request
Too many frames to compute 20431

I think there are three things we could do to improve the user experience: