VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. Member
    Join Date
    Jun 2009
    Location
    Germany
    Search Comp PM
    Hi...

    First: I searched this forum and i googled a lot but didn't find an answer for my problem. Perhaps anybody could help me here?

    I tried to join five mp4-files (same codec, same resolution, etc.) with mp4-box. I used the recent release 0.4.5 and the 0.4.6 beta.
    I tried to join the files with the command mp4box -cat 1.mp4 -cat 2.mp4 ... -cat 5.mp4 output.mp4
    While processing mp4box spits out, that no suitable destination track was found. but it does this twice, so the output-file hast 1 great videostream and one small which both play at the same time as i try to play the file.
    here is what mp4box says while joining these files:
    Code:
    D:\>mp4box -cat 4-1.mp4 -cat 4-2.mp4 -cat 4-3.mp4 -cat 4-4.mp4 -cat 4-5.mp4 output.mp4
    Appending file 4-1.mp4
    No suitable destination track found - creating new one (type soun)
    No suitable destination track found - creating new one (type vide)
    Appending file 4-2.mp4
    No suitable destination track found - creating new one (type vide)
    Appending file 4-3.mp4
    Appending file 4-4.mp4
    Appending file 4-5.mp4
    Saving to output.mp4: 0.500 secs Interleaving
    When I play the output.mp4 e.g. in vlc-player two windows are opening themselves and start a different playback.

    Here is what mediainfo spit out:
    Code:
    General
    Complete name                    : D:\output.mp4
    Format                           : MPEG-4
    Format profile                   : Base Media
    Codec ID                         : isom
    File size                        : 728 MiB
    Duration                         : 47mn 51s
    Overall bit rate                 : 2 128 Kbps
    Encoded date                     : UTC 2009-06-10 11:26:21
    Tagged date                      : UTC 2009-06-10 11:26:21
    
    Video #1
    ID                               : 2
    Format                           : AVC
    Format/Info                      : Advanced Video Codec
    Format profile                   : High@L3.1
    Format settings, CABAC           : Yes
    Format settings, ReFrames        : 3 frames
    Codec ID                         : avc1
    Codec ID/Info                    : Advanced Video Coding
    Duration                         : 28mn 9s
    Bit rate mode                    : Variable
    Bit rate                         : 2 001 Kbps
    Maximum bit rate                 : 5 681 Kbps
    Width                            : 1 280 pixels
    Height                           : 720 pixels
    Display aspect ratio             : 16/9
    Frame rate mode                  : Constant
    Frame rate                       : 23.976 fps
    Resolution                       : 24 bits
    Colorimetry                      : 4:2:0
    Scan type                        : Progressive
    Bits/(Pixel*Frame)               : 0.091
    Stream size                      : 403 MiB (55%)
    Encoded date                     : UTC 2009-03-15 00:57:06
    Tagged date                      : UTC 2009-06-10 11:30:09
    
    Video #2
    ID                               : 3
    Format                           : AVC
    Format/Info                      : Advanced Video Codec
    Format profile                   : High@L3.1
    Format settings, CABAC           : Yes
    Format settings, ReFrames        : 3 frames
    Codec ID                         : avc1
    Codec ID/Info                    : Advanced Video Coding
    Duration                         : 19mn 40s
    Bit rate mode                    : Variable
    Bit rate                         : 2 000 Kbps
    Maximum bit rate                 : 6 455 Kbps
    Width                            : 1 280 pixels
    Height                           : 720 pixels
    Display aspect ratio             : 16/9
    Frame rate mode                  : Constant
    Frame rate                       : 23.976 fps
    Resolution                       : 24 bits
    Colorimetry                      : 4:2:0
    Scan type                        : Progressive
    Bits/(Pixel*Frame)               : 0.091
    Stream size                      : 281 MiB (39%)
    Encoded date                     : UTC 2009-03-15 00:05:59
    Tagged date                      : UTC 2009-06-10 11:30:09
    
    Audio
    ID                               : 1
    Format                           : AAC
    Format/Info                      : Advanced Audio Codec
    Format version                   : Version 4
    Format profile                   : LC
    Format settings, SBR             : No
    Codec ID                         : 40
    Duration                         : 47mn 51s
    Bit rate mode                    : Variable
    Bit rate                         : 126 Kbps
    Maximum bit rate                 : 148 Kbps
    Channel(s)                       : 2 channels
    Channel positions                : L R
    Sampling rate                    : 44.1 KHz
    Resolution                       : 16 bits
    Stream size                      : 43.0 MiB (6%)
    Encoded date                     : UTC 2009-03-15 00:57:05
    Tagged date                      : UTC 2009-06-10 11:30:09
    Now my question:
    How can i join these 5 files with having _one_ videostream in the end?
    By the way: I tried these commands (mp4box -cat 1.mp4...) with other files and there it worked

    Greetings and thx for your help,

    Obc
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    If you use a mp4box gui like yamb do you get similar result?

    I have not tried joined using mp4box yet so I'm not sure how it works.
    Quote Quote  
  3. Member
    Join Date
    Jun 2009
    Location
    Germany
    Search Comp PM
    Yes, sorry... Didn't mention this in my first post.

    I tried it then with Yamb... Same Problem. I got two videostreams :/
    Quote Quote  
  4. mp4box -add 1.mp4#1:fps=23.976 -cat 1.mp4#2 -cat 2.mp4#1:fps=23.976 -cat 2.mp4#2 ..... -new output.mp4

    You could also try appending with avidemux
    Quote Quote  
  5. Member
    Join Date
    Jun 2009
    Location
    Germany
    Search Comp PM
    Thank you for your suggestion but it doesn't work...

    Code:
    D:\>mp4box -add 1.mp4#1:fps=23.976 -cat 1.mp4#2 -cat 2.mp4#1:fps=23.976 -cat 2.mp4#2 -cat 3.mp4#1:fps=23.976 -cat 3.mp4#2 -cat 4.mp4#1:fps=23.976 -cat 4.mp4#2 -cat 5.mp4#1:fps=23.976 -cat 5.mp4#2 -new output.mp4
    IsoMedia import - track ID 1 - Audio (SR 44100 - 2 channels)
    IsoMedia import - track ID 2 - Video (size 1280 x 720)
    Appending file 1.mp4#2
    No suitable destination track found - creating new one (type vide)
    IsoMedia import - track ID 1 - Audio (SR 44100 - 2 channels)
    Appending file 2.mp4#1:fps=23.976
    IsoMedia import - track ID 2 - Video (size 1280 x 720)
    Appending file 2.mp4#2
    No suitable destination track found - creating new one (type vide)
    IsoMedia import - track ID 1 - Audio (SR 44100 - 2 channels)
    Appending file 3.mp4#1:fps=23.976
    IsoMedia import - track ID 2 - Video (size 1280 x 720)
    Appending file 3.mp4#2
    IsoMedia import - track ID 1 - Audio (SR 44100 - 2 channels)
    Appending file 4.mp4#1:fps=23.976
    IsoMedia import - track ID 2 - Video (size 1280 x 720)
    Appending file 4.mp4#2
    IsoMedia import - track ID 1 - Audio (SR 44100 - 2 channels)
    Appending file 5.mp4#1:fps=23.976
    IsoMedia import - track ID 2 - Video (size 1280 x 720)
    Appending file 5.mp4#2
    Converting to ISMA Audio-Video MP4 file...
    [ISMA convert] More than one video track found, cannot convert file - remove ext
    ra track(s)
    
            Error: Feature Not Supported
    Again the two video tracks...

    I'm gonna have a look at Avidemux...
    Quote Quote  



Similar Threads

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