# VideoExport: movie duration not matching up with mp3

**URL:** <https://discourse.processing.org/t/videoexport-movie-duration-not-matching-up-with-mp3/17259>\
**Category:** Libraries\
**Created:** [January 22, 2020, 7:45pm UTC](https://discourse.processing.org/t/videoexport-movie-duration-not-matching-up-with-mp3/17259 "2020-01-22T19:45:54Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [October 11, 2025, 4:19pm UTC](https://discourse.processing.org/t/videoexport-movie-duration-not-matching-up-with-mp3/17259/11 "2025-10-11T16:19:20Z")

</div>

> [@Chrisir](#):
>
> I also read this: [https://superuser.com/questions/982342/in-ffmpeg-how-to-delay-only-the-audio-of-a-mp4-video-without-converting-the-au](https://superuser.com/questions/982342/in-ffmpeg-how-to-delay-only-the-audio-of-a-mp4-video-without-converting-the-au)
> 
> (Addition: I just realized that this discussion might in fact be helpful, with the ffmpeg parameter -itsoffset)

I elaborated here on a related topic of yours:

> [@Movie Maker: Time gap between movie and its audio file](https://discourse.processing.org/t/movie-maker-time-gap-between-movie-and-its-audio-file/46748/4):
>
> Elaborating on my previous post: I used Movie Maker II with a current version of FFmpeg to create the movie and add an audio file. The frames came from the sketch I shared earlier: The sketch displays frameCount and changes the background from yellow to red at the 10-second mark for a video that is 30 fps. I used the following command line to offset the audio that was added by 10 seconds which then synced and started with frame 300: D:\Users\GLV\Documents\P4\saveFrame\_sync\_1\_0…

This exploration helped me develop custom solutions for my personal projects.

It may be helpful for the community.

`:)`

---

_[View the full topic](https://discourse.processing.org/t/videoexport-movie-duration-not-matching-up-with-mp3/17259)._
