Search Unity

Video Video Player error while reading

Discussion in 'Audio & Video' started by Grinchi, Nov 8, 2023.

  1. Grinchi

    Grinchi

    Joined:
    Apr 19, 2014
    Posts:
    130
    Hey I have some problem on Unity 2022.3.12f with Video Player.
    On android its playing video with no problem but on ios/osx getting this error

    AVFoundationVideoMedia error while reading
    Context: AVFoundationVideoMedia::OpenForRead found no video tracks
    Error details: <Empty>


    Maybe someone had/has this kind of problem and could assist :)

    Thanks in advance
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,036
    Maybe check transcode for that platform?
    That way it will be converted to Unity's internal video systems
     
  3. Grinchi

    Grinchi

    Joined:
    Apr 19, 2014
    Posts:
    130
    Already tried that also :) Same error. The Only difference i have noticed was after changing backend it started playing, but i cant detect what is the problem. the link does not require any time of authentications, but still same error.
     
  4. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,036
    Ah it's via url? Not a file?
    If so, I think apple platforms have some extra player settings
     
  5. Grinchi

    Grinchi

    Joined:
    Apr 19, 2014
    Posts:
    130
    Yeah thats the thing. It also does not play it in Editor on OSX :( and the error is saying nothing at all.