Hello,
First I installed the last version you gave me by mail. All results come from this version.
1 - Is the source file "corrupted" or anything coming from the file ?
1 - 1 - I encoded the same source file with avidemux (2.7.8) : the delay can be whatever you want : the result is a mp4 video sync file : the A/V delay was set to 0, and the A/V was fully sync.
(BTW the source file is here :
https://1fichier.com/?vp6nr0twqao89rm9acc6&af=22123 )
1 - 2 - I split the source file to cut it after around 1 min 30 s, since I realized that the sample I provided could not serve as a reliable test. There was not enough video to see.
Here is the new sample :
https://1fichier.com/?1vkirot8ko7jox2ui7q7
The output file encoded with Hybrid is :
https://1fichier.com/?wvkkha9t1xt1p8yv2ouw
The procedure I followed is just above :
- I launch Hybrid
- I drap/dropped the new sample source file in the Base field
- I turned to Custom for the audio
- In Audio : I saw that the Fr audio has a 1000 delay and and the second track (en) has 0 delay
- I reload my parameters for encoding the audio (->Apply the currently selected profile)
- The audio 1st track is selected (Fr) : I put 0 as delay A/V; then I hit the return key (to be sure the 0 is taken)
- I added the track for encoding (I click on the + : -> Add current)
- I returned to the Base and add a name for the video output : -> Set Output File
- Base / Add to queue
- Jobs : Start
Here is a copy/past of the just after putting a 0 delay for the audio track : (point 4)
/Users/Famille/Downloads/The.Suicide.Squad.2021.MULTi.TRUEFRENCH.1080p.WEB.H264.WwW.ZoNe-TelecharGement.CaM (1) (2)-001.mkv;0;aac;6;bitrate;192;FDK;low complexity;48000;3.00;fr;-50;87.104;ac3;0;1;toStereo (dpl2);;false;;false;2;false;;;;false;false;;;false;48000;1;ac-3;;false;true;false;3/2/0.1;1/1;;0;0;;None;54:_:15;10;20;0;1000;;false;;pcm;false;2;;;;;;16;-n;4;GPU;NVIDIA CUDA;;6;false;/Users/Famille/Downloads/The.Suicide.Squad.2021.MULTi.TRUEFRENCH.1080p.WEB.H264.WwW.ZoNe-TelecharGement.CaM (1) (2)-001.mkv;true;false;;;false;2;;;-1;
Here is a copy/past of the MP4Box, after the encoding, so at the end :
I disabled "Jobs->Queue->Minimize job command lines" to look at the created job calls, and especially to the MP4Box call :
MP4Box -add "/Users/Famille/Films-Apple/2021-09-25@16_40_24_6910_04.264"#video:fps=24000/1001:delay=50:name="":lang="" -brand avc1 -add "/Users/Famille/Films-Apple/iId_2_aid_0_lang_fr_ms_2021-09-25@16_40_24_6910_02.aac"#audio:name="":lang="fr" -mpeg4 -itags tool="Hybrid 2021.09.24.1" -tmp "/Users/Famille/Films-Apple" -new "/Users/Famille/Films-Apple/_2021-09-25@16_40_24_6910__06.mp4"
See the result file around 1min 20 s. No sync between the audio track and the video... There is exactly 1s delay. See that with either VLC nor SMplayer.
NB : to split the file, I used MKVToolNix.
NB2 : previously, when I encoded the wall source file with 0 delay, I used MKVToolNix to sync the result file, and to produce another mp4 sync file (with a 1000 delay with ToolNix).
2 - Hydrid tests
I used another source file, with just one audio track, and without delay (0).
The procedure I used is the following :
- I cleared all jobs in Hybrid (Jobs : Remove All)
- I drag/dropped the new source file
- The audio was already set to Custom
- The encoding parameters were set too. I clicked on Add current
- I returned to Base : I put a name for the output video
- Then I clecked on Add to queue
- I went to Audio : click on Clear
- I set 1000 in the field A/V Delay, hit the return key
- I clicked on the Add Current
- I returned to Base : I put another name for the video output
- I clicked on Add to Queue
- Jobs : Start
- I disabled "Jobs->Queue->Minimize job command lines" to look at the created job calls, and especially to the MP4Box call
For the 1st job : (delay 0)
MP4Box -add "/Users/Famille/Films-Apple/2021-09-25@19_11_07_6910_04.264"#video:fps=25:delay=50:name="":lang="" -brand avc1 -add "/Users/Famille/Films-Apple/iId_2_aid_0_ms_2021-09-25@19_11_07_6910_02.aac"#audio:name="":lang="" -mpeg4 -itags tool="Hybrid 2021.09.24.1" -tmp "/Users/Famille/Films-Apple" -new "/Users/Famille/Films-Apple/_2021-09-25@19_11_07_6910__06.mp4"
For the 2nd job : (delay 1000)
MP4Box -add "/Users/Famille/Films-Apple/2021-09-25@19_11_51_5210_04.264"#video:fps=25:name="":lang="" -brand avc1 -add "/Users/Famille/Films-Apple/iId_3_aid_0_DELAY_950ms_2021-09-25@19_11_51_5210_02.aac"#audio:delay=950:name="":lang="" -mpeg4 -itags tool="Hybrid 2021.09.24.1" -tmp "/Users/Famille/Films-Apple" -new "/Users/Famille/Films-Apple/_2021-09-25@19_11_51_5210__05.mp4"
The 1st video is sync, of course.
The 2nd video is correct too !!
Hope this helps for you to see whats wrong.
BR,