<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi Marco Ballesio thank you again for the support. Before I start to implement your proposals, I want to ask you some questions. Let me respond to your request first<br>> only. Do you have special requirements about using SIP in your AS<br>> media controller?<br>No, I don't have. I can use RTSP.<br><br>> Wim's rtsp streaming server will probably help you with all of this:<br>Thank you. I'll download and check it.<br><br>My questions are:<br>- Is it possible to read from a file that is being written by another process? I mean the second server is going to read from teh file that the first server is writing to.<br><br>> by periodically looping (through a timer) on the first server you may<br>> implement a basic way to re-start the file each n minutes.<br><br>Please clarify what you mean by restart the file.<br><br>> More elegant ways may involve a valve element and transitions to NULL<br>> state/eos for the filesink element only.<br><br>What will this (valve) element do?<br><br>Thank you.<br><br>Best regards,<br><br><br>- Zelalem S. <br><br><br>> Date: Thu, 25 Nov 2010 19:59:05 +0200<br>> From: gibrovacco@gmail.com<br>> To: gstreamer-devel@lists.sourceforge.net<br>> Subject: Re: [gst-devel] How to create a video recording buffer from a live broadcast and read from it at the same time<br>> <br>> Hi,<br>> <br>> On Thu, Nov 25, 2010 at 3:33 PM, Zelalem Sintayehu <zelalems@hotmail.com> wrote:<br>> > Hi Dear Marco Ballesio thank you for your prompt response. I'm a student and<br>> > want to do this as a project. Basically I want to have a kind of network<br>> > based recorder which is controlled by either SIP or RTSP from an application<br>> > server. Those are the two protocols that I was thinking about to use.<br>> > Currently I have an RTSP proxy that I developed which is controlled by a SIP<br>> > Application Server (AS) and delivers the media to a client. So I want to<br>> > extend it a little further so that when it is told to pause, it will pause<br>> > the stream it gets from the server (which basically means recording it for<br>> > later use) and again when told to resume starts the delivery from the place<br>> > where it was paused. The client (a SIP) is just a passive media reciever.<br>> <br>> in my understanding it should be possible to do all of this with RTSP<br>> only. Do you have special requirements about using SIP in your AS<br>> media controller?<br>> <br>> > the media control comes from the application server. I also want to use a<br>> > client with basic RTSP capability but still the media control comes from the<br>> > AS or media controller. With regard to bandwith limitation I don't have<br>> > badndwidth costraints, but I'm thinking that the recorder should have a<br>> > limited (specified) buffer size. It can't go on recording forever. I also<br>> > only want this to work for one client. Hope I have attended your queries.<br>> ><br>> > Once again thank you for your support.<br>> <br>> A few ideas. Disclaimer: I've not personally tried them, so your<br>> mileage to get the thing working may vary..<br>> <br>> Wim's rtsp streaming server will probably help you with all of this:<br>> <br>> http://people.freedesktop.org/~wtay/<br>> <br>> in my understanding, you would need to setup two servers:<br>> <br>> - the first one streaming from the camera AND locally saving to file<br>> (through, between the others, a tee element and an mp4mux with the<br>> option "faststart" set to true).<br>> <br>> - the second one providing the file saved from the first one.<br>> <br>> by periodically looping (through a timer) on the first server you may<br>> implement a basic way to re-start the file each n minutes. More<br>> elegant ways may involve a valve element and transitions to NULL<br>> state/eos for the filesink element only.<br>> <br>> Regards<br>> <br>> ><br>> > Best regards,<br>> ><br>> > - Zelalem S.<br>> ><br>> ><br>> ><br>> ><br>> >> Date: Thu, 25 Nov 2010 13:39:37 +0200<br>> >> From: gibrovacco@gmail.com<br>> >> To: gstreamer-devel@lists.sourceforge.net<br>> >> Subject: Re: [gst-devel] How to create a video recording buffer from a<br>> >> live broadcast and read from it at the same time<br>> >><br>> >> Hi,<br>> >><br>> >> On Wed, Nov 24, 2010 at 12:13 PM, Zelalem Sintayehu<br>> >> <zelalems@hotmail.com> wrote:<br>> >> > Hi I want to create a program using gstreamer that when activated starts<br>> >> > to<br>> >> > record a live broadcast and when requested starts to deliver what is<br>> >> > being<br>> >> > recorded from the beginning of the record while keeping on recording on<br>> >> > the<br>> >> > other end (the live broadcast). At some point I want to ignore recording<br>> >> > and<br>> >> > go live. I hope gstreamer could be used to do this. Basically my problem<br>> >> > is<br>> >> > to create a buffer of a file that I can read and write into it at the<br>> >> > same<br>> >> > time. Please advice me how I can do this.<br>> >><br>> >> Imo there are many ways for achieving this, some of which being easy,<br>> >> other more difficult. The freedom you'll have in your design depends<br>> >> on some variables:<br>> >><br>> >> - You'll anyway have to use a signalling protocol (e.g. RTSP, SIP,<br>> >> XMPP, etc..) to make it working, so you'll have to carefully pick the<br>> >> one which better suits your requirements (e.g. RTSP is pretty well<br>> >> supported from GStreamer from both sides, for SIP or XMPP I suggest<br>> >> you to give a look to the telepathy framework).<br>> >><br>> >> - Are you planning to make it compatible with standard clients? If<br>> >> yes, which protocols do they use? If not, are you planning to write<br>> >> the client application as well?<br>> >><br>> >> - Do you have resource constraints (network bandwidth, CPU, disk, memory)?<br>> >><br>> >> - Is it possible that multiple clients will connect to the same server?<br>> >><br>> >> If you can clarify the points of above it would be possible to give<br>> >> you, in turn, an appropriate answer.<br>> >><br>> >> Regards<br>> >><br>> >> ><br>> >> > Thank you.<br>> >> ><br>> >> > Best regards,<br>> >> ><br>> >> > - Zelalem S.<br>> >> ><br>> >> ><br>> >> ><br>> >> ><br>> >> > ------------------------------------------------------------------------------<br>> >> > Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!<br>> >> > Tap into the largest installed PC base & get more eyes on your game by<br>> >> > optimizing for Intel(R) Graphics Technology. Get started today with the<br>> >> > Intel(R) Software Partner Program. Five $500 cash prizes are up for<br>> >> > grabs.<br>> >> > http://p.sf.net/sfu/intelisp-dev2dev<br>> >> > _______________________________________________<br>> >> > gstreamer-devel mailing list<br>> >> > gstreamer-devel@lists.sourceforge.net<br>> >> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel<br>> >> ><br>> >> ><br>> >><br>> >><br>> >> ------------------------------------------------------------------------------<br>> >> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!<br>> >> Tap into the largest installed PC base & get more eyes on your game by<br>> >> optimizing for Intel(R) Graphics Technology. Get started today with the<br>> >> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.<br>> >> http://p.sf.net/sfu/intelisp-dev2dev<br>> >> _______________________________________________<br>> >> gstreamer-devel mailing list<br>> >> gstreamer-devel@lists.sourceforge.net<br>> >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel<br>> ><br>> > ------------------------------------------------------------------------------<br>> > Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!<br>> > Tap into the largest installed PC base & get more eyes on your game by<br>> > optimizing for Intel(R) Graphics Technology. Get started today with the<br>> > Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.<br>> > http://p.sf.net/sfu/intelisp-dev2dev<br>> > _______________________________________________<br>> > gstreamer-devel mailing list<br>> > gstreamer-devel@lists.sourceforge.net<br>> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel<br>> ><br>> ><br>> <br>> ------------------------------------------------------------------------------<br>> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!<br>> Tap into the largest installed PC base & get more eyes on your game by<br>> optimizing for Intel(R) Graphics Technology. Get started today with the<br>> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.<br>> http://p.sf.net/sfu/intelisp-dev2dev<br>> _______________________________________________<br>> gstreamer-devel mailing list<br>> gstreamer-devel@lists.sourceforge.net<br>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel<br>                                            </body>
</html>