Skip to content

Videoplayer can not rotate 180 when playing #41169

@manhnt79

Description

@manhnt79

Dears,
I play video with orientation 180. VideoPlayer plays, but without rotation.
In case of orientation 90, 270 - VideoPlayer displays correctly.
Help me resolve this issue.
Thanks.

Logs

Launching lib/main.dart on SM G610F in debug mode...
Initializing gradle...
Resolving dependencies...
Running Gradle task 'assembleDebug'...
Built build/app/outputs/apk/debug/app-debug.apk.
Syncing files to device SM G610F...
D/ViewRootImpl@e7d1118[MainActivity](28751): MSG_WINDOW_FOCUS_CHANGED 0
D/Choreographer(28751): init sf_choreo_doframe   debug_Level : 0x4f4cdebug_game_running : false
I/ExoPlayerImpl(28751): Init 189b0cf [ExoPlayerLib/2.9.6] [on7xelte, SM-G610F, samsung, 24]
D/NetworkSecurityConfig(28751): Using Network Security Config from resource network_security_config debugBuild: true
I/System.out(28751): (HTTPLog)-Static: isSBSettingEnabled false
I/System.out(28751): (HTTPLog)-Static: isSBSettingEnabled false
D/InputTransport(28751): Input channel destroyed: fd=88
D/ViewRootImpl@e7d1118[MainActivity](28751): MSG_WINDOW_FOCUS_CHANGED 1
D/ViewRootImpl@e7d1118[MainActivity](28751): mHardwareRenderer.initializeIfNeeded()#2 mSurface={isValid=true -783814656}
V/InputMethodManager(28751): Starting input: tba=android.view.inputmethod.EditorInfo@494eac7 nm : io.flutter.plugins.videoplayerexample ic=null
I/InputMethodManager(28751): [IMM] startInputInner - mService.startInputOrWindowGainedFocus
D/InputTransport(28751): Input channel constructed: fd=105
D/ViewRootImpl@e7d1118[MainActivity](28751): ViewPostImeInputStage processPointer 0
E/BoostFramework(28751): BoostFramework() : Exception_1 = java.lang.ClassNotFoundException: Didn't find class "com.qualcomm.qti.Performance" on path: DexPathList[[],nativeLibraryDirectories=[/system/lib, /vendor/lib]]
V/BoostFramework(28751): BoostFramework() : mPerf = null
D/ViewRootImpl@e7d1118[MainActivity](28751): ViewPostImeInputStage processPointer 1
I/ExoPlayerImpl(28751): Init fdac8f4 [ExoPlayerLib/2.9.6] [on7xelte, SM-G610F, samsung, 24]
W/AudioCapabilities(28751): Unsupported mime audio/mpeg-L1
W/AudioCapabilities(28751): Unsupported mime audio/mpeg-L2
W/AudioCapabilities(28751): Unsupported mime audio/x-ms-wma
W/AudioCapabilities(28751): Unsupported mime audio/x-ima
W/VideoCapabilities(28751): Unrecognized profile/level 1/32 for video/mp4v-es
W/VideoCapabilities(28751): Unrecognized profile/level 32768/2 for video/mp4v-es
/VideoCapabilities(28751): Unrecognized profile 2130706434 for video/avc
W/VideoCapabilities(28751): Unrecognized profile 2130706434 for video/avc
W/VideoCapabilities(28751): Unrecognized profile 2130706434 for video/avc
W/VideoCapabilities(28751): Unrecognized profile 2130706434 for video/avc
W/VideoCapabilities(28751): Unrecognized profile 2130706434 for video/avc
W/VideoCapabilities(28751): Unrecognized profile 2130706434 for video/avc
W/VideoCapabilities(28751): Unrecognized profile 2130706434 for video/avc
W/VideoCapabilities(28751): Unsupported mime video/wvc1
W/VideoCapabilities(28751): Unsupported mime video/x-ms-wmv
W/VideoCapabilities(28751): Unrecognized profile/level 1/32 for video/mp4v-es
W/VideoCapabilities(28751): Unrecognized profile/level 32768/2 for video/mp4v-es
W/VideoCapabilities(28751): Unrecognized profile/level 32768/64 for video/mp4v-es
W/VideoCapabilities(28751): Unsupported mime video/wvc1
W/VideoCapabilities(28751): Unsupported mime video/x-ms-wmv
W/VideoCapabilities(28751): Unsupported mime video/x-ms-wmv7
W/VideoCapabilities(28751): Unsupported mime video/x-ms-wmv8
W/VideoCapabilities(28751): Unsupported mime video/mp43
W/VideoCapabilities(28751): Unrecognized profile 2130706433 for video/avc
W/VideoCapabilities(28751): Unrecognized profile 2130706433 for video/avc
VideoCapabilities(28751): Unsupported profile 4 for video/mp4v-es
I/ExoPlayerImpl(28751): Release 189b0cf [ExoPlayerLib/2.9.6] [on7xelte, SM-G610F, samsung, 24] [goog.exo.core, goog.exo.hls]
W/VideoCapabilities(28751): Unrecognized profile 2130706433 for video/avc
W/VideoCapabilities(28751): Unrecognized profile 2130706433 for video/avc
W/VideoCapabilities(28751): Unrecognized profile 2130706433 for video/avc
W/VideoCapabilities(28751): Unrecognized profile 2130706433 for video/avc
I/ACodec  (28751):  [] Now uninitialized
I/ACodec  (28751): [] onAllocateComponent
I/OMXClient(28751): MuxOMX ctor
I/ACodec  (28751): [OMX.Exynos.avc.dec] Now Loaded
I/MediaCodec(28751): [OMX.Exynos.avc.dec] setting surface generation to 29441025
I/ACodec  (28751): can't find wfdsink-exynos-enable
I/ACodec  (28751): codec does not support config priority (err -1010)
I/ACodec  (28751): [OMX.Exynos.avc.dec] Now Loaded->Idle
D/SurfaceUtils(28751): set up nativeWindow 0xced6d008 for 1920x1080, color 0x105, rotation 180, usage 0x2900
I/ACodec  (28751): [OMX.Exynos.avc.dec] configureOutputBuffersFromNativeWindow setBufferCount : 9, minUndequeuedBuffers : 5
I/ACodec  (28751): [OMX.Exynos.avc.dec] Now Idle->Executing
I/ACodec  (28751): [OMX.Exynos.avc.dec] Now Executing
I/ACodec  (28751):  [] Now uninitialized
I/ACodec  (28751): [] onAllocateComponent
I/ACodec  (28751): [OMX.Exynos.avc.dec] Now handling output port settings change
W/AHierarchicalStateMachine(28751): Warning message AMessage(what = 'omxI') = {
W/AHierarchicalStateMachine(28751):   int32_t type = 0
W/AHierarchicalStateMachine(28751):   int32_t event = 3
W/AHierarchicalStateMachine(28751):   int32_t data1 = 1
W/AHierarchicalStateMachine(28751):   int32_t data2 = 117440527
W/AHierarchicalStateMachine(28751): } unhandled in root state.
I/OMXClient(28751): MuxOMX ctor
D/SurfaceUtils(28751): set up nativeWindow 0xced6d008 for 1920x1088, color 0x105, rotation 180, usage 0x2900
I/ACodec  (28751): [OMX.Exynos.avc.dec] configureOutputBuffersFromNativeWindow setBufferCount : 13, minUndequeuedBuffers : 5
I/ACodec  (28751): [OMX.google.aac.decoder] Now Loaded
I/ACodec  (28751): codec does not support config priority (err -2147483648)
I/ACodec  (28751): codec does not support config operating rate (err -2147483648)
I/ACodec  (28751): [OMX.google.aac.decoder] Now Loaded->Idle
I/ACodec  (28751): [OMX.google.aac.decoder] Now Idle->Executing
I/ACodec  (28751): [OMX.google.aac.decoder] Now Executing
I/ACodec  (28751): [OMX.Exynos.avc.dec] Now Executing
I/ACodec  (28751): [OMX.google.aac.decoder] Now handling output port settings change
I/ACodec  (28751): [OMX.google.aac.decoder] Now Executing
D/AudioTrack(28751): Client defaulted notificationFrames to 7696 for frameCount 15392
I/AudioTrack(28751): updateAudioTranstionLength FadeIn[0] FadeOut[0] FadeInRing[0]
I/art     (28751): Do partial code cache collection, code=21KB, data=31KB
I/art     (28751): After code cache collection, code=21KB, data=31KB
I/art     (28751): Increasing code cache capacity to 128KB
D/ViewRootImpl@e7d1118[MainActivity](28751): ViewPostImeInputStage processPointer 0
I/ACodec  (28751): [OMX.google.aac.decoder] Now Executing->Idle
I/ACodec  (28751): [OMX.google.aac.decoder] Now Idle->Loaded
I/ACodec  (28751): [OMX.google.aac.decoder] Now Loaded
I/ACodec  (28751):  [OMX.google.aac.decoder] Now kWhatShutdownCompleted event : 8612
I/MediaCodec(28751): Codec shutdown complete
I/ACodec  (28751):  [OMX.google.aac.decoder] Now uninitialized
I/ACodec  (28751):  [] Now kWhatShutdownCompleted event : 8612
I/MediaCodec(28751): Codec shutdown complete
I/ACodec  (28751):  [] Now uninitialized
I/ACodec  (28751): [] onAllocateComponent
I/OMXClient(28751): MuxOMX ctor
I/ACodec  (28751): [OMX.google.aac.decoder] Now Loaded
I/ACodec  (28751): codec does not support config priority (err -2147483648)
I/ACodec  (28751): codec does not support config operating rate (err -2147483648)
I/ACodec  (28751): [OMX.google.aac.decoder] Now Loaded->Idle
I/ACodec  (28751): [OMX.google.aac.decoder] Now Idle->Executing
I/ACodec  (28751): [OMX.google.aac.decoder] Now Executing
I/ACodec  (28751): [OMX.google.aac.decoder] Now handling output port settings change
I/ACodec  (28751): [OMX.google.aac.decoder] Now Executing
D/ViewRootImpl@e7d1118[MainActivity](28751): ViewPostImeInputStage processPointer 1

Doctor summary (to see all details, run flutter doctor -v):

[✓] Flutter (Channel unknown, v1.9.1+hotfix.2, on Mac OS X 10.14.6 18G87, locale en-US)
 
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.0)
[✓] Android Studio (version 3.3)
[✓] VS Code (version 1.36.1)
[✓] Connected device (1 available)

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: videoVideo playbackc: crashStack traces logged to the consolep: video_playerThe Video Player pluginpackageflutter/packages repository. See also p: labels.platform-macBuilding on or for macOS specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions