<html><head>
<style id="css_styles">
blockquote.cite { margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc }
blockquote.cite2 {margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc; margin-top: 3px; padding-top: 0px; }
a img { border: 0px; }
li[style='text-align: center;'], li[style='text-align: center; '], li[style='text-align: right;'], li[style='text-align: right; '] { list-style-position: inside;}
body { font-family: Segoe UI; font-size: 12pt; }
.quote { margin-left: 1em; margin-right: 1em; border-left: 5px #ebebeb solid; padding-left: 0.3em; }
</style>
</head>
<body>Hi,<div><br /></div><div>I am by no means a developer, and I have struggled to get my head around gstreamer. I have what on the face of seems like a simple issue and one which I have achieved with FFMPEG and some linux scripting, however I have a jetson nano that i want to use for this, and the FFMPEG someone has built to support the nvidia encoders and decoders gives me weird video issues, and as the nvidia forums promote gstreamer, I thought I would give this a go..</div><div><br /></div><div>I have video in MKV containers in H264 video format with multiple audio and multiple subtitle tracks. I want to be able to transcode the video, and passthrough all the audio and subtitle tracks into a new MKV file.</div><div><br /></div><div>I have figured out how to do the video, but can not get my head around the methods needed to do the audio and subtitle tracks.</div><div><br /></div><div>I can discover how many audio and subtitle tracks there are and can build a script around all this, if I could only just figure out the syntax for gst-launch. </div><div><br /></div><div>Help much appreciated. </div><div><br /></div><div>And apologies in advance for the series of stupid questions that may come out of this thread </div><div><br /></div><div>this is my starting point :-</div><div><br /></div><div>gst-launch-1.0 filesrc location=./2.mkv \<br />! matroskademux \<br />! h264parse \<br />! nvv4l2decoder \<br />! nvv4l2h265enc bitrate=2000000 \<br />! h265parse \<br />! matroskamux \<br />! progressreport update-freq=1 \<br />! filesink location=./new2.mkv <br /></div><div><br /></div><div>Thanks again in advance</div><div><br /></div><div>Toby</div></body></html>