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
#33
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 :

  1. I launch Hybrid
  2. I drap/dropped the new sample source file in the Base field
  3. I turned to Custom for the audio
  4. In Audio : I saw that the Fr audio has a 1000 delay and and the second track (en) has 0 delay
  5. I reload my parameters for encoding the audio (->Apply the currently selected profile)
  6. 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)
  7. I added the track for encoding (I click on the + : -> Add current)
  8. I returned to the Base and add a name for the video output : -> Set Output File
  9. Base / Add to queue
  10. 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 :
  1. I cleared all jobs in Hybrid (Jobs : Remove All)
  2. I drag/dropped the new source file
  3. The audio was already set to Custom
  4. The encoding parameters were set too. I clicked on Add current
  5. I returned to Base : I put a name for the output video
  6. Then I clecked on Add to queue
  7. I went to Audio : click on Clear
  8. I set 1000 in the field A/V Delay, hit the return key
  9. I clicked on the Add Current
  10. I returned to Base : I put another name for the video output
  11. I clicked on Add to Queue
  12. Jobs : Start
  13. 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,
Reply


Messages In This Thread
RE: No A/V/ delay taken into account - by frederic - 25.09.2021, 20:00

Forum Jump:


Users browsing this thread: 6 Guest(s)