Comments (4)
Hi @misos1
Does the issue only occur on iOS? What about Android? Could you be more specific on steps 4th and 5th?
Is this similar to #30689 (which is fixed before)?
from flutter.
Hi @misos1 Does the issue only occur on iOS? What about Android? Could you be more specific on steps 4th and 5th?
I did not test on android. What do you mean? Just record anything, but shifted audio may not be noticeable unless there are visual clues connected to sounds in your video like in the attached video where the number is shown visually and at the same time it is also spoken. While it counts it is also recording but audio shifting may be more noticeable in recorded video after is counting done so better to wait and only try to record something after Stop button appears (like in attached video which had to be unfortunately cut due to 10 MB limit) so there will be also this segment during counting in recorded video which may show gradually worse and worse audio shifting but no shifting at the start. After pressing Stop it stops recording and starts to play recorded video in loop. Just press Start, wait until counting to 200 is done and the Stop button appears (do not press Stop yet, and you can record also during this phase), now try to record something with sound-visual clues then press Stop and check the resulting video. Or check values of these variables (their difference is equal to amount of audio shift):
_videoTimeOffset
_audioTimeOffset
Is this similar to #30689 (which is fixed before)?
No. And it was definitely not fixed, it was just closed after 4 years although it is experienced by multiple people to this day. It was reopened as #131553.
from flutter.
Just press Start, wait until counting to 200 is done and the Stop button appears (do not press Stop yet, and you can record also during this phase), now try to record something with sound-visual clues then press Stop and check the resulting video.
Thanks, I followed these steps, and I can reproduce this issue on my iOS device iPhone 7, iOS 15.8
. Checking this on Android with Pixel 7, Android 14
, the issue does not happen. As pointed out, this could be related to #131553.
Complete demo iOS
149978-ios_com.mp4
flutter doctor -v
[✓] Flutter (Channel stable, 3.22.2, on macOS 14.1 23B74 darwin-x64, locale en-VN)
• Flutter version 3.22.2 on channel stable at /Users/huynq/Documents/GitHub/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 761747bfc5 (31 hours ago), 2024-06-05 22:15:13 +0200
• Engine revision edd8546116
• Dart version 3.4.3
• DevTools version 2.34.3
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/huynq/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• ANDROID_HOME = /Users/huynq/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
• Xcode at /Applications/Xcode15.3.app/Contents/Developer
• Build 15E204a
• CocoaPods version 1.15.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2023.3)
• Android Studio at /Applications/Android Studio.app/Contents
• 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
• android-studio-dir = /Applications/Android Studio.app/
• Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
[✓] VS Code (version 1.89.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.90.0
[✓] Connected device (3 available)
• iPhone (mobile) • d9a94afe2b649fef56ba0bfeb052f0f2a7dae95e • ios • iOS 15.8 19H370
• macOS (desktop) • macos • darwin-x64 • macOS 14.1 23B74 darwin-x64
• Chrome (web) • chrome • web-javascript • Google Chrome 125.0.6422.142
[✓] Network resources
• All expected network resources are available.
• No issues found!
from flutter.
As pointed out, this could be related to #131553.
They are not related. They have totally different causes. I was not trying to say they are related but rather the opposite.
from flutter.
Related Issues (20)
- I can't install flutter. I'm tired. HOT 1
- macOS CI Network timeouts "transport: Error while dialing: dial tcp $IP: i/o timeout" HOT 10
- Cross-Compile for ARMhf
- Zulip test needs to migrate color assertions HOT 16
- [Impeller] Remove EntityPass and friends. HOT 1
- [Impeller] Devise DisplayList ops that express more fine grained rendering intent. HOT 7
- How to Build Flutter Engine with Software Graphics Backend HOT 1
- Add copyright notice to android embedding tests.
- Implement this library. HOT 1
- [google_maps_flutter_platform_interface] Convert `PatternItem` and `Cap` to structured data
- [google_maps_flutter_platform_interface] Convert `BitmapDescriptor` to structured data
- mac-23 lost external connection from phone device. HOT 1
- [video_player] Add video/stream concatenation support
- [Impeller] draw order optimizer has latent rendering error with bdfs.
- There should be a shared infra calendar for renewals
- Rename or fix`SurfaceProducer.Callback.onSurfaceCreated` HOT 1
- [Impeller] dl dispatch culling still depends on canvas computed cull rects. HOT 4
- the movie automatically start when loading HOT 2
- [webview_flutter] Did not find frame on Android HOT 2
- MultiEngines will splash black if we switch app back to foreground from app history on certain Android cellphone HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter.