On Mon, 2008-09-15 at 16:51 +0530, ajitjohn wrote:
> Hii, > > I am doing a project in which i am supposed to stream .asf file using > gstreamer to a client pc which has a wmp player.So to acheive this aim can i > use the element ffmux_asf written by you and directly stream using > udpsink.Is my understanding correct regarding this.Can you suggest all > possible alternatives to stream asf file using gstreamer and receive throgh > wmp player at the client side. > Hello, Dude, stop posting this same question around to a zillion of people multiple times. Nobody is able to answer your question because it is underspecified. Also there is no easy answer to your question, you are asking people how to write a multimedia streaming server. Anyway, I'll start with the possibilities and give you an idea on how to implement them. First use case is where we assume the asf file is already available on the server. This can be, for example, achieved by transcoding (google gentrans for a gstreamer based transcoder) and uploading an asf file to the streaming server. - stream asf over http: Install a webserver, upload the file, stream the file with http. No GStreamer involved here although you could write a custom web module that hands a file descriptor to a gstreamer pipeline that uses fdsink to stream to the client. I believe flumotion has code for this in the proprietary extensions. - stream asf over mms. This is basically writing a custom mms server, documents on how mms works can be found on the internets although my experience is that most documents are not very accurate. There is no code in GStreamer that you can reuse for this task. I'm also not aware of an open source implementation of such a server. I would not recommend walking this path, microsoft is discontinuing mms in favour of rtsp. - stream asf over rtsp. You'll need to write an RTSP server that configures the gstreamer transport pipeline. You'll also need to write an asf payloader both for udp and tcp transports. A document on how an rtsp server would work in gstreamer can be found here: http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/gst/rtsp/README?revision=1.5&view=markup There are a bunch of helper libraries in the gstreamer plugins base module that can assist you in creating and parsing RTSP messages, SDP messages and RTP packets. Second use case would be when you need to transcode or encode into an asf stream on the fly. We're talking about live capture or live transcoding. For this you will need wma/wmv encoders and a good asf muxer. ffmux_asf is not a good muxer, I would not use it. I understand Fluendo can provide these encoders and muxers to you. Again I would recommend using either a http server or an rtsp server to prepare the gstreamer transcoding/encoding pipelines. Hope this helps, Wim > regards, > Ajit. > > -----Original Message----- > From: Wim Taymans [mailto:[hidden email]] > Sent: Monday, September 15, 2008 12:57 PM > To: [hidden email] > Cc: Ajit S John > Subject: Re: rtspwms element query > > > On Mon, 2008-09-15 at 11:56 +0530, irfanshaikh wrote: > > Hi wim, > > > > I want to stream a .asf file on Windows media player using following > > pipeline through Gstreamer. > > > > 1) gst-launch filesrc location=/root/Desktop/mjpegi.asf ! rtspwms ! > > tcpserversink port=554 host=10.60.3.55 > > > > 2) gst-launch filesrc location=/root/Desktop/mjpegi.asf ! rtspwms ! > udpsink > > port=5005 host=10.60.3.55 > > > > > > I am getting following warnings: > > WARNING: erroneous pipeline: could not link filesrc0 to rtspwms0 > > rtpwms is an rtsp extension object, it's used to implement the windows > specific rtsp extensions. It is not meant to be used as an element in a > pipeline. > > We don't currently have elements in GStreamer to implement a windows > streaming server. We have however some support to receive asf streams > from an mms or rtsp windows server. > > Wim > > > > > On windows media I have used > > Open URL : rtsp://<ip adress>:<port number> > > > > Please can me help me out how to use this element. > > > > Thankyou in advance, > > > > Irfan. > > > > > > > > The information contained in this electronic message and any attachments > to this message are intended for the exclusive use of the addressee(s) and > may contain proprietary, confidential or privileged information. If you are > not the intended recipient, you should not disseminate, distribute or copy > this e-mail. Please notify the sender immediately and destroy all copies of > this message and any attachments contained in it. > > > The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it. ------------------------------------------------------------------------- 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 |
Hi all,
I am trying to mux the various audio/video elementry streams using ffmux_asf. I used following pipeline. 1)gst-launch filesrc location=/root/Desktop/teststreams/mpeg4/mpeg4_mp3.ASF ! ffdemux_asf name=demux demux.audio_ 00 ! queue ! mux.audio_0 demux.video_00 ! queue ! mux.video_0 ffmux_asf name=mux ! filesink location=/root/Desktop/test2.asf ffmpeg (FFmpeg MJPEG decoder) mp3lib (mp3lib MPEG layer-2, layer-3 2)gst-launch audiotestsrc ! ffenc_mp3 ! queue ! mux.audio_0 videotestsrc ! ffenc_mpeg4 ! queue ! mux.video_0 ffmux_asf name=mux ! filesink location=/root/Desktop/Muxed.asf 3)gst-launch filesrc location=/root/Desktop/teststreams/mpeg4/mpeg4_wma.ASF ! ffdemux_asf ! ffmux_asf ! filesink location=/root/Desktop/test4.asf ffmpeg (FFmpeg M$ MPEG-4 v2) ffmpeg (DivX audio v2 (FFmpeg)) I think there is something wrong in my pipeline structure. Can any one help me to find out how does ffmux_asf works for both audo, video elementry streams {videotestsrc and audiotestsrc}. I would be very thankful to you all if u explaing me with videotestsrc and audiotestsrc how does ffmux_asf works. Regards, Irfan. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it. ------------------------------------------------------------------------- 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 |
Free forum by Nabble | Edit this page |