<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi, <br>
</p>
<p>if you gst-inspect-1.0 splitmuxsink, you will see that the
default muxer is mp4mux .rename your output to video%02d.mp4 or
use the muxer parameter to specify a mkv muxer</p>
<p>Gruesse<br>
</p>
<div class="moz-cite-prefix">Am 28.10.2021 um 19:38 schrieb Dwight
Kulkarni via gstreamer-devel:<br>
</div>
<blockquote type="cite"
cite="mid:CAKW2B8jn+y4e3SRBBVU2kQCPVMZ6g4xwQjvfV3t==_=sch8cWQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">
<div>Hi Anton,</div>
<div><br>
</div>
<div>The pipeline is as follows:</div>
<div><br>
</div>
<div>
<div style="color:rgb(212,212,212);background-color:rgb(30,30,30);font-family:"Droid Sans Mono","monospace",monospace,"Droid Sans Fallback";font-weight:normal;font-size:14px;line-height:19px;white-space:pre"><div><span style="color:rgb(206,145,120)">v4l2src device=/dev/video1 ! video/x-raw, width=1920, height=1080, framerate=15/1 ! vpuenc_h264 ! h264parse </span></div><div><span style="color:rgb(206,145,120)">! splitmuxsink name=filesink location=./videos/video</span><span style="color:rgb(156,220,254)">%02d</span><span style="color:rgb(206,145,120)">.mkv max-size-time=10000000000 muxer-properties=</span><span style="color:rgb(215,186,125)">"</span><span style="color:rgb(206,145,120)">properties,streamable=true</span><span style="color:rgb(215,186,125)">"</span><span style="color:rgb(206,145,120)"></span><span style="color:rgb(212,212,212)"></span></div><div><span style="color:rgb(212,212,212)"> </span></div></div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Oct 28, 2021 at 1:15
PM Anton Pryima <<a href="mailto:zingfrid@gmail.com"
moz-do-not-send="true" class="moz-txt-link-freetext">zingfrid@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="auto">Hello Dwight.
<div dir="auto"><br>
</div>
<div dir="auto">The output format depends on encoder
you're using, but not on filename or extension. Post all
your pipeline, because sink is not specifying an format.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Best regards,</div>
<div dir="auto">Anton.</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Oct 25, 2021,
21:38 Dwight Kulkarni via gstreamer-devel <<a
href="mailto:gstreamer-devel@lists.freedesktop.org"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">gstreamer-devel@lists.freedesktop.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Hi all,
<div><br>
</div>
<div>I am using splitmuxsink as follows:</div>
<div><br>
</div>
<div>splitmuxsink name=filesink location=video%02d.mkv
max-size-time-10000000000
muxer-properties="properties,streamable=true"</div>
<div><br>
</div>
<div>This is saving the file as .mkv. I want to save
the file as .mp4.</div>
<div><br>
</div>
<div>In other examples, they just set the file
extension to .mp4, there doesn't seem to be a
specific place where the video format is specified.</div>
<div><br>
</div>
<div>If I want to save the file as .mp4, should I just
change the extension of the filename or do I need to
specify the format explicitly somewhere ?</div>
<div><br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr"><span
style="font-size:12.8px">Sincerely,</span>
<div><br>
</div>
<div>Dwight Kulkarni </div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
<br clear="all">
<br>
-- <br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr"><span style="font-size:12.8px">Sincerely,</span>
<div><br>
</div>
<div>Dwight Kulkarni </div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</body>
</html>