Avidemux Forum

Avidemux => MacOSX => Topic started by: metropical on February 19, 2020, 08:07:56 PM

Title: new soundtrack sync issue
Post by: metropical on February 19, 2020, 08:07:56 PM
I'm trying to replace original audio track (because it's dubbed Russian onto French and not split) that is separate from a film.
The add goes OK, but I can't seem to get the sync right.
Source video is .avi @ 23.975
Source audio is ac3.
When I don't delay, sound is late by :02 (aka 2000ms).
When I delay by :02, sound is still off.
I'm watching the result, pre and post, with Plex.

Is there something I could try or am missing?
Title: Re: new soundtrack sync issue
Post by: eumagga0x2a on February 19, 2020, 08:30:14 PM
First of all, have you tried with the latest nightly? --> https://avidemux.org/nightly/osx_catalina/
Even if the latest macOS nightly is far from being current, a lot of changes have been added since the last release (2.7.4).

What codec does the video use? What container have you specified to mux video and audio into? Unless the video codec is some legacy divx / xvid, please don't use AVI as output container.
Title: Re: new soundtrack sync issue
Post by: metropical on February 19, 2020, 09:37:12 PM
the 2.7.5 nightlys all crash upon launch.
I'm on High Sierra.
Though I assume by Catalina, this means the nightly is, in theory, compatible with Cat; and backwards as well.

codec 4CC is XVID.
I tried MP4, then .avi, then .mkv.
Title: Re: new soundtrack sync issue
Post by: eumagga0x2a on February 19, 2020, 10:02:57 PM
Quote from: metropical on February 19, 2020, 09:37:12 PM
the 2.7.5 nightlys all crash upon launch.

Could you please launch it in Terminal

/Applications/Avidemux_2.7.5.app/Contents/MacOS/Avidemux2.7

and post the error?

QuoteI'm on High Sierra.
Though I assume by Catalina, this means the nightly is, in theory, compatible with Cat; and backwards as well.

It might be backward-compatible, but not sure about it. You could build Avidemux yourself, this is not difficult on macOS. Basically, with Xcode and command line tools installed and Homebrew set up, you do

brew install git cmake nasm yasm qt xvid x264 x265 opus fdk-aac lame mad libass mp4v2 a52dec
git clone https://github.com/mean00/avidemux2.git
cd avidemux2
git submodule update --init --recursive
bash bootStrapOsx_Catalina.bash --with-system-libass --with-system-liba52 --with-system-libmad --with-system-libmp4v2


If the build succeeds, the app should be in the "installer" subdirectory. I assume that the Catalina build script should work on High Sierra as well.

(IMVHO Catalina is really awful, especially for Avidemux testing and development)
Title: Re: new soundtrack sync issue
Post by: metropical on February 19, 2020, 11:00:33 PM
CleanTalk: *** Forbidden. Please enable JavaScript. ***

can't post anymore for some reason.
Title: Re: new soundtrack sync issue
Post by: eumagga0x2a on February 19, 2020, 11:04:22 PM
Please send a personal message then, CleanTalk is very prone for false positives, unfortunately, and completely not tunable for me.

(Clearing browser cache and / or changing IP address helps sometimes).
Title: Re: new soundtrack sync issue
Post by: eumagga0x2a on February 19, 2020, 11:53:15 PM
Quotedyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
  Referenced from: /Applications/Avidemux_2.7.5.app/Contents/MacOS/./../Frameworks/libADM_core6.dylib (which was built for Mac OS X 10.15)

Ah, I see, the compatibility is indeed limited by

https://github.com/mean00/avidemux2/blob/master/bootStrapOsx_Catalina.bash#L49 (https://github.com/mean00/avidemux2/blob/master/bootStrapOsx_Catalina.bash#L49)

to Catalina. I'll check whether a lower value for MACOSX_DEPLOYMENT_TARGET still works on Catalina and if it does, will ask the maintainer to refresh the macOS nightly. This may take a few of days though.
Title: Re: new soundtrack sync issue
Post by: metropical on February 20, 2020, 12:17:10 AM
okey dokes.  I'll check back.
Title: Re: new soundtrack sync issue
Post by: eumagga0x2a on March 13, 2020, 11:18:58 AM
Please try and report back whether the new macOS nightly (200313) is capable of running on High Sierra. It was built with MACOSX_DEPLOYMENT_TARGET set to 10.13 which is High Sierra.

https://avidemux.org/nightly/osx_catalina/

Thank you.
Title: Re: new soundtrack sync issue
Post by: eumagga0x2a on March 13, 2020, 01:10:12 PM
From a PM as CleanTalk is malfunctioning again:

Quote2.7.5 v200313 does launch without issue.

Thanks!
Title: Re: new soundtrack sync issue
Post by: metropical on March 13, 2020, 01:22:12 PM
funny that should drop today.  just checked yesterday.
2.7.5 v200313 does launch without issue.
I will try to use it today.
Thanks
Title: Re: new soundtrack sync issue
Post by: metropical on March 13, 2020, 01:26:50 PM
private didn't change.
but as I use VPN most of the time.
As you prolly know, most of the time those IPs get bumped from many public forums.
Try to remember the exception here.