0

Basically my question is somewhat same to this one: How to record audio in gstreamer for pre-defined time?

But there is no answer which i can use there and i'm also relatively new to using gstreamer. Using the code in the question posted by the other user what can i add to record the audio in time intervals of x seconds with pauses of y seconds between each capture.

  • the answer there seems to be correct, just try it out. the guy who answered is gstreamer developer. – nayana Dec 18 '15 at 07:54
  • I don't understand how to use the provided information. Could you help me? – Abstrac Tor Dec 18 '15 at 11:33
  • Here's another one with a somewhat same question https://stackoverflow.com/questions/27103221/sending-eos-in-gstreamer-after-pre-defined-time-using-new-single-shot-id?rq=1 and again without a elaborate answer for a beginner. – Abstrac Tor Dec 18 '15 at 12:57
  • When you need to stop the recording (at given time interval) I guess you just send eos to the pipeline which will flush remainng data into your recording sink and stops the pipeline - thus stops recording process. what part of this you dont understand? please post some of your code and we may find some way how to send the eos signal in your code.. – nayana Dec 18 '15 at 16:00
  • here's the code http://pastebin.com/4AN44LhG – Abstrac Tor Dec 18 '15 at 16:06

0 Answers0