Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS] #2138

Open
1a1aca opened this issue Jan 19, 2025 · 1 comment
Open

[iOS] #2138

1a1aca opened this issue Jan 19, 2025 · 1 comment
Assignees
Labels
iOS iOS platform triage Needs triage

Comments

@1a1aca
Copy link

1a1aca commented Jan 19, 2025

Unity version

2021.3.44

Unity editor platform

macOS

AVPro Video edition

Core

AVPro Video version

3.2.0

Device hardware

iPhone 11 Pro

Which iOS version are you using?

18.1

Texture format

BGRA

Audio output

System Direct

Any other Media Player component configuration required to reproduce the issue.

No response

Which output component(s) are you using?

Display uGUI

Any other component configuration required to reproduce the issue.

No response

The issue

MP4 videos cannot be opened on iOS.

Media information

No response

Log output

Picked a video
[ERROR] Could not create a bookmark: NSError: Cocoa 4097 "connection to service named com.apple.FileProvider"
[AVProVideo] Opening /var/mobile/Containers/Data/Application/CFBA4BD5-4647-4332-BE38-659BB805D018/Library/Caches/pickedMedia1.mp4 (offset 0) with API 
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object, Object)
UnityEngine.Debug:Log(Object, Object)
RenderHeads.Media.AVProVideo.Helper:LogInfo(String, Object)
RenderHeads.Media.AVProVideo.MediaPlayer:InternalOpenMedia()
RenderHeads.Media.AVProVideo.MediaPlayer:OpenMedia(Boolean)
RenderHeads.Media.AVProVideo.MediaPlayer:OpenMedia(MediaPathType, String, Boolean)
RenderHeads.Media.AVProVideo.MediaPlayer:OpenMedia(MediaPath, Boolean)
EventPanel:LoadMovie(String)
UnityEngine.GameObject:SendMessage(String, Object, SendMessageOptions)
UnityEngine.GameObject:SendMessage(String, Object)
SelectingAlbumType:<PickVideo>b__8_0(String)
NativeGalleryNamespace.NGMediaReceiveCallbackiOS:OnMediaReceived(String)

Unloading 1 Unused Serialized files (Serialized files now loaded: 3)
Unloading 6 unused Assets to reduce memory usage. Loaded Objects now: 4951.
Total: 3.275834 ms (FindLiveObjects: 0.142167 ms CreateObjectMapping: 0.076584 ms MarkObjects: 2.997167 ms  DeleteObjects: 0.059334 ms)

unknown YCbCr matrix YCbCrMatrix#5, defaulting to ITU_R_709
missing frame for item time {0/1 = 0.000, rounded}
@1a1aca 1a1aca added iOS iOS platform triage Needs triage labels Jan 19, 2025
@MorrisRH
Copy link
Contributor

Could you provide more information about the video you're trying to open and where you're opening it from. From the log it looks like you're trying to open the video via the image picker?

There are no known issues with playback of mp4 files at this time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
iOS iOS platform triage Needs triage
Projects
None yet
Development

No branches or pull requests

3 participants