Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by FlyingSquirrels · Apr 21, 2017 at 09:20 AM · androidvideostreamingdevelopment build

Unity 5.6 Video Clip stream on Android

I need to stream video on Android with Unity 5.6. Video is hosted on Azure.

H264 works perfect on iOS but jitters a lot on Android. H264 hosted on device works perfect on both Android and iOS. Webm works perfect on iOS but only works on Development builds on Android.

Error: W/Unity(10989): AndroidVideoMedia: No tracks in https://****.mp4 Error: E/Unity(20860): OnVideoErrorReceived Can't play movie [https://****.mp4]

Codec errors attached here - link text

Any ideas?

videocodecerror.txt (2.8 kB)
Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image FlyingSquirrels · Apr 21, 2017 at 10:04 AM 0
Share

I get this error when opening .3gp, .webm or .ogv files.

 AndroidVideo$$anonymous$$edia: Error opening extractor: -10000
 VideoPlayback audio buffer overflow.  1024 sample frames discarded.



avatar image FlyingSquirrels · Apr 21, 2017 at 10:40 AM 0
Share

Sample project attached here.link text

videotestproject.zip (102.7 kB)
avatar image FlyingSquirrels · Apr 26, 2017 at 11:14 AM 0
Share

Bug report here: https://issuetracker.unity3d.com/issues/android-video-player-black-screen-if-strea$$anonymous$$g-a-video-in-release-mode-development-build-disabled

Vote for it if you have the same problem :-)

Thanks,

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by AquaGhost · May 08, 2017 at 03:17 PM

@Demanuele did you find an answer to this? We get the same error but only on a long clip, and not if we shorten the same clip in length. investigating the Prepare function

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image FlyingSquirrels · May 08, 2017 at 03:23 PM 0
Share

$$anonymous$$ake sure that you have the internet required permission on as that was causing additional issues.

Having said that, we had so many problems on Android that we switched to a plugin called AV $$anonymous$$edia Pro until these problems are resolved from Unity.

avatar image AquaGhost · May 09, 2017 at 02:52 PM 0
Share

@Demanuele Turns out that didnt fix it for us. Just putting this on record in case anyone else has the issue. We were getting a weird error that "there is no track" (sound track) on the video for android. It is related to something with encoding, though we couldnt nail down exactly what the encoding problem was, because we re-encoded it a few times and it worked. I think the error reporting is not great regarding codecs.

avatar image FlyingSquirrels AquaGhost · May 09, 2017 at 03:38 PM 0
Share

Which codec is working for you? Can you give more info on length of video, resolution, size etc?

Thanks.

avatar image AquaGhost FlyingSquirrels · May 09, 2017 at 04:24 PM 0
Share

Here is what is working on ios and android today: Sound: AAC Stereo 44.100

Vid: H264 1920x960 FPS 29.96

avatar image
0

Answer by MarioetLesHerosNintendo · Jul 23, 2021 at 12:18 PM

Hi ! I have the same error bu my video is on my device (Oculus Quest 2) and not online. I use Unity 2019.3.15. Did you find a solution, @Demanuele ?

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

159 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

AndroidVideoMedia: Error opening extractor: -10000 1 Answer

Preloading Videos 1 Answer

Playing H265 videos on Android 1 Answer

Runtime Transcode VideoClip with Alpha for android 0 Answers

Video Player on Android : black screen 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges