This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

No A/V/ delay taken into account
#21
(23.09.2021, 20:48)Selur Wrote: What does "Base->Show All Data" report about the file, I supect that the file is correctly analysed, but there is a small bug/typo in Hybrid, but I need a sample to reproduce and debug this.

Quote:Do you have any idea to overcome this problem ?
Once I can reproduce it, I can fix it.

Cu Selur

What can I do for you ?

Frédéric
Reply
#22
Click here and get full info about audio:
[Image: yUcyHox.jpg]
Reply
#23
(24.09.2021, 10:19)shijan Wrote: Click here and get full info about audio:
[Image: yUcyHox.jpg]

Here is a screen capture of the output.


Attached Files Thumbnail(s)
   
Reply
#24
Input is properly analysed.
-> I need a sample of the source, which allows to reproduce the problem.

Cu Selur
Reply
#25
(24.09.2021, 15:22)Selur Wrote: Input is properly analysed.
-> I need a sample of the source, which allows to reproduce the problem.

Cu Selur


Here is a sample of the source file. As mentioned, a 1000 delay is written witin the file, but no delay has to be taken into account for a proper sync A/V mp4 file.

https://1fichier.com/?l5dbybabp2s4utmw0spd
Reply
#26
What I did:
  • 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)
    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;
    -> delay looks corret (1000)
  • 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)
    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;
    -> delay looks correct (0)
  • 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)
    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;
    -> delay looks correct (957 = 1000 - encoder delay)
  • 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)
    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;
    -> delay looks correct (-43 = 0 - encoder delay)
  • 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.
I then copied the MP4Box muxing call and split it up to better see what happend with the delays:
(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"
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
Reply
#27
(24.09.2021, 17:44)Selur Wrote: What I did:
  • 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)
    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;
    -> delay looks corret (1000)
  • 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)
    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;
    -> delay looks correct (0)
  • 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)
    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;
    -> delay looks correct (957 = 1000 - encoder delay)
  • 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)
    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;
    -> delay looks correct (-43 = 0 - encoder delay)
  • 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.
I then copied the MP4Box muxing call and split it up to better see what happend with the delays:
(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"
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


OK, and what about the film, you can display with SMplayer ? Is the audio sync with the video ? Especially when the ball is touching the groundfloor (about 45-50 s) ?
I will do all those lines, as you did them. And will come back later.

BR
Reply
#28
Quote:OK, and what about the film, you can display with SMplayer ? Is the audio sync with the video ? Especially when the ball is touching the groundfloor (about 45-50 s) ?
I looked at the file with MPC-HC (on Windows).
Both streams of the input clip are synch here.
Clip produced the way I wrote above (+ I set video to passthrough, to not having to reencode the video) also is sync for all four audio streams.
Haven't used SMPlayer for ages.

Quote:I will do all those lines, as you did them. And will come back later.
Remember to properly write down what you do exactly.

Cu Selur

Ps.: Please do not do full quotes of posts, since it is really annoying to having to scroll to all the previously posted content.
Reply
#29
I found one thing that 'broke' in one of the last few releases and that is that changing the audio title in the Base-tab, did not change the audio title in the Audio-Tab. May be that is related to your issue.
I suspect I broke this when I change fixed some issues with batch handling, not sure whether this broke that again, we will see.
Will compile a dev version and send you a link via pm. (send link)

Cu Selur
Reply
#30
(24.09.2021, 20:40)Selur Wrote: I found one thing that 'broke' in one of the last few releases and that is that changing the audio title in the Base-tab, did not change the audio title in the Audio-Tab. May be that is related to your issue.
I suspect I broke this when I change fixed some issues with batch handling, not sure whether this broke that again, we will see.
Will compile a dev version and send you a link via pm. (send link)

Cu Selur

Many thanks in advance.
Waiting for that dev version.
I'll continue to see what is wrong whether in the file (with other encoders) nor in my procedure.
BR
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)