Hi,
Hi i am using a following pipeline to stream a video to a STB/VLC, gst-launch mpegtsmux name=mux ! udpsink clients=192.168.1.46:1234,192.168.1.105:1234 filesrc location=collateral.ts ! ffdemux_mpegts name=demux demux. ! ffdec_h264 ! queue ! ffmpegcolorspace ! videoscale ! x264enc ! mux. It is able to stream to vlc/STB , but the video is not playing smoothly. It stops every now and then and plays. Is it the problem with the pipeline i am using? regards, Sumanth ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Sumanth V wrote:
> Hi, > > Hi i am using a following pipeline to stream a video to a STB/VLC, > > gst-launch mpegtsmux name=mux ! udpsink clients=192.168.1.46:1234 > <http://192.168.1.46:1234>,192.168.1.105:1234 > <http://192.168.1.105:1234> filesrc location=collateral.ts ! > ffdemux_mpegts name=demux demux. ! ffdec_h264 ! queue ! > ffmpegcolorspace ! videoscale ! x264enc ! mux. > > It is able to stream to vlc/STB , but the video is not playing > smoothly. It stops every now and then and plays. > > Is it the problem with the pipeline i am using? You should add "udpsink *sync=true*" -- vincent. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi,
I added "sync=true" , but still its the same. Its not playing smoothly. regrads, Sumanth 2009/6/9 Vincent Génieux <[hidden email]>
------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Sumanth V
Regarding Sumanth's question, it is possible to stream a TS file (audio AAC, and video H264) directly? I mean, the TS file already have headers and so on, so, I guess that reading it, passing it through some element that controls the rate, and sending it should be enough ... right? On Sumanth's pipeline decodes h264 and then it is encoded again! This pipe does not work because it reads the file too fast, but how could I modify it?? gst-launch-0.10 filesrc location=h264aac.ts ! ffdemux_mpegts name=demux demux. ! video/x-h264 ! mux. demux. ! audio/aac ! mux. ffmux_mpegts name=mux ! udpsink host=239.1.2.4 host=8434 sync=true Thanks in advance. All the best. LD. Sumanth V wrote: Hi, ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi,
I was able to stream the video with out decoding and encoding it again, I used the following pipeline and it worked fine. gst-launch filesrc location=matrix.ts ! mpegtsdemux ! mpegtsmux ! udpsink clients=192.168.1.105:1234 regards, Sumanth On Tue, Jun 9, 2009 at 4:09 PM, ldac <[hidden email]> wrote:
------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
And how do you receive it from the client side. On Wed, Jun 10, 2009 at 11:22 AM, Sumanth V <[hidden email]> wrote: Hi, ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi,
I am actually streaming it to a STB. It dose the decoding part. You can also stream it to the vlc, it plays correctly. Rigth now i was just streaming only video. using the pipeline i had posted, you can stream any TS file to vlc/STB. To watch it on vlc just type this in your command prompt vlc udp://192.168.1.46 regards, sumanth On Wed, Jun 10, 2009 at 3:05 PM, Thabelo Mmbengeni <[hidden email]> wrote:
------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
I am just not sure how VLC is doing it
but why doesn't this work ( I am using localhost) gst-launch udpsrc uri=rtp://127.0.0.1:5000 ! decodebin ! ffmpegcolorspace ! xvimagesink On Wed, Jun 10, 2009 at 11:49 AM, Sumanth V <[hidden email]> wrote: Hi, ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
On the udpsrc caps property must be set with proper caps.
On Wed, Jun 10, 2009 at 4:03 PM, Thabelo Mmbengeni <[hidden email]> wrote: I am just not sure how VLC is doing it ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Thanks that means if eg I am sinking (udpsink) x-rtp "caps" on the server I should also source (udpsrc) x-rtp "caps"on the client side.
On Wed, Jun 10, 2009 at 12:51 PM, Jyoti <[hidden email]> wrote: On the udpsrc caps property must be set with proper caps. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Yeah. Run the server pipeline in verbose mode i.e., with -v option. And copy the caps(full caps) of udpsink on the udpsrc.
------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Ok thanks, I kind of have an Idea now.
On Wed, Jun 10, 2009 at 1:17 PM, Jyoti <[hidden email]> wrote: Yeah. Run the server pipeline in verbose mode i.e., with -v option. And copy the caps(full caps) of udpsink on the udpsrc. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi
I tried running this command and it worked flawlessly gst-launch -v filesrc location=video.ogg ! oggdemux ! rtptheorapay ! udpsink port=5000 host=127.0.0.1 but my code is erronous source = gst_element_factory_make ("filesrc", "file-source"); demuxer = gst_element_factory_make ("oggdemux", "dv-parser"); rtppay = gst_element_factory_make ("rtptheorapay", "video-rtp-pay-converter"); udpsink = gst_element_factory_make ("udpsink", "video-output"); rtpbin = gst_element_factory_make("gstrtpbin", "rtp-bin"); /* put all elements in a bin linkage*/ gst_bin_add_many (GST_BIN (pipeline), source, demuxer, rtppay, udpsink, NULL); gst_element_link_many (source, demuxer, rtppay, udpsink, NULL); the error I get is Setting to PLAYING Running Error: Internal data stream error. Returned, stopping playback Deleting pipeline Please help On Wed, Jun 10, 2009 at 1:55 PM, Thabelo Mmbengeni <[hidden email]> wrote: Ok thanks, I kind of have an Idea now. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Thabelo Mmbengeni-2
Hi all, I was trying to record audio and video over the network. I wanted to check that separately and succeeded with the video recording, but i couldn't record the audio part. BTW, I want to record into avi file and I used h263p for the video and wanted to use either amr or gsm for the audio. I hope this is possible. The following is my code both from teh sender and reciever side.
Sender: gst-launch-0.10 -v alsasrc ! queue ! audio/x-raw-int,rate=8000,channels=1,depth=8 ! audioconvert ! gsmenc ! rtpgsmpay ! queue ! udpsink port=5002 Receiver: gst-launch-0.10 -v udpsrc port=5002 ! queue ! rtpgsmdepay ! audio/x-raw-int,rate=8000,channels=1,depth=8 ! avimux ! filesink location=audio.avi sync=false and I got the following error and it terminates. "WARNING: erroneous pipeline: could not link rtpgsmdepay0 to avimux0. By the way, when i store both the video later, should i still put "sync=false" (the last statement in the reciever code)? Please help me. Thank you. - Zelalem S. Windows Live™: Keep your life in sync. Check it out! ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Thabelo Mmbengeni-2
the demuxer cannot be directly linked. it should be linked dynamically through the "pad-added" signal.
On Wed, Jun 10, 2009 at 6:29 PM, Thabelo Mmbengeni <[hidden email]> wrote: Hi ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by zelalem
You should set caps property on udpsrc element at receiver side.
On Wed, Jun 10, 2009 at 7:26 PM, Zelalem Sintayehu <[hidden email]> wrote:
------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi Jyoti, thank you for your prompt response. I added the following caps statement, but it is still the same. The following is the modified receiver side code.
gst-launch-0.10 -v udpsrc port=5002 caps="application/x-rtp,media=(string)audio,clock-rate=(int)8000,encoding-name=(string)GSM,encoding-params=(string)1,octet-align=(string)1" ! queue ! rtpgsmdepay ! audio/x-raw-int,rate=8000,channels=1,depth=8 ! avimux ! filesink location=audio.avi sync=false The error is the same: "WARNING: erroneous pipeline: could not link rtpgsmdepay0 to avimux0" Thank you. - Zelalem S. ----------------------------------- From: [hidden email] To: [hidden email] Subject: Re: [gst-devel] Problem with Recording Audio from a Network You should set caps property on udpsrc element at receiver side. On Wed, Jun 10, 2009 at 7:26 PM, Zelalem Sintayehu <[hidden email]> wrote:
Windows Live™: Keep your life in sync. Check it out! ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi,
You cannot mux gsm-encoded audio into AVI container. Check avimux
description for allowed formats.
--Roope
------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by zelalem
Check out the caps between your rtpgsmdepay and avimux.
Run server side with -v option and copy the caps on the gsmenc and apply those caps between rtpgsmdepay & avimux. On Thu, Jun 11, 2009 at 12:53 PM, Zelalem Sintayehu <[hidden email]> wrote:
------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by roope.jarvinen
Hi Roope, you are right, it allows alaw,mulaw,ac3,mpeg and raw. But alaw and mulaw don't have payloader and depayloader. Anyway, I tried to recieve without depayloader but it still produced the same error. The following is what tried. Please help me.
gst-launch-0.10 -v udpsrc port=5002 caps="audio/x-rtp,rate=1000,channels=1,depth=8" ! queue ! audio/x-alaw-int,rate=1000,channels=1,depth=8 ! avimux ! filesink location=audio.avi sync=false . I also changed the caps for udpsrc with "audio/x-alaw-int,rate=1000,channels=1,depth=8" but didn't work. Thank you. - Zelalem S. From: [hidden email] To: [hidden email] Date: Thu, 11 Jun 2009 09:35:58 +0200 Subject: Re: [gst-devel] Problem with Recording Audio from a Network Hi,
You cannot mux gsm-encoded audio into AVI container. Check avimux
description for allowed formats.
--Roope
check out the rest of the Windows Live™. More than mail–Windows Live™ goes way beyond your inbox. More than messages ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |