# Why is the animation off timing when I export it?

**URL:** <https://discuss.pencil2d.org/t/why-is-the-animation-off-timing-when-i-export-it/5931>\
**Category:** Bug Reports\
**Created:** [5 October 2021 19:45 UTC](https://discuss.pencil2d.org/t/why-is-the-animation-off-timing-when-i-export-it/5931 "2021-10-05T19:45:37Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![razzy](https://discuss.pencil2d.org/user_avatar/discuss.pencil2d.org/razzy/32/1196_2.png) [@razzy](https://discuss.pencil2d.org/u/razzy)\
**Post date:** [5 October 2021 19:45 UTC](https://discuss.pencil2d.org/t/why-is-the-animation-off-timing-when-i-export-it/5931/1 "2021-10-05T19:45:37Z")

</div>

Not sure if this is a bug specifically or not.

When I export an animation with audio it ends up SUPER off timing. The audio starts 3 seconds into the animation and it doesn’t line up with the frames at all. The audios I use are typically MP3 and I use 4 fps for an animatic effect. Help!!

Edit: I forgot to mention but the way I make it on timing is by going into an editing program and adding the audio I wanted, then muting the animation. Is there a way to get it on timing straight from Pencil2d?

---

<div class="post-metadata">

**Author:** ![MatticsAnimations](https://discuss.pencil2d.org/letter_avatar_proxy/v4/letter/m/41988e/32.png) [@MatticsAnimations](https://discuss.pencil2d.org/u/MatticsAnimations)\
**Post date:** [9 October 2021 02:51 UTC](https://discuss.pencil2d.org/t/why-is-the-animation-off-timing-when-i-export-it/5931/2 "2021-10-09T02:51:02Z")

</div>

If the timing of the animation is slower than what you want, put the fps up one and export it. if the timing is faster than what you want put the fps down one and export it. So for example:

Too fast: Make it 3 fps Too slow: Make it 5 fps

---

<div class="post-metadata">

**Author:** ![MatticsAnimations](https://discuss.pencil2d.org/letter_avatar_proxy/v4/letter/m/41988e/32.png) [@MatticsAnimations](https://discuss.pencil2d.org/u/MatticsAnimations)\
**Post date:** [9 October 2021 02:52 UTC](https://discuss.pencil2d.org/t/why-is-the-animation-off-timing-when-i-export-it/5931/3 "2021-10-09T02:52:59Z")

</div>

by the way, for your edit… pencil2d doesnt accept mp3 files. convert your mp3 file into a wav file and then import it into pencil2d and it should work… just speaking from experience

---

<div class="post-metadata">

**Author:** ![JoseMoreno](https://discuss.pencil2d.org/user_avatar/discuss.pencil2d.org/josemoreno/32/7_2.png) [@JoseMoreno](https://discuss.pencil2d.org/u/JoseMoreno)\
**Post date:** [10 October 2021 01:16 UTC](https://discuss.pencil2d.org/t/why-is-the-animation-off-timing-when-i-export-it/5931/4 "2021-10-10T01:16:56Z")

</div>

@razzy Hey sorry didn’t see this before, sigh 😩 this is actually a problem with perception on playback. Sound is accurately represented while doing sound scrubbing, but playback will lag the more layers and frames you have. Pencil2D is missing a preview mode, so you’re advised to export quick previews at smaller resolutions (use the output size in the movie export window) so you can preview the full animation, and use the sound scrubbing feature to preview short bursts of animation.

There’s more info here under known issues: [[Guide] How to import sound into Pencil2D](https://discuss.pencil2d.org/t/guide-how-to-import-sound-into-pencil2d/5203)

---

<div class="post-metadata">

**Author:** ![razzy](https://discuss.pencil2d.org/user_avatar/discuss.pencil2d.org/razzy/32/1196_2.png) [@razzy](https://discuss.pencil2d.org/u/razzy)\
**Post date:** [10 October 2021 05:30 UTC](https://discuss.pencil2d.org/t/why-is-the-animation-off-timing-when-i-export-it/5931/5 "2021-10-10T05:30:18Z")

</div>

That’s weird, cause it always exported with MP3. But I’ll try wav.

---

<div class="post-metadata">

**Author:** ![razzy](https://discuss.pencil2d.org/user_avatar/discuss.pencil2d.org/razzy/32/1196_2.png) [@razzy](https://discuss.pencil2d.org/u/razzy)\
**Post date:** [10 October 2021 05:31 UTC](https://discuss.pencil2d.org/t/why-is-the-animation-off-timing-when-i-export-it/5931/6 "2021-10-10T05:31:44Z")

</div>

Alright. Will you guys be adding a preview mode to fix this? Not trying to be pushy, just asking!

---

<div class="post-metadata">

**Author:** ![MatticsAnimations](https://discuss.pencil2d.org/letter_avatar_proxy/v4/letter/m/41988e/32.png) [@MatticsAnimations](https://discuss.pencil2d.org/u/MatticsAnimations)\
**Post date:** [10 October 2021 16:01 UTC](https://discuss.pencil2d.org/t/why-is-the-animation-off-timing-when-i-export-it/5931/7 "2021-10-10T16:01:32Z")

</div>

Pencil2d only accepts wav format audio. I figured this out way back when i started with the program, it’s not that hard… if you have an mp3 just convert it here:

[https://cloudconvert.com/mp3-to-wav](https://cloudconvert.com/mp3-to-wav)

---

<div class="post-metadata">

**Author:** ![razzy](https://discuss.pencil2d.org/user_avatar/discuss.pencil2d.org/razzy/32/1196_2.png) [@razzy](https://discuss.pencil2d.org/u/razzy)\
**Post date:** [10 October 2021 17:16 UTC](https://discuss.pencil2d.org/t/why-is-the-animation-off-timing-when-i-export-it/5931/8 "2021-10-10T17:16:12Z")

</div>

I am well aware how to convert a file. I was just asking, thanks.

---

<div class="post-metadata">

**Author:** ![scribblemaniac](https://discuss.pencil2d.org/letter_avatar_proxy/v4/letter/s/e5b9ba/32.png) [@scribblemaniac](https://discuss.pencil2d.org/u/scribblemaniac)\
**Post date:** [10 October 2021 18:56 UTC](https://discuss.pencil2d.org/t/why-is-the-animation-off-timing-when-i-export-it/5931/9 "2021-10-10T18:56:10Z")

</div>

@MatticsAnimations The latest stable release of Pencil2D (v0.6.6), does support importing mp3 and a variety of other formats in the same way described in @JoseMoreno’s link. Certain mp3s are encoded with a codec that Pencil2D cannot recognize, so _sometimes_ an mp3 may not work and you will need to convert it to a wav, but in that case, the sound will not play in Pencil2D at all. It is for this reason, and a few other known issues, that we recommend using wavs, but they are not the only format supported.

---

<div class="post-metadata">

**Author:** ![JoseMoreno](https://discuss.pencil2d.org/user_avatar/discuss.pencil2d.org/josemoreno/32/7_2.png) [@JoseMoreno](https://discuss.pencil2d.org/u/JoseMoreno)\
**Post date:** [10 October 2021 20:25 UTC](https://discuss.pencil2d.org/t/why-is-the-animation-off-timing-when-i-export-it/5931/10 "2021-10-10T20:25:28Z")

</div>

@razzy It’s been requested and is part of the roadmap, but AFAIK it’s not an easy feature to implement with the state of the codebase right now.

This means we will have to wait for most of the existing tasks that are being done and those that are queued before developers can tackle this.

---

<div class="post-metadata">

**Author:** ![razzy](https://discuss.pencil2d.org/user_avatar/discuss.pencil2d.org/razzy/32/1196_2.png) [@razzy](https://discuss.pencil2d.org/u/razzy)\
**Post date:** [11 October 2021 05:15 UTC](https://discuss.pencil2d.org/t/why-is-the-animation-off-timing-when-i-export-it/5931/11 "2021-10-11T05:15:55Z")

</div>

Alrighty then. Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://discuss.pencil2d.org/uploads/default/original/2X/b/be472d9d9c3e92d2432da03a00b781a7f15bc51b.png) [@system](https://discuss.pencil2d.org/u/system)\
**Post date:** [22 November 2021 05:16 UTC](https://discuss.pencil2d.org/t/why-is-the-animation-off-timing-when-i-export-it/5931/12 "2021-11-22T05:16:28Z")

</div>

Closed on 22 November 2021 05:16 UTC

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