GithubHelp home page GithubHelp logo

polarby / render Goto Github PK

View Code? Open in Web Editor NEW
48.0 48.0 24.0 391 KB

A package to render any native static and moving flutter widgets to exportable formats

Home Page: https://pub.dev/packages/render

License: MIT License

Kotlin 0.09% Swift 0.99% Objective-C 0.03% Dart 68.87% CMake 13.09% C++ 14.66% C 1.00% HTML 1.27%
exporter flutter rendering

render's Introduction

Hi there 👋

render's People

Contributors

polarby avatar tamilkannancv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

render's Issues

App crash on Android in release mode

A minimal Flutter app crashes at startup in release mode. It works in debug mode.
The library is not even used, only added in pubspec.yaml:

dependencies:
  render: ^0.1.3+1

Log

01-12 14:31:26.472  8359  8359 E FlutterLoader: Flutter initialization failed.
01-12 14:31:26.472  8359  8359 E FlutterLoader: java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: dlopen failed: library "libflutter.so" not found
01-12 14:31:26.472  8359  8359 E FlutterLoader: 	at java.util.concurrent.FutureTask.report(FutureTask.java:123)
01-12 14:31:26.472  8359  8359 E FlutterLoader: 	at java.util.concurrent.FutureTask.get(FutureTask.java:193)
01-12 14:31:26.472  8359  8359 E FlutterLoader: 	at r.d.f(Unknown Source:28)
01-12 14:31:26.472  8359  8359 E FlutterLoader: 	at io.flutter.embedding.engine.d.<init>(Unknown Source:35)
01-12 14:31:26.472  8359  8359 E FlutterLoader: 	at io.flutter.embedding.android.f.I(Unknown Source:172)
01-12 14:31:26.472  8359  8359 E FlutterLoader: 	at io.flutter.embedding.android.f.q(Unknown Source:7)
01-12 14:31:26.472  8359  8359 E FlutterLoader: 	at io.flutter.embedding.android.e.onCreate(Unknown Source:13)
01-12 14:31:26.472  8359  8359 E FlutterLoader: 	at android.app.Activity.performCreate(Activity.java:8000)
01-12 14:31:26.472  8359  8359 E FlutterLoader: 	at android.app.Activity.performCreate(Activity.java:7984)
01-12 14:31:26.472  8359  8359 E FlutterLoader: 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309)
01-12 14:31:26.472  8359  8359 E FlutterLoader: 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3422)
01-12 14:31:26.472  8359  8359 E FlutterLoader: 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3601)
01-12 14:31:26.472  8359  8359 E FlutterLoader: 	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
01-12 14:31:26.472  8359  8359 E FlutterLoader: 	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
01-12 14:31:26.472  8359  8359 E FlutterLoader: 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
01-12 14:31:26.472  8359  8359 E FlutterLoader: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066)
01-12 14:31:26.472  8359  8359 E FlutterLoader: 	at android.os.Handler.dispatchMessage(Handler.java:106)
01-12 14:31:26.472  8359  8359 E FlutterLoader: 	at android.os.Looper.loop(Looper.java:223)
01-12 14:31:26.472  8359  8359 E FlutterLoader: 	at android.app.ActivityThread.main(ActivityThread.java:7656)
01-12 14:31:26.472  8359  8359 E FlutterLoader: 	at java.lang.reflect.Method.invoke(Native Method)
01-12 14:31:26.472  8359  8359 E FlutterLoader: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
01-12 14:31:26.472  8359  8359 E FlutterLoader: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
01-12 14:31:26.472  8359  8359 E FlutterLoader: Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: library "libflutter.so" not found
01-12 14:31:26.472  8359  8359 E FlutterLoader: 	at java.lang.Runtime.loadLibrary0(Runtime.java:1087)
01-12 14:31:26.472  8359  8359 E FlutterLoader: 	at java.lang.Runtime.loadLibrary0(Runtime.java:1008)
01-12 14:31:26.472  8359  8359 E FlutterLoader: 	at java.lang.System.loadLibrary(System.java:1664)
01-12 14:31:26.472  8359  8359 E FlutterLoader: 	at io.flutter.embedding.engine.FlutterJNI.loadLibrary(Unknown Source:13)
01-12 14:31:26.472  8359  8359 E FlutterLoader: 	at r.d$a.b(Unknown Source:18)
01-12 14:31:26.472  8359  8359 E FlutterLoader: 	at r.d$a.call(Unknown Source:0)
01-12 14:31:26.472  8359  8359 E FlutterLoader: 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
01-12 14:31:26.472  8359  8359 E FlutterLoader: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
01-12 14:31:26.472  8359  8359 E FlutterLoader: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
01-12 14:31:26.472  8359  8359 E FlutterLoader: 	at java.lang.Thread.run(Thread.java:923)
01-12 14:31:26.472  8359  8359 D AndroidRuntime: Shutting down VM
01-12 14:31:26.472  8359  8359 E AndroidRuntime: FATAL EXCEPTION: main

Android Emulator API 30

$ flutter doctor -v
[✓] Flutter (Channel stable, 3.16.3, on Ubuntu 20.04.6 LTS 5.4.0-169-generic,
    locale fr_FR.UTF-8)
    • Flutter version 3.16.3 on channel stable at /opt/flutter_3.0.3
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b0366e0a3f (il y a 5 semaines), 2023-12-05 19:46:39
      -0800
    • Engine revision 54a7145303
    • Dart version 3.2.3
    • DevTools version 2.28.4

[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /home/patrick/Android/Sdk
    • Platform android-33, build-tools 34.0.0
    • Java binary at: /opt/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build
      11.0.12+0-b1504.28-7817840)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/linux#android-setup for
      more details.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • clang version 10.0.0-4ubuntu1
    • cmake version 3.16.3
    • ninja version 1.10.0
    • pkg-config version 0.29.1

[✓] Android Studio (version 2021.2)
    • Android Studio at /opt/android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.3)
    • IntelliJ at /opt/idea-IC-202.8194.7
    • Flutter plugin version 66.0.3
    • Dart plugin version 213.7371

[✓] Connected device (3 available)
    • sdk gphone x86 (mobile) • emulator-5554 • android-x86    • Android 11 (API
      30) (emulator)
    • Linux (desktop)         • linux         • linux-x64      • Ubuntu 20.04.6
      LTS 5.4.0-169-generic
    • Chrome (web)            • chrome        • web-javascript • Google Chrome
      120.0.6099.216

[✓] Network resources
    • All expected network resources are available.

android.media.MediaCodec$CodecException: Error 0xffffffc on certain android devices

I am trying to get the output in mp4 format.

This issue is mainly occuring in oneplus, redmi, pocco and realme devices. Working fine with Samsung and iphones. Primarily happens with captureMotion and captureMotionWithStream.

captureImage works fine in majority of the cases.

This is the debug log:

`I/flutter (28671): [Render plugin] Capturing image started
I/flutter (28671): RenderActivity(timestamp: 0:00:00.001000, state: capturing message: Captured frame 0, timeRemaining: null:null, progressPercentage: 0.00%, totalExpectedTime: null:null)
I/flutter (28671): RenderActivity(timestamp: 0:00:00.081000, state: handleCaptures message: Handled frame 0, timeRemaining: 0:0, progressPercentage: 35.0%, totalExpectedTime: 0:0)
I/flutter (28671): RenderLog(timestamp: 0:00:00.098000, message: ffmpeg version n6.0)
I/flutter (28671): RenderLog(timestamp: 0:00:00.103000, message:  Copyright (c) 2000-2023 the FFmpeg developers)
I/flutter (28671): RenderLog(timestamp: 0:00:00.105000, message:  )
I/flutter (28671): RenderLog(timestamp: 0:00:00.107000, message:  built with Android (7155654, based on r399163b1) clang version 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315dfbea7c137aa2e6d362dbb457e388158d) )
I/flutter (28671): RenderLog(timestamp: 0:00:00.110000, message:  configuration: --cross-prefix=aarch64-linux-android- --sysroot=/Users/sue/Library/Android/sdk/ndk/22.1.7171670/toolchains/llvm/prebuilt/darwin-x86_64/sysroot --prefix=/Users/sue/Projects/arthenica/ffmpeg-kit/prebuilt/android-arm64/ffmpeg --pkg-config=/opt/homebrew/bin/pkg-config --enable-version3 --arch=aarch64 --cpu=armv8-a --target-os=android --enable-neon --enable-asm --enable-inline-asm --ar=aarch64-linux-android-ar --cc=aarch64-linux-android24-clang --cxx=aarch64-linux-android24-clang++ --ranlib=aarch64-linux-android-ranlib --strip=aarch64-linux-android-strip --nm=aarch64-linux-android-nm --extra-libs='-L/Users/sue/Projects/arthenica/ffmpeg-kit/prebuilt/android-arm64/cpu-features/lib -lndk_compat' --disable-autodetect --enable-cross-compile --enable-pic --enable-jni --enable-optimizations --enable-swscale --disable-static --enable-shared --enable-pthreads --enable-v4l2-m2m --disable-outdev=fbdev --disable-indev=fbdev --enable-small --di
I/flutter (28671): RenderLog(timestamp: 0:00:00.113000, message:  libavutil 58. 2.100 / 58. 2.100 )
I/flutter (28671): RenderLog(timestamp: 0:00:00.115000, message:  libavcodec 60. 3.100 / 60. 3.100 )
I/flutter (28671): RenderLog(timestamp: 0:00:00.117000, message:  libavformat 60. 3.100 / 60. 3.100 )
I/flutter (28671): RenderLog(timestamp: 0:00:00.118000, message:  libavdevice 60. 1.100 / 60. 1.100 )
I/flutter (28671): RenderLog(timestamp: 0:00:00.122000, message:  libavfilter 9. 3.100 / 9. 3.100 )
I/flutter (28671): RenderLog(timestamp: 0:00:00.124000, message:  libswscale 7. 1.100 / 7. 1.100 )
I/flutter (28671): RenderLog(timestamp: 0:00:00.127000, message:  libswresample 4. 10.100 / 4. 10.100 )
I/flutter (28671): RenderLog(timestamp: 0:00:00.149000, message: Input #0, png_pipe, from '/data/user/0/package/cache/render/53c06a80-8c80-4e8d-b94a-803480667498/input/frame0.png': )
I/flutter (28671): RenderLog(timestamp: 0:00:00.162000, message:  Duration: )
I/flutter (28671): RenderLog(timestamp: 0:00:00.164000, message: N/A)
I/flutter (28671): RenderLog(timestamp: 0:00:00.167000, message: , bitrate: )
I/flutter (28671): RenderLog(timestamp: 0:00:00.176000, message: N/A)
I/flutter (28671): RenderLog(timestamp: 0:00:00.177000, message:  )
I/flutter (28671): RenderLog(timestamp: 0:00:00.177000, message:  Stream #0:0)
I/flutter (28671): RenderLog(timestamp: 0:00:00.178000, message: : Video: png, rgba(pc), 540x960)
I/flutter (28671): RenderLog(timestamp: 0:00:00.178000, message: , )
I/flutter (28671): RenderLog(timestamp: 0:00:00.179000, message: 25 fps, )
I/flutter (28671): RenderLog(timestamp: 0:00:00.180000, message: 25 tbr, )
I/flutter (28671): RenderLog(timestamp: 0:00:00.180000, message: 25 tbn)
I/flutter (28671): RenderLog(timestamp: 0:00:00.181000, message:  )
I/flutter (28671): RenderLog(timestamp: 0:00:00.181000, message: Stream mapping: )
I/flutter (28671): RenderLog(timestamp: 0:00:00.183000, message:  Stream #0:0 -> #0:0)
I/flutter (28671): RenderLog(timestamp: 0:00:00.184000, message:  (png (native) -> mjpeg (native)))
I/flutter (28671): RenderLog(timestamp: 0:00:00.184000, message:  )
I/flutter (28671): RenderLog(timestamp: 0:00:00.186000, message: Press [q] to stop, [?] for help )
I/flutter (28671): RenderLog(timestamp: 0:00:00.187000, message: [swscaler @ 0xb400007e05a49000] deprecated pixel format used, make sure you did set range correctly )
I/flutter (28671): RenderLog(timestamp: 0:00:00.187000, message: [swscaler @ 0xb400007e05a49000] deprecated pixel format used, make sure you did set range correctly )
I/flutter (28671): RenderLog(timestamp: 0:00:00.188000, message: [swscaler @ 0xb400007e05a49000] deprecated pixel format used, make sure you did set range correctly )
I/flutter (28671): RenderLog(timestamp: 0:00:00.189000, message: [swscaler @ 0xb400007e05a49000] deprecated pixel format used, make sure you did set range correctly )
I/flutter (28671): RenderLog(timestamp: 0:00:00.189000, message: Output #0, image2, to '/data/user/0/package/cache/render/53c06a80-8c80-4e8d-b94a-803480667498/output/output_main.jpg': )
I/flutter (28671): RenderLog(timestamp: 0:00:00.190000, message:  Metadata: )
I/flutter (28671): RenderLog(timestamp: 0:00:00.191000, message:  encoder : )
I/flutter (28671): RenderLog(timestamp: 0:00:00.191000, message: Lavf60.3.100)
I/flutter (28671): RenderLog(timestamp: 0:00:00.192000, message:  )
I/flutter (28671): RenderLog(timestamp: 0:00:00.192000, message:  Stream #0:0)
I/flutter (28671): RenderLog(timestamp: 0:00:00.192000, message: : Video: mjpeg, yuvj444p(pc, progressive), 540x960, q=2-31, 200 kb/s)
I/flutter (28671): RenderLog(timestamp: 0:00:00.193000, message: , )
I/flutter (28671): RenderLog(timestamp: 0:00:00.193000, message: 25 fps, )
I/flutter (28671): RenderLog(timestamp: 0:00:00.193000, message: 25 tbn)
I/flutter (28671): RenderLog(timestamp: 0:00:00.194000, message:  )
I/flutter (28671): RenderLog(timestamp: 0:00:00.194000, message:  Metadata: )
I/flutter (28671): RenderLog(timestamp: 0:00:00.194000, message:  encoder : )
I/flutter (28671): RenderLog(timestamp: 0:00:00.195000, message: Lavc60.3.100 mjpeg)
I/flutter (28671): RenderLog(timestamp: 0:00:00.195000, message:  )
I/flutter (28671): RenderLog(timestamp: 0:00:00.195000, message:  Side data: )
I/flutter (28671): RenderLog(timestamp: 0:00:00.196000, message:  )
I/flutter (28671): RenderLog(timestamp: 0:00:00.196000, message: cpb: )
I/flutter (28671): RenderLog(timestamp: 0:00:00.196000, message: bitrate max/min/avg: 0/0/200000 buffer size: 0 )
I/flutter (28671): RenderLog(timestamp: 0:00:00.197000, message: vbv_delay: N/A)
I/flutter (28671): RenderLog(timestamp: 0:00:00.197000, message:  )
I/flutter (28671): RenderActivity(timestamp: 0:00:00.202000, state: processing message: Converting captures, timeRemaining: 0:0, progressPercentage: 50.0%, totalExpectedTime: 0:0)
I/flutter (28671): RenderLog(timestamp: 0:00:00.202000, message: frame= 0 fps=0.0 q=7.4 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x )
I/flutter (28671): RenderActivity(timestamp: 0:00:00.203000, state: processing message: Converting captures, timeRemaining: 0:0, progressPercentage: 50.0%, totalExpectedTime: 0:0)
I/flutter (28671): RenderLog(timestamp: 0:00:00.203000, message: frame= 1 fps=0.0 q=7.4 Lsize=N/A time=00:00:00.00 bitrate=N/A speed= 0x )
I/flutter (28671): RenderLog(timestamp: 0:00:00.204000, message: video:37kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: )
I/flutter (28671): RenderLog(timestamp: 0:00:00.204000, message: unknown)
I/flutter (28671): RenderLog(timestamp: 0:00:00.204000, message:  )
I/flutter (28671): RenderResult(timestamp: 0:00:00.205000, totalRenderTime: 0:00:00.205000)

Capturing Motion Below:

**I/flutter (28671): [Render plugin] Capturing motion started**
I/flutter (28671): RenderActivity(timestamp: 0:00:00.017000, state: capturing message: Captured frame 0, timeRemaining: null:null, progressPercentage: 0.00%, totalExpectedTime: null:null)
I/flutter (28671): RenderActivity(timestamp: 0:00:00.098000, state: capturing message: Captured frame 1, timeRemaining: 1:62, progressPercentage: 0.156%, totalExpectedTime: 1:63)
I/flutter (28671): RenderActivity(timestamp: 0:00:00.116000, state: capturing message: Captured frame 2, timeRemaining: 0:37, progressPercentage: 0.311%, totalExpectedTime: 0:37)
I/flutter (28671): RenderActivity(timestamp: 0:00:00.189000, state: capturing message: Captured frame 3, timeRemaining: 0:40, progressPercentage: 0.467%, totalExpectedTime: 0:40)
I/flutter (28671): RenderActivity(timestamp: 0:00:00.220000, state: capturing message: Captured frame 4, timeRemaining: 0:35, progressPercentage: 0.622%, totalExpectedTime: 0:35)
I/flutter (28671): RenderActivity(timestamp: 0:00:00.233000, state: capturing message: Captured frame 5, timeRemaining: 0:29, progressPercentage: 0.778%, totalExpectedTime: 0:29)
I/flutter (28671): RenderActivity(timestamp: 0:00:00.298000, state: capturing message: Captured frame 6, timeRemaining: 0:31, progressPercentage: 0.933%, totalExpectedTime: 0:31)
I/flutter (28671): RenderActivity(timestamp: 0:00:00.335000, state: capturing message: Captured frame 7, timeRemaining: 0:30, progressPercentage: 1.09%, totalExpectedTime: 0:30)
I/flutter (28671): RenderActivity(timestamp: 0:00:00.369000, state: capturing message: Captured frame 8, timeRemaining: 0:29, progressPercentage: 1.24%, totalExpectedTime: 0:29)
I/flutter (28671): RenderActivity(timestamp: 0:00:00.424000, state: capturing message: Captured frame 9, timeRemaining: 0:29, progressPercentage: 1.40%, totalExpectedTime: 0:30)
I/flutter (28671): RenderActivity(timestamp: 0:00:00.458000, state: capturing message: Captured frame 10, timeRemaining: 0:28, progressPercentage: 1.56%, totalExpectedTime: 0:29)
I/flutter (28671): RenderActivity(timestamp: 0:00:00.475000, state: capturing message: Captured frame 11, timeRemaining: 0:27, progressPercentage: 1.71%, totalExpectedTime: 0:27)
I/flutter (28671): RenderActivity(timestamp: 0:00:00.501000, state: capturing message: Captured frame 12, timeRemaining: 0:26, progressPercentage: 1.87%, totalExpectedTime: 0:26)
I/flutter (28671): RenderActivity(timestamp: 0:00:00.514000, state: capturing message: Captured frame 13, timeRemaining: 0:24, progressPercentage: 2.02%, totalExpectedTime: 0:25)
I/flutter (28671): RenderActivity(timestamp: 0:00:00.535000, state: capturing message: Captured frame 14, timeRemaining: 0:24, progressPercentage: 2.18%, totalExpectedTime: 0:24)
I/flutter (28671): RenderActivity(timestamp: 0:00:00.563000, state: capturing message: Captured frame 15, timeRemaining: 0:23, progressPercentage: 2.33%, totalExpectedTime: 0:24)
I/flutter (28671): RenderActivity(timestamp: 0:00:00.602000, state: capturing message: Captured frame 16, timeRemaining: 0:23, progressPercentage: 2.49%, totalExpectedTime: 0:24)
I/flutter (28671): RenderActivity(timestamp: 0:00:00.618000, state: capturing message: Captured frame 17, timeRemaining: 0:22, progressPercentage: 2.64%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:00.693000, state: capturing message: Captured frame 18, timeRemaining: 0:24, progressPercentage: 2.80%, totalExpectedTime: 0:24)
I/flutter (28671): null
I/flutter (28671): RenderActivity(timestamp: 0:00:00.716000, state: capturing message: Captured frame 19, timeRemaining: 0:23, progressPercentage: 2.96%, totalExpectedTime: 0:24)
I/flutter (28671): RenderActivity(timestamp: 0:00:00.789000, state: capturing message: Captured frame 20, timeRemaining: 0:24, progressPercentage: 3.11%, totalExpectedTime: 0:25)
I/flutter (28671): RenderActivity(timestamp: 0:00:00.800000, state: capturing message: Captured frame 21, timeRemaining: 0:23, progressPercentage: 3.27%, totalExpectedTime: 0:24)
I/flutter (28671): RenderActivity(timestamp: 0:00:00.870000, state: capturing message: Captured frame 22, timeRemaining: 0:24, progressPercentage: 3.42%, totalExpectedTime: 0:25)
I/flutter (28671): RenderActivity(timestamp: 0:00:00.898000, state: capturing message: Captured frame 23, timeRemaining: 0:24, progressPercentage: 3.58%, totalExpectedTime: 0:25)
I/flutter (28671): RenderActivity(timestamp: 0:00:00.917000, state: capturing message: Captured frame 24, timeRemaining: 0:23, progressPercentage: 3.73%, totalExpectedTime: 0:24)
I/flutter (28671): RenderActivity(timestamp: 0:00:00.930000, state: capturing message: Captured frame 25, timeRemaining: 0:22, progressPercentage: 3.89%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:00.946000, state: capturing message: Captured frame 26, timeRemaining: 0:22, progressPercentage: 4.04%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:00.990000, state: capturing message: Captured frame 27, timeRemaining: 0:22, progressPercentage: 4.20%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:01.025000, state: capturing message: Captured frame 28, timeRemaining: 0:22, progressPercentage: 4.36%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:01.045000, state: capturing message: Captured frame 29, timeRemaining: 0:22, progressPercentage: 4.51%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:01.063000, state: capturing message: Captured frame 30, timeRemaining: 0:21, progressPercentage: 4.67%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:01.112000, state: capturing message: Captured frame 31, timeRemaining: 0:21, progressPercentage: 4.82%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:01.132000, state: capturing message: Captured frame 32, timeRemaining: 0:21, progressPercentage: 4.98%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:01.198000, state: capturing message: Captured frame 33, timeRemaining: 0:22, progressPercentage: 5.13%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:01.223000, state: capturing message: Captured frame 34, timeRemaining: 0:21, progressPercentage: 5.29%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:01.248000, state: capturing message: Captured frame 35, timeRemaining: 0:21, progressPercentage: 5.44%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:01.291000, state: capturing message: Captured frame 36, timeRemaining: 0:21, progressPercentage: 5.60%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:01.322000, state: capturing message: Captured frame 37, timeRemaining: 0:21, progressPercentage: 5.76%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:01.353000, state: capturing message: Captured frame 38, timeRemaining: 0:21, progressPercentage: 5.91%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:01.361000, state: capturing message: Captured frame 39, timeRemaining: 0:21, progressPercentage: 6.07%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:01.423000, state: capturing message: Captured frame 40, timeRemaining: 0:21, progressPercentage: 6.22%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:01.448000, state: capturing message: Captured frame 41, timeRemaining: 0:21, progressPercentage: 6.38%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:01.514000, state: capturing message: Captured frame 42, timeRemaining: 0:21, progressPercentage: 6.53%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:01.533000, state: capturing message: Captured frame 43, timeRemaining: 0:21, progressPercentage: 6.69%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:01.543000, state: capturing message: Captured frame 44, timeRemaining: 0:21, progressPercentage: 6.84%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:01.608000, state: capturing message: Captured frame 45, timeRemaining: 0:21, progressPercentage: 7.00%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:01.629000, state: capturing message: Captured frame 46, timeRemaining: 0:21, progressPercentage: 7.16%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:01.650000, state: capturing message: Captured frame 47, timeRemaining: 0:20, progressPercentage: 7.31%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:01.728000, state: capturing message: Captured frame 48, timeRemaining: 0:21, progressPercentage: 7.47%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:01.757000, state: capturing message: Captured frame 49, timeRemaining: 0:21, progressPercentage: 7.62%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:01.780000, state: capturing message: Captured frame 50, timeRemaining: 0:21, progressPercentage: 7.78%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:01.794000, state: capturing message: Captured frame 51, timeRemaining: 0:20, progressPercentage: 7.93%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:01.855000, state: capturing message: Captured frame 52, timeRemaining: 0:21, progressPercentage: 8.09%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:01.888000, state: capturing message: Captured frame 53, timeRemaining: 0:21, progressPercentage: 8.24%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:01.911000, state: capturing message: Captured frame 54, timeRemaining: 0:20, progressPercentage: 8.40%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:01.983000, state: capturing message: Captured frame 55, timeRemaining: 0:21, progressPercentage: 8.56%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:01.992000, state: capturing message: Captured frame 56, timeRemaining: 0:20, progressPercentage: 8.71%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:02.066000, state: capturing message: Captured frame 57, timeRemaining: 0:21, progressPercentage: 8.87%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:02.075000, state: capturing message: Captured frame 58, timeRemaining: 0:20, progressPercentage: 9.02%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:02.132000, state: capturing message: Captured frame 59, timeRemaining: 0:21, progressPercentage: 9.18%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:02.170000, state: capturing message: Captured frame 60, timeRemaining: 0:21, progressPercentage: 9.33%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:02.192000, state: capturing message: Captured frame 61, timeRemaining: 0:20, progressPercentage: 9.49%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:02.263000, state: capturing message: Captured frame 62, timeRemaining: 0:21, progressPercentage: 9.64%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:02.274000, state: capturing message: Captured frame 63, timeRemaining: 0:20, progressPercentage: 9.80%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:02.342000, state: capturing message: Captured frame 64, timeRemaining: 0:21, progressPercentage: 9.96%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:02.361000, state: capturing message: Captured frame 65, timeRemaining: 0:20, progressPercentage: 10.1%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:02.446000, state: capturing message: Captured frame 66, timeRemaining: 0:21, progressPercentage: 10.3%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:02.456000, state: capturing message: Captured frame 67, timeRemaining: 0:21, progressPercentage: 10.4%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:02.530000, state: capturing message: Captured frame 68, timeRemaining: 0:21, progressPercentage: 10.6%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:02.549000, state: capturing message: Captured frame 69, timeRemaining: 0:21, progressPercentage: 10.7%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:02.580000, state: capturing message: Captured frame 70, timeRemaining: 0:21, progressPercentage: 10.9%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:02.596000, state: capturing message: Captured frame 71, timeRemaining: 0:20, progressPercentage: 11.0%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:02.627000, state: capturing message: Captured frame 72, timeRemaining: 0:20, progressPercentage: 11.2%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:02.662000, state: capturing message: Captured frame 73, timeRemaining: 0:20, progressPercentage: 11.4%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:02.674000, state: capturing message: Captured frame 74, timeRemaining: 0:20, progressPercentage: 11.5%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:02.766000, state: capturing message: Captured frame 75, timeRemaining: 0:20, progressPercentage: 11.7%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:02.772000, state: capturing message: Captured frame 76, timeRemaining: 0:20, progressPercentage: 11.8%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:02.789000, state: capturing message: Captured frame 77, timeRemaining: 0:20, progressPercentage: 12.0%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:02.805000, state: capturing message: Captured frame 78, timeRemaining: 0:20, progressPercentage: 12.1%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:02.870000, state: capturing message: Captured frame 79, timeRemaining: 0:20, progressPercentage: 12.3%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:02.896000, state: capturing message: Captured frame 80, timeRemaining: 0:20, progressPercentage: 12.4%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:02.904000, state: capturing message: Captured frame 81, timeRemaining: 0:20, progressPercentage: 12.6%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:02.921000, state: capturing message: Captured frame 82, timeRemaining: 0:19, progressPercentage: 12.8%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:02.942000, state: capturing message: Captured frame 83, timeRemaining: 0:19, progressPercentage: 12.9%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:02.997000, state: capturing message: Captured frame 84, timeRemaining: 0:19, progressPercentage: 13.1%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:03.029000, state: capturing message: Captured frame 85, timeRemaining: 0:19, progressPercentage: 13.2%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:03.055000, state: capturing message: Captured frame 86, timeRemaining: 0:19, progressPercentage: 13.4%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:03.102000, state: capturing message: Captured frame 87, timeRemaining: 0:19, progressPercentage: 13.5%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:03.124000, state: capturing message: Captured frame 88, timeRemaining: 0:19, progressPercentage: 13.7%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:03.193000, state: capturing message: Captured frame 89, timeRemaining: 0:19, progressPercentage: 13.8%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:03.204000, state: capturing message: Captured frame 90, timeRemaining: 0:19, progressPercentage: 14.0%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:03.272000, state: capturing message: Captured frame 91, timeRemaining: 0:19, progressPercentage: 14.2%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:03.287000, state: capturing message: Captured frame 92, timeRemaining: 0:19, progressPercentage: 14.3%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:03.370000, state: capturing message: Captured frame 93, timeRemaining: 0:19, progressPercentage: 14.5%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:03.393000, state: capturing message: Captured frame 94, timeRemaining: 0:19, progressPercentage: 14.6%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:03.406000, state: capturing message: Captured frame 95, timeRemaining: 0:19, progressPercentage: 14.8%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:03.471000, state: capturing message: Captured frame 96, timeRemaining: 0:19, progressPercentage: 14.9%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:03.489000, state: capturing message: Captured frame 97, timeRemaining: 0:19, progressPercentage: 15.1%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:03.508000, state: capturing message: Captured frame 98, timeRemaining: 0:19, progressPercentage: 15.2%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:03.573000, state: capturing message: Captured frame 99, timeRemaining: 0:19, progressPercentage: 15.4%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:03.585000, state: capturing message: Captured frame 100, timeRemaining: 0:19, progressPercentage: 15.6%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:03.625000, state: capturing message: Captured frame 101, timeRemaining: 0:19, progressPercentage: 15.7%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:03.657000, state: capturing message: Captured frame 102, timeRemaining: 0:19, progressPercentage: 15.9%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:03.742000, state: capturing message: Captured frame 103, timeRemaining: 0:19, progressPercentage: 16.0%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:03.751000, state: capturing message: Captured frame 104, timeRemaining: 0:19, progressPercentage: 16.2%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:03.789000, state: capturing message: Captured frame 105, timeRemaining: 0:19, progressPercentage: 16.3%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:03.827000, state: capturing message: Captured frame 106, timeRemaining: 0:19, progressPercentage: 16.5%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:03.915000, state: capturing message: Captured frame 107, timeRemaining: 0:19, progressPercentage: 16.6%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:03.943000, state: capturing message: Captured frame 108, timeRemaining: 0:19, progressPercentage: 16.8%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:04.013000, state: capturing message: Captured frame 109, timeRemaining: 0:19, progressPercentage: 17.0%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:04.034000, state: capturing message: Captured frame 110, timeRemaining: 0:19, progressPercentage: 17.1%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:04.090000, state: capturing message: Captured frame 111, timeRemaining: 0:19, progressPercentage: 17.3%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:04.118000, state: capturing message: Captured frame 112, timeRemaining: 0:19, progressPercentage: 17.4%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:04.181000, state: capturing message: Captured frame 113, timeRemaining: 0:19, progressPercentage: 17.6%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:04.202000, state: capturing message: Captured frame 114, timeRemaining: 0:19, progressPercentage: 17.7%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:04.256000, state: capturing message: Captured frame 115, timeRemaining: 0:19, progressPercentage: 17.9%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:04.265000, state: capturing message: Captured frame 116, timeRemaining: 0:19, progressPercentage: 18.0%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:04.289000, state: capturing message: Captured frame 117, timeRemaining: 0:19, progressPercentage: 18.2%, totalExpectedTime: 0:23)
E/ActivityThread(28671): Failed to find provider info for com.oplus.statistics.provider
E/OplusStatistics--(28671): IllegalArgumentException:java.lang.IllegalArgumentException: Unknown URL content://com.oplus.statistics.provider/track_event
I/flutter (28671): RenderActivity(timestamp: 0:00:04.328000, state: capturing message: Captured frame 118, timeRemaining: 0:19, progressPercentage: 18.4%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:04.356000, state: capturing message: Captured frame 119, timeRemaining: 0:19, progressPercentage: 18.5%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:04.371000, state: capturing message: Captured frame 120, timeRemaining: 0:19, progressPercentage: 18.7%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:04.399000, state: capturing message: Captured frame 121, timeRemaining: 0:18, progressPercentage: 18.8%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:04.457000, state: capturing message: Captured frame 122, timeRemaining: 0:19, progressPercentage: 19.0%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:04.482000, state: capturing message: Captured frame 123, timeRemaining: 0:18, progressPercentage: 19.1%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:04.515000, state: capturing message: Captured frame 124, timeRemaining: 0:18, progressPercentage: 19.3%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:04.558000, state: capturing message: Captured frame 125, timeRemaining: 0:18, progressPercentage: 19.4%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:04.565000, state: capturing message: Captured frame 126, timeRemaining: 0:18, progressPercentage: 19.6%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:04.648000, state: capturing message: Captured frame 127, timeRemaining: 0:18, progressPercentage: 19.8%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:04.665000, state: capturing message: Captured frame 128, timeRemaining: 0:18, progressPercentage: 19.9%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:04.739000, state: capturing message: Captured frame 129, timeRemaining: 0:18, progressPercentage: 20.1%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:04.763000, state: capturing message: Captured frame 130, timeRemaining: 0:18, progressPercentage: 20.2%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:04.827000, state: capturing message: Captured frame 131, timeRemaining: 0:18, progressPercentage: 20.4%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:04.849000, state: capturing message: Captured frame 132, timeRemaining: 0:18, progressPercentage: 20.5%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:04.866000, state: capturing message: Captured frame 133, timeRemaining: 0:18, progressPercentage: 20.7%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:04.930000, state: capturing message: Captured frame 134, timeRemaining: 0:18, progressPercentage: 20.8%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:04.956000, state: capturing message: Captured frame 135, timeRemaining: 0:18, progressPercentage: 21.0%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:04.963000, state: capturing message: Captured frame 136, timeRemaining: 0:18, progressPercentage: 21.2%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:05.036000, state: capturing message: Captured frame 137, timeRemaining: 0:18, progressPercentage: 21.3%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:05.053000, state: capturing message: Captured frame 138, timeRemaining: 0:18, progressPercentage: 21.5%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:05.063000, state: capturing message: Captured frame 139, timeRemaining: 0:18, progressPercentage: 21.6%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:05.142000, state: capturing message: Captured frame 140, timeRemaining: 0:18, progressPercentage: 21.8%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:05.162000, state: capturing message: Captured frame 141, timeRemaining: 0:18, progressPercentage: 21.9%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:05.234000, state: capturing message: Captured frame 142, timeRemaining: 0:18, progressPercentage: 22.1%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:05.245000, state: capturing message: Captured frame 143, timeRemaining: 0:18, progressPercentage: 22.2%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:05.267000, state: capturing message: Captured frame 144, timeRemaining: 0:18, progressPercentage: 22.4%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:05.313000, state: capturing message: Captured frame 145, timeRemaining: 0:18, progressPercentage: 22.6%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:05.339000, state: capturing message: Captured frame 146, timeRemaining: 0:18, progressPercentage: 22.7%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:05.344000, state: capturing message: Captured frame 147, timeRemaining: 0:18, progressPercentage: 22.9%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:05.362000, state: capturing message: Captured frame 148, timeRemaining: 0:17, progressPercentage: 23.0%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:05.441000, state: capturing message: Captured frame 149, timeRemaining: 0:18, progressPercentage: 23.2%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:05.469000, state: capturing message: Captured frame 150, timeRemaining: 0:17, progressPercentage: 23.3%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:05.478000, state: capturing message: Captured frame 151, timeRemaining: 0:17, progressPercentage: 23.5%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:05.496000, state: capturing message: Captured frame 152, timeRemaining: 0:17, progressPercentage: 23.6%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:05.537000, state: capturing message: Captured frame 153, timeRemaining: 0:17, progressPercentage: 23.8%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:05.557000, state: capturing message: Captured frame 154, timeRemaining: 0:17, progressPercentage: 24.0%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:05.583000, state: capturing message: Captured frame 155, timeRemaining: 0:17, progressPercentage: 24.1%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:05.602000, state: capturing message: Captured frame 156, timeRemaining: 0:17, progressPercentage: 24.3%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:05.613000, state: capturing message: Captured frame 157, timeRemaining: 0:17, progressPercentage: 24.4%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:05.631000, state: capturing message: Captured frame 158, timeRemaining: 0:17, progressPercentage: 24.6%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:05.652000, state: capturing message: Captured frame 159, timeRemaining: 0:17, progressPercentage: 24.7%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:05.677000, state: capturing message: Captured frame 160, timeRemaining: 0:17, progressPercentage: 24.9%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:05.748000, state: capturing message: Captured frame 161, timeRemaining: 0:17, progressPercentage: 25.0%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:05.760000, state: capturing message: Captured frame 162, timeRemaining: 0:17, progressPercentage: 25.2%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:05.825000, state: capturing message: Captured frame 163, timeRemaining: 0:17, progressPercentage: 25.4%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:05.846000, state: capturing message: Captured frame 164, timeRemaining: 0:17, progressPercentage: 25.5%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:05.909000, state: capturing message: Captured frame 165, timeRemaining: 0:17, progressPercentage: 25.7%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:05.925000, state: capturing message: Captured frame 166, timeRemaining: 0:17, progressPercentage: 25.8%, totalExpectedTime: 0:22)
I/flutter (28671): RenderActivity(timestamp: 0:00:05.992000, state: capturing message: Captured frame 167, timeRemaining: 0:17, progressPercentage: 26.0%, totalExpectedTime: 0:23)
I/flutter (28671): RenderActivity(timestamp: 0:00:06.093000, state: handleCaptures message: Handled frame 117, timeRemaining: 0:3, progressPercentage: 63.8%, totalExpectedTime: 0:9)
I/flutter (28671): RenderActivity(timestamp: 0:00:06.106000, state: handleCaptures message: Handled frame 116, timeRemaining: 0:3, progressPercentage: 63.7%, totalExpectedTime: 0:9)
I/flutter (28671): RenderActivity(timestamp: 0:00:06.179000, state: handleCaptures message: Handled frame 118, timeRemaining: 0:3, progressPercentage: 63.9%, totalExpectedTime: 0:9)
I/flutter (28671): RenderActivity(timestamp: 0:00:06.201000, state: handleCaptures message: Handled frame 119, timeRemaining: 0:3, progressPercentage: 63.9%, totalExpectedTime: 0:9)
I/flutter (28671): RenderActivity(timestamp: 0:00:06.335000, state: handleCaptures message: Handled frame 121, timeRemaining: 0:3, progressPercentage: 64.1%, totalExpectedTime: 0:9)
I/flutter (28671): RenderActivity(timestamp: 0:00:06.342000, state: handleCaptures message: Handled frame 120, timeRemaining: 0:3, progressPercentage: 64.0%, totalExpectedTime: 0:9)
I/flutter (28671): RenderActivity(timestamp: 0:00:06.351000, state: handleCaptures message: Handled frame 122, timeRemaining: 0:3, progressPercentage: 64.1%, totalExpectedTime: 0:9)
I/flutter (28671): RenderActivity(timestamp: 0:00:06.448000, state: handleCaptures message: Handled frame 123, timeRemaining: 0:3, progressPercentage: 64.2%, totalExpectedTime: 0:10)
I/flutter (28671): RenderActivity(timestamp: 0:00:06.493000, state: handleCaptures message: Handled frame 124, timeRemaining: 0:3, progressPercentage: 64.3%, totalExpectedTime: 0:10)
I/flutter (28671): RenderActivity(timestamp: 0:00:06.538000, state: handleCaptures message: Handled frame 125, timeRemaining: 0:3, progressPercentage: 64.3%, totalExpectedTime: 0:10)
I/flutter (28671): RenderActivity(timestamp: 0:00:06.547000, state: handleCaptures message: Handled frame 126, timeRemaining: 0:3, progressPercentage: 64.4%, totalExpectedTime: 0:10)
I/flutter (28671): RenderActivity(timestamp: 0:00:06.655000, state: handleCaptures message: Handled frame 127, timeRemaining: 0:3, progressPercentage: 64.5%, totalExpectedTime: 0:10)
I/flutter (28671): RenderActivity(timestamp: 0:00:06.659000, state: handleCaptures message: Handled frame 128, timeRemaining: 0:3, progressPercentage: 64.5%, totalExpectedTime: 0:10)
I/flutter (28671): RenderActivity(timestamp: 0:00:06.679000, state: handleCaptures message: Handled frame 129, timeRemaining: 0:3, progressPercentage: 64.6%, totalExpectedTime: 0:10)
I/flutter (28671): RenderActivity(timestamp: 0:00:06.769000, state: handleCaptures message: Handled frame 130, timeRemaining: 0:3, progressPercentage: 64.7%, totalExpectedTime: 0:10)
I/flutter (28671): RenderActivity(timestamp: 0:00:06.846000, state: handleCaptures message: Handled frame 132, timeRemaining: 0:3, progressPercentage: 64.8%, totalExpectedTime: 0:10)
I/flutter (28671): RenderActivity(timestamp: 0:00:06.847000, state: handleCaptures message: Handled frame 131, timeRemaining: 0:3, progressPercentage: 64.7%, totalExpectedTime: 0:10)
I/flutter (28671): RenderActivity(timestamp: 0:00:06.878000, state: handleCaptures message: Handled frame 133, timeRemaining: 0:3, progressPercentage: 64.9%, totalExpectedTime: 0:10)
I/flutter (28671): RenderActivity(timestamp: 0:00:06.949000, state: handleCaptures message: Handled frame 134, timeRemaining: 0:3, progressPercentage: 64.9%, totalExpectedTime: 0:10)
I/flutter (28671): RenderActivity(timestamp: 0:00:06.966000, state: handleCaptures message: Handled frame 135, timeRemaining: 0:3, progressPercentage: 65.0%, totalExpectedTime: 0:10)
I/flutter (28671): RenderActivity(timestamp: 0:00:07.031000, state: handleCaptures message: Handled frame 136, timeRemaining: 0:3, progressPercentage: 65.1%, totalExpectedTime: 0:10)
I/flutter (28671): RenderActivity(timestamp: 0:00:07.118000, state: handleCaptures message: Handled frame 138, timeRemaining: 0:3, progressPercentage: 65.2%, totalExpectedTime: 0:10)
I/flutter (28671): RenderActivity(timestamp: 0:00:07.124000, state: handleCaptures message: Handled frame 137, timeRemaining: 0:3, progressPercentage: 65.1%, totalExpectedTime: 0:10)
I/flutter (28671): RenderActivity(timestamp: 0:00:07.153000, state: handleCaptures message: Handled frame 139, timeRemaining: 0:3, progressPercentage: 65.3%, totalExpectedTime: 0:10)
I/flutter (28671): RenderActivity(timestamp: 0:00:07.275000, state: handleCaptures message: Handled frame 140, timeRemaining: 0:3, progressPercentage: 65.3%, totalExpectedTime: 0:11)
I/flutter (28671): RenderActivity(timestamp: 0:00:07.278000, state: handleCaptures message: Handled frame 141, timeRemaining: 0:3, progressPercentage: 65.4%, totalExpectedTime: 0:11)
I/flutter (28671): RenderActivity(timestamp: 0:00:07.310000, state: handleCaptures message: Handled frame 142, timeRemaining: 0:3, progressPercentage: 65.5%, totalExpectedTime: 0:11)
I/flutter (28671): RenderActivity(timestamp: 0:00:07.375000, state: handleCaptures message: Handled frame 143, timeRemaining: 0:3, progressPercentage: 65.5%, totalExpectedTime: 0:11)
I/flutter (28671): RenderActivity(timestamp: 0:00:07.399000, state: handleCaptures message: Handled frame 145, timeRemaining: 0:3, progressPercentage: 65.7%, totalExpectedTime: 0:11)
I/flutter (28671): RenderActivity(timestamp: 0:00:07.409000, state: handleCaptures message: Handled frame 144, timeRemaining: 0:3, progressPercentage: 65.6%, totalExpectedTime: 0:11)
I/flutter (28671): RenderActivity(timestamp: 0:00:07.512000, state: handleCaptures message: Handled frame 147, timeRemaining: 0:3, progressPercentage: 65.8%, totalExpectedTime: 0:11)
I/flutter (28671): RenderActivity(timestamp: 0:00:07.516000, state: handleCaptures message: Handled frame 146, timeRemaining: 0:3, progressPercentage: 65.7%, totalExpectedTime: 0:11)
I/flutter (28671): RenderActivity(timestamp: 0:00:07.545000, state: handleCaptures message: Handled frame 148, timeRemaining: 0:3, progressPercentage: 65.9%, totalExpectedTime: 0:11)
I/flutter (28671): RenderActivity(timestamp: 0:00:07.620000, state: handleCaptures message: Handled frame 150, timeRemaining: 0:3, progressPercentage: 66.0%, totalExpectedTime: 0:11)
I/flutter (28671): RenderActivity(timestamp: 0:00:07.639000, state: handleCaptures message: Handled frame 149, timeRemaining: 0:3, progressPercentage: 65.9%, totalExpectedTime: 0:11)
I/flutter (28671): RenderActivity(timestamp: 0:00:07.705000, state: handleCaptures message: Handled frame 151, timeRemaining: 0:3, progressPercentage: 66.1%, totalExpectedTime: 0:11)
I/flutter (28671): RenderActivity(timestamp: 0:00:07.718000, state: handleCaptures message: Handled frame 152, timeRemaining: 0:3, progressPercentage: 66.1%, totalExpectedTime: 0:11)
I/flutter (28671): RenderActivity(timestamp: 0:00:07.811000, state: handleCaptures message: Handled frame 153, timeRemaining: 0:3, progressPercentage: 66.2%, totalExpectedTime: 0:11)
I/flutter (28671): RenderActivity(timestamp: 0:00:07.871000, state: handleCaptures message: Handled frame 154, timeRemaining: 0:4, progressPercentage: 66.3%, totalExpectedTime: 0:11)
I/flutter (28671): RenderActivity(timestamp: 0:00:07.894000, state: handleCaptures message: Handled frame 155, timeRemaining: 0:4, progressPercentage: 66.3%, totalExpectedTime: 0:11)
I/flutter (28671): RenderActivity(timestamp: 0:00:07.917000, state: handleCaptures message: Handled frame 156, timeRemaining: 0:4, progressPercentage: 66.4%, totalExpectedTime: 0:11)
I/flutter (28671): RenderActivity(timestamp: 0:00:07.993000, state: handleCaptures message: Handled frame 157, timeRemaining: 0:4, progressPercentage: 66.5%, totalExpectedTime: 0:12)
I/flutter (28671): RenderActivity(timestamp: 0:00:08.077000, state: handleCaptures message: Handled frame 159, timeRemaining: 0:4, progressPercentage: 66.6%, totalExpectedTime: 0:12)
I/flutter (28671): RenderActivity(timestamp: 0:00:08.082000, state: handleCaptures message: Handled frame 158, timeRemaining: 0:4, progressPercentage: 66.5%, totalExpectedTime: 0:12)
I/flutter (28671): RenderActivity(timestamp: 0:00:08.171000, state: handleCaptures message: Handled frame 160, timeRemaining: 0:4, progressPercentage: 66.7%, totalExpectedTime: 0:12)
I/flutter (28671): RenderActivity(timestamp: 0:00:08.183000, state: handleCaptures message: Handled frame 161, timeRemaining: 0:4, progressPercentage: 66.7%, totalExpectedTime: 0:12)
I/flutter (28671): RenderActivity(timestamp: 0:00:08.267000, state: handleCaptures message: Handled frame 162, timeRemaining: 0:4, progressPercentage: 66.8%, totalExpectedTime: 0:12)
I/flutter (28671): RenderActivity(timestamp: 0:00:08.309000, state: handleCaptures message: Handled frame 163, timeRemaining: 0:4, progressPercentage: 66.9%, totalExpectedTime: 0:12)
I/flutter (28671): RenderActivity(timestamp: 0:00:08.373000, state: handleCaptures message: Handled frame 164, timeRemaining: 0:4, progressPercentage: 66.9%, totalExpectedTime: 0:12)
I/flutter (28671): RenderActivity(timestamp: 0:00:08.430000, state: handleCaptures message: Handled frame 165, timeRemaining: 0:4, progressPercentage: 67.0%, totalExpectedTime: 0:12)
I/flutter (28671): RenderActivity(timestamp: 0:00:08.437000, state: handleCaptures message: Handled frame 166, timeRemaining: 0:4, progressPercentage: 67.1%, totalExpectedTime: 0:12)
I/flutter (28671): RenderLog(timestamp: 0:00:08.466000, message: ffmpeg version n6.0)
I/flutter (28671): RenderLog(timestamp: 0:00:08.467000, message:  Copyright (c) 2000-2023 the FFmpeg developers)
I/flutter (28671): RenderLog(timestamp: 0:00:08.467000, message:  )
I/flutter (28671): RenderLog(timestamp: 0:00:08.467000, message:  built with Android (7155654, based on r399163b1) clang version 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315dfbea7c137aa2e6d362dbb457e388158d) )
I/flutter (28671): RenderLog(timestamp: 0:00:08.468000, message:  configuration: --cross-prefix=aarch64-linux-android- --sysroot=/Users/sue/Library/Android/sdk/ndk/22.1.7171670/toolchains/llvm/prebuilt/darwin-x86_64/sysroot --prefix=/Users/sue/Projects/arthenica/ffmpeg-kit/prebuilt/android-arm64/ffmpeg --pkg-config=/opt/homebrew/bin/pkg-config --enable-version3 --arch=aarch64 --cpu=armv8-a --target-os=android --enable-neon --enable-asm --enable-inline-asm --ar=aarch64-linux-android-ar --cc=aarch64-linux-android24-clang --cxx=aarch64-linux-android24-clang++ --ranlib=aarch64-linux-android-ranlib --strip=aarch64-linux-android-strip --nm=aarch64-linux-android-nm --extra-libs='-L/Users/sue/Projects/arthenica/ffmpeg-kit/prebuilt/android-arm64/cpu-features/lib -lndk_compat' --disable-autodetect --enable-cross-compile --enable-pic --enable-jni --enable-optimizations --enable-swscale --disable-static --enable-shared --enable-pthreads --enable-v4l2-m2m --disable-outdev=fbdev --disable-indev=fbdev --enable-small --di
I/flutter (28671): RenderLog(timestamp: 0:00:08.468000, message:  libavutil 58. 2.100 / 58. 2.100 )
I/flutter (28671): RenderLog(timestamp: 0:00:08.469000, message:  libavcodec 60. 3.100 / 60. 3.100 )
I/flutter (28671): RenderLog(timestamp: 0:00:08.469000, message:  libavformat 60. 3.100 / 60. 3.100 )
I/flutter (28671): RenderLog(timestamp: 0:00:08.469000, message:  libavdevice 60. 1.100 / 60. 1.100 )
I/flutter (28671): RenderLog(timestamp: 0:00:08.469000, message:  libavfilter 9. 3.100 / 9. 3.100 )
I/flutter (28671): RenderLog(timestamp: 0:00:08.470000, message:  libswscale 7. 1.100 / 7. 1.100 )
I/flutter (28671): RenderLog(timestamp: 0:00:08.470000, message:  libswresample 4. 10.100 / 4. 10.100 )
I/flutter (28671): RenderLog(timestamp: 0:00:08.477000, message: Input #0, image2, from '/data/user/0/package/cache/render/de4ab2ff-9e4a-48f4-b573-525a01be9ba3/input/frame%d.png': )
I/flutter (28671): RenderLog(timestamp: 0:00:08.477000, message:  Duration: )
I/flutter (28671): RenderLog(timestamp: 0:00:08.478000, message: 00:00:06.72)
I/flutter (28671): RenderLog(timestamp: 0:00:08.478000, message: , start: )
I/flutter (28671): RenderLog(timestamp: 0:00:08.479000, message: 0.000000)
I/flutter (28671): RenderLog(timestamp: 0:00:08.479000, message: , bitrate: )
I/flutter (28671): RenderLog(timestamp: 0:00:08.479000, message: N/A)
I/flutter (28671): RenderLog(timestamp: 0:00:08.479000, message:  )
I/flutter (28671): RenderLog(timestamp: 0:00:08.480000, message:  Stream #0:0)
I/flutter (28671): RenderLog(timestamp: 0:00:08.480000, message: : Video: png, rgba(pc), 720x1280)
I/flutter (28671): RenderLog(timestamp: 0:00:08.480000, message: , )
I/flutter (28671): RenderLog(timestamp: 0:00:08.480000, message: 25 fps, )
I/flutter (28671): RenderLog(timestamp: 0:00:08.481000, message: 25 tbr, )
I/flutter (28671): RenderLog(timestamp: 0:00:08.481000, message: 25 tbn)
I/flutter (28671): RenderLog(timestamp: 0:00:08.481000, message:  )
I/flutter (28671): RenderLog(timestamp: 0:00:08.481000, message: Stream mapping: )
I/flutter (28671): RenderLog(timestamp: 0:00:08.482000, message:  Stream #0:0 (png) -> setpts:default)
I/flutter (28671): RenderLog(timestamp: 0:00:08.482000, message:  )
I/flutter (28671): RenderLog(timestamp: 0:00:08.482000, message:  setpts:default)
I/flutter (28671): RenderLog(timestamp: 0:00:08.482000, message:  -> Stream #0:0 (h264_mediacodec) )
I/flutter (28671): RenderLog(timestamp: 0:00:08.482000, message: Press [q] to stop, [?] for help )
I/flutter (28671): RenderActivity(timestamp: 0:00:08.502000, state: handleCaptures message: Handled frame 167, timeRemaining: 0:4, progressPercentage: 67.1%, totalExpectedTime: 0:12)
D/MediaCodec(28671): CreateByType: mime video/avc, encoder 1
D/MediaCodecList(28671): codecHandlesFormat: no format, so no extra checks
D/MediaCodecList(28671): codecHandlesFormat: no format, so no extra checks
D/MediaCodecList(28671): codecHandlesFormat: no format, so no extra checks
D/OplusACodec(28671): OplusACodec [147]: 
W/libc    (28671): Access denied finding property "vendor.oplus.media.vpp.stutter"
V/ListServiceUtils(28671): checkInListByUid module:sr-osie-whitelist uid:10327 cost 150us return 0
V/ListServiceUtils(28671): checkInListByUid start module:video-setsurface-error uid:10327  time 175417674586us
V/ListServiceUtils(28671): checkInListByUid end module:video-setsurface-error uid:10327  time 175417674643us
D/ListServiceUtils(28671): checkInListByUid module:video-setsurface-error uid:10327 cost 56us return 0
D/OplusACodec(28671): ACodec() ro.oplus.audio.effect.type = dolby ro.oplus.audio.dolby.type = none
D/MULTIMEDIAConfig(28671): [getInt32:L85] Config name: oplus.software.video.hqv_support value: 1
V/ListServiceUtils(28671): checkInListByUid start module:HQV-effect uid:10327  time 175417674693us
V/ListServiceUtils(28671): checkInListByUid end module:HQV-effect uid:10327  time 175417674747us
D/ListServiceUtils(28671): checkInListByUid module:HQV-effect uid:10327 cost 53us return 0
E/MULTIMEDIAConfig(28671): [getInt32:L80] Not find config, Returning default
E/MULTIMEDIAConfig(28671): [getInt32:L80] Not find config, Returning default
E/OplusACodec(28671): [OplusACodec:204] mSrOsieMMListCheckResult:0x0 mOsieVersion:1
D/OplusACodec(28671): getBufferChannel: New
D/MediaCodec(28671): [0xb400007e05d56000] init: CCodec 0xb400007e05dd1410, CCodecBufferChannel 0xb400007e05835a18
D/MediaCodec(28671): [0xb400007e05d56000] setState: 1
I/OMXClient(28671): IOmx service obtained
D/MediaCodec(28671): [0xb400007e05d56000] setState: 2
I/MediaCodec(28671): [0xb400007e05d56000] [OMX.qcom.video.encoder.avc] configure, format : AMessage(what = 0x00000000) = {
I/MediaCodec(28671):   int32_t color-format = 19
I/MediaCodec(28671):   int32_t i-frame-interval = 1
I/MediaCodec(28671):   string mime = "video/avc"
I/MediaCodec(28671):   int32_t width = 720
I/MediaCodec(28671):   int32_t bitrate = 200000
I/MediaCodec(28671):   int32_t frame-rate = 25
I/MediaCodec(28671):   int32_t height = 1280
I/MediaCodec(28671): }
D/VQApply (28671): raise bitrate: configured 200000 to floor 2073600
D/VQApply (28671): minquality: requested QP unsupported, boost bitrate 2073600 by 414720
D/VQApply (28671): minquality/target bitrate raised from 200000 to 2488320 bps
D/MediaCodec(28671): shapeMediaFormat: deltas(2): AMessage(what = 0x00000000) = {
D/MediaCodec(28671):     int32_t bitrate = 2488320
D/MediaCodec(28671):     int32_t android._encoding-quality-level = 0
D/MediaCodec(28671):   }
D/MediaCodec(28671): flushMediametrics
D/MediaCodec(28671): [0xb400007e05d56000] setState: 3
V/ListServiceUtils(28671): checkInListByUid module:qcom-encode-gop uid:10327 cost 179us return 0
I/flutter (28671): RenderLog(timestamp: 0:00:08.545000, message: [h264_mediacodec @ 0xb400007e04631400] Use 1 as the default MediaFormat i-frame-interval, please set gop_size properly (>= fps) )
V/ListServiceUtils(28671): checkInListByUid module:qcom-encode-qp uid:10327 cost 66us return 0
D/OplusACodec(28671): [configureCodec:L1507] OplusFeedbackInfo  mFeedbackID:-5476376605618269184
W/AString (28671): ctor got NULL, using empty string instead
V/ListServiceUtils(28671): checkInListByUid pid:28671 procName: cost 73us return -1
D/AtlasEventUploadUtils(28671): setEvent event:atlas_event_video_monitor_network_switch
V/ListServiceUtils(28671): checkInListByUid start module:notify-network-optimize uid:10327  time 175417694824us
V/ListServiceUtils(28671): checkInListByUid end module:notify-network-optimize uid:10327  time 175417695523us
D/ListServiceUtils(28671): checkInListByUid module:notify-network-optimize uid:10327 cost 697us return 0
V/ListServiceUtils(28671): checkInListByUid start module:video-statistics uid:10327  time 175417695687us
V/ListServiceUtils(28671): checkInListByUid end module:video-statistics uid:10327  time 175417695965us
D/ListServiceUtils(28671): checkInListByUid module:video-statistics uid:10327 cost 277us return 0
V/ListServiceUtils(28671): checkInListByUid module:video-resolution-blurry uid:10327 cost 229us return 0
D/OplusUtils(28671): ACodec getComponentRole [99]: mime:video/avc
I/ExtendedACodec(28671): setupVideoEncoder()
W/OMXUtils(28671): do not know color format 0x7fa30c06 = 2141391878
W/OMXUtils(28671): do not know color format 0x7fa30c04 = 2141391876
W/OMXUtils(28671): do not know color format 0x7fa30c00 = 2141391872
W/OMXUtils(28671): do not know color format 0x7fa30c09 = 2141391881
W/OMXUtils(28671): do not know color format 0x7fa30c0a = 2141391882
W/OMXUtils(28671): do not know color format 0x7fa30c08 = 2141391880
W/OMXUtils(28671): do not know color format 0x7fa30c07 = 2141391879
W/OMXUtils(28671): do not know color format 0x7f000789 = 2130708361
E/ACodec  (28671): [OMX.qcom.video.encoder.avc] does not support color format 19
E/ExtendedACodec(28671): [OMX.qcom.video.encoder.avc] configureCodec returning error -61
E/ACodec  (28671): signalError(omxError 0x80001001, internalError -61)
E/ACodec  (28671): [OMX.qcom.video.encoder.avc] configureCodec returning error -61
E/ACodec  (28671): signalError(omxError 0x80001001, internalError -61)
E/MediaCodec(28671): Codec reported err 0xffffffc3/NOT_ENOUGH_DATA, actionCode 0, while in state 3/CONFIGURING
D/MediaCodec(28671): flushMediametrics
D/MediaCodec(28671): [0xb400007e05d56000] setState: 0
E/MediaCodec(28671): configure failed with err 0xffffffc3, resetting...
E/MediaCodec(28671): Codec reported err 0xffffffc3/NOT_ENOUGH_DATA, actionCode 0, while in state 0/UNINITIALIZED
D/MediaCodec(28671): [0xb400007e05d56000] setState: 0
D/MediaCodec(28671): [0xb400007e05d56000] [OMX.qcom.video.encoder.avc] release
D/MediaCodec(28671): [0xb400007e05d56000] setState: 10
D/MediaCodec(28671): [0xb400007e05d56000] [OMX.qcom.video.encoder.avc] kWhatReleaseCompleted
D/MediaCodec(28671): [0xb400007e05d56000] setState: 0
D/OplusACodec(28671): ~OplusACodec [212]: 
D/OplusACodec(28671): OplusACodec [147]: 
W/libc    (28671): Access denied finding property "vendor.oplus.media.vpp.stutter"
V/ListServiceUtils(28671): checkInListByUid module:sr-osie-whitelist uid:10327 cost 100us return 0
V/ListServiceUtils(28671): checkInListByUid start module:video-setsurface-error uid:10327  time 175417709239us
V/ListServiceUtils(28671): checkInListByUid end module:video-setsurface-error uid:10327  time 175417709294us
D/ListServiceUtils(28671): checkInListByUid module:video-setsurface-error uid:10327 cost 54us return 0
D/OplusACodec(28671): ACodec() ro.oplus.audio.effect.type = dolby ro.oplus.audio.dolby.type = none
D/MULTIMEDIAConfig(28671): [getInt32:L85] Config name: oplus.software.video.hqv_support value: 1
V/ListServiceUtils(28671): checkInListByUid start module:HQV-effect uid:10327  time 175417709351us
V/ListServiceUtils(28671): checkInListByUid end module:HQV-effect uid:10327  time 175417709402us
D/ListServiceUtils(28671): checkInListByUid module:HQV-effect uid:10327 cost 50us return 0
E/MULTIMEDIAConfig(28671): [getInt32:L80] Not find config, Returning default
E/MULTIMEDIAConfig(28671): [getInt32:L80] Not find config, Returning default
E/OplusACodec(28671): [OplusACodec:204] mSrOsieMMListCheckResult:0x0 mOsieVersion:1
D/OplusACodec(28671): getBufferChannel: New
D/OplusFeedbackInfo(28671): ~OplusAnalysisFPS
D/AtlasEventUploadUtils(28671): setEvent event:atlas_event_video_monitor_network_switch
D/MediaCodec(28671): [0xb400007e05d56000] init: CCodec 0xb400007e05dd1410, CCodecBufferChannel 0xb400007e0ef342d8
D/MediaCodec(28671): [0xb400007e05d56000] setState: 1
I/OMXClient(28671): IOmx service obtained
D/MediaCodec(28671): [0xb400007e05d56000] setState: 2
D/MediaCodec(28671): [0xb400007e05d56000] [OMX.qcom.video.encoder.avc] stop
D/MediaCodec(28671): [0xb400007e05d56000] setState: 9
D/MediaCodec(28671): [0xb400007e05d56000] [OMX.qcom.video.encoder.avc] kWhatStopCompleted
D/MediaCodec(28671): [0xb400007e05d56000] setState: 2
D/MediaCodec(28671): [0xb400007e05d56000] [OMX.qcom.video.encoder.avc] releaseAsync
D/MediaCodec(28671): [0xb400007e05d56000] setState: 10
D/MediaCodec(28671): [0xb400007e05d56000] [OMX.qcom.video.encoder.avc] kWhatReleaseCompleted
D/MediaCodec(28671): [0xb400007e05d56000] setState: 0
D/MediaCodec(28671): flushMediametrics
D/MediaCodec(28671): [0xb400007e05d56000] ~MediaCodec
D/MediaCodec(28671): flushMediametrics
I/BpBinder(28671): onLastStrongRef automatically unlinking death recipients: android.media.IResourceManagerService
D/OplusACodec(28671): ~OplusACodec [212]: 
D/OplusFeedbackInfo(28671): ~OplusAnalysisFPS
I/flutter (28671): RenderError(timestamp: 0:00:08.577000, exception: RenderException([Ffmpeg execution error] [amediacodec @ 0xb400007e3ade3080] android.media.MediaCodec$CodecException: Error 0xffffffc3
I/flutter (28671): , details: null), fatal: true)
E/flutter (28671): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Bad state: No element
E/flutter (28671): #0      Stream.firstWhere.<anonymous closure> (dart:async/stream.dart:1705:9)
E/flutter (28671): #1      _RootZone.runGuarded (dart:async/zone.dart:1582:10)
E/flutter (28671): #2      _DoneStreamSubscription._sendDone (dart:async/stream_impl.dart:699:36)
E/flutter (28671): #3      _microtaskLoop (dart:async/schedule_microtask.dart:40:21)
E/flutter (28671): #4      _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5)
E/flutter (28671): 
I/scrapit.scrapit(28671): createIfNeeded: Recreate new EGLImage since dataspace changed
I/scrapit.scrapit(28671): createIfNeeded: Recreate new EGLImage since dataspace changed
I/scrapit.scrapit(28671): createIfNeeded: Recreate new EGLImage since dataspace changed
D/BufferQueueConsumer(28671): [SurfaceTexture-0-28671-7](id:6fff0000001b,api:0,p:-1,c:28671) disconnect
I/ExoPlayerImpl(28671): Release 16b753 [ExoPlayerLib/2.18.7] [OnePlus8, IN2011, OnePlus, 33] [goog.exo.core, goog.exo.exoplayer, goog.exo.decoder, goog.exo.datasource, goog.exo.extractor]
`

Some things to note here are:
Codec reported err 0xffffffc3/NOT_ENOUGH_DATA, actionCode 0, while in state 3/CONFIGURING

E/ACodec (28671): [OMX.qcom.video.encoder.avc] does not support color format 19 E/ExtendedACodec(28671): [OMX.qcom.video.encoder.avc] configureCodec returning error -61

RenderLog(timestamp: 0:00:08.545000, message: [h264_mediacodec @ 0xb400007e04631400] Use 1 as the default MediaFormat i-frame-interval, please set gop_size properly (>= fps) )

D/VQApply (28671): raise bitrate: configured 200000 to floor 2073600

Render with mp4 Audio File Error on ANdroid

Describe the bug
Render with mp4 Audio File Error on ANdroid

To Reproduce
Steps to reproduce the behavior:
format: Mp4Format(scale: RenderScale.lowRes, audio: [
RenderAudio.url(
Uri.parse(
"https://flutter.github.io/assets-for-api-docs/assets/videos/bee.mp4"),
),
/*
RenderAudio.url(
Uri.parse(
"https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3"),
startTime: 40,
endTime: 45.4365,
),
*/
]),
VideoPlayerController videoC = VideoPlayerController.file( File(controlNotifier.mediaPath));
await videoC.initialize();
Error Video Path Cache Cannot Load Source Video

Expected behavior
Video can load

Screenshots

WhatsApp.Video.2023-12-22.at.01.49.16.mp4

Platform (please complete the following information):
Render Last Version 0.1.3+1

Init

  • Render layers as complex filters
  • render even when not in the context
  • check if transparency rendering can be optimzed
  • progress calculation (processing)
  • audio
  • Improve framerate by limiting amount of handlers at once

example can not work on ios

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(VideoError, Failed to load video: Operation Stopped, null, null)

Or always waiting, unable to see the loading video.

RenderAudio.url(
                            Uri.parse(
                              "https://flutter.github.io/assets-for-api-docs/assets/videos/bee.mp4",
                            ),
                          ),
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.16.0, on macOS 14.1.1 23B81 darwin-arm64, locale en-CA)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.2)
[✓] VS Code (version 1.84.2)
[✓] Connected device (4 available)
[✓] Network resources

Optimizing render time: Piping frames to ffmpeg

Piping images to FFmpeg instead of saving each file to source and then feeding it to FFmpeg. See here for more info.

FFmpegKit currently lacks documentation for piping input.
Here is the current approach to pipe input, but it will only show the first piped image in the mp4.

final Directory directory = await getApplicationDocumentsDirectory();
    final pipe = await FFmpegKitConfig.registerNewFFmpegPipe();

    Future<void> pipeFiles() async {
      final imageFile0 = await getImageFileFromAssets("image0.jpeg");
      await FFmpegKitConfig.writeToPipe(imageFile0.path, pipe!);
      final imageFile1 = await getImageFileFromAssets("image1.jpeg");
      await FFmpegKitConfig.writeToPipe(imageFile1.path, pipe);
    }

    final process =  FFmpegKit.executeAsync('-y -framerate 1 -f image2pipe -i $pipe -frames 2 ${directory.path}/out11.mp4',
        (session) async {
      await FFmpegKitConfig.closeFFmpegPipe(pipe!);
    });

    await pipeFiles();

    final file = File('/data/user/0/com.example.example/app_flutter/out11.mp4');

Unhandled Exception: type 'RenderError' is not a subtype of type 'RenderResult' in type cast

I am getting this error in Android phones. Unhandled Exception: type 'RenderError' is not a subtype of type 'RenderResult' in type cast

RenderError(timestamp: 0:00:06.225000, exception: RenderException([Ffmpeg execution error] [amediacodec @ 0xb400007cde9f4b80] android.media.MediaCodec$CodecException: Error 0xffffffc3
I/flutter (28087): , details: null), fatal: true)

The code:

final stream = await stream.firstWhere((event) => event.isResult || event.isFatalError);
result = stream as RenderResult; // The error is being thrown here

Please do help!

Thanks

Merge new description

Render

With the Render widget you can render and convert wigets into a wide range of exportable file formats. Main features include:

  • Render static or animated widgets to png, jpg, gif, mov and mp4 (including sound)
  • Rendering wigets that are not in your widget tree (not displayed/build)
  • Render multiple variations of your widget at the same time with layered rendering (including mixed building visualisation)

Important: Note that rendering front-end elements is not considered the most efficient and native approach to editing images and videos. Use with own responsabilty.


Examples

Video

Usage

final _controller 	= RenderController();

Render(
    controller: _controller,
    duration: Duration(seconds: 5),
    builder: (context, RenderSnapshot snapshot){
       return Container();
    } 
) 


await  _controller.render(overwriteFrames: 269, frame: 5);

Tip: full interactive example for usage in ./example folder.

Layered rendering

You might encounter situations where you want to have variations of your widget rendering (eg. one version with round corners & and one without).
Instead of rendering your widget multiple times you can use layered rendering, which renderes the widget only ones instead of multiple times and consequently reduces your rendering time and significantly.

Simply wrap a widget within your Render build with RenderLayer:

RenderLayer(
    visualize: false,
    child: ... 
) 

Properties of Render

Name Type Default Behavior Description
controller PageController? PageController() The controller to manipulate the state of your list. The behavior of list and controller equals the default PageView widget
required itemBuilder Widget Function(BuildContext, int)
required itemCount int
scrollDirection Axis Axis.horizontal
physics ScrollPhysics? AlwaysScrollable()
itemExtent double?
minCacheExtent double?
itemSnapping bool false
addSemanticIndexes bool true
addAutomaticKeepAlives bool true
addRepaintBoundaries bool true
reverse bool false
itemPositionsListener ItemPositionsListener?
onPageChanged void Function(int index, double size)?
onPageChange void Function(double page, double size)?
overscrollPhysics PageOverscrollPhysics? normal PageView scrolling
scrollBehavoir ScrollBehavoir?
visualisation ListVisualisation? ListVisualisation.normal()
allowItemSizes bool false
snapAlignment SnapAlignment SnapAlignment.static(0.5)
snapOnItemAlignment SnapAlignment SnapAlignment.static(0.5)

Properties of RenderLayer

Properties of RenderController

Additional information

Contributions are very welcome and can be merged within hours if testing is successful.

fails on the new Flutter 3.10

Describe the bug
windows is missing on Flutter 3.10

:276:9: Error: No named parameter with the name 'window'.
        window: ui.window,
        ^^^^^^
/opt/homebrew/Caskroom/flutter/2.10.0/flutter/packages/flutter/lib/src/rendering/view.dart:68:3: Context: Found this candidate, but the arguments don't match.
  RenderView({
  ^^^^^^^^^^

To Reproduce
Steps to reproduce the behavior:

  1. Upgrade to Flutter 3.10
  2. Build

Expected behavior
Build

RecordMotion: native platform recorder

With .recordMotion() users could take advantage of capturing widgets natively (including native views) and it could dramatically reduce capturing time from RepaintBoundary.
This issue has been created to discuss the feasibility to record flutter programs natively in each platform. Adaption of this approach for capture motion for widgets that are present in the widget tree is also considerable.

The process of capturing could be archived by the following process:

  1. Capture full screen natively and write to a temporary file directory
  2. Capture the context of the render widget (size, position, transparency mask by capturing RepaintBoundary )
  3. Using flutters FFmpeg to crop the to-be-captured widget out of the screen recording (and apply a transparency mask).
  4. Convert cropped video to the expected file format

The following platform support needs to be checked.

  • Swift: ReplayKit
  • Web: java activity (browser-specific)
  • Android: Media Projection API
  • macOS
  • windows

Identify and Capture native widgets

If native rendering does not seem to make too much sense, in case no significant render time is reduced. It is considerable to take this method to directly identify native views and capture those individually, rather than through flutter render boundaries.

Definitive limitations:

  • dynamic transparency positions

Hide and make widget invisible when using captureMotionWithStream()

Hi, thanks for the great work!

Is it possible to hide the Render widget (e.g. the AnimatedExampleWidget in main.dart) when using the captureMotionWithStream,
I wish to render and record the widget in the background by not showing the rendering process.
CaptureMotionFromWidgetWithStream sounds like the feature I want, but I have no idea how to modify it in main.dart.
I would appreciate any help.

Web support

Currently the main problem is that ffmpeg and this plugin require to write files to a temporary path.
The problem is that web does not support file writings or path_provider does not offer a web solution.

A possible solution might be to have a look at how flutter_sound has managed to conquer web.

Server side rendering

Hello, is there a way to render the widget to an image on the server side, maybe with headless flutter?

Not Supporting for flutter 3

Describe the bug
I am getting this error, I just added render to my project. Does this package supports flutter 3?


../../.pub-cache/hosted/pub.dev/render-0.1.3/lib/src/capturer.dart:284:9: Error: No named parameter with the name 'view'.
        view: flutterView,
        ^^^^
../../flutter_working/flutter/packages/flutter/lib/src/rendering/view.dart:68:3: Context: Found this candidate, but the arguments don't match.
  RenderView({
  ^^^^^^^^^^
../../.pub-cache/hosted/pub.dev/render-0.1.3/lib/src/capturer.dart:275:27: Error: The getter 'View' isn't defined for the class 'RenderCapturer<K>'.
 - 'RenderCapturer' is from 'package:render/src/capturer.dart' ('../../.pub-cache/hosted/pub.dev/render-0.1.3/lib/src/capturer.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'View'.
      final flutterView = View.of(context!);
                          ^^^^
Target kernel_snapshot failed: Exception

Video recorded it's very laggy

Describe the bug
i tried to use render to record the camera preview of the dependecy camera with a timer on the screen, at recording it looks normal, but when the video is playing it looks realy laggy, like 1 or 2 frames per seconds. (i modifyed the frames to 60 and the handlers i tried to do it with many or few.)

if you want to look at my code to see if there it's a problem with it: https://github.com/NachoL24/videoapp/blob/main/lib/examples/camera_screen.dart
i used recordMotion and stopController.stop() in the _recordVideo() function.

Anyway, if someone has an opinion of a diferent way that i could do this or a way to improve my code or if you want to know more about the app i'm coding contact me at: [email protected]

Platform (please complete the following information):
render: ^0.1.3+1

Separate Render core code from FFMpeg

To begin, I would like to thanks you for this incredible package ! Usage is simple and efficient 👌

Is your feature request related to a problem? Please describe.
As I mention it in another issue, I'm facing a problem when I want to use a different implementation of FFMpeg. Render depends of ffmpeg_kit_flutter_https_gpl which have only a few external library.

Describe the solution you'd like
I want to be able to write a custom MotionFormat that use libvpx external library (from ffmpeg_kit_flutter_video) for exemple.

This solution that seems the most obvious to me, is the separation of the code in two packages :

  • render_core, which provides abstractions and process of bitmap datas extraction. Datas will be interpreted/transformed by the new render package, or by custom implementations
  • render, which provides the current implementations, as the package is today

Also, it might be a good way to implements a web dedicated render package (i.e. render_web), based on render_core with no ffmpeg_kit_flutter deps.

Maybe there is a simplier and better solution (would be great !)

Describe alternatives you've considered
Fork the project an do it for myself.

I would be happy to work on this and open a PR, but it should be better to discuss about solutions before

Error when switching to homescreen during capture

When switching to the home screen while using captureMotionWithStream() an exception is thrown:
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: Null check operator used on a null value #0 _Image.toByteData.<anonymous closure>.<anonymous closure> (dart:ui/painting.dart:1891:25)

Expected behavior: The rendering / capture process should be paused?

The exception refers to line 1891 of painting.dart

  Future<ByteData?> toByteData({ImageByteFormat format = ImageByteFormat.rawRgba}) {
    return _futurize((_Callback<ByteData> callback) {
      return _toByteData(format.index, (Uint8List? encoded) {
        callback(encoded!.buffer.asByteData()); // <------------------- this line
      });
    });
  }

Any ideas or workarounds on how to avoid this would be great!
Thanks a lot.

exported video is lagging

Describe the bug
i have created video with the help of render package but video is so much lagging
a widget that i want to render in video its contains some text widget with animation

Expected behavior
video should play smooth.

Example with the default video not working in iOS

Describe the bug
The example works fine using the Android emulator.
The iOS Simulator throws a generic error
"PlatformException (PlatformException(VideoError, Failed to load video: Operation Stopped, null, null))"
when trying to load the default video
"https://www.fluttercampus.com/video.mp4"
but not when using the following video
"https://flutter.github.io/assets-for-api-docs/assets/videos/bee.mp4"
or the other 1 minute sample (https://storage.googleapis.com/gtv-videos-bucket/sample/ForBiggerFun.mp4).

The Simulator image is "iPhone 14 Pro Max".

To Reproduce

  1. Simply open the example on MacOs and built to the iOS Simulator
  2. See error
    "PlatformException (PlatformException(VideoError, Failed to load video: Operation Stopped, null, null))"

Expected behavior
No errors, just like on Android.

Platform (please complete the following information):
render: ^0.1.2
video_player: ^2.5.2

Moving to the latest version of video_player 2.6.0 doesn't solve the problem.

Installation Error - Ffmpeg

This is really amazing, Im trying to install but getting this error:

"[!] The 'Pods-Runner' target has frameworks with conflicting names: ffmpegkit.xcframework, libavcodec.xcframework, libavdevice.xcframework, libavfilter.xcframework, libavformat.xcframework, libavutil.xcframework, libswresample.xcframework, and libswscale.xcframework."

Everything installs perfectly when I remove Render from my dependencies

Using captureMotionWithStream() with a flutter_map

I'm trying to export a video via captureMotionWithStream() of an animated map created using the flutter_map package.
Flutter_map allows to create maps in flutter using raster tiles, which in my case are stored offline on the device.
The capture works but, especially during fast movements moving around on the map, some tiles aren't yet loaded.
Would it be possible to wait an additional arbitrary duration in milliseconds for each captured frame / tick?

Native audio recording

Currently there is not support to capture device audio within flutter. In order to render widgets that do not have a set audio file (eg. live streams), but rather can only be captured by recording the device audio input.

Please provide packages or approaches to target this issue.

Output files return with 0 bytes (0B)

I created a simple animation and start recording it using captureMotionWithStream with expected result as MP4. But I don't know what's wrong since I follow the example. It's a simple app, so I think I'm gonna attach the code here

Code

class RenderAnimationPage extends StatefulWidget {
  const RenderAnimationPage({super.key});

  @override
  State<RenderAnimationPage> createState() => _RenderAnimationPageState();
}

class _RenderAnimationPageState extends State<RenderAnimationPage> {
  final renderController = RenderController(logLevel: LogLevel.debug);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.white,
      floatingActionButton: Padding(
        padding: const EdgeInsets.only(bottom: 32),
        child: FloatingActionButton.extended(
          onPressed: onRecord,
          backgroundColor: Colors.green,
          label: const Text('RECORD'),
        ),
      ),
      floatingActionButtonLocation: FloatingActionButtonLocation.centerDocked,
      body: SafeArea(
        child: Render(
          controller: renderController,
          child: Stack(
            fit: StackFit.expand,
            children: [
              animationWidget,
            ],
          ),
        ),
      ),
    );
  }

  void onRecord() async {
    final stream = renderController.captureMotionWithStream(
      const Duration(seconds: 5),
      settings: const MotionSettings(pixelRatio: 5),
      format: const MovFormat(),
    );

    stream.listen((event) {
      if (event.isActivity) {
        final activity = event as RenderActivity;
        log("Process: ${activity.progressPercentage}");
      }
    });

    final result = await stream.firstWhere((element) => element.isResult);

    saveToGallery(result as RenderResult);
  }

  void saveToGallery(RenderResult renderResult) {
    log(renderResult.output.path);
    GallerySaver.saveVideo(renderResult.output.path, toDcim: true).then((value) {
      if (value != null && value) {
        print("saved export to gallery");
      } else {
        print("failed to save it to gallery");
      }
    });
  }

  Widget get animationWidget {
    return MirrorAnimationBuilder<double>(
      tween: Tween(begin: 10, end: 100),
      duration: const Duration(seconds: 2),
      builder: (context, value, child) {
        return Positioned(
          left: value,
          top: 100,
          child: Container(
            width: 100,
            height: 100,
            color: Colors.red,
            child: child,
          ),
        );
      },
      curve: Curves.easeInOut,
      child: const Text('Hello World'),
    );
  }
}

Current Result
An MP4 file with 0B, so it can't be played using Media Player

Expected behavior
A playable MP4 video

Package version
I use the Render v.0.0.7

NoSupport [sizeAndRate.support, 324x624x10.274868965148926] [OMX.IMG.MSVDX.Decoder.MPEG4, video/mp4v-es] [HWNXT, HUAWEI NXT-TL00, HUAWEI, 26]

NoSupport [sizeAndRate.support, 324x624x10.274868965148926] [OMX.IMG.MSVDX.Decoder.MPEG4, video/mp4v-es] [HWNXT, HUAWEI NXT-TL00, HUAWEI, 26]

W/HwExtendedUtils( 1672): hw configLocalPlayBack err = -1010
E/ACodec ( 1672): [OMX.IMG.MSVDX.Decoder.MPEG4] setPortMode on output to DynamicANWBuffer failed w/ err -1010
W/ACodec ( 1672): [OMX.IMG.MSVDX.Decoder.MPEG4] prepareForAdaptivePlayback failed w/ err -1010
I/HwExtendedCodec( 1672): mime is [video/mp4v-es] at setVideoFormat
I/ACodec ( 1672): codec does not support config priority (err -1010)
I/ACodec ( 1672): onStart

when i use the example and add the

final motionResult = await renderController.captureMotion(
                          const Duration(seconds: 15),
                          format: MotionFormat.mp4,
                          settings: const MotionSettings(pixelRatio: 3),
                        );
                        displayResult(motionResult,true);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.