0

The HTTP file and its contents are already downloaded and are present in memory. I just have to pass on the content to a decoder in gstreamer and play the content. However, I am not able to find the connecting link between the two.

After reading the documentation, I understood that gstreamer uses httpsoupsrc for downloading and parsing of http files. But, in my case, I have my own parser as well as file downloader to do the same. It takes the url and returns the data in parts to be used by the decoder. I am not sure howto bypass httpsoupsrc and use my parser instead also how to link it to the decoder.

Please let me know if anyone knows how things can be done.

AKG
  • 598
  • 6
  • 18

1 Answers1

1

You can use appsrc. You can pass chunks of your data to app source as needed.

ensonic
  • 3,304
  • 20
  • 31
  • However, I have both video and audio available in seprate memory location. How do I synchronize between them ? . I can't use the inbuilt demuxer for the same. – AKG Aug 03 '12 at 22:17
  • 1
    You will feed the to two separate app src and set the timestamps on the buffers. GStreamer will sync them when rendering. – ensonic Aug 07 '12 at 19:28