About multi-thread in GStreamer

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

About multi-thread in GStreamer

liangzhihong1984
    I captured video stream from a USB camera, now want to send it to other users with udpsink,
and at the same time playback the video stream locally, how should I implement this through gst-launch
command line, as well as C language? 
 
 
 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: About multi-thread in GStreamer

Irfan Shaikh-2
RE: [gst-devel] About multi-thread in GStreamer

hi,
  You can try the following approches,
1)Encode the raw elementry stream, use a ASF muxer, try streaming it using udpsink.
2)Or else packetixe the encoded file stream, use rtppayload packetizer and send it using rtpsend element.

Regards,
Irfan

-----Original Message-----
From: liangzhihong1984 [[hidden email]]
Sent: Thu 9/25/2008 10:57 AM
To: [hidden email]
Subject: [gst-devel] About multi-thread in GStreamer

    I captured video stream from a USB camera, now want to send it to other users with udpsink,
and at the same time playback the video stream locally, how should I implement this through gst-launch
command line, as well as C language?




This message (including any attachment) is confidential and may be legally privileged. Access to this message by anyone other than the intended recipient(s) listed above is unauthorized. If you are not the intended recipient you are hereby notified that any disclosure, copying, or distribution of the message, or any action taken or omission of action by you in reliance upon it, is prohibited and may be unlawful. Please immediately notify the sender by reply e-mail and permanently delete all copies of the message if you have received this message in error.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: About multi-thread in GStreamer

Manish Rana
In reply to this post by liangzhihong1984
Hi,
 
You can try following:
1. Take the data for the camera.
2. Split the stream in to tow using the Tee element
3. Now use queue in front of both the src pads of the Tee
4. Connect one queue to display for Preview
5. Connect the other src pad of the queue to encoder->pay->rtpbin->udpsink
 
And enjoy the Streaming using Gstreamer..... :)
 
Manish

On Thu, Sep 25, 2008 at 10:57 AM, liangzhihong1984 <[hidden email]> wrote:
    I captured video stream from a USB camera, now want to send it to other users with udpsink,
and at the same time playback the video stream locally, how should I implement this through gst-launch
command line, as well as C language? 
 
 
 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel