I'm just experimenting a little with gstreamer and have a problem I don't quite understand. I want to stream a live web cam and play it on another computer with VLC. I'm streaming a web cam video with:
gst-launch v4l2src ! video/x-raw-yuv,width=320,height=240,framerate=\(fraction\)5/1 ! ffmpegcolorspace ! jpegenc ! multipartmux ! udpsink host=192.168.0.102 port=6279 On the same computer, I can open VLC and play the udp stream with udp://@192.168.0.102:6279 fine. However, when I go to another computer it says my input cannot be opened. I thought it might have been a firewall issue, but I've turned off all the firewalls and still no video. Is there something I'm not aware of regarding gstreamer? Should I be able to do this? Thanks, Steve The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail. Get busy. ------------------------------------------------------------------------------ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
This is just a guess, but perhaps if any of your packets get dropped,
the stream is corrupted. TCP may be better anyhow because the server will not over-send to a client if enough throughput isn't available. To use UDP I think you'll need to use elements that know how to deal with dropped packets. On Wed, Jun 2, 2010 at 1:34 PM, Steve Ricketts <[hidden email]> wrote: > I'm just experimenting a little with gstreamer and have a problem I don't > quite understand. I want to stream a live web cam and play it on another > computer with VLC. I'm streaming a web cam video with: > > gst-launch v4l2src ! > video/x-raw-yuv,width=320,height=240,framerate=\(fraction\)5/1 ! > ffmpegcolorspace ! jpegenc ! multipartmux ! udpsink host=192.168.0.102 > port=6279 > > On the same computer, I can open VLC and play the udp stream with > udp://@192.168.0.102:6279 fine. However, when I go to another computer it > says my input cannot be opened. I thought it might have been a firewall > issue, but I've turned off all the firewalls and still no video. > > Is there something I'm not aware of regarding gstreamer? Should I be able > to do this? > > Thanks, > > Steve > > ________________________________ > The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with > Hotmail. Get busy. > ------------------------------------------------------------------------------ > > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > -- http://codebad.com/ ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Ah, never knew about elements not knowing about dropped packets. So, is
there a similar rtp pipeline? -------------------------------------------------- From: "Donny Viszneki" <[hidden email]> Sent: Thursday, June 03, 2010 2:59 PM To: "Discussion of the development of GStreamer" <[hidden email]> Subject: Re: [gst-devel] Trying to play a UDP webcam stream with VLC > This is just a guess, but perhaps if any of your packets get dropped, > the stream is corrupted. TCP may be better anyhow because the server > will not over-send to a client if enough throughput isn't available. > To use UDP I think you'll need to use elements that know how to deal > with dropped packets. > > On Wed, Jun 2, 2010 at 1:34 PM, Steve Ricketts <[hidden email]> > wrote: >> I'm just experimenting a little with gstreamer and have a problem I don't >> quite understand. I want to stream a live web cam and play it on another >> computer with VLC. I'm streaming a web cam video with: >> >> gst-launch v4l2src ! >> video/x-raw-yuv,width=320,height=240,framerate=\(fraction\)5/1 ! >> ffmpegcolorspace ! jpegenc ! multipartmux ! udpsink host=192.168.0.102 >> port=6279 >> >> On the same computer, I can open VLC and play the udp stream with >> udp://@192.168.0.102:6279 fine. However, when I go to another computer >> it >> says my input cannot be opened. I thought it might have been a firewall >> issue, but I've turned off all the firewalls and still no video. >> >> Is there something I'm not aware of regarding gstreamer? Should I be >> able >> to do this? >> >> Thanks, >> >> Steve >> >> ________________________________ >> The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with >> Hotmail. Get busy. >> ------------------------------------------------------------------------------ >> >> >> _______________________________________________ >> gstreamer-devel mailing list >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel >> >> > > > > -- > http://codebad.com/ > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Well udpsrc and udpsink are not any more complicated than that: they
simply send and receive UDP packets. There is no inherent feature of UDP useful for recovering dropped packets. Indeed it would defeat the purposes of UDP communication if any more features were built into udpsrc and udpsink. You aren't the first to ask about building RTP pipelines. Maybe Google around. I have never done it myself. On Thu, Jun 3, 2010 at 3:37 PM, Steve Ricketts <[hidden email]> wrote: > Ah, never knew about elements not knowing about dropped packets. So, is > there a similar rtp pipeline? > > -------------------------------------------------- > From: "Donny Viszneki" <[hidden email]> > Sent: Thursday, June 03, 2010 2:59 PM > To: "Discussion of the development of GStreamer" > <[hidden email]> > Subject: Re: [gst-devel] Trying to play a UDP webcam stream with VLC > >> This is just a guess, but perhaps if any of your packets get dropped, >> the stream is corrupted. TCP may be better anyhow because the server >> will not over-send to a client if enough throughput isn't available. >> To use UDP I think you'll need to use elements that know how to deal >> with dropped packets. >> >> On Wed, Jun 2, 2010 at 1:34 PM, Steve Ricketts <[hidden email]> >> wrote: >>> I'm just experimenting a little with gstreamer and have a problem I don't >>> quite understand. I want to stream a live web cam and play it on another >>> computer with VLC. I'm streaming a web cam video with: >>> >>> gst-launch v4l2src ! >>> video/x-raw-yuv,width=320,height=240,framerate=\(fraction\)5/1 ! >>> ffmpegcolorspace ! jpegenc ! multipartmux ! udpsink host=192.168.0.102 >>> port=6279 >>> >>> On the same computer, I can open VLC and play the udp stream with >>> udp://@192.168.0.102:6279 fine. However, when I go to another computer >>> it >>> says my input cannot be opened. I thought it might have been a firewall >>> issue, but I've turned off all the firewalls and still no video. >>> >>> Is there something I'm not aware of regarding gstreamer? Should I be >>> able >>> to do this? >>> >>> Thanks, >>> >>> Steve >>> >>> ________________________________ >>> The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with >>> Hotmail. Get busy. >>> ------------------------------------------------------------------------------ >>> >>> >>> _______________________________________________ >>> gstreamer-devel mailing list >>> [hidden email] >>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel >>> >>> >> >> >> >> -- >> http://codebad.com/ >> >> ------------------------------------------------------------------------------ >> ThinkGeek and WIRED's GeekDad team up for the Ultimate >> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the >> lucky parental unit. See the prize list and enter to win: >> http://p.sf.net/sfu/thinkgeek-promo >> _______________________________________________ >> gstreamer-devel mailing list >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel >> > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > -- http://codebad.com/ ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Lol... I've been a googling! ;-) Actually, it really doesn't matter if I
drop a packet along the way as long as it keeps going. I'll see what I can find. Thanks again for the reply! sr -------------------------------------------------- From: "Donny Viszneki" <[hidden email]> Sent: Thursday, June 03, 2010 3:45 PM To: "Discussion of the development of GStreamer" <[hidden email]> Subject: Re: [gst-devel] Trying to play a UDP webcam stream with VLC > Well udpsrc and udpsink are not any more complicated than that: they > simply send and receive UDP packets. There is no inherent feature of > UDP useful for recovering dropped packets. Indeed it would defeat the > purposes of UDP communication if any more features were built into > udpsrc and udpsink. > > You aren't the first to ask about building RTP pipelines. Maybe Google > around. I have never done it myself. > > On Thu, Jun 3, 2010 at 3:37 PM, Steve Ricketts <[hidden email]> > wrote: >> Ah, never knew about elements not knowing about dropped packets. So, is >> there a similar rtp pipeline? >> >> -------------------------------------------------- >> From: "Donny Viszneki" <[hidden email]> >> Sent: Thursday, June 03, 2010 2:59 PM >> To: "Discussion of the development of GStreamer" >> <[hidden email]> >> Subject: Re: [gst-devel] Trying to play a UDP webcam stream with VLC >> >>> This is just a guess, but perhaps if any of your packets get dropped, >>> the stream is corrupted. TCP may be better anyhow because the server >>> will not over-send to a client if enough throughput isn't available. >>> To use UDP I think you'll need to use elements that know how to deal >>> with dropped packets. >>> >>> On Wed, Jun 2, 2010 at 1:34 PM, Steve Ricketts <[hidden email]> >>> wrote: >>>> I'm just experimenting a little with gstreamer and have a problem I >>>> don't >>>> quite understand. I want to stream a live web cam and play it on >>>> another >>>> computer with VLC. I'm streaming a web cam video with: >>>> >>>> gst-launch v4l2src ! >>>> video/x-raw-yuv,width=320,height=240,framerate=\(fraction\)5/1 ! >>>> ffmpegcolorspace ! jpegenc ! multipartmux ! udpsink host=192.168.0.102 >>>> port=6279 >>>> >>>> On the same computer, I can open VLC and play the udp stream with >>>> udp://@192.168.0.102:6279 fine. However, when I go to another computer >>>> it >>>> says my input cannot be opened. I thought it might have been a >>>> firewall >>>> issue, but I've turned off all the firewalls and still no video. >>>> >>>> Is there something I'm not aware of regarding gstreamer? Should I be >>>> able >>>> to do this? >>>> >>>> Thanks, >>>> >>>> Steve >>>> >>>> ________________________________ >>>> The New Busy think 9 to 5 is a cute idea. Combine multiple calendars >>>> with >>>> Hotmail. Get busy. >>>> ------------------------------------------------------------------------------ >>>> >>>> >>>> _______________________________________________ >>>> gstreamer-devel mailing list >>>> [hidden email] >>>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel >>>> >>>> >>> >>> >>> >>> -- >>> http://codebad.com/ >>> >>> ------------------------------------------------------------------------------ >>> ThinkGeek and WIRED's GeekDad team up for the Ultimate >>> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the >>> lucky parental unit. See the prize list and enter to win: >>> http://p.sf.net/sfu/thinkgeek-promo >>> _______________________________________________ >>> gstreamer-devel mailing list >>> [hidden email] >>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel >>> >> >> ------------------------------------------------------------------------------ >> ThinkGeek and WIRED's GeekDad team up for the Ultimate >> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the >> lucky parental unit. See the prize list and enter to win: >> http://p.sf.net/sfu/thinkgeek-promo >> _______________________________________________ >> gstreamer-devel mailing list >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel >> > > > > -- > http://codebad.com/ > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Am 03.06.2010 22:49, schrieb Steve Ricketts:
> Lol... I've been a googling! ;-) Actually, it really doesn't matter if I > drop a packet along the way as long as it keeps going. I'll see what I can > find. Thanks again for the reply! > most elements come with an example in their docs. There is also a README part of the rtp plugin. Stefan > sr > > -------------------------------------------------- > From: "Donny Viszneki" <[hidden email]> > Sent: Thursday, June 03, 2010 3:45 PM > To: "Discussion of the development of GStreamer" > <[hidden email]> > Subject: Re: [gst-devel] Trying to play a UDP webcam stream with VLC > >> Well udpsrc and udpsink are not any more complicated than that: they >> simply send and receive UDP packets. There is no inherent feature of >> UDP useful for recovering dropped packets. Indeed it would defeat the >> purposes of UDP communication if any more features were built into >> udpsrc and udpsink. >> >> You aren't the first to ask about building RTP pipelines. Maybe Google >> around. I have never done it myself. >> >> On Thu, Jun 3, 2010 at 3:37 PM, Steve Ricketts <[hidden email]> >> wrote: >>> Ah, never knew about elements not knowing about dropped packets. So, is >>> there a similar rtp pipeline? >>> >>> -------------------------------------------------- >>> From: "Donny Viszneki" <[hidden email]> >>> Sent: Thursday, June 03, 2010 2:59 PM >>> To: "Discussion of the development of GStreamer" >>> <[hidden email]> >>> Subject: Re: [gst-devel] Trying to play a UDP webcam stream with VLC >>> >>>> This is just a guess, but perhaps if any of your packets get dropped, >>>> the stream is corrupted. TCP may be better anyhow because the server >>>> will not over-send to a client if enough throughput isn't available. >>>> To use UDP I think you'll need to use elements that know how to deal >>>> with dropped packets. >>>> >>>> On Wed, Jun 2, 2010 at 1:34 PM, Steve Ricketts <[hidden email]> >>>> wrote: >>>>> I'm just experimenting a little with gstreamer and have a problem I >>>>> don't >>>>> quite understand. I want to stream a live web cam and play it on >>>>> another >>>>> computer with VLC. I'm streaming a web cam video with: >>>>> >>>>> gst-launch v4l2src ! >>>>> video/x-raw-yuv,width=320,height=240,framerate=\(fraction\)5/1 ! >>>>> ffmpegcolorspace ! jpegenc ! multipartmux ! udpsink host=192.168.0.102 >>>>> port=6279 >>>>> >>>>> On the same computer, I can open VLC and play the udp stream with >>>>> udp://@192.168.0.102:6279 fine. However, when I go to another computer >>>>> it >>>>> says my input cannot be opened. I thought it might have been a >>>>> firewall >>>>> issue, but I've turned off all the firewalls and still no video. >>>>> >>>>> Is there something I'm not aware of regarding gstreamer? Should I be >>>>> able >>>>> to do this? >>>>> >>>>> Thanks, >>>>> >>>>> Steve >>>>> >>>>> ________________________________ >>>>> The New Busy think 9 to 5 is a cute idea. Combine multiple calendars >>>>> with >>>>> Hotmail. Get busy. >>>>> ------------------------------------------------------------------------------ >>>>> >>>>> >>>>> _______________________________________________ >>>>> gstreamer-devel mailing list >>>>> [hidden email] >>>>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel >>>>> >>>>> >>>> >>>> >>>> >>>> -- >>>> http://codebad.com/ >>>> >>>> ------------------------------------------------------------------------------ >>>> ThinkGeek and WIRED's GeekDad team up for the Ultimate >>>> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the >>>> lucky parental unit. See the prize list and enter to win: >>>> http://p.sf.net/sfu/thinkgeek-promo >>>> _______________________________________________ >>>> gstreamer-devel mailing list >>>> [hidden email] >>>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel >>>> >>> >>> ------------------------------------------------------------------------------ >>> ThinkGeek and WIRED's GeekDad team up for the Ultimate >>> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the >>> lucky parental unit. See the prize list and enter to win: >>> http://p.sf.net/sfu/thinkgeek-promo >>> _______________________________________________ >>> gstreamer-devel mailing list >>> [hidden email] >>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel >>> >> >> >> >> -- >> http://codebad.com/ >> >> ------------------------------------------------------------------------------ >> ThinkGeek and WIRED's GeekDad team up for the Ultimate >> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the >> lucky parental unit. See the prize list and enter to win: >> http://p.sf.net/sfu/thinkgeek-promo >> _______________________________________________ >> gstreamer-devel mailing list >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel >> > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |