Menu

#35 Failed...

2.0
accepted
NtAlex
None
2020-09-02
2019-10-08
Ninko
No

Hi,
First time user...

I'm trying to join two mp4 files, but a few seconds after starting it just
says Failed.

I don't understand, can someone help please?

Thanks

Discussion

  • NtAlex

    NtAlex - 2019-10-09

    Please specify an log file in MP4Joiner options and then post it here

     
  • Ninko

    Ninko - 2019-10-10

    File attached.

     
  • NtAlex

    NtAlex - 2019-10-11

    Unfortunatelly log file doesn't contain any additial information about error.
    Try to execute the first line from log file in cmd (copy it from log file and paste in cmd).

     
  • Ninko

    Ninko - 2019-10-13

    Doing that gave me:

    [iso file] Unknown box type gmhd
    [iso file] Unknown box type gmin
    [ISO file] dataReferenceIndex set to 0 in sample entry, overriding to 1

     
  • NtAlex

    NtAlex - 2019-10-13

    Is that all? No error message something like "Error appending ...: Bad Parameter"?

     
  • Ninko

    Ninko - 2019-10-14

    That was everything, I can take a screenshot if that would help?
    Is there any other info I can help you with?

     
  • NtAlex

    NtAlex - 2019-10-14

    Please post output from following command:
    "C:\Program Files (x86)\MP4Tools\bin\ffmpeg" -i "S:\Users\Clint\Videos\1.mp4"

     
  • Ninko

    Ninko - 2019-10-21

    That gave me the following...

    ffmpeg version 4.0.2 Copyright (c) 2000-2018 the FFmpeg developers
    built with gcc 7.3.1 (GCC) 20180722
    configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
    libavutil 56. 14.100 / 56. 14.100
    libavcodec 58. 18.100 / 58. 18.100
    libavformat 58. 12.100 / 58. 12.100
    libavdevice 58. 3.100 / 58. 3.100
    libavfilter 7. 16.100 / 7. 16.100
    libswscale 5. 1.100 / 5. 1.100
    libswresample 3. 1.100 / 3. 1.100
    libpostproc 55. 1.100 / 55. 1.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'S:\Users\Clint\Videos\1.mp4':
    Metadata:
    major_brand : mp42
    minor_version : 512
    compatible_brands: isomiso2avc1mp41
    creation_time : 2019-10-05T17:00:57.000000Z
    encoder : HandBrake 1.2.2 2019022300
    Duration: 01:50:20.31, start: 0.000000, bitrate: 1849 kb/s
    Chapter #0:0: start 0.000000, end 227.720000
    Metadata:
    title : Chapter 1
    Chapter #0:1: start 227.720000, end 440.520000
    Metadata:
    title : Chapter 2
    Chapter #0:2: start 440.520000, end 596.760000
    Metadata:
    title : Chapter 3
    Chapter #0:3: start 596.760000, end 909.280000
    Metadata:
    title : Chapter 4
    Chapter #0:4: start 909.280000, end 1049.760000
    Metadata:
    title : Chapter 5
    Chapter #0:5: start 1049.760000, end 1256.000000
    Metadata:
    title : Chapter 6
    Chapter #0:6: start 1256.000000, end 1450.040000
    Metadata:
    title : Chapter 7
    Chapter #0:7: start 1450.040000, end 1561.840000
    Metadata:
    title : Chapter 8
    Chapter #0:8: start 1561.840000, end 1773.840000
    Metadata:
    title : Chapter 9
    Chapter #0:9: start 1773.840000, end 2093.840000
    Metadata:
    title : Chapter 10
    Chapter #0:10: start 2093.840000, end 2389.400000
    Metadata:
    title : Chapter 11
    Chapter #0:11: start 2389.400000, end 2527.920000
    Metadata:
    title : Chapter 12
    Chapter #0:12: start 2527.920000, end 2639.880000
    Metadata:
    title : Chapter 13
    Chapter #0:13: start 2639.880000, end 2747.640000
    Metadata:
    title : Chapter 14
    Chapter #0:14: start 2747.640000, end 2947.000000
    Metadata:
    title : Chapter 15
    Chapter #0:15: start 2947.000000, end 3078.200000
    Metadata:
    title : Chapter 16
    Chapter #0:16: start 3078.200000, end 3176.800000
    Metadata:
    title : Chapter 17
    Chapter #0:17: start 3176.800000, end 3486.800000
    Metadata:
    title : Chapter 18
    Chapter #0:18: start 3486.800000, end 3752.680000
    Metadata:
    title : Chapter 19
    Chapter #0:19: start 3752.680000, end 3934.600000
    Metadata:
    title : Chapter 20
    Chapter #0:20: start 3934.600000, end 4267.520000
    Metadata:
    title : Chapter 21
    Chapter #0:21: start 4267.520000, end 4384.560000
    Metadata:
    title : Chapter 22
    Chapter #0:22: start 4384.560000, end 4704.120000
    Metadata:
    title : Chapter 23
    Chapter #0:23: start 4704.120000, end 4840.240000
    Metadata:
    title : Chapter 24
    Chapter #0:24: start 4840.240000, end 5039.040000
    Metadata:
    title : Chapter 25
    Chapter #0:25: start 5039.040000, end 5212.880000
    Metadata:
    title : Chapter 26
    Chapter #0:26: start 5212.880000, end 5374.600000
    Metadata:
    title : Chapter 27
    Chapter #0:27: start 5374.600000, end 5558.840000
    Metadata:
    title : Chapter 28
    Chapter #0:28: start 5558.840000, end 5761.040000
    Metadata:
    title : Chapter 29
    Chapter #0:29: start 5761.040000, end 6003.240000
    Metadata:
    title : Chapter 30
    Chapter #0:30: start 6003.240000, end 6214.360000
    Metadata:
    title : Chapter 31
    Chapter #0:31: start 6214.360000, end 6480.640000
    Metadata:
    title : Chapter 32
    Chapter #0:32: start 6480.640000, end 6620.240000
    Metadata:
    title : Chapter 33
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/bt470bg/bt709), 720x576 [SAR 64:45 DAR 16:9], 1297 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc (default)
    Metadata:
    creation_time : 2019-10-05T17:00:57.000000Z
    handler_name : VideoHandler
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 160 kb/s (default)
    Metadata:
    creation_time : 2019-10-05T17:00:57.000000Z
    handler_name : SoundHandler
    Stream #0:2(eng): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 384 kb/s
    Metadata:
    creation_time : 2019-10-05T17:00:57.000000Z
    handler_name : SoundHandler
    Side data:
    audio service type: main
    Stream #0:3(eng): Data: bin_data (text / 0x74786574)
    Metadata:
    creation_time : 2019-10-05T17:00:57.000000Z
    handler_name : SubtitleHandler
    At least one output file must be specified

     
  • Ninko

    Ninko - 2019-11-03

    Any ideas?

    Thanks

     
  • NtAlex

    NtAlex - 2019-11-03

    Your Video file have 4 streams: 1 video, 2 audio and 1 subtitle.
    It seams that MP4Joiner has a problem by joining the subtitle streams.
    So you need to disable fourth stream.
    Try to add -rem 4 to the "MP4Box Parameters" in Options.

     
  • NtAlex

    NtAlex - 2019-11-03
    • status: open --> accepted
     
  • Ninko

    Ninko - 2019-11-03

    I'll try that shortly, thanks!
    Is this something you might consider fixing/adding in an update?
    Thanks again

     
  • NtAlex

    NtAlex - 2019-11-03

    yes, if it works, I will change MP4Joiner so that the subtitle streams will be disabled automaticaly.

     
  • Ninko

    Ninko - 2019-11-05

    OK, I did what you said, but it still fails!

     
  • NtAlex

    NtAlex - 2019-11-05

    Try to execute from command line:
    "C:\Program Files (x86)\MP4Tools\bin\MP4Box" -cat "S:\Users\Clint\Videos\1.mp4" -rem 4 -cat "S:\Users\Clint\Videos\2.mp4" -rem 4 "S:\Users\Clint\Videos\Output.mp4"

     
  • Ninko

    Ninko - 2019-11-08

    That gave me:
    [iso file] Unknown box type gmhd
    [iso file] Unknown box type gmin
    [ISO file] dataReferenceIndex set to 0 in sample entry, overriding to 1

     
  • NtAlex

    NtAlex - 2019-11-08

    please try -rem 3 instead of -rem 4 in command

     
  • Ninko

    Ninko - 2019-11-08

    Same thing:
    [iso file] Unknown box type gmhd
    [iso file] Unknown box type gmin
    [ISO file] dataReferenceIndex set to 0 in sample entry, overriding to 1

     
  • Ninko

    Ninko - 2019-11-15

    Any thoughts?

     
  • Vico Koby

    Vico Koby - 2020-09-02

    Although it is a bit late, this happened to me because of the chapters. I had to remove them with a third party tool and then I was able to do the merge.

     

Log in to post a comment.

MongoDB Logo MongoDB