How to export animation with sound?

I have been trying to export an animation with some audio in it, but when i play it it doesn’t play the sound. Am i doing something wrong or does the program not support exporting video with audio?

@Nasko Hi. Let me ask you a few key questions:

  1. Are you using Windows 10 by any chance?
  2. If you go to Pencil2D’s Help > About menu, can you use the copy to clipboard button and paste the info here? This will also relay the Pencil2D version to us, so devs can review the problem.
  3. Does the file play in the editor only?
  4. Are you using any custom file player or the default one? e.g Windows Media Player, if you can please try out downloading VLC (http://videolan.org) as it could happen that you don’t have the necessary codecs to reproduce the videos exported from Pencil2D and this player is compatible with most files out there (plus it’s free)
  5. What is the audio filetype you’re using? Is it WAV? or is it MP3? If it’s MP3 know that depending on the origin of said file (particualrly if it was ripped from an album or downloaded off the web)
  • There might be conflicts with patents since all the components Pencil2D use are licensed for free use, as such these kinds of components are not compatible, legally speaking, with copyrighted codecs.
  • In this case the easiest way to fix the problem is to download the free audio editor Audacity (https://www.audacityteam.org/download/windows/) and re-encode the MP3 with the L.A.M.E codec (this comes enabled by default when you export MP3’s)
  1. Can you share the audio file that is causing you trouble so we can inspect it and try it out ourselves?

Hello

  1. Yes, i am using windows 10.

  2. Version: 0.6.4 Operating System: Windows 10 (10.0) CPU Architecture: x86_64

  3. Yes.

  4. I’m using the default media player for windows 10. I tried playing the video from the VLC player but still no audio playing back.

  5. I am using the .MP3 file type, it is downloaded off the web. And i am not sure if i need to re-encode it.

  6. https://www.youtube.com/watch?v=37-paiEz0mQ

@Nasko To re-encode it use the Audacity editor I linked in the previous post, you simply have to open the sound file and then go to File > Export > Export as MP3

Try this guide for that https://manual.audacityteam.org/man/mp3_export_options.html

On the other hand, it’s also possible Windows 10 is blocking Pencil2D components during video export. If possible please take a look at this guide to lessen the instances where Windows10 will totally mess up your work:

Okay, thank you for the help!

@Nasko No problem, let us know if anything works for you. As a last resort you may need to export only the video and use a video editor to finalize the sound editing, but just in case here’s a list of free video editors you can try to complement your work:

Free / Open-Source Video Editors

Open-Source

Free

p.s. I’ll try to test the sound file, but sof ar it’s giving me warnings for viruses off that youtube link in the description. Better be careful yourself and scan your computer for viruses later. Cheers.

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

Imprint