• 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 /
This question was closed Jul 08, 2014 at 03:26 PM by Josh Naylor for the following reason:

Too subjective and argumentative

avatar image
0
Question by Franconstein · Jul 08, 2014 at 03:25 PM · audiovideoaudioclipvideotexture

Is it possible to switch audio tracks in a video?

Hello! First off, let me say that I'm very new to Unity, so please bare that in mind. I have watched the tutorials, read a great deal of documentation but yet have no actual experience. That said, I am currently working on a project that requires the playback of a video clip. BUT - and of course there's a but - the video hast to be played with up to 5 audio tracks (in order to avoid creating 5 videos, one with an audio track each).

Now, if I were to solve this problem in any other environment, I'd either use a video file with multiple audio tracks embedded, or just play an audio-less video and an audio file separately. However, I do not know if either is possible with Unity.

So, my questions are:

1) Does Unity support video files with multiple audio tracks?

1.a) If so, is there a way to switch between audio tracks through code?

1.b) If not, is it possible to play back a video and an audio asset simultaneously?

2) Is it possible to start playing an audio track (or video, for the matter) at certain point in time? Like play only from the 00:30 mark to the 01:30 mark?

I am using Unity 4.5.1f3, if that helps.

Thanks in advance.

Cheers!

Comment
Add comment · Show 1
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 Josh Naylor ♦♦ · Jul 08, 2014 at 03:25 PM 0
Share

This question may be suited more to the forums as it's many questions in one. Please ask more specific questions about one aspect.

0 Replies

  • Sort: 

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Extract audio clip from VideoPlayer for real-time processing 0 Answers

Audio playing before scene is fully loaded 1 Answer

Play VideoTexture's audio only 1 Answer

Audio clip not streaimg in webgl. 0 Answers

Can't seem to play my AudioClip? 2 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