stripping portion of an audio or video track

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

stripping portion of an audio or video track

cppb


hi,

I have a stream audio ... created using a pipeline in GStreamer.

I want to take out a random portion of this audio file. For example, a segment from 1 minute to 2 minute.. and save it as another audio.

Would changing the sink of the pipeline to filesink while its state is STATE_PLAYING work?  I am having a hard time figuring out how change the sink of this pipeline.  I would very much appreciate your help.

does anyone know how to achieve this?