<div dir="ltr">It doesn't work this way for data without time-stamps. Ie works for ts but doesn't for flv with set flag streamable.<br><div class="gmail_extra">Give a try to splitmuxsink, has same variable to cut stream into pieces by duration. Don't sure if it's different from multifilesink on this point.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-03-02 10:33 GMT+03:00 Sagar <span dir="ltr"><<a href="mailto:pilkhwal.sagar@gmail.com" target="_blank">pilkhwal.sagar@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
So after removing silence from the input video i am trying to output the<br>
audio into pcm format(raw audio)<br>
<br>
*filesrc location=audiosilence.mp4 ! decodebin ! audioconvert ! cutter<br>
threshold-dB=-41 run-length=300000000 !tee name=t ! queue ! fakesink t. !<br>
queue ! valve name=valve ! audioresample ! audioconvert ! audio/x-raw,<br>
rate=8000, channels=1 ! multifilesink location=./Output/output%02d.pcm<br>
next-file=5 max-file-duration=5000000000*<br>
<br>
with respect to this link:<br>
<a href="https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-multifilesink.html#GstMultiFileSink--max-file-duration" rel="noreferrer" target="_blank">https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-multifilesink.html#GstMultiFileSink--max-file-duration</a><br>
<<a href="https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-multifilesink.html#GstMultiFileSink--max-file-duration" rel="noreferrer" target="_blank">https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-multifilesink.html#GstMultiFileSink--max-file-duration</a>><br>
I feel that the documentation is worng for max-file-duration<br>
<br>
so in my case when I provide *next-file=5* the output is same as i get for<br>
*nextfile=0*<br>
<br>
<br>
my question, Is there anything wrong in the code or am I assuming anything<br>
wrong ?<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Multfilesink-max-file-duration-not-working-on-audio-pcm-output-tp4676128.html" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Multfilesink-max-file-duration-not-working-on-audio-pcm-output-tp4676128.html</a><br>
Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">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><br>
</blockquote></div><br></div></div>