<div dir="ltr">Hi,<div><br></div><div>I have a pipeline where I record segments of video with current time as timecode:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">gst-launch-1.0 videotestsrc pattern=18 is-live=true ! timecodestamper first-timecode="17:30:04:09" ! timeoverlay time-mode=time-code ! videoconvert ! x264enc ! splitmuxsink location=video%05d.mov max-size-time=5000000000 message-forward=true send-keyframe-requests=true muxer=qtmux</blockquote><div><br></div><div>And then I have a pipeline where I combine these small video files into one larger file:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">gst-launch-1.0 splitmuxsrc location=video*.mov ! splitmuxsink location=combined.mov muxer=qtmux</blockquote><div>or <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">gst-launch-1.0 splitmuxsrc location=video*.mov name=splitsrc splitsrc.video_0 ! queue ! "video/x-h264" ! qtmux ! filesink location=combined.mov</blockquote><div><br></div><div>But when I combine the files my timecode gets lost. I can check it with ffprobe that metadata includes timecode and that there is tmcd track in the small files, but none of that is present in the combined file.</div><div><br></div><div>I started digging and figured that only way that I could add timecode for my combined file is decoding the file adding the timecodestamper with a timecode of first video file, since timecodestamper accepts only video/x-raw, but files contain video/x-h264.</div><div><br></div><div>Other solution I found is with ffmpeg copy combined video and update timecode:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">ffmpeg -i combined.mov -map 0 -c copy -timecode "17:30:04:09" combined-with-timecode.mov<br></blockquote><div><br></div><div>Is there some way I could add/pass timecode when concating video files?</div><div>Is there a gstreamer approach on how to add timecode without reencoding the video stream?</div><div><br></div><div>Cheers,</div><div>Arturs</div><div><br></div><div><br></div></div>