<html 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="Title" content="">
<meta name="Keywords" content="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-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;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.msoIns
{mso-style-type:export-only;
mso-style-name:"";
text-decoration:underline;
color:teal;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Your video resolution is not matching with the caps you have set – try using videoscale element in your pipeline if you want to scale your resolution.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">"gstreamer-devel-bounces@lists.freedesktop.org" <gstreamer-devel-bounces@lists.freedesktop.org> on behalf of Jerry Geis <jerry.geis@gmail.com><br>
<b>Reply-To: </b>"gstreamer-devel@lists.freedesktop.org" <gstreamer-devel@lists.freedesktop.org><br>
<b>Date: </b>Wednesday, November 1, 2017 at 11:24 AM<br>
<b>To: </b>"gstreamer-devel@lists.freedesktop.org" <gstreamer-devel@lists.freedesktop.org><br>
<b>Subject: </b>Question on CAPS<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I am trying to run: (notice the CAPS). Which fails <o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">gst-launch-1.0 filesrc location=entry.mp4 '!' qtdemux '!' video/x-h264,width=640,height=480 '!' h264parse '!' mpegtsmux '!' hlssink playlist-root=<a href="https://192.168.1.8/~silentm/hlssink">https://192.168.1.8/~silentm/hlssink</a> location=/home/silentm/public_html/hlssink/hlssink.camera.560.%05d.ts
target-duration=1 max-files=3 playlist-length=2 playlist-location=/home/silentm/public_html/hlssink/playlist.camera.560.m3u8<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[root@devgeis src]# Setting pipeline to PAUSED ...<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Pipeline is PREROLLING ...<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">WARNING: from element /GstPipeline:pipeline0/GstQTDemux:qtdemux0: Delayed linking failed.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Additional debug info:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">./grammar.y(510): gst_parse_no_more_pads (): /GstPipeline:pipeline0/GstQTDemux:qtdemux0:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">failed delayed linking some pad of GstQTDemux named qtdemux0 to some pad of GstH264Parse named h264parse0<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">ERROR: from element /GstPipeline:pipeline0/GstQTDemux:qtdemux0: Internal data stream error.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Additional debug info:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">qtdemux.c(6024): gst_qtdemux_loop (): /GstPipeline:pipeline0/GstQTDemux:qtdemux0:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">streaming stopped, reason not-linked (-1)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">ERROR: pipeline doesn't want to preroll.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Setting pipeline to NULL ...<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Freeing pipeline ...<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Remove the width and height and it works.<o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">gst-launch-1.0 filesrc location=entry.mp4 '!' qtdemux '!' video/x-h264 '!' h264parse '!' mpegtsmux '!' hlssink playlist-root=<a href="https://192.168.1.8/~silentm/hlssink">https://192.168.1.8/~silentm/hlssink</a> location=/home/silentm/public_html/hlssink/hlssink.camera.560.%05d.ts
target-duration=1 max-files=3 playlist-length=2 playlist-location=/home/silentm/public_html/hlssink/playlist.camera.560.m3u8<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[root@devgeis src]# Setting pipeline to PAUSED ...<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Pipeline is PREROLLING ...<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Pipeline is PREROLLED ...<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Setting pipeline to PLAYING ...<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">New clock: GstSystemClock<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Got EOS from element "pipeline0".<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Execution ended after 0:00:00.267574950<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Setting pipeline to PAUSED ...<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Setting pipeline to READY ...<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Setting pipeline to NULL ...<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Freeing pipeline ...<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">What am I doing wrong ? The original image is 1920x1080 and I want to make that smaller at 640x480.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Jerry<o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>