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 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 ? |
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 <[hidden email]>: Hi, _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
well I am using Ubuntu 14 and apparently splitmuxsink is not available on ubuntu os.
found a thread stating the same issue http://gstreamer-devel.966125.n4.nabble.com/Way-to-slice-mp4-file-td4671823.html |
On Mi, 2016-03-02 at 05:02 -0800, Sagar wrote:
> well I am using Ubuntu 14 and apparently splitmuxsink is not > available on ubuntu os. You need GStreamer >= 1.6.0 for this. If you update to a less old version of Ubuntu or build GStreamer yourself, you can use it. -- Sebastian Dröge, Centricular Ltd · http://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (968 bytes) Download Attachment |
Free forum by Nabble | Edit this page |