Decode a chunk using gst

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Decode a chunk using gst

ak.ashwini
Hi All,
 
   I have a requirement, in which I should be able to use gstreamer Audio/Video decoder so that, i just give a buffer of data to the decoder and get the decoded buffer out of it.
 
I will explain it a little more, I do not have to create a full pipeline from src to sink. I have an application which reads the file and then submits the buffer (in chunks of 1024bytes) to the decoder and wants to get back the "decoded buffer".
 
Can someone please help me on this. Any help is appreciated.
 
Thanks,
Ashwini

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Decode a chunk using gst

Sudarshan Bisht
You can use appsrc/appsink plugins, more information is in the following links;

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-appsrc.html
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-appsink.html


On Wed, Apr 20, 2011 at 11:59 AM, Ashwini Sharma <[hidden email]> wrote:
Hi All,
 
   I have a requirement, in which I should be able to use gstreamer Audio/Video decoder so that, i just give a buffer of data to the decoder and get the decoded buffer out of it.
 
I will explain it a little more, I do not have to create a full pipeline from src to sink. I have an application which reads the file and then submits the buffer (in chunks of 1024bytes) to the decoder and wants to get back the "decoded buffer".
 
Can someone please help me on this. Any help is appreciated.
 
Thanks,
Ashwini

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--
Regards,

Sudarshan Bisht

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Decode a chunk using gst

ak.ashwini
Hi Sudarshan,

 So you mean i can make a pipe like "appsrc ! mydecoder ! appsink" and that will give me a decoded buffer out of it?
 
rgds,
Ashwini
On Wed, Apr 20, 2011 at 2:43 PM, sudarshan bisht <[hidden email]> wrote:
You can use appsrc/appsink plugins, more information is in the following links;

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-appsrc.html
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-appsink.html


On Wed, Apr 20, 2011 at 11:59 AM, Ashwini Sharma <[hidden email]> wrote:
Hi All,
 
   I have a requirement, in which I should be able to use gstreamer Audio/Video decoder so that, i just give a buffer of data to the decoder and get the decoded buffer out of it.
 
I will explain it a little more, I do not have to create a full pipeline from src to sink. I have an application which reads the file and then submits the buffer (in chunks of 1024bytes) to the decoder and wants to get back the "decoded buffer".
 
Can someone please help me on this. Any help is appreciated.
 
Thanks,
Ashwini

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--
Regards,

Sudarshan Bisht

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Decode a chunk using gst

Sudarshan Bisht
Yes, but you need to write an application to achieve this.

On Wed, Apr 20, 2011 at 3:42 PM, Ashwini Sharma <[hidden email]> wrote:
Hi Sudarshan,

 So you mean i can make a pipe like "appsrc ! mydecoder ! appsink" and that will give me a decoded buffer out of it?
 
rgds,
Ashwini
On Wed, Apr 20, 2011 at 2:43 PM, sudarshan bisht <[hidden email]> wrote:
You can use appsrc/appsink plugins, more information is in the following links;

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-appsrc.html
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-appsink.html


On Wed, Apr 20, 2011 at 11:59 AM, Ashwini Sharma <[hidden email]> wrote:
Hi All,
 
   I have a requirement, in which I should be able to use gstreamer Audio/Video decoder so that, i just give a buffer of data to the decoder and get the decoded buffer out of it.
 
I will explain it a little more, I do not have to create a full pipeline from src to sink. I have an application which reads the file and then submits the buffer (in chunks of 1024bytes) to the decoder and wants to get back the "decoded buffer".
 
Can someone please help me on this. Any help is appreciated.
 
Thanks,
Ashwini

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--
Regards,

Sudarshan Bisht

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--
Regards,

Sudarshan Bisht

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel