<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
code
{mso-style-priority:99;
font-family:"Courier New";}
pre
{mso-style-priority:99;
mso-style-link:"HTML Vorformatiert Zchn";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.HTMLVorformatiertZchn
{mso-style-name:"HTML Vorformatiert Zchn";
mso-style-priority:99;
mso-style-link:"HTML Vorformatiert";
font-family:Consolas;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.E-MailFormatvorlage22
{mso-style-type:personal;
font-family:"Arial",sans-serif;
color:#1F497D;}
span.E-MailFormatvorlage23
{mso-style-type:personal;
font-family:"Arial",sans-serif;
color:#1F497D;
mso-fareast-language:EN-US;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US">My guess is the framerate. I don’t no why but after the „h264parse“ step the framerate is down to 0/1. My source is an encoded video from a rtspsrc
and when I change the encoder from openh264enc to x264enc on the rtsp server it works and the framerate is correctly at 30/1. I have no idea why the framerate drops down to 0/1 after the parsing step.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US">With
</span><code><span style="font-size:10.0pt">--gst-debug=*:3,GST_CAPS:5 </span></code><span style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US">I cannot find any problems with the colorimetry.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US">Not working pipeline with openh264enc Encoder on RTSP server side:<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D"><img width="1465" height="264" style="width:15.2604in;height:2.75in" id="Grafik_x0020_2" src="cid:image001.png@01D9ECA3.77154F90"></span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US">Working pipeline with x264enc Encoder on RTSP server side:<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D"><img width="1473" height="283" style="width:15.3437in;height:2.9479in" id="Grafik_x0020_3" src="cid:image004.png@01D9ECA3.77154F90"></span></b><b><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">Best Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">Felix</span><span lang="EN-GB" style="font-size:8.0pt;font-family:"Tahoma",sans-serif"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#339900"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Von:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Marianna Smidth Buschle <msb@qtec.com>
<br>
<b>Gesendet:</b> Donnerstag, 21. September 2023 14:17<br>
<b>An:</b> gstreamer-devel@lists.freedesktop.org<br>
<b>Cc:</b> Sternkopf, Felix <Felix.Sternkopf@telerob.com><br>
<b>Betreff:</b> Re: Avimux refuses Video Caps<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p>My first guess is problems with the colorimetry, I had issues with other plugins.<o:p></o:p></p>
<p><o:p> </o:p></p>
<p>You can try debugging further with: <code><span style="font-size:10.0pt">--gst-debug=*:3,GST_CAPS:5</span></code><o:p></o:p></p>
<p>So you can pin point what parts of the CAPS is going wrong.<o:p></o:p></p>
<p><o:p> </o:p></p>
<p>In some situations a 'h264parse' might help.<o:p></o:p></p>
<p><o:p> </o:p></p>
<p>Best Regards<o:p></o:p></p>
<p>Marianna<o:p></o:p></p>
<div>
<p class="MsoNormal">On 21/09/2023 14.00, <a href="mailto:gstreamer-devel-request@lists.freedesktop.org">
gstreamer-devel-request@lists.freedesktop.org</a> wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre>Hey guys,<o:p></o:p></pre>
<pre>i developed a pipeline with two parallel streams which are combined in a muxer. There is one audio stream and one video stream. My problem is, that the GstAviMux refuses the following videocaps:<o:p></o:p></pre>
<pre>video/x-h264,<o:p></o:p></pre>
<pre> stream-format=(string)byte-stream,<o:p></o:p></pre>
<pre> alignment=(string)au,<o:p></o:p></pre>
<pre> width=(int)1280,<o:p></o:p></pre>
<pre> height=(int)720,<o:p></o:p></pre>
<pre> framerate=(fraction)0/1,<o:p></o:p></pre>
<pre> chroma-format=(string)4:2:0,<o:p></o:p></pre>
<pre> bit-depth-luma=(uint)8,<o:p></o:p></pre>
<pre> bit-depth-chroma=(uint)8,<o:p></o:p></pre>
<pre> parsed=(boolean)true,<o:p></o:p></pre>
<pre> profile=(string)constrained-baseline,<o:p></o:p></pre>
<pre> level=(string)3.1<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>As i understand the documentation of the GstAviMux element, it should accept this caps. Is there any ideas for this problem?<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Kind regards,<o:p></o:p></pre>
<pre>Felix Sternkopf<o:p></o:p></pre>
</blockquote>
<pre>-- <o:p></o:p></pre>
<pre>Best regards / Med venlig hilsen<o:p></o:p></pre>
<pre>“Marianna Smidth Buschle”<o:p></o:p></pre>
</div>
</body>
</html>