VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors. Consider supporting us by disable your adblocker or Try ConvertXtoDVD and convert all your movies to DVD. Free trial ! :)
+ Reply to Thread
Page 2 of 3
FirstFirst 1 2 3 LastLast
Results 31 to 60 of 85
Thread
  1. Member
    Join Date
    Mar 2012
    Location
    United Kingdom
    Search PM
    Originally Posted by neuron2 View Post
    It depends a bit on your audio type. What is the filename (with extension) of the demuxed audio that you would like to use?
    From DGIndex, it's "1 T80 2_0ch 192Kbps DELAY 0ms.ac3" for the Main Audio Track, and "1 T81 2_0ch 192Kbps DELAY 0ms.ac3" for the Commentary track.
    Quote Quote  
  2. Guest34343
    Guest
    OK, you have AC3 audio. No problem!

    Let's try this first and see how it goes:

    Get mplex.exe from here:

    http://neuron2.net/misc/mplex.exe

    Then use that to mux the audio and video. Note that you have to manually type in the full AC3 audio path and filename. You can't browse for it due to a bug. It supports two audio tracks so you can include the commentary track also if you like.

    Check the audio sync in the result. If it is OK you are done. If not then use DelayCut to adjust the sync in the AC3 file and then remux. You may have to experiment with a few different values, so don't overwrite the original audio.

    Maybe you can mux too with tsmuxer. I don't use it so I don't know about that.

    Good luck!
    Last edited by Guest34343; 13th Jun 2014 at 09:13.
    Quote Quote  
  3. Of course, neuron2 is assuming that only those black frames at the start of the first VOB file are interlaced and the entire rest of the movie is soft 3:2 pulldown. If that's not the case you'll get audio sync problems elsewhere.
    Quote Quote  
  4. Member
    Join Date
    Mar 2012
    Location
    United Kingdom
    Search PM
    Originally Posted by neuron2 View Post
    OK, you have AC3 audio. No problem!

    Let's try this first and see how it goes:

    Get mplex.exe from here:

    http://neuron2.net/misc/mplex.exe

    Then use that to mux the audio and video. Note that you have to manually type in the full AC3 audio path and filename. You can't browse for it due to a bug.

    Check the audio sync in the result. If it is OK you are done. If not then use DelayCut to adjust the sync in the AC3 file and then remux. You may have to experiment with a few different values, so don't overwrite the original audio.

    Maybe you can mux too with tsmuxer. I don't use it so I don't know about that. I use a professional tool for all my muxing: Manzanita Muxer. But it costs a lot of $$$.

    Good luck!
    Can you convert the 43fps delay into milliseconds for me? My maths isn't too good The audio is about 1 sec ahead of the video now, when muxed as it is right now, although it appears to get further ahead as the video goes along though :/
    Quote Quote  
  5. Guest34343
    Guest
    As jagabo rightly points out, if the desync grows then it suggests there are other interlaced portions. Your samples were not enough for us to see that.

    If you give me the entire D2V file I'll be able to tell. Then we will go from there. We also will not be able to use Force Film if there are a lot of interlaced parts. Let's see.
    Quote Quote  
  6. Member
    Join Date
    Mar 2012
    Location
    United Kingdom
    Search PM
    Originally Posted by neuron2 View Post
    As jagabo rightly points out, if the desync grows then it suggests there are other interlaced portions. Your samples were not enough for us to see that.

    If you give me the entire D2V file I'll be able to tell. Then we will go from there. We also will not be able to use Force Film if there are a lot of interlaced parts. Let's see.
    Of each individual VOB, or you do you want the D2V from all 4 VOB's combined?
    Last edited by bergqvistjl; 13th Jun 2014 at 12:09.
    Quote Quote  
  7. Guest34343
    Guest
    Seems to me "the entire D2V file" is unambiguous, but yes, the one generated for all 4 VOBs together.
    Quote Quote  
  8. Member
    Join Date
    Mar 2012
    Location
    United Kingdom
    Search PM
    Originally Posted by neuron2 View Post
    Seems to me "the entire D2V file" is unambiguous, but yes, the one generated for all 4 VOBs together.
    OK sorry, check the above post
    Quote Quote  
  9. Guest34343
    Guest
    The only interlaced parts are the start and some frames at the very end. So you must be incorrect about the sync growing.

    That conclusion is supported by this:

    FINISHED 99.70% FILM

    You can compare the video and audio play times. They should be fairly close.
    Last edited by Guest34343; 13th Jun 2014 at 09:36.
    Quote Quote  
  10. Member
    Join Date
    Mar 2012
    Location
    United Kingdom
    Search PM
    Originally Posted by neuron2 View Post
    The only interlaced parts are the start and some frames at the very end. So you must be incorrect about the sync growing.
    OK then. Weird. If the delay is 43 frames, what value do I use for milliseconds in DelayCut then?
    Quote Quote  
  11. Guest34343
    Guest
    Theoretically I suppose this would be close:

    1/5 * 42 * 1/29.97 = 0.280 seconds

    Make sure you get the sign correct in DelayCut to shift the audio the right way. I think you may need a -0.280 to move the audio forward. I can't remember; try it both ways.

    But you said the desync looks like a second, so you may have to experiment. You can use MPC-HC to easily test different values but I'm too lazy to tell you how.
    Last edited by Guest34343; 13th Jun 2014 at 09:53.
    Quote Quote  
  12. Member
    Join Date
    Mar 2012
    Location
    United Kingdom
    Search PM
    Originally Posted by neuron2 View Post
    Theoretically I suppose this would be close:

    1/5 * 42 * 1/29.97 = 0.280 seconds

    But you said the delay looks like a second, so you may have to experiment.

    Make sure you get the sign correct in DelayCut to shift the audio the right way.
    Thanks. I just want to get an exact play time of the video, down to the millisecond, so I can compare it with the audio one. Can't find the right tool.... Gspot doesn't do it down to the milisecond if the video is over an hour -_-
    Quote Quote  
  13. You can use a player like MPCHC to advance or delay the audio during playback (+ or - on the numeric keypad). That will help you determine the correct audio delay.
    Quote Quote  
  14. Member
    Join Date
    Mar 2012
    Location
    United Kingdom
    Search PM
    Argh all I want is to get the length of the video in milliesconds, but no i can't find a tool that'll do that. G-spot is only showing it up to seconds as it's over an hour :/
    Quote Quote  
  15. Guest34343
    Guest
    Use DGIndex Tools/Parse D2V on the D2V file. Go to the bottom of the file and get the running time.

    Running time = 1 hours, 57 minutes, 28.006340 seconds
    Quote Quote  
  16. Guest34343
    Guest
    Originally Posted by jagabo View Post
    You can use a player like MPCHC to advance or delay the audio during playback (+ or - on the numeric keypad). That will help you determine the correct audio delay.
    jagabo is not lazy like me.
    Quote Quote  
  17. Member
    Join Date
    Mar 2012
    Location
    United Kingdom
    Search PM
    Originally Posted by neuron2 View Post
    Originally Posted by jagabo View Post
    You can use a player like MPCHC to advance or delay the audio during playback (+ or - on the numeric keypad). That will help you determine the correct audio delay.
    jagabo is not lazy like me.
    Argh it's still not right. Can you help me out with my calculations?

    The length of the new video file is: 01:34:01.17
    and the length of the original audio track that i need to delay is: 01:33:57.376

    I tried delaying it by 3794ms but it's still wildly out. I swear the delay is extending the further on the video gets :/
    Quote Quote  
  18. Guest34343
    Guest
    You must be doing something wrong. If you like to loan me all the VOBs I will be happy to try to replicate the entire process. In theory things should work fine. I can give you an FTP to upload them.

    Your playing length compared to the time in the D2V file is inexplicable. The D2V shows the time based on the 29.97 rate, but when you remove pulldown and adjust the rate to 23.976 the time sould remain the same. So how do you have much shorter audio compared to the video in the D2V file???
    Quote Quote  
  19. Member
    Join Date
    Mar 2012
    Location
    United Kingdom
    Search PM
    Originally Posted by neuron2 View Post
    You must be doing something wrong to have such a difference from the running time in the D2V file. Are you sure you set 23.976 in both boxes when you ran DGPulldown?

    If you like to loan me all the VOBs I will be happy to try to replicate the entire process. In theory things should work fine. I can give you an FTP to upload them.
    I definitely did that. I would, but my upload spead is 50kbytes a second, it would take an age.

    When playing the DVD in VLC, the Length is 1:33:51. So that's the true length of the film anyway. I don't know where it got the 2 hours bit from... I'm going to start the whole thing again...
    Quote Quote  
  20. Guest34343
    Guest
    OK, the D2V shows things with pulldown honored, so no discrepancy.

    Try the MPCHC trick with fairly large delays somewhere in the middle of the file.

    There's no way the desync can grow theoretically unless you didn't select the right frame rates in DGPulldown.
    Last edited by Guest34343; 13th Jun 2014 at 10:26.
    Quote Quote  
  21. Member
    Join Date
    Mar 2012
    Location
    United Kingdom
    Search PM
    Originally Posted by neuron2 View Post
    OK, the D2V shows things with pulldown honored, so no discrepancy.

    Try the MPCHC trick with fairly large delays somewhere in the middle of the file.
    OK. At the end of the DGIndex, it tells me that a "Field order Transition is detected" and asks me to correct it. Should I?

    Also both framerates in DGPulldown should be 23.976 right:
    This is what i'm using.
    Last edited by bergqvistjl; 13th Jun 2014 at 10:31.
    Quote Quote  
  22. Guest34343
    Guest
    Sorry, we don't need to do that any more, because the discrepancy is explained. See my edit above.
    Quote Quote  
  23. Guest34343
    Guest
    D2V shows video length as 1:34:0.172

    Please try the MPCHC trick somewhere in the middle.
    Last edited by Guest34343; 13th Jun 2014 at 10:52.
    Quote Quote  
  24. Member
    Join Date
    Mar 2012
    Location
    United Kingdom
    Search PM
    Originally Posted by neuron2 View Post
    D2V shows video length as 1:34.172

    Please try the MPCHC trick somewhere in the middle.
    Well check again cos i've uploaded the latest d2v to the same link.

    The length of the two audio tracks are: 01:33:57.376
    Quote Quote  
  25. Guest34343
    Guest
    Originally Posted by bergqvistjl View Post
    Originally Posted by neuron2 View Post
    D2V shows video length as 1:34.172

    Please try the MPCHC trick somewhere in the middle.
    Well check again cos i've uploaded the latest d2v to the same link.
    Not needed because the parsed D2V shows the number of coded frames and I calculated from that.
    Quote Quote  
  26. Member
    Join Date
    Mar 2012
    Location
    United Kingdom
    Search PM
    Originally Posted by neuron2 View Post
    Originally Posted by bergqvistjl View Post
    Originally Posted by neuron2 View Post
    D2V shows video length as 1:34.172

    Please try the MPCHC trick somewhere in the middle.
    Well check again cos i've uploaded the latest d2v to the same link.
    Not needed because the parsed D2V shows the number of frames and I calculated from that.
    Maybe it was cos I didn't mux with MPEG tools? I used Imago MPEG-Muxer. What's the command line to mux the 3 tracks together, Video.m2v, Main.ac3, and Comms.ac3?

    I can confirm that in MPC-HC that the audio delay gets progressively worse (further ahead of the video), the further along the video is.
    Quote Quote  
  27. Guest34343
    Guest
    Don't use Imago Muxer! Use the tool I gave you. It's a GUI app so nice and easy. And you should check the play length of the elementary streams, not on the muxed file. DelayCut will tell you the length of the AC3 file, just open it and read the output. We already know the video length from the D2V file.
    Quote Quote  
  28. Member
    Join Date
    Mar 2012
    Location
    United Kingdom
    Search PM
    Originally Posted by neuron2 View Post
    Don't use Imago muxer! Use the tool I gave you.
    I don't know the command syntax.
    Quote Quote  
  29. Member
    Join Date
    Mar 2012
    Location
    United Kingdom
    Search PM
    OK, i've tried now, it's failing to encode it, saying "too many frame drops"
    Click image for larger version

Name:	Mplex.png
Views:	74
Size:	153.8 KB
ID:	25715
    Quote Quote  
  30. Guest34343
    Guest
    Are you using the GUI app from my site that I linked?

    First try it leaving out the commentary track.
    Quote Quote