multifilesink wav files splitting

Stefan Sauer ensonic at hora-obscura.de
Wed Sep 10 08:04:26 PDT 2014


On 09/04/2014 12:26 PM, dgor wrote:
> I have problem with recording streams using gstreamer. I have to write audio
> and video separately and cut in when signal arrived. I have correctly
> working video, but still have problems with wav files. Even simple pipeline
> in gst-launch don't work correctly. I have wave file and I am trying to
> split it using multifilesink: 
> *gst-launch filesrc location=test.wav ! multifilesink location=test2%d.wav
> next-file=4 max-file-size=512000*  
> But final wav files are corrupted while the same pipeline with ts files is
> working ok:
> *gst-launch-1.0 filesrc location=test.ts ! multifilesink location=test2%d.ts
> next-file=4 max-file-size=2000000*
>
This does not work like you think. What you do is to simple chop the wav
file into parts. What you want is to demux the audio and then mux each
fragment to a valid wav file, which multifilesink is not doing. I don't
think you can do this via gst-launch.

Stefan

>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/multifilesink-wav-files-splitting-tp4668575.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




More information about the gstreamer-devel mailing list