Giter VIP home page Giter VIP logo

Comments (4)

huycozy avatar huycozy commented on September 27, 2024

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.

misos1 avatar misos1 commented on September 27, 2024

@huycozy

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.

huycozy avatar huycozy commented on September 27, 2024

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.

misos1 avatar misos1 commented on September 27, 2024

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)

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.