VideoHelp Forum




+ Reply to Thread
Results 1 to 13 of 13
  1. Member
    Join Date
    Jan 2010
    Location
    Italy
    Search Comp PM
    Hi,
    I've used successfully,in the past, used Yamb to replace an audio track in my photocamera's mp4 videos.

    These videos are h.264/mpeg-4 avc 720p 30fps.


    My problem now, is to join two pieces of different mp4 videos without reenconding.


    If I do this with Yamb, it doesn't work (VLC open two windows and play the 2 videos at same time)

    I've tried with AviDEmux with no success.



    My goal is to append a video that I've created(same specs of the camera) to one of my photocamera.
    I don't care about the audio, I need just the videos (if is possible to have both I will not complain )



    Can someone please try and help me?


    Here are the videos:

    1. The one I created http://www.mediafire.com/?jfqjm4onlyi
    2. A small clip from my camera. http://www.mediafire.com/?zxw4qcmmdgf


    Try to join the 1 to the 2 and (also I have tried to join 2 to the 2) but the results were always the same: two windows in VLC.



    Ideas?
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Have you tried join with yamb 1.6? not the latest beta version.
    Quote Quote  
  3. Member
    Join Date
    Jan 2010
    Location
    Italy
    Search Comp PM
    Originally Posted by Baldrick
    Have you tried join with yamb 1.6? not the latest beta version.
    Tried now, it always popup with a windows saying mp4box has crashed.... etc....
    Quote Quote  
  4. Member
    Join Date
    Jan 2010
    Location
    Italy
    Search Comp PM
    I've tried from command line as well (with Mp4Box)

    and with version 0.4.6 mp4box crashes...., with 0.4.5 it creates the joined file but the second video is not visible.
    Quote Quote  
  5. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    post mediainfo tree outputs of both files
    Read my blog here.
    Quote Quote  
  6. Member
    Join Date
    Jan 2010
    Location
    Italy
    Search Comp PM
    Originally Posted by guns1inger
    post mediainfo tree outputs of both files
    Ok first file http://www.mediafire.com/?jfqjm4onlyi



    Code:
    General
    Complete name                    : C:\Documents and Settings\iOme\Desktop\estragon.mp4
    Format                           : MPEG-4
    Format profile                   : Base Media / Version 2
    Codec ID                         : mp42
    File size                        : 3.84 MiB
    Duration                         : 5s 0ms
    Overall bit rate                 : 6 438 Kbps
    Encoded date                     : UTC 2010-01-23 11:18:59
    Tagged date                      : UTC 2010-01-23 11:18:59
    
    Video
    ID                               : 2
    Format                           : AVC
    Format/Info                      : Advanced Video Codec
    Format profile                   : Baseline@L3.1
    Format settings, CABAC           : No
    Format settings, ReFrames        : 2 frames
    Muxing mode                      : Container profile=Unknown@0.0
    Codec ID                         : avc1
    Codec ID/Info                    : Advanced Video Coding
    Duration                         : 5s 0ms
    Bit rate mode                    : Variable
    Bit rate                         : 6 306 Kbps
    Width                            : 1 280 pixels
    Height                           : 720 pixels
    Display aspect ratio             : 16:9
    Frame rate mode                  : Constant
    Frame rate                       : 30.000 fps
    Original frame rate              : 60.000 fps
    Resolution                       : 8 bits
    Colorimetry                      : 4:2:0
    Scan type                        : Progressive
    Bits/(Pixel*Frame)               : 0.228
    Stream size                      : 3.76 MiB (98%)
    Language                         : English
    Encoded date                     : UTC 2010-01-23 11:18:59
    Tagged date                      : UTC 2010-01-23 11:18:59
    
    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                         : 4s 969ms
    Bit rate mode                    : Constant
    Bit rate                         : 128 Kbps
    Channel(s)                       : 2 channels
    Channel positions                : L R
    Sampling rate                    : 44.1 KHz
    Stream size                      : 77.6 KiB (2%)
    Language                         : English
    Encoded date                     : UTC 2010-01-23 11:18:59
    Tagged date                      : UTC 2010-01-23 11:18:59

    second file http://www.mediafire.com/?zxw4qcmmdgf


    Code:
    General
    Complete name                    : C:\Documents and Settings\iOme\Desktop\SDC14011.MP4
    Format                           : MPEG-4
    Format profile                   : Sony PSP
    Codec ID                         : MSNV
    File size                        : 12.5 MiB
    Duration                         : 10s 533ms
    Overall bit rate                 : 9 929 Kbps
    Encoded date                     : UTC 2010-01-23 15:23:20
    Tagged date                      : UTC 2010-01-23 15:23:20
    
    Video
    ID                               : 1
    Format                           : AVC
    Format/Info                      : Advanced Video Codec
    Format profile                   : Main@L4.0
    Format settings, CABAC           : Yes
    Format settings, ReFrames        : 1 frame
    Codec ID                         : avc1
    Codec ID/Info                    : Advanced Video Coding
    Duration                         : 10s 533ms
    Bit rate mode                    : Variable
    Bit rate                         : 9 796 Kbps
    Width                            : 1 280 pixels
    Height                           : 720 pixels
    Display aspect ratio             : 16:9
    Frame rate mode                  : Constant
    Frame rate                       : 30.000 fps
    Resolution                       : 8 bits
    Colorimetry                      : 4:2:0
    Scan type                        : Progressive
    Bits/(Pixel*Frame)               : 0.354
    Stream size                      : 12.3 MiB (99%)
    Language                         : Japanese
    Encoded date                     : UTC 2010-01-23 15:23:20
    Tagged date                      : UTC 2010-01-23 15:23:20
    
    Audio
    ID                               : 2
    Format                           : AAC
    Format/Info                      : Advanced Audio Codec
    Format version                   : Version 4
    Format profile                   : LC
    Format settings, SBR             : Yes
    Format settings, PS              : No
    Codec ID                         : 40
    Duration                         : 10s 495ms
    Bit rate mode                    : Constant
    Bit rate                         : 128 Kbps
    Channel(s)                       : 2 channels
    Channel positions                : L R
    Sampling rate                    : 44.1 KHz
    Stream size                      : 164 KiB (1%)
    Language                         : Japanese
    Encoded date                     : UTC 2010-01-23 15:23:20
    Tagged date                      : UTC 2010-01-23 15:23:20
    Quote Quote  
  7. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    You could try AVI Demux for joining.

    The only thing that looks odd is that the first file has a framerate of 30 fps, but an original framerate of 60 fps (does this mean interlaced 60i footage ?) and the second clip says only 30 fps (which may imply progressive).
    Read my blog here.
    Quote Quote  
  8. Member
    Join Date
    Jan 2010
    Location
    Italy
    Search Comp PM
    Originally Posted by guns1inger
    You could try AVI Demux for joining.

    The only thing that looks odd is that the first file has a framerate of 30 fps, but an original framerate of 60 fps (does this mean interlaced 60i footage ?) and the second clip says only 30 fps (which may imply progressive).

    I've already tried, but please download the files and try with your PC... maybe is mine that have something wrong.
    Quote Quote  
  9. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    AVI Demux produced an unplayable file. I also tried TSMuxer, which happily loaded the second file, but would not read the streams in the first.

    Going over the specs again I notice that the first file has been encoded to Baseline level 3.1 profile with no CABAC, while the file from the camera is Main profile 4.0 with CABAC. This may also be part of the issue. When I re-encoded the first file to better match the specs of the second, I could at least get tsmuxer and yamb to open the files without complaint, and attempt to process them.

    Neither resulted in a successful join, but it seems to indicate that the problem lies in the encoding settings of the first file not being close enough to the settings of the camera file to allow for a simple join.
    Read my blog here.
    Quote Quote  
  10. Member
    Join Date
    Jan 2010
    Location
    Italy
    Search Comp PM
    Originally Posted by guns1inger
    AVI Demux produced an unplayable file. I also tried TSMuxer, which happily loaded the second file, but would not read the streams in the first.

    Going over the specs again I notice that the first file has been encoded to Baseline level 3.1 profile with no CABAC, while the file from the camera is Main profile 4.0 with CABAC. This may also be part of the issue. When I re-encoded the first file to better match the specs of the second, I could at least get tsmuxer and yamb to open the files without complaint, and attempt to process them.

    Neither resulted in a successful join, but it seems to indicate that the problem lies in the encoding settings of the first file not being close enough to the settings of the camera file to allow for a simple join.

    Ok thanks the first file is the one that I can recreate without problems, I have Sony Vegas 9 I will try to create different versions... the only thing that I don't know how to change is the "Main Profile" because I've use Sony Mp4 codec and I didn't find this option.


    So:

    - Do you have any success converting the first file, (to closer specs of the second?)


    Please help me....
    Quote Quote  
  11. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    I used Xvid4PSP, and set the profile to 4.0 to match the camera output, and used an encoding setting with CABAC turned on. That got me a closer match in mediainfo that you have, but I still could not get the files to join. After conversion I could at least get TSMuxer to recognise both files. It would not recognise your original first file.
    Read my blog here.
    Quote Quote  
  12. Member
    Join Date
    Jan 2010
    Location
    Italy
    Search Comp PM
    Originally Posted by guns1inger
    I used Xvid4PSP, and set the profile to 4.0 to match the camera output, and used an encoding setting with CABAC turned on. That got me a closer match in mediainfo that you have, but I still could not get the files to join. After conversion I could at least get TSMuxer to recognise both files. It would not recognise your original first file.

    Ok so you're saying.... I've to give up?
    Quote Quote  
  13. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    No, I am saying you haven't found the settings yet to allow you to do a simple join without re-encoding the camera footage. I am saying that I was able to get closer than you did, so you need to look more at how you encode your footage if you want to do this type of join.

    You can chose to give up, or you can choose to re-encode both clips to the same settings then join.
    Read my blog here.
    Quote Quote  



Similar Threads

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