Skip to content

Error:Loading failed. File not found, codec not supported #836

@XuDaFei

Description

@XuDaFei

Describe the issue
We use AVProVideo as our video playback plug-in for our game, its a awesome plug and we use it to play some mv in our game
without a hitch.
Everything seems to be ok on our test machine. But after we push our game to players, we got some error report and cant not found out why it happens. Its doesnt like what report in errors log .
[AVProVideo] Error: Loading failed. File not found, codec not supported, video resolution too high or insufficient system resources.
RenderHeads.Media.AVProVideo.MediaPlayer.UpdateErrors()
RenderHeads.Media.AVProVideo.MediaPlayer.Update()

Your Setup (please complete the following information):

  • Unity version: 2018.4.35f1
  • AVPro Video version: 2.1.3
  • Operating system version: Android/IOS(10,13,14,15)
  • Device model: iPhone6s-iPhone12 or low to high Android Phone(Different kinds of machines,both Android and IOS has this error)
  • Video specs (resolution, frame-rate, codec, file size): 1080P, 24fps, mp4, 13M

To Reproduce
load prefab include Mediaplayer and DisplayUGUI
use OpenMedia(MediaPathType pathType, string path, bool autoPlay = true) to load mv form Local storage
use CloseMedia() and destory the prefab
Is it some call timing problem that causes this error ?
Or just that the machine is out of memory

Logs
[AVProVideo] Error: Loading failed. File not found, codec not supported, video resolution too high or insufficient system resources.
RenderHeads.Media.AVProVideo.MediaPlayer.UpdateErrors()
RenderHeads.Media.AVProVideo.MediaPlayer.Update()

or:
[AVProVideo] Error: Loading failed. File not found, codec not supported, video resolution too high or insufficient system resources.
RenderHeads.Media.AVProVideo.MediaPlayer.UpdateErrors()
RenderHeads.Media.AVProVideo.MediaPlayer.Update()
RenderHeads.Media.AVProVideo.MediaPlayer.OnDisable()
RenderHeads.Media.AVProVideo.MediaPlayer.AllPlayersDispose()
RenderHeads.Media.AVProVideo.MediaPlayer.OnApplicationQuit()

Metadata

Metadata

Assignees

Labels

AndroidAndroid platformiOSiOS platformstaleStale

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions