"<font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-GB">And another feature-request: Is it possible to request
a jpg or another screenshot of the flv from the server? …and force the
browser to download the screenshot?"<br><br>this would be a very usefull function <br>could be used on whiteboard applications too<br></span></font><br><div><span class="gmail_quote">On 6/29/06, <b class="gmail_sendername">
Yasar Özdemir</b> <<a href="mailto:oezdemir@pragmatik.ids-mannheim.de">oezdemir@pragmatik.ids-mannheim.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div link="blue" vlink="blue" lang="DE">
<div>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Hi,</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-GB">ns.play() doesnt work proper with the start and length
parameters. When I make:</span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-GB"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> ns = new NetStream(nc);</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> videoContainer.attachVideo(ns);</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> ns.play(fName,50,5);</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-GB">First of all, the start and length parameters are completely
ignored: It starts always at position 0 with -1 length.</span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-GB">Second: ns.seek() doesn't work anymore, when I
set start and length in ns.play()</span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-GB"> </span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-GB">Do I something wrong there? </span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-GB"> </span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-GB">And don't you think a server-side solution will
be more stable? </span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-GB">I could call a class like ns.call("cut",videoname,start,length);
and the server will prepare the stream for me. Isn't that possible?</span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-GB"> </span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-GB">And another feature-request: Is it possible to request
a jpg or another screenshot of the flv from the server? …and force the
browser to download the screenshot?</span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-GB"> </span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-GB">Best regards & sorry for nerving,</span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-GB">Yasar</span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-GB"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>
<p style="margin-left: 35.4pt;"><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;">-----Ursprüngliche Nachricht-----<br>
<b><span style="font-weight: bold;">Von:</span></b> <a href="mailto:Red5-bounces@osflash.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Red5-bounces@osflash.org</a>
[mailto:<a href="mailto:Red5-bounces@osflash.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Red5-bounces@osflash.org</a>] <b><span style="font-weight: bold;">Im Auftrag
von </span></b>Steven Gong<br>
<b><span style="font-weight: bold;">Gesendet:</span></b> Montag, 26. Juni 2006
12:50<br>
<b><span style="font-weight: bold;">An:</span></b> <a href="mailto:Red5@osflash.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Red5@osflash.org</a><br>
<b><span style="font-weight: bold;">Betreff:</span></b> Re: [Red5] About
streaming "on demand"</span></font></p></div><div><span class="e" id="q_10c2017835687fc3_1">
<p style="margin-left: 35.4pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<p style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 35.4pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<div>
<p style="margin-left: 35.4pt;"><span><font face="Times New Roman" size="3"><span style="font-size: 12pt;">On 6/26/06, <b><span style="font-weight: bold;">Yasar Özdemir</span></b> <<a href="mailto:oezdemir@pragmatik.ids-mannheim.de" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
oezdemir@pragmatik.ids-mannheim.de</a>>
wrote:</span></font></span></p>
<p style="margin-left: 35.4pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Hi,<br>
<br>
<br>
I am very new to red5 and Java. Anyhow, I found it easy to get into it.<br>
First of all, thank you all to making this job!!!<br>
<br>
<br>
My Background:<br>
I have a website, where users can upload their flv videos and share them <br>
with the community. So I need an "on demand"-server. The client
should be<br>
able to stream small preview pieces of large flv files by giving start and<br>
stop positions.<br>
<br>
<br>
Now my question:<br>
I used the oflaDemo for my purposes and made some modifications on it. The <br>
netStream works very well. When I call "onMetaData" in the flash
client,<br>
there returns some info like "duration" and "fps" and all.<br>
<br>
1. What does the netStream.play(filename) call on the server, because I <br>
haven't got any function for that in my application?<br>
2. Where is the procedure on the server that sends the metadata?<br>
3. And how can I call it from my java Server-Side-Application?<br>
4. Can you point me a direction, how I can change the streaming progress to <br>
start streaming at a specific time position and stop after a while? (Using<br>
the Metadata?)</span></font></p>
<div>
<p style="margin-left: 35.4pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
The play() function takes actually four params. That is play(flvName, start,
length, flushPlaylist). The first param is mandatory and the rest are not. <br>
The default value for start is 0, length is -1 and flushPlaylist is true. So if
you want to play at a specific time with a specific length, just specify the
"start" and "length".</span></font></p>
</div>
<blockquote style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(204, 204, 204); border-width: medium medium medium 1pt; padding: 0cm 0cm 0cm 6pt; margin-left: 4.8pt; margin-right: 0cm;">
<p style="margin-left: 35.4pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<p style="margin-left: 35.4pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Maybe I am not skilled
enough to do that all, but I can learn it (when<br>
somebody shows me where I can start). For now I even don't know where the<br>
stream is exactly handled on the red5 and how I can change it...<br>
<br>
Thank you very very much for helping and for working open source!!!<br>
<br>
Regards,<br>
Jascha<br>
<br>
<br>
<br>
_______________________________________________<br>
Red5 mailing list<br>
<a href="mailto:Red5@osflash.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Red5@osflash.org </a><br>
<a href="http://osflash.org/mailman/listinfo/red5_osflash.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://osflash.org/mailman/listinfo/red5_osflash.org</a></span></font></p>
</blockquote>
</div>
<p style="margin-left: 35.4pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
<br clear="all">
<br>
-- <br>
Best Regards<br>
Steven Gong </span></font></p>
</span></div><div></div>
</div>
</div><br>_______________________________________________<br>Red5 mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Red5@osflash.org">Red5@osflash.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://osflash.org/mailman/listinfo/red5_osflash.org" target="_blank">
http://osflash.org/mailman/listinfo/red5_osflash.org</a><br><br><br></blockquote></div><br>