<div dir="ltr">Thanks for your responses.<div><br></div><div>I can assure you that the GESVideoTrack is connected to the video tee ... but the graph doesn't show it. There may be a problem inside `gst_debug_bin_to_dot_data` and I wish I had the time to investigate and fix the problem.<br><div><br></div><div>I was aware that I could fix the upstream frame-rate via ges_track_set_restriction_caps, but forcing a single frame-rate for the entire video seems like a sub-optimal solution in this case. (I am not aware of a compelling reason why an mp4 should have a constant frame-rate, but perhaps there is something I am unaware of.)<div><br></div><div>I am working with a third party vendor (Elecard) to get ahold of an encoder+muxer which can handle the task.</div><div><div><br></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 25, 2019 at 2:38 PM Mathieu Duponchelle <<a href="mailto:mathieu@centricular.com">mathieu@centricular.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 bgcolor="#FFFFFF">
Hello David,<br>
<br>
To answer your questions:<br>
<br>
1. Why is this happening?<br>
<br>
It's not really easy to tell without seeing your application, and
your dot files are a bit mystifying, as both in PLAYING<br>
and failed the tee that starts your video encoding branch does not
have a sink pad.<br>
<br>
As to the actual issue, you can see that the renegotiation fails
because you're trying to push caps with a different<br>
framerate to the muxer, which let's you know it can't support
changing that on the fly.<br>
<br>
2. How can I fix it?<br>
<br>
Use ges_track_set_restriction_caps, with a fixed framerate.<br>
<br>
<div class="gmail-m_-7167596969071851502moz-cite-prefix">On 7/25/19 1:23 AM, David Ing wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>I'm on Fedora 30 running Gstreamer 1.16.0.</div>
<div><br>
</div>
<div>I've got a GESTimeline inside of a GstPipeline. I have
attached dot files which shows the pipeline immediately after
each state transition.</div>
<div>
<ul>
<li>NULL -> READY</li>
<li>READY -> PAUSED</li>
<li>PAUSED -> PLAYING</li>
<li>PLAYING, "JobFailed", when I receive an error message on
the bus</li>
</ul>
<div>I would have provided image files but graphviz doesn't
like these dot files ... but you can use <a href="http://www.webgraphviz.com/" target="_blank">http://www.webgraphviz.com/</a> to
visualize them. They seem accurate except they show
tee_video as disconnected (it is actually connected).</div>
</div>
<div><br>
</div>
<div>I'm attaching a "small_logs.txt" file (less verbose) and a
"big_logs.txt" file (more verbose). The interesting bits can
be observed in the small file.</div>
<div><br>
</div>
<div>
<blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<div><font face="courier new, monospace">19-07-24T22:53:13.786414
INFO pan CompositionJob.cpp:123 Pipeline state
changed from PAUSED to PLAYING in 0.000 seconds.<br>
19-07-24T22:53:14.120278 WARNING qtmux gstqtmux.c:5118
pad video_0 refused renegotiation to video/x-h264,
codec_data=(buffer)01640028ffe1001f67640028acd940780227e5c05a808080a0000003002000000303d1e30632c001000568ebecb22c,
stream-format=(string)avc, alignment=(string)au,
level=(string)4, profile=(string)high, width=(int)1920,
height=(int)1080, pixel-aspect-ratio=(fraction)1/1,
framerate=(fraction)15/1,
interlace-mode=(string)progressive,
colorimetry=(string)bt709, chroma-site=(string)mpeg2<br>
19-07-24T22:53:14.120551 WARNING qtmux gstqtmux.c:5118
pad video_0 refused renegotiation to video/x-h264,
codec_data=(buffer)01640028ffe1001f67640028acd940780227e5c05a808080a0000003002000000303d1e30632c001000568ebecb22c,
stream-format=(string)avc, alignment=(string)au,
level=(string)4, profile=(string)high, width=(int)1920,
height=(int)1080, pixel-aspect-ratio=(fraction)1/1,
framerate=(fraction)15/1,
interlace-mode=(string)progressive,
colorimetry=(string)bt709, chroma-site=(string)mpeg2<br>
19-07-24T22:53:14.120617 WARNING GST_PADS gstpad.c:4230
could not send sticky events<br>
19-07-24T22:53:14.120740 WARNING qtmux gstqtmux.c:5118
pad video_0 refused renegotiation to video/x-h264,
codec_data=(buffer)01640028ffe1001f67640028acd940780227e5c05a808080a0000003002000000303d1e30632c001000568ebecb22c,
stream-format=(string)avc, alignment=(string)au,
level=(string)4, profile=(string)high, width=(int)1920,
height=(int)1080, pixel-aspect-ratio=(fraction)1/1,
framerate=(fraction)15/1,
interlace-mode=(string)progressive,
colorimetry=(string)bt709, chroma-site=(string)mpeg2<br>
19-07-24T22:53:14.120822 WARNING qtmux gstqtmux.c:5118
pad video_0 refused renegotiation to video/x-h264,
codec_data=(buffer)01640028ffe1001f67640028acd940780227e5c05a808080a0000003002000000303d1e30632c001000568ebecb22c,
stream-format=(string)avc, alignment=(string)au,
level=(string)4, profile=(string)high, width=(int)1920,
height=(int)1080, pixel-aspect-ratio=(fraction)1/1,
framerate=(fraction)15/1,
interlace-mode=(string)progressive,
colorimetry=(string)bt709, chroma-site=(string)mpeg2<br>
19-07-24T22:53:14.120896 WARNING qtmux gstqtmux.c:5118
pad video_0 refused renegotiation to video/x-h264,
codec_data=(buffer)01640028ffe1001f67640028acd940780227e5c05a808080a0000003002000000303d1e30632c001000568ebecb22c,
stream-format=(string)avc, alignment=(string)au,
level=(string)4, profile=(string)high, width=(int)1920,
height=(int)1080, pixel-aspect-ratio=(fraction)1/1,
framerate=(fraction)15/1,
interlace-mode=(string)progressive,
colorimetry=(string)bt709, chroma-site=(string)mpeg2<br>
19-07-24T22:53:14.137918 WARNING qtdemux qtdemux.c:6607
error: Internal data stream error.<br>
19-07-24T22:53:14.138040 WARNING qtdemux qtdemux.c:6607
error: streaming stopped, reason not-negotiated (-4)<br>
19-07-24T22:53:14.138201 ERROR pan
CompositionJob.cpp:282 GST_MESSAGE_ERROR received from
element qtdemux5 at position 5465466666: Internal data
stream error.<br>
../gst-plugins-good/gst/isomp4/qtdemux.c(6607):
gst_qtdemux_loop ():
/GstPipeline:pipeline/GESTimeline:gestimeline0/GESVideoTrack:gesvideotrack0/NleComposition:video_nlecomposition1/GstBin:current-bin/NleSource:GESVideoUriSource:nlesource4/GstBin:videosrcbin/GstURIDecodeBin:uridecodebin2/GstDecodeBin:decodebin9/GstQTDemux:qtdemux5:<br>
streaming stopped, reason not-negotiated (-4)</font></div>
</blockquote>
</div>
<br>
<div>My questions are:</div>
<div>
<ol>
<li>Why is this happening?</li>
<li>How can I fix it?</li>
</ol>
</div>
<div><br>
</div>
<div>TL;DR</div>
<div>
<blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<div>This issue was originally posted on another email
thread, but I provided logs that were incomplete.</div>
<div><br>
</div>
<a href="http://gstreamer-devel.966125.n4.nabble.com/GES-1-16-0-caps-renegotiation-problem-td4691402.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/GES-1-16-0-caps-renegotiation-problem-td4691402.html</a></blockquote>
</div>
</div>
<br>
<fieldset class="gmail-m_-7167596969071851502mimeAttachmentHeader"></fieldset>
<pre class="gmail-m_-7167596969071851502moz-quote-pre">_______________________________________________
gstreamer-devel mailing list
<a class="gmail-m_-7167596969071851502moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>
<a class="gmail-m_-7167596969071851502moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></pre>
</blockquote>
</div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></blockquote></div>