ComputerScienceHouse / ComputerScienceHouse/gallery

Allow Users to Choose (override) Video Thumbnails

Đang mở
#33 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement good first issue
Ngôn ngữ chính
Python
Star
22
Fork
30
Merge trung bình
2 giờ 26 phút
Pull request đã merge (30 ngày)
1

Mô tả

Right now Gallery selects the video thumbnail automatically by capturing the frame 5% into the duration of the video. While this works in most cases it isn't ideal for every case, and allowing for users to choose their own thumbnail for videos isn't too difficult of a feat. Especially if we still auto-generate a thumbnail on upload, and then give users the ability to select a thumbnail.

Since Gallery uses the HTML5 Video Element this feature can take use of that API. It could be as simple as providing a button on the video playback page that would take the current playback position of the video and then use that frame for the newly generated thumbnail.

On the backend this would probably include downloading the video from S3 and then running the thumbnail generation function. We'll need to change that function so we can plumb the playback position to it somehow, but that can be left up as an implementation detail.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Bắt đầu bằng cách xác định trang phát video, luồng upload và hàm tạo thumbnail được mô tả trong issue. Theo dõi cách thumbnail hiện tại ở mốc 5% thời lượng được tạo và cách video được lưu trữ trong S3. Hoàn thành có nghĩa là người dùng có thể chọn khung hình đang phát làm thumbnail, đồng thời tính năng tự động tạo thumbnail khi upload vẫn hoạt động.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
aws, flask, html, python
Lĩnh vực
backend, cloud, frontend
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.