<div dir="ltr">The logic for the rolling window has not been implemented. So unfortunately those features will need to be implemented if you want to have something like that. For the Firefox/Chrome issue, as you noticed, they require that you define the type of codec to use. you need to add an additional field to the mpd file. What I am using is in gstreprisentation.c I have added:<br><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">if (rep->common.stream_type == STREAM_TYPE_VIDEO) {<br>    if (!gst_media_presentation_write_string_attribute (writer,<br>            "codecs", "avc1.640028"))<br>        return FALSE;<br>    } else if (rep->common.stream_type == STREAM_TYPE_AUDIO) {<br>        if (!gst_media_presentation_write_string_attribute (writer,<br>                "codecs", "mp4a.40.2"))<br>            return FALSE;<br>}<br></blockquote><div><br></div><div>You may have to change the codecs based on what you are using.<br><br></div><div>Dimitrios <br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 18, 2017 at 10:50 PM, Alexander Yanin <span dir="ltr"><<a href="mailto:sashayanin@gmail.com" target="_blank">sashayanin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span class="m_7455464416640348105gmail-bz_comment_user"><span class="m_7455464416640348105gmail-vcard"><span class="m_7455464416640348105gmail-fn">I have compiled mp4dashmux and dashsink from Thiago Sousa Santos git repos and tried a pipeline with them like this:<br><br>gst-launch-1.0 videotestsrc is-live=true ! timeoverlay ! x264enc ! mp4dashmux fragment-method=1 ! dashsink is-live=true delete-old-files=true title="manifest" <br><br></span></span></span></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span class="m_7455464416640348105gmail-bz_comment_user"><span class="m_7455464416640348105gmail-vcard"><span class="m_7455464416640348105gmail-fn">This pipeline starts successfully, produces a manifest file and m4s fragments as expected. Then I have created a simple html with a video tag and linked dash js library to this html to play my dash stream. I have tried to open this html (served on http server) in Chrome, Firefox and Epiphany. Only Epiphany was able to play the stream. Firefox and Chrome gave similar error:<br>Firefox says: Cannot play media. No decoders for requested formats: application/dash+xml, video/mp4;codecs="undefined"<br></span></span></span></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span class="m_7455464416640348105gmail-bz_comment_user"><span class="m_7455464416640348105gmail-vcard"><span class="m_7455464416640348105gmail-fn">Chrome says: videoCodec (video/mp4;codecs="undefined") is not supported. <br></span></span></span></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span class="m_7455464416640348105gmail-bz_comment_user"><span class="m_7455464416640348105gmail-vcard"><span class="m_7455464416640348105gmail-fn">I hope that the problem is with codecs="undefined" property produced by dashsink. I think that this issue can be easily fixed if this is a reason.<br><br></span></span></span></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span class="m_7455464416640348105gmail-bz_comment_user"><span class="m_7455464416640348105gmail-vcard"><span class="m_7455464416640348105gmail-fn">However, I have another issue. My pipeline doesn't erase old files. Even if is set 'is-live' and 'delete-old-files' properties to true in dashsink, the number of fragments is constantly increasing. First file in playlist doesn't change from 'fragment_0' in my manifest file too. So, when I refresh my browser, I always have my stream played from the very beginning (it is easy to detect as i have timeoverlay plugin inserted into the pipeline). What am I doing wrong with this? Is deleting of old files works correctly in current version of dashsink?<br></span></span></span></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-04-10 13:48 GMT+03:00 Alexander Yanin <span dir="ltr"><<a href="mailto:sashayanin@gmail.com" target="_blank">sashayanin@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi,<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I want to use gstreamer for streaming media over mpeg-dash. As I understood, there is no available dashsink yet. In <a href="https://coaxion.net/blog/2014/05/http-adaptive-streaming-with-gstreamer/" target="_blank">slomo's blog</a> I have found a <a href="https://bugzilla.gnome.org/show_bug.cgi?id=668094" target="_blank">link</a> to dashsink that is still in bugzilla. Can I use it for the streaming purpose already? Is there any articles or docs with instructions of how this sink could be used? How soon this plugin is expected to be merged to gst-plugins-bad? Can someone show an example pipeline with dashsink included? Any help on understanding how to work with this sink would be highly appreciated.<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Best regards,<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Alex<br></div></div>
</blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
<br></blockquote></div><br></div>