Hi Mahmoud,
thanks for the files, they are just perfect samples for playing with this.
Unfortunately in my first try, i don't see the audio being shifted
My method is to first extract the audios from the files and save them to wav, e.g. this command:
ffmpeg -i "C:\Users\meme\Downloads\input_30 sec.mov" -vn "C:\Users\meme\Downloads\input.wav"
Then i compare the 2 wav files using audacity. What i see this way is perfect alignement.
- inputvsoutput.png (176.55 KiB) Viewed 9415 times
Also, when using some player that shows me the VU, i see exactly the same VU power in both files when i compare frame by frame. The thing that both of my measuring methods have in common is that it is always ffmpeg libraries that do the decoding.
Are you using different tools for measuring or are you using always the same tool (Permiere?)? ...different decoders might show different behaviour when decoding, especially when using delivery formats like mp4/mov/h264/aac.