@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!):
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:
Use best-effort to more resiliently render stories. Consider a "max_frames=N" flag that would cause the thumbnail server to reduce frames by reducing FPS until it fits under the specified max_frames, and then have the mobile story renderer use that flag to set max_frames to the thumbnail server limit.
Develop a way for a story author to discover there are thumbnails 400ing for whatever reason, and see the error messages for them.
Have the thumbnail server report the max # of frames next to the too many frames message
@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!):
consists of the a long video thumbnail
which is a video with too many frames, so it 400s with
I think there are three things we could do to improve the user experience:
Use best-effort to more resiliently render stories. Consider a "max_frames=N" flag that would cause the thumbnail server to reduce frames by reducing FPS until it fits under the specified max_frames, and then have the mobile story renderer use that flag to set max_frames to the thumbnail server limit.
Develop a way for a story author to discover there are thumbnails 400ing for whatever reason, and see the error messages for them.
Have the thumbnail server report the max # of frames next to the too many frames message