Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

About displaying an animation with a simple icon and background during streaming.

Đang mở
#1,908 6 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
15/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
android, kotlin

Hướng nghiên cứu

The issue asks how to capture an ImageView playing an Android XML animation into the outgoing stream, and whether another approach would work better; it names no file or test. Start by finding how RootEncoder takes video input (surface or custom filter) in the repository. Done would be a clear answer to whether view animations can reach the encoder, with a suggested approach, rather than a code change.

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

Mô tả

Good morning,
I have a question about displaying animations such as transition, scale, and alpha during streaming.
This is example code as below:

`

<translate
    android:duration="300"
    android:fromXDelta="-100%"
    android:interpolator="@android:anim/decelerate_interpolator"
    android:toXDelta="20%" />
<alpha
    android:duration="300"
    android:fromAlpha="0"
    android:toAlpha="1"
    android:interpolator="@android:anim/accelerate_decelerate_interpolator" />

<translate
    android:duration="300"
    android:fromXDelta="-10%"
    android:interpolator="@android:anim/accelerate_decelerate_interpolator"
    android:startOffset="300"
    android:toXDelta="-5%" />

<translate
    android:duration="300"
    android:fromXDelta="-5%"
    android:interpolator="@android:anim/decelerate_interpolator"
    android:startOffset="600"
    android:toXDelta="-9%" />

<translate
    android:duration="300"
    android:fromXDelta="-9%"
    android:interpolator="@android:anim/accelerate_decelerate_interpolator"
    android:startOffset="900"
    android:toXDelta="-7%" />

<translate
    android:duration="300"
    android:fromXDelta="-7%"
    android:interpolator="@android:anim/accelerate_decelerate_interpolator"
    android:startOffset="1200"
    android:toXDelta="-8%" />

<translate
    android:duration="500"
    android:fromXDelta="10%"
    android:interpolator="@android:anim/accelerate_interpolator"
    android:startOffset="1500"
    android:toXDelta="40%" />
` And then I use ImageView to load animation by `val animation = AnimationUtils.loadAnimation(context, animationResource) ImageView.startAnimation(animation)`

How can I display ImageView with Animation to Stream?
If this approach isn’t feasible, could you suggest a more effective alternative?

Thank you.

Ngôn ngữ chính
Kotlin
Star
3k
Fork
946
Merge trung bình
4 ngày 6 giờ
Pull request đã merge (30 ngày)
9

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của pedroSG94/RootEncoder

Tất cả issue của pedroSG94/RootEncoder

Issue tương tự

Thêm issue về Kotlin

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.