6

I am trying to render a video (that is not a .dvd file) with audio using Blender. So far, I haven't had any success; all of my rendered clips have had the audio missing from the playback. I've tried a couple of different encoding and output options but nothing has worked so far (except for a .dvd file that I rendered originally).

What are my options for rendering a video with working audio?

PGmath
  • 25,106
  • 17
  • 103
  • 199
AAC
  • 87
  • 1
  • 1
  • 3
  • 1
    Can you please elaborate? How did you add audio to your scene? Which audio codec did you tried, in conjunction with which video codec? – Polosson Dec 22 '14 at 20:30
  • In addition to what was already asked by Polosson, which player do you use? Have you tried VLC (http://www.videolan.org/vlc/) it would probably best to add a screenshot with all settings. – stacker Dec 22 '14 at 21:30
  • @Polosson So the audio was included with the video clips that I imported into Blender. I didn't import the audio separately from the video.

    Here is a link to some screencaps displaying some of the output/encoding options I tried out (it goes to a deviantart page; just an fyi): http://sta.sh/0pb1dwup78

    – AAC Dec 22 '14 at 21:47
  • OK, but... where did you import that video? in the VSE? in the MCE? as a input node in the compositor? as a background animation in the 3D viewport? Please tell us more about your setup, and add some screenshots if you can. – Polosson Dec 22 '14 at 21:50
  • @Polosson I imported the video using the VSE. As for my setup, I'm not entirely sure what sort of information you need (I'm new to Blender and new to video editing so I'm not sure what kind of information is needed). As to why I'm using Blender for video editing...It's free. – AAC Dec 22 '14 at 22:11
  • When you add a movie with audio in VSE, you should have 2 tracks appearing : a blue for video and a light blue/green for audio – Bithur Mar 15 '15 at 15:31
  • Had the very same issue. I was keying a green screen video in Compositor and was wondering, why my render was void of audio despite having it properly configured in the settings. Loading the raw video (into frame 1 & ff) in VSE and deleting the image strip, then switching back to Compositor solved the issue. It is kind of unintuitive that audio gets lost in anything but the VSE. On the other hand this precisely what the VSE is for and if I used a professional workflow with multiple video and audio strips, I probably would not have even noticed as I would have intuitively used VSE for the final – Tairon Feb 25 '21 at 13:21

4 Answers4

10

Open a Properties Pane.
Scroll down until you see the "Encoding" dropdown tab.
You'll see Audio Codecs. If "None" is selected, there will be no audio.
Here is an example.
Blender example

enter image description here

vklidu
  • 36,165
  • 1
  • 61
  • 135
0

As someone who has some experience with encoding video, I couldn't believe how hard it was to find a solution for this.

What worked for me was:

  1. Add the video as an image texture in the Emission material - basically follow the Olav3D tutotrial.
  2. Open the image using the picture button of the mountain and sun, in UV Editing (not the Open file)
  3. Wrestle with getting the image on to the surface I wanted. This consisted of rotating the image and moving the corners of the UV map to where the image was.
  4. Adjusting the correct frame start and end
  5. Switch on MP3 Audio in the Rendering tab.

This is where I figured it out...

  1. Add the Video Editing menu, by pressing the "+" on the menu bar.
  2. Add the video, and moving the sound and video strips, to start at 0. Just drag and drop.
  3. Delete JUST the video strip, leave the sound strip.
  4. Check the video plays in Render View, adjust cameras etc.
  5. Wonder why no one explained this ever on the internet and post to Stack Exchange.

I hope this works, if not I can post pictures. Good luck.

KK_
  • 48
  • 6
  • because they would get downvoted into oblivion :) you just need to start a new Video Editing file, drop your video in the sequencer, select a video and audio codec and hit render
  • – pevinkinel Sep 18 '20 at 21:39
  • I don't mind deleting this if you think it will lead people astray - especially if there is a nicely documented guide available. – KK_ Sep 18 '20 at 22:07
  • maybe? up to you really. since the question is just about enabling audio (and to be fair that's already been asked and answered multiple times on this site), I doubt many ppl will come across your answer when trying to import video, which is the part of your answer that's convoluted. My comment was just to make your life easier next time you import a video :) – pevinkinel Sep 18 '20 at 22:34