Multfilesink max-file-duration not working on audio pcm output
Alex Bolotin
alexbolotsin at gmail.com
Wed Mar 2 10:19:54 UTC 2016
It doesn't work this way for data without time-stamps. Ie works for ts but
doesn't for flv with set flag streamable.
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.
2016-03-02 10:33 GMT+03:00 Sagar <pilkhwal.sagar at gmail.com>:
> Hi,
>
> So after removing silence from the input video i am trying to output the
> audio into pcm format(raw audio)
>
> *filesrc location=audiosilence.mp4 ! decodebin ! audioconvert ! cutter
> threshold-dB=-41 run-length=300000000 !tee name=t ! queue ! fakesink t. !
> queue ! valve name=valve ! audioresample ! audioconvert ! audio/x-raw,
> rate=8000, channels=1 ! multifilesink location=./Output/output%02d.pcm
> next-file=5 max-file-duration=5000000000*
>
> with respect to this link:
>
> https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-multifilesink.html#GstMultiFileSink--max-file-duration
> <
> https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-multifilesink.html#GstMultiFileSink--max-file-duration
> >
> I feel that the documentation is worng for max-file-duration
>
> so in my case when I provide *next-file=5* the output is same as i get for
> *nextfile=0*
>
>
> my question, Is there anything wrong in the code or am I assuming anything
> wrong ?
>
>
>
>
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/Multfilesink-max-file-duration-not-working-on-audio-pcm-output-tp4676128.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160302/c3d3a1f6/attachment.html>
More information about the gstreamer-devel
mailing list