2

How does one go about concatenating several H.264 raw streams into one without reencoding or quality loss?

The streams lacked any advanced features and represented contuous recording. There is no random seek/random access feature, either.

1 Answer 1

2

I found the following way, when trying to concatenate videostreams from the dashcam. Note: the streams had no random seek/random access

On Windows, perform the following,

copy /b file1.264 + file2.264 + file3.264 result.264

The command would byte-merge the raw streams, which works out well. If no random seek/random access feature existed, then it won't appear; but upon the uploading to YouTube, the random seek/random access feature was re-added.

Inspired by this source

1
  • YT encodes, so the random seek wasn't "added" per se. The uploaded video was encoded into a new file with the feature. But that the file successfully uploads to YT is great!
    – user24601
    Jan 17 at 17:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.