Repository: flutter
Issue: [video_player android] video skipped first seconds for some .mp4 file
Labels: platform-android,a: video,p: video_player,package,has reproducible steps,P2,found in release: 3.10,found in release: 3.11,team-android,triaged-android

<!-- Thank you for using Flutter!

     If you are looking for support, please check out our documentation
     or consider asking a question on Stack Overflow:
      * https://flutter.dev/
      * https://api.flutter.dev/
      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

     If you have found a bug or if our documentation doesn't have an answer
     to what you're looking for, then fill out the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

## Steps to Reproduce

<!-- You must include full steps to reproduce so that we can reproduce the problem. -->

1. Run `flutter create bug`.
2. Update the files as follows: ... 
<details>
 <summary>Minimal reproducible code sample</summary>

```dart
import 'package:flutter/material.dart';
import 'package:video_player/video_player.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        title: 'Flutter Demo',
        theme: ThemeData(
          primarySwatch: Colors.blue,
        ),
        home: AndroidVideoSkippedDemo());
  }
}

const String asset1 = '4.5.ppt.mp4';

class AndroidVideoSkippedDemo extends StatefulWidget {
  @override
  _AndroidVideoSkippedDemoState createState() =>
      _AndroidVideoSkippedDemoState();
}

class _AndroidVideoSkippedDemoState extends State<AndroidVideoSkippedDemo> {
  VideoPlayerController controller1;

  @override
  void initState() {
    super.initState();
    initVideoPlayerController();
  }

  @override
  void dispose() {
    super.dispose();
    controller1.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: SingleChildScrollView(
        child: Column(
          children: [
            _buildVideoView(controller1),
            _buildSeekButton(controller1),
          ],
        ),
      ),
    );
  }

  Widget _buildVideoView(VideoPlayerController controller) {
    return Column(
      children: [
        AspectRatio(
          aspectRatio: controller.value.aspectRatio,
          child: VideoPlayer(controller),
        ),
        Text(
          _getPosition(controller),
        ),
      ],
    );
  }

  Future<void> initVideoPlayerController() async {
    VideoPlayerController initController(String url) {
      var controller = url.startsWith('http')
          ? VideoPlayerController.network(url)
          : VideoPlayerController.asset(url);
      controller.addListener(() {
        setState(() {});
      });
      controller.setLooping(false);
      controller.initialize().then((value) => setState(() {}));
      controller.play();
      return controller;
    }

    controller1 = initController(asset1);
  }

  String _getPosition(VideoPlayerController controller) {
    return '${controller?.value?.position}/${controller?.value?.duration}';
  }

  Widget _buildSeekButton(VideoPlayerController controller1) {
    return RaisedButton(
      onPressed: () {
        controller1
            .seekTo(Duration(seconds: 15))
            .then((value) => controller1.play());
      },
      child: Text('seekTo 15seconds and play'),
    );
  }
}
```
</details>

3. Add `video_player: ^0.10.12` to `pubspec.yaml`

**Expected results: play from start and postion is update continuously；when click 'seekTo 15seconds and play' button, video will seek to 15'' and play from then** <!-- what did you want to see? -->

**Actual results:video play postion jump to seconds 35. not all video file has this problem, but for some file it always happen. The skipped time is different depends on video file** <!-- what did you see? -->

the video file 
[4.5.ppt.mp4.zip](https://github.com/flutter/flutter/files/5115874/4.5.ppt.mp4.zip)

<details>
  <summary>Logs</summary>

<!--
      Run your application with `[flutter run --verbose](url)` and attach all the
      log output below between the lines with the backticks. If there is an
      exception, please see if the error message includes enough information
      to explain how to solve the issue.
-->

<!--
     Run `flutter analyze` and attach any output of that command below.
     If there are any analysis errors, try resolving them before filing this issue.
-->

```
flutter analyze
Analyzing video_debug...                                                
No issues found! (ran in 3.6s)

```

<!-- Finally, paste the output of running `flutter doctor -v` here. -->

```
flutter doctor 
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.20.2, on Mac OS X 10.15.5 19F101, locale zh-Hans-CN)
 
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
[✓] Android Studio (version 4.0)
[✓] VS Code (version 1.48.0)
[✓] Connected device (1 available)

• No issues found!

```

</details>