VideoHelp Forum




+ Reply to Thread
Results 1 to 10 of 10
  1. Hi,

    I was hoping someone could help me.
    I have 4 mkv files I would like to merge into 1 file, but when I try merging it gives me the following error "The track parameters do not match."

    I assume it has something to do with 4th file as its sample rate is 22050Hz, wheres the 3 others are 24000Hz


    So what is the easiest way of getting around this problem?


    Thank you.
    ge0rg
    Quote Quote  
  2. Member Krispy Kritter's Avatar
    Join Date
    Jul 2003
    Location
    St Louis, MO USA
    Search Comp PM
    Are all the files the same length?

    Audio specs shouldn't matter, but all of the files have to be the same length (ie: runtime).
    Google is your Friend
    Quote Quote  
  3. Sorry, merging was probably wrong choice of word.

    I'm using the append files function.
    No all 4 files are different length, I want to make one long movie out of those 4 parts, if that makes more sense?
    Quote Quote  
  4. So what is the easiest way of getting around this problem?
    reencode the audio stream that doesn't match
    users currently on my ignore list: deadrats, Stears555, marcorocchini
    Quote Quote  
  5. Care to explain?, I know very little about encoding.

    Is this the correct way of doing it?
    Code:
    ffmpeg -i part4.mkv -c:v copy -c:a aac -b:a 64k -ar 24000 outputPart4.mkv
    Part3.mkv specs:
    Code:
    Audio
    ID                                       : 2
    Format                                   : AAC
    Format/Info                              : Advanced Audio Codec
    Format profile                           : HE-AAC / LC
    Codec ID                                 : A_AAC
    Duration                                 : 1 h 13 min
    Channel(s)                               : 2 channels
    Channel positions                        : Front: L R
    Sampling rate                            : 48.0 kHz / 24.0 kHz
    Frame rate                               : 23.438 FPS (1024 spf)
    Bitrate (bs)                             : 62.71859 kbps VBR
    Sample size                              : 16-bit
    Compression mode                         : Lossy
    Language                                 : Hungarian
    Default                                  : Yes
    Forced                                   : No
    Quote Quote  
  6. ffmpeg's native aac encoder doesn't encode to HE-AAC. You'd need a binary that has libfdk_aac or use a different software, e.g. qaac:
    ffmpeg -i part4.mkv -vn -f wav - | qaac --he --rate 48000 --no-delay - -o audio4.m4a
    Then mux that audio4.m4a with video of part4.mkv and after that do all the appending.

    https://trac.ffmpeg.org/wiki/Encode/AAC
    Quote Quote  
  7. I get the following error when running that command:
    Code:
    Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
    I have installed Apple Application Support.
    Quote Quote  
  8. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    Originally Posted by ge0rg View Post
    I get the following error when running that command:
    Code:
    Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
    I have installed Apple Application Support.
    Have you right-clicked the installer .EXE and chosen "Run as administrator"
    Quote Quote  
  9. Its a .msi file I took from the iTunes6464Setup.exe archive

    It doesn't give me an option to run it as administrator, when I right click.
    Quote Quote  
  10. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    Ooops, I had completely forgotten it was an .MSI archive

    Anyway, you could give a try to makeportable.zip...

    https://sites.google.com/site/qaacpage/cabinet

    I myself didn't use it though, I preferred to extract the required files with UniExtract — and I even had to edit the M$ .manifest file, IIRC.
    Yes, it happened many moons ago...
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!