24.09.2021, 17:44
What I did:
(Note that since mp4 does not support negative delays all stream delays get adjusted by the most negative delay.)
All the delays have been properly adjusted.
-> Sadly I have to say I still can't reproduce the issue you describe.
=> Please write a detailed step-by-step list of what you did and write what happens (just like I just did).
You must be doing something differently then I am.
Cu Selur
- Started Hybrid
- Loaded the file.
- Looked at the delay audio data of first track (Base->Audio->A/V delay) and it showed 1000.
- Switched 'Base->Processing->Audio' to 'custom'.
- Switched tp the second audio track (by setting 'Base->Stream Selection->Audio' from '1 - fr' to '2 - en'
- Looked at the delay audio data of the second track (Base->Audio->A/V delay) and it showed 0.
- Added the first audio track to the audio queue (Audio->Base->Add current)
-> delay looks corret (1000)C:\Users\Selur\Desktop\The.Suicide.Squad.2021.MULTi.TRUEFRENCH.1080p.WEB.H264.WwW.ZoNe-TelecharGement.CaM (1) (1)-001.mkv;0;ac3;6;passthrough;384;;;48000;;fr;1000;51.072;ac3;0;1;don't change;;false;;false;2;false;;;;true;false;;;false;48000;1;ac-3;;false;true;false;3/2/0.1;1/1;;;;;None;;;;;;;;;pcm;false;1;;;;;;;;;;;;6;false;C:\Users\Selur\Desktop\The.Suicide.Squad.2021.MULTi.TRUEFRENCH.1080p.WEB.H264.WwW.ZoNe-TelecharGement.CaM (1) (1)-001.mkv;true;false;;;false;6;;;-1;
- Switched to the second audio track (by settings 'Audio->Base->Audio Source->Track' rom '1 - fr' to '2 - en')
- Added the second audio track to the audio queue (Audio->Base->Add current)
-> delay looks correct (0)C:\Users\Selur\Desktop\The.Suicide.Squad.2021.MULTi.TRUEFRENCH.1080p.WEB.H264.WwW.ZoNe-TelecharGement.CaM (1) (1)-001.mkv;1;e-ac-3;6;passthrough;768;;;48000;;en;0;52.064;eac3;1;2;don't change;;false;;false;2;false;;;;false;false;;;false;48000;2;e-ac-3;;false;true;false;3/2/0.1;1/1;;;;;None;;;;;;;;;pcm;false;2;;;;;;;;;;;;6;false;C:\Users\Selur\Desktop\The.Suicide.Squad.2021.MULTi.TRUEFRENCH.1080p.WEB.H264.WwW.ZoNe-TelecharGement.CaM (1) (1)-001.mkv;true;false;;;false;6;;JOC;-1;
- Switched to the first audio track (by settings 'Audio->Base->Audio Source->Track' from '2 - en' to '1 - fr')
- Enabled 'Audio->Base->Audio Encoding Options'
- Added the first audio track to the audio queue (Audio->Base->Add current)
-> delay looks correct (957 = 1000 - encoder delay)C:\Users\Selur\Desktop\The.Suicide.Squad.2021.MULTi.TRUEFRENCH.1080p.WEB.H264.WwW.ZoNe-TelecharGement.CaM (1) (1)-001.mkv;0;aac;6;bitrate;128;faac;auto;48000;0.00;fr;957;51.072;ac3;0;1;don't change;;false;;false;2;false;;;;false;false;;;false;48000;1;ac-3;;false;true;false;3/2/0.1;1/1;;1000;0;;None;54:_:15;10;20;0;1000;;false;;pcm;false;4;;;;;2.72;16;-n;4;GPU;NVIDIA CUDA;;6;false;C:\Users\Selur\Desktop\The.Suicide.Squad.2021.MULTi.TRUEFRENCH.1080p.WEB.H264.WwW.ZoNe-TelecharGement.CaM (1) (1)-001.mkv;true;false;;;false;6;;;-1;
- Switched to the second audio track (by settings 'Audio->Base->Audio Source->Track' rom '1 - fr' to '2 - en')
- Added the second audio track to the audio queue (Audio->Base->Add current)
-> delay looks correct (-43 = 0 - encoder delay)C:\Users\Selur\Desktop\The.Suicide.Squad.2021.MULTi.TRUEFRENCH.1080p.WEB.H264.WwW.ZoNe-TelecharGement.CaM (1) (1)-001.mkv;1;aac;6;bitrate;128;faac;auto;48000;0.00;en;-43;52.064;eac3;1;2;don't change;;false;;false;2;false;;;;false;false;;;false;48000;2;e-ac-3;;false;true;false;3/2/0.1;1/1;;0;0;;None;54:_:15;10;20;0;1000;;false;;pcm;false;5;;;;;2.72;16;-n;4;GPU;NVIDIA CUDA;;6;false;C:\Users\Selur\Desktop\The.Suicide.Squad.2021.MULTi.TRUEFRENCH.1080p.WEB.H264.WwW.ZoNe-TelecharGement.CaM (1) (1)-001.mkv;true;false;;;false;6;;JOC;-1;
- I then sat an .mp4 output file (Base->Output file) and let Hybrid create a job (Base->Add to queue).
- Then I disabled "Jobs->Queue->Minimize job command lines" to look at the created job calls.
(Note that since mp4 does not support negative delays all stream delays get adjusted by the most negative delay.)
MP4Box
-add "E:\Temp\2021-09-24@17_40_17_1310_10.264"#video:fps=24000/1001:delay=43:name="":lang="" -brand avc1
-add "E:\Temp\iId_1_aid_0_lang_fr___DELAY_1043ms_2021-09-24@17_40_17_1310_01.ac3"#audio:delay=1043:name="":lang="fr"
-add "E:\Temp\iId_2_aid_1_lang_en_2021-09-24@17_40_17_1310_02_DELAY_43ms.eac3"#audio:delay=43:name="":lang="en"
-add "E:\Temp\iId_4_aid_0_lang_fr___DELAY_1000ms_2021-09-24@17_40_17_1310_04.aac"#audio:delay=1000:name="":lang="fr"
-mpeg4 -add "E:\Temp\iId_5_aid_1_lang_en_ms_2021-09-24@17_40_17_1310_07.aac"#audio:name="":lang="en"
-mpeg4 -itags tool="Hybrid 2021.09.23.1" -tmp "E:\Temp" -new "E:\Output\2021-09-24@17_40_17_1310__16.mp4"
-> Sadly I have to say I still can't reproduce the issue you describe.
=> Please write a detailed step-by-step list of what you did and write what happens (just like I just did).
You must be doing something differently then I am.
Cu Selur