Ignore unwanted data in pipeline

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

Ignore unwanted data in pipeline

qwerty-1
Hi All,

I am creating a pipeline that is receiving the audio/video RTP data from network and saving it into file. My pipeline is receiving only G711 and H263 RTP data. Most of the time my pipeline is working fine except one case. Whenever there is RTP data other than G711 and H263 my pipeline throws error (Internal data Flow Error).

Can some one explain how can i ignore the RTP data in pipeline other than what i wanted?

Below is the image of my pipeline.
filesink <--> muxer <--> rtp depayload <--> gstrtpbin <--> udpsrc

Thanks,
UK

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

Re: Ignore unwanted data in pipeline

qwerty-1
Please Any help regarding my query??

On Tue, Jul 12, 2011 at 6:34 PM, Umakant Goyal <[hidden email]> wrote:
Hi All,

I am creating a pipeline that is receiving the audio/video RTP data from network and saving it into file. My pipeline is receiving only G711 and H263 RTP data. Most of the time my pipeline is working fine except one case. Whenever there is RTP data other than G711 and H263 my pipeline throws error (Internal data Flow Error).

Can some one explain how can i ignore the RTP data in pipeline other than what i wanted?

Below is the image of my pipeline.
filesink <--> muxer <--> rtp depayload <--> gstrtpbin <--> udpsrc

Thanks,
UK


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

Re: Ignore unwanted data in pipeline

Sudarshan Bisht
Hi,

I guess this is quite expected behavior but to overcome from this, you can write a simple plugin, this would check the data, if it does not find  something specific to G711 or H263  then return (check GstFlowReturn for appropriate type) from the chain function without pushing any data to next element.
    
In receiver pipeline you can place this plugin right after udpsrc. 




On Fri, Jul 15, 2011 at 9:27 PM, Umakant Goyal <[hidden email]> wrote:
Please Any help regarding my query??


On Tue, Jul 12, 2011 at 6:34 PM, Umakant Goyal <[hidden email]> wrote:
Hi All,

I am creating a pipeline that is receiving the audio/video RTP data from network and saving it into file. My pipeline is receiving only G711 and H263 RTP data. Most of the time my pipeline is working fine except one case. Whenever there is RTP data other than G711 and H263 my pipeline throws error (Internal data Flow Error).

Can some one explain how can i ignore the RTP data in pipeline other than what i wanted?

Below is the image of my pipeline.
filesink <--> muxer <--> rtp depayload <--> gstrtpbin <--> udpsrc

Thanks,
UK


_______________________________________________
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: Ignore unwanted data in pipeline

qwerty-1
Sudarshan thanks for your response.

Can not i make changes in udpsrc plugin so that it only passes that is needed by downstream plugin?
What would be better to make a new plugin that will decide what type of type of data is needed by downstream plugin or i add the same intelligency in udpsrc plugin? 


On Sat, Jul 16, 2011 at 3:22 AM, sudarshan bisht <[hidden email]> wrote:
Hi,

I guess this is quite expected behavior but to overcome from this, you can write a simple plugin, this would check the data, if it does not find  something specific to G711 or H263  then return (check GstFlowReturn for appropriate type) from the chain function without pushing any data to next element.
    
In receiver pipeline you can place this plugin right after udpsrc. 




On Fri, Jul 15, 2011 at 9:27 PM, Umakant Goyal <[hidden email]> wrote:
Please Any help regarding my query??


On Tue, Jul 12, 2011 at 6:34 PM, Umakant Goyal <[hidden email]> wrote:
Hi All,

I am creating a pipeline that is receiving the audio/video RTP data from network and saving it into file. My pipeline is receiving only G711 and H263 RTP data. Most of the time my pipeline is working fine except one case. Whenever there is RTP data other than G711 and H263 my pipeline throws error (Internal data Flow Error).

Can some one explain how can i ignore the RTP data in pipeline other than what i wanted?

Below is the image of my pipeline.
filesink <--> muxer <--> rtp depayload <--> gstrtpbin <--> udpsrc

Thanks,
UK


_______________________________________________
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: Ignore unwanted data in pipeline

Sudarshan Bisht
Hi,

Changing udpsrc plugin code may not be a good idea because its a standard plugin and in future if you want to use this plugin for other media formats then again you need to change it, but in your own custom plugin you can add a property and with this you can set whatever media type you would like to go through.  


The summary is that if you change udpsrc then it won't be generic anymore. 


On Sat, Jul 16, 2011 at 6:37 PM, Umakant Goyal <[hidden email]> wrote:
Sudarshan thanks for your response.

Can not i make changes in udpsrc plugin so that it only passes that is needed by downstream plugin?
What would be better to make a new plugin that will decide what type of type of data is needed by downstream plugin or i add the same intelligency in udpsrc plugin? 


On Sat, Jul 16, 2011 at 3:22 AM, sudarshan bisht <[hidden email]> wrote:
Hi,

I guess this is quite expected behavior but to overcome from this, you can write a simple plugin, this would check the data, if it does not find  something specific to G711 or H263  then return (check GstFlowReturn for appropriate type) from the chain function without pushing any data to next element.
    
In receiver pipeline you can place this plugin right after udpsrc. 




On Fri, Jul 15, 2011 at 9:27 PM, Umakant Goyal <[hidden email]> wrote:
Please Any help regarding my query??


On Tue, Jul 12, 2011 at 6:34 PM, Umakant Goyal <[hidden email]> wrote:
Hi All,

I am creating a pipeline that is receiving the audio/video RTP data from network and saving it into file. My pipeline is receiving only G711 and H263 RTP data. Most of the time my pipeline is working fine except one case. Whenever there is RTP data other than G711 and H263 my pipeline throws error (Internal data Flow Error).

Can some one explain how can i ignore the RTP data in pipeline other than what i wanted?

Below is the image of my pipeline.
filesink <--> muxer <--> rtp depayload <--> gstrtpbin <--> udpsrc

Thanks,
UK


_______________________________________________
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