You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.
Description
I'm trying to stream the camera feed to a RTMP server using the following command -y -f android_camera -i 0:0 -r 25 -pixel_format yuv420p -video_size 1920x1080 -b:v 500k -vf scale=1920x1080 -f flv <rtmp_server_url>.
Expected behavior
Live feed being sent to the RTMP server.
Current behavior
The app crashes as soon as I start the streaming process.
To Reproduce
Executing this command will cause the crash await FFmpegKit.execute( '-y -f android_camera -i 0:0 -r 25 -pixel_format yuv420p -video_size 640x480 -b:v 500k -vf scale=640x480 -f flv ${_appConfig.camStreamPublishURL}')
flutter doctor: Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.27.1, on Ubuntu 24.04 LTS 6.8.0-39-generic,
locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[✓] Chrome - develop for the web
[✗] Linux toolchain - develop for Linux desktop
✗ clang++ is required for Linux development.
It is likely available from your distribution (e.g.: apt install clang),
or can be downloaded from https://releases.llvm.org/
✗ ninja is required for Linux development.
It is likely available from your distribution (e.g.: apt install
ninja-build), or can be downloaded from https://github.com/ninja-build/ninja/releases
✗ GTK 3.0 development libraries are required for Linux development.
They are likely available from your distribution (e.g.: apt install
libgtk-3-dev)
[✓] Android Studio (version 2024.1)
[✓] VS Code (version 1.96.2)
[✓] Connected device (3 available)
[✓] Network resources
Other
I did not face any issue on android emulators (API 31, 33, 35) and tried out even on a physical device (API 33). Currently getting this issue only on this device which is a Tablet.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
I'm trying to stream the camera feed to a RTMP server using the following command
-y -f android_camera -i 0:0 -r 25 -pixel_format yuv420p -video_size 1920x1080 -b:v 500k -vf scale=1920x1080 -f flv <rtmp_server_url>
.Expected behavior
Live feed being sent to the RTMP server.
Current behavior
The app crashes as soon as I start the streaming process.
To Reproduce
Executing this command will cause the crash
await FFmpegKit.execute( '-y -f android_camera -i 0:0 -r 25 -pixel_format yuv420p -video_size 640x480 -b:v 500k -vf scale=640x480 -f flv ${_appConfig.camStreamPublishURL}')
Logs
Environment
Flutter
arm64
v6.0.3-LTS
main
2024.1.1
r28b
[✓] Flutter (Channel stable, 3.27.1, on Ubuntu 24.04 LTS 6.8.0-39-generic,
locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[✓] Chrome - develop for the web
[✗] Linux toolchain - develop for Linux desktop
✗ clang++ is required for Linux development.
It is likely available from your distribution (e.g.: apt install clang),
or can be downloaded from https://releases.llvm.org/
✗ ninja is required for Linux development.
It is likely available from your distribution (e.g.: apt install
ninja-build), or can be downloaded from
https://github.com/ninja-build/ninja/releases
✗ GTK 3.0 development libraries are required for Linux development.
They are likely available from your distribution (e.g.: apt install
libgtk-3-dev)
[✓] Android Studio (version 2024.1)
[✓] VS Code (version 1.96.2)
[✓] Connected device (3 available)
[✓] Network resources
Other
I did not face any issue on android emulators (API 31, 33, 35) and tried out even on a physical device (API 33). Currently getting this issue only on this device which is a Tablet.
The text was updated successfully, but these errors were encountered: