Audio not sync after encode.

Questions and answers on how to get the most out of FFAStrans
Mahmoud Rady
Posts: 29
Joined: Tue Sep 17, 2019 10:49 am

Re: Audio not sync after encode.

Post by Mahmoud Rady »

Thanks again for your help on this. The main reason for the transcoding process is watermarking the clip, the output clip “H264 or custom ffmpeg” will be used to be a reference clip to create a dubbed audio track.

The dubbed wav should be synced to the same picture. But it’s always shifted because the reference Clip is not matching the original clip
I’m Using premiere and Avid protools.
emcodem
Posts: 1811
Joined: Wed Sep 19, 2018 8:11 am

Re: Audio not sync after encode.

Post by emcodem »

Ok, i am summoning @momocampo here, i am sure he has a premiere installation to reproduce the issue for me :-)
Anyway, it looks like this behaves differently depending on what "decoder" or software you are using. Are the guys that do the dubbing also working with Protools or something else like FAB?
emcodem, wrapping since 2009 you got the rhyme?
emcodem
Posts: 1811
Joined: Wed Sep 19, 2018 8:11 am

Re: Audio not sync after encode.

Post by emcodem »

@momocampo checked your uploaded mov and mp4 files in Avid MCP and Premiere, the tracks are 100% sync.
Are yu sure you uploaded the correct files, so files where you see the audio glitch?

premiere.png
premiere.png (23.35 KiB) Viewed 9276 times
avid_mc.png
avid_mc.png (49.81 KiB) Viewed 9276 times
emcodem, wrapping since 2009 you got the rhyme?
Mahmoud Rady
Posts: 29
Joined: Tue Sep 17, 2019 10:49 am

Re: Audio not sync after encode.

Post by Mahmoud Rady »

take a closer look at the first second of the file.
zoomed 1 sec.PNG
zoomed 1 sec.PNG (58.33 KiB) Viewed 9273 times
for zooming;
Show audio time units.png
Show audio time units.png (31.08 KiB) Viewed 9273 times
emcodem
Posts: 1811
Joined: Wed Sep 19, 2018 8:11 am

Re: Audio not sync after encode.

Post by emcodem »

Great, using your instructions, we were able to reproduce and see what you see.
Now i need some time to experiment with your files. By now i believe it is not the Audio you want to work with as the output file seems to have longer video than the input file. If it is like that and ffmpeg does "create" video that did not exist before, the cleanest solution would be to just prevent this.
Maybe you can work with the ffmpeg switch -shortest or such but i'll need to investigate.
Another shot in the dark is that the issue comes from the original input file having somehow variable frame rate in it, but i did not yet understand what it means when mediainfo says this line:
FrameRate_Mode_Original : VFR

Stay tuned...
emcodem, wrapping since 2009 you got the rhyme?
emcodem
Posts: 1811
Joined: Wed Sep 19, 2018 8:11 am

Re: Audio not sync after encode.

Post by emcodem »

Mahmoud Rady wrote: Tue Jun 02, 2020 10:11 am
Dear Mahmoud,
i'll need more help from you to reproduce everything in detail, can you please export and upload your workflow json here?
emcodem, wrapping since 2009 you got the rhyme?
Mahmoud Rady
Posts: 29
Joined: Tue Sep 17, 2019 10:49 am

Re: Audio not sync after encode.

Post by Mahmoud Rady »

emcodem wrote: Wed Jun 03, 2020 9:27 am
Mahmoud Rady wrote: Tue Jun 02, 2020 10:11 am
Dear Mahmoud,
i'll need more help from you to reproduce everything in detail, can you please export and upload your workflow json here?
Attached
~20190912115930.json
(10.03 KiB) Downloaded 437 times
emcodem
Posts: 1811
Joined: Wed Sep 19, 2018 8:11 am

Re: Audio not sync after encode.

Post by emcodem »

Mahmoud Rady wrote: Wed Jun 03, 2020 10:15 am
Thanks Mahmoud but unfortunately this json dont work, i was not aware that you are using an older version of ffastrans.
I'd need the .ini file for the workflow, you find it in the ffastrans root folder /Workflows
emcodem, wrapping since 2009 you got the rhyme?
Mahmoud Rady
Posts: 29
Joined: Tue Sep 17, 2019 10:49 am

Re: Audio not sync after encode.

Post by Mahmoud Rady »

emcodem wrote: Wed Jun 03, 2020 10:45 am
Mahmoud Rady wrote: Wed Jun 03, 2020 10:15 am
Thanks Mahmoud but unfortunately this json dont work, i was not aware that you are using an older version of ffastrans.
I'd need the .ini file for the workflow, you find it in the ffastrans root folder /Workflows
Here you go :)
20190912115930.ini
(14.32 KiB) Downloaded 431 times
emcodem
Posts: 1811
Joined: Wed Sep 19, 2018 8:11 am

Re: Audio not sync after encode.

Post by emcodem »

Dear Mahmoud,
unfortunately i am really still having problems reproducing your issue. I see 2 options:
1) you try if the issue still exists when you are using the newest ffastrans version (download 1.0 and also the latest patch!)
2) you upload your full ffastrans directory containing your full version for me: https://drive.google.com/drive/folders/ ... sp=sharing
emcodem, wrapping since 2009 you got the rhyme?
Post Reply