Repository navigation
Closed
flutter/packages
#10301Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityfound in release: 3.29Found to occur in 3.29Found to occur in 3.29found in release: 3.32Found to occur in 3.32Found to occur in 3.32has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onp: cameraThe camera pluginThe camera pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-androidOwned by Android platform teamOwned by Android platform teamtriaged-androidTriaged by Android platform teamTriaged by Android platform team
Description
Steps to reproduce
- Use the Flutter camera package (0.11.0+2) on a device (Android) that supports 60 fps video.
- Initialize the camera with fps: 60 in the constructor.
- Record a video and inspect the frame rate.
Expected results
The video should be recorded at 60 fps when the device supports it and the fps value is set accordingly.
Actual results
The video is always recorded at 30 fps, regardless of the fps setting.
Code sample
Code sample
cameraController = CameraController(
camera ?? _cameras![0],
ResolutionPreset.veryHigh,
enableAudio: true,
imageFormatGroup: ImageFormatGroup.jpeg,
fps: 60,
);Flutter Doctor output
Doctor output
flutter doctor -v
[√] Flutter (Channel stable, 3.27.1, on Microsoft Windows [Version 10.0.26100.3775], locale en-US)
• Flutter version 3.27.1 on channel stable at C:\flutter\flutter_3.27.1
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 17025dd882 (4 months ago), 2024-12-17 03:23:09 +0900
• Engine revision cb4b5fff73
• Dart version 3.6.0
• DevTools version 2.40.2
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 35.0.1)
• Android SDK at C:\Users\M\AppData\Local\Android\sdk
• Platform android-35, build-tools 35.0.1
• Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
• Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.13.6)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.13.35931.197
• Windows 10 SDK version 10.0.22621.0
[√] Android Studio (version 2024.1)
• Android Studio at C:\Program Files\Android\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 17.0.11+0--11852314)
[√] VS Code (version 1.99.3)
• VS Code at C:\Users\M\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.106.0
[√] Connected device (4 available)
• sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64 • Android 15 (API 35) (emulator)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.26100.3775]
• Chrome (web) • chrome • web-javascript • Google Chrome 135.0.7049.97
• Edge (web) • edge • web-javascript • Microsoft Edge 135.0.3179.66
[√] Network resources
• All expected network resources are available.
• No issues found!Reacted by chathurka and dvagala
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityfound in release: 3.29Found to occur in 3.29Found to occur in 3.29found in release: 3.32Found to occur in 3.32Found to occur in 3.32has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onp: cameraThe camera pluginThe camera pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-androidOwned by Android platform teamOwned by Android platform teamtriaged-androidTriaged by Android platform teamTriaged by Android platform team
Type
Projects
- StatusShow more project fieldsDone
Activity
danagbemava-nc commentedon Apr 25, 2025
Hi @mahenjrc, what device are you testing on? How are you determining that it is not being recorded at 60fps?
mahenjrc commentedon Apr 25, 2025
Hi @danagbemava-nc, I tested this on a Pixel 8 and Samsung Galaxy A52. To check the frame rate, I accessed the file system using Android Studio to download the recorded video and viewed the Details tab under Properties. It showed the frame rate as 29.99 fps.
danagbemava-nc commentedon Apr 28, 2025
Hi @mahenjrc, as you're recording the video, what does the frame rate appear to be? Is the tool you're using to check the fps able to determine if other videos are 60fps?
mahenjrc commentedon May 5, 2025
When recording the video the frame rate appeared the same as before even after setting it to 60fps. However it does show 60fps in other videos as I recorded a video using the native camera on each device and checked the properties, which showed 60fps (59.99).
danagbemava-nc commentedon May 5, 2025
Reproducible using the camera example app with the fps set to 60. I was able to reproduce this on my Pixel 7. The video metadata extracted from the cache directory viewed in QuickTime Player is in the screenshot below
complete code sample
flutter doctor -v
7 remaining items
[camera_android_camerax] use MediaSettings::fps for image preview, st…
github-actions commentedon Dec 11, 2025
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.