VideoHelp Forum




+ Reply to Thread
Results 1 to 10 of 10
  1. I need some quick advice. I have a bunch of elementary .264 streams. What is the easiest way to go about concatenating these losslessly. I tend to prefer CLI over GUIs. So if there is a way to do this using ffmpeg or something similar that would be great.
    Quote Quote  
  2. Member
    Join Date
    Aug 2013
    Location
    Central Germany
    Search PM
    It might be possible to concatenate them binary (copy /b). But better mutliplex them to MP4 and concatenate those in MP4Box, IMHO (doom9 thread).

    No warranties.

    It will be useful to have them encoded "--stitchable" in x264 (unfortunately this option may be partially undocumented, or not available in every build).
    Quote Quote  
  3. Thank you for the suggestion. Converting them to mp4 is not desired. I should have mentioned that these are bluray compliant encodes that I am using to author a bluray. So I need to produce an elementary .264 stream.
    Quote Quote  
  4. Member
    Join Date
    Aug 2013
    Location
    Central Germany
    Search PM
    In this case, concatenate them logically, not physically. A Blu-ray authoring tool should be able to create playlists loading each of them in separate MTS files via generating MPLS playlists.
    Quote Quote  
  5. I wish it were that simple. But when generating playlists, the Next button does not work on the remote. Is this a defect in the authoring tool or a consistent feature of MPLS? Thanks.
    Quote Quote  
  6. If m2ts or ts or AVCHD or a complaint Bluray structuree is okay as the output, try TSMuxer.
    Quote Quote  
  7. ffmpeg to concatenate multiple .h264 files, specified in a list file:

    Code:
    ffmpeg.exe -f concat -i files.txt -c copy output.h264
    files.txt looks like:

    Code:
    file 'video1.h264'
    file 'video2.h264'
    file 'video3.h264'
    https://trac.ffmpeg.org/wiki/Concatenate
    Quote Quote  
  8. Originally Posted by jagabo View Post
    ffmpeg to concatenate multiple .h264 files, specified in a list file:

    Code:
    ffmpeg.exe -f concat -i files.txt -c copy output.h264
    files.txt looks like:

    Code:
    file 'video1.h264'
    file 'video2.h264'
    file 'video3.h264'
    https://trac.ffmpeg.org/wiki/Concatenate
    Thanks. I was under the impression that concatenating elementary .264 streams was not possible.
    Quote Quote  
  9. Originally Posted by SameSelf View Post
    I was under the impression that concatenating elementary .264 streams was not possible.
    It worked with a few streams I tried it with. I imagine it might be a problem with streams with different properties or from different encoders.
    Quote Quote  
  10. Originally Posted by jagabo View Post
    Originally Posted by SameSelf View Post
    I was under the impression that concatenating elementary .264 streams was not possible.
    It worked with a few streams I tried it with. I imagine it might be a problem with streams with different properties or from different encoders.
    Maybe this will work for me then. All these files were encoded exactly the same using x264 from a batch of intermediate AVIs I generated.
    Quote Quote  



Similar Threads

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