Trying to convert a .MKV to .DIVX Issues

I'm trying to convert a .MKV file into a .DIVX format because the device I'm using requires a .DIVX container. I am using the DivX Plus Converter (free version) and when I convert it the sound is out of sync. I think this is because the .MKV file is 25.253 FPS and the converted .DIVX is 29 FPS. When I convert a 29 FPS .MKV to a 29 FPS .DIVX the video works fine. Is there way to convert a 25 fps .mkv to a 29 fps .divx without having the sound out of sync?
ITSysTechSenior Systems AdministratorAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David FavorLinux/LXD/WordPress/Hosting SavantCommented:
There different types of DIVX streams. covers all three.

First you start with your device + determine which of the three stream types your devices supports, then pick the type of stream you'd like to encode.

If a client asked me to do this, I'd use ffmpeg, as ffmpeg can handle all three stream types.

With ffmpeg, looks like the lowest common denominator (DIVX which will work on any device) is covered here... which looks to use a native ffmpeg codec... meaning any recent ffmpeg build will transcode DIVX videos natively... no requirement for additional libraries to be built or installed.

As for out of sync audio/video, this is typical for random versions of video transcoders.

Try ffmpeg + is you still have desync issues, usually this will fix most desyncs...

ffmpeg -fflags +genpts -async 1 ...

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ITSysTechSenior Systems AdministratorAuthor Commented:
Thanks that was just what I was looking for.
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
You're welcome.

I must say, ffmpeg is one of the most highly used projects ever developed.

Most transcode programs use ffmpeg libraries, whether they mention they do or not.

If you stick with latest ffmpeg, likely you can handle any type of transcode project which arises.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
video conversion

From novice to tech pro — start learning today.