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
Results 1 to 4 of 4
Thread
  1. Member
    Join Date
    Apr 2018
    Location
    Madrid, Spain
    Search Comp PM
    Hi all,

    I´m newbie in this kind of things and don´t know where to post my question so, here we go...

    I would like to extract the audio of a .avi file to be included in a .mkv file where the video has more quality... . I´m using a PC with Windows 10 by the way.

    I´ve been playing with AVI-MUX extracting the audio track of the avi file in .mka extension and later I´ve included in the .mkv file using MKV Toolnix...

    But when I´ve finish to multiplex it... the audio is phased out with the image. OK. That problem (I think) comes from the fact that audio is sincronized with the avi file at 30 FPS and the video of the .mkv file is at 23,9... FPS.

    So my question is... how could solve this problem to include the audio that I want in the video of that .mkv?

    Keep waiting your comments/suggestions...

    Thanks a lot!
    Quote Quote  
  2. Member
    Join Date
    Apr 2018
    Location
    Madrid, Spain
    Search Comp PM
    OK... I´ve made some research in this forum and I´ve found this thread about that.

    I would like to be more specific now:

    I have two sources:
    1. mkv file from a DVD source with the audio in my language (spanish)
    2. mkv file from a Bluray source where I want to include it

    This is the Media Info of the DVD source:
    Code:
    General
    Unique ID                                : 61817178999111384784210726115873031491 (0x2E818E3C89011D0DBE55FC986AC28543)
    Complete name                            : C:\Mis Videos\Batman Beyond The Movie (1999) MPEG-480p AC3-6ch.mkv
    Format                                   : Matroska
    Format version                           : Version 4
    File size                                : 2,79 GiB
    Duration                                 : 1 h 13 min
    Overall bit rate mode                    : Variable
    Overall bit rate                         : 5 402 kb/s
    Encoded date                             : UTC 2019-05-23 18:39:04
    Writing application                      : mkvmerge v30.1.0 ('Forever And More') 64-bit
    Writing library                          : libebml v1.3.6 + libmatroska v1.4.9
    
    Vídeo
    ID                                       : 1
    Format                                   : MPEG Video
    Format version                           : Version 2
    Format profile                           : Main@Main
    Format settings                          : CustomMatrix / BVOP
    Format settings, BVOP                    : Sí
    Format settings, Matrix                  : Personlizado
    Format settings, GOP                     : M=3, N=12
    Codec ID                                 : V_MPEG2
    Codec ID/Info                            : MPEG 1 or 2 Video
    Duration                                 : 1 h 13 min
    Bit rate mode                            : Variable
    Bit rate                                 : 4 627 kb/s
    Maximum bit rate                         : 7 500 kb/s
    Width                                    : 720 píxeles
    Height                                   : 480 píxeles
    Display aspect ratio                     : 4:3
    Frame rate mode                          : Variable
    Frame rate                               : 24,216 FPS
    Original frame rate                      : 23,976 (24000/1001) FPS
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progresivo
    Scan order                               : 2:3 Pulldown
    Compression mode                         : Con pérdida
    Bits/(Pixel*Frame)                       : 0.553
    Time code of first frame                 : 00:59:58:00
    Time code source                         : Group of pictures header
    GOP, Open/Closed                         : Abierto
    GOP, Open/Closed of first frame          : Cerrado
    Stream size                              : 2,39 GiB (86%)
    Language                                 : Inglés
    Default                                  : No
    Forced                                   : No
    
    Audio #1
    ID                                       : 2
    Format                                   : AC-3
    Format/Info                              : Audio Coding 3
    Commercial name                          : Dolby Digital
    Codec ID                                 : A_AC3
    Duration                                 : 1 h 13 min
    Bit rate mode                            : Constante
    Bit rate                                 : 192 kb/s
    Channel(s)                               : 2 canales
    Channel layout                           : L R
    Sampling rate                            : 48,0 kHz
    Frame rate                               : 31,250 FPS (1536 SPF)
    Bit depth                                : 16 bits
    Compression mode                         : Con pérdida
    Delay relative to video                  : 33 ms
    Stream size                              : 102 MiB (4%)
    Title                                    : Español AC-3 Stereo
    Language                                 : Español
    Service kind                             : Complete Main
    Default                                  : Sí
    Forced                                   : No
    
    Audio #2
    ID                                       : 3
    Format                                   : AC-3
    Format/Info                              : Audio Coding 3
    Commercial name                          : Dolby Digital
    Codec ID                                 : A_AC3
    Duration                                 : 1 h 13 min
    Bit rate mode                            : Constante
    Bit rate                                 : 384 kb/s
    Channel(s)                               : 6 canales
    Channel layout                           : L R C LFE Ls Rs
    Sampling rate                            : 48,0 kHz
    Frame rate                               : 31,250 FPS (1536 SPF)
    Bit depth                                : 16 bits
    Compression mode                         : Con pérdida
    Delay relative to video                  : 1 ms
    Stream size                              : 203 MiB (7%)
    Title                                    : Inglés AC-3 5.1
    Language                                 : Inglés
    Service kind                             : Complete Main
    Default                                  : No
    Forced                                   : No
    
    Audio #3
    ID                                       : 4
    Format                                   : AC-3
    Format/Info                              : Audio Coding 3
    Commercial name                          : Dolby Digital
    Codec ID                                 : A_AC3
    Duration                                 : 1 h 13 min
    Bit rate mode                            : Constante
    Bit rate                                 : 192 kb/s
    Channel(s)                               : 2 canales
    Channel layout                           : L R
    Sampling rate                            : 48,0 kHz
    Frame rate                               : 31,250 FPS (1536 SPF)
    Bit depth                                : 16 bits
    Compression mode                         : Con pérdida
    Delay relative to video                  : 1 ms
    Stream size                              : 102 MiB (4%)
    Title                                    : Comentarios del director
    Language                                 : Inglés
    Service kind                             : Complete Main
    Default                                  : No
    Forced                                   : No
    And this the Media Info of the Bluray source:
    Code:
    General
    Unique ID                                : 193797947706420513961095446527791928984 (0x91CC208752948BA4BFD77A97B1191698)
    Complete name                            : C:\Mis Videos\untouchables-batman.beyond.return.of.the.joker.2000.1080p.mkv
    Format                                   : Matroska
    Format version                           : Version 2
    File size                                : 6.56 GiB
    Duration                                 : 1 h 16 min
    Overall bit rate                         : 12.2 Mb/s
    Encoded date                             : UTC 2011-04-22 12:53:05
    Writing application                      : mkvmerge v4.5.0 ('Speed of Light') built on Feb  1 2011 02:10:32
    Writing library                          : libebml v1.2.0 + libmatroska v1.1.0
    
    Video
    ID                                       : 1
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : High@L4.1
    Format settings                          : CABAC / 4 Ref Frames
    Format settings, CABAC                   : Yes
    Format settings, Reference frames        : 4 frames
    Codec ID                                 : V_MPEG4/ISO/AVC
    Duration                                 : 1 h 16 min
    Bit rate                                 : 10.7 Mb/s
    Width                                    : 1 440 pixels
    Height                                   : 1 080 pixels
    Display aspect ratio                     : 4:3
    Frame rate mode                          : Constant
    Frame rate                               : 23.976 (24000/1001) FPS
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Bits/(Pixel*Frame)                       : 0.288
    Stream size                              : 5.62 GiB (86%)
    Writing library                          : x264 core 115 r1936 7a9e08d
    Encoding settings                        : cabac=1 / ref=4 / deblock=1:-1:-1 / analyse=0x3:0x112 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=10725 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
    Language                                 : English
    Default                                  : Yes
    Forced                                   : No
    
    Audio
    ID                                       : 2
    Format                                   : DTS
    Format/Info                              : Digital Theater Systems
    Codec ID                                 : A_DTS
    Duration                                 : 1 h 16 min
    Bit rate mode                            : Constant
    Bit rate                                 : 1 509 kb/s
    Channel(s)                               : 6 channels
    Channel layout                           : C L R Ls Rs LFE
    Sampling rate                            : 48.0 kHz
    Frame rate                               : 93.750 FPS (512 SPF)
    Bit depth                                : 24 bits
    Compression mode                         : Lossy
    Stream size                              : 829 MiB (12%)
    Language                                 : English
    Default                                  : Yes
    Forced                                   : No
    I suposed that since the FPS are different... are different also the duration of both movies:

    DVD:
    Duration : 1 h 13 min
    Frame rate mode : Variable
    Frame rate : 24,216 FPS
    Original frame rate : 23,976 (24000/1001) FPS
    BR:
    Duration : 1 h 16 min
    Frame rate mode : Constant
    Frame rate : 23.976 (24000/1001) FPS
    Having this, I´ve read from the thread that I linked before that I have to demux the audio from the DVD source with Eac3to.
    Convert the dvd audio from 25fps to 23,976 fps. You can use eac3to to convert the audio. Eac3to -slowdown (convert 25.000 and 24.000 content to 23.976 fps)
    OK, I´ve installed Eac3to and the GUI to do that. This is the configuration entered:

    Click image for larger version

Name:	Eac3to_config.PNG
Views:	16
Size:	124.2 KB
ID:	49590

    After that, I multiplexed both files .mkv (HD version) and audio file in MKVToolnix in this way:

    Click image for larger version

Name:	mkvtoolnix_config.PNG
Views:	11
Size:	113.2 KB
ID:	49591

    But, when I play the file I´m still having sync issues and I´m not able to synchornize it with the video using VLC (Tools -> Track Synchronization) and adjusting it.

    I´m missing something?
    Quote Quote  
  3. The screenshot shows: -24.000 -changeTo23.976
    Try to set it so that it shows: -25.000 -changeTo23.976

    Either way it's not guaranteed the movies are the same cut (cinema version, director's cut, state censorship etc.).


    Did you try to mux them together without the eac3to step? Maybe they don't need any audio conversion at all or only some constant delay. We cannot be sure from the MediaInfo.
    Last edited by sneaker; 20th Jul 2019 at 07:47.
    Quote Quote  
  4. Member
    Join Date
    Apr 2018
    Location
    Madrid, Spain
    Search Comp PM
    Originally Posted by sneaker View Post
    The screenshot shows: -24.000 -changeTo23.976

    Either way it's not guaranteed the movies are the same cut (cinema version, director's cut, state censorship etc.).
    @sneaker you are totally right...

    I´ve started to watch both movies at the same time and I´ve found some fight scene at minute 8 in the HD version that I haven´t in the DVD version. After that, I´ve searched in Internet and I´ve found that exist an UNCUT version of this movie which is the source of the HD version.

    My most honestly apologize for don´t check it out this before. Thanks a lot for your time and help... Appreciate it.

    Best regards
    Quote Quote  



Similar Threads