| Stefan Richter 2005-11-02, 7:49 am |
| I think we should change the name of this thread... I forgot before I
replied to the previous posts.
=20
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org [mailto:flashcomm-
> bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Fabio Sonnati
> Sent: 02 November 2005 12:30
> To: FlashComm Mailing List
> Subject: Re: [FlashComm] ANNC: FLVMDI 2.7 beta available for download
>=20
> I'm working on a similar technology with
> a different approach and a few improvements.
>=20
> It's almost done.
>=20
> Fabio Sonnati
>=20
>=20
> ----- Original Message -----
> From: "Stefan Richter" <stefan-fMeCE+ULXElEfu+5ix1nRw@public.gmane.org>
> To: "'FlashComm Mailing List'" <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
> Sent: Wednesday, November 02, 2005 1:20 PM
> Subject: RE: [FlashComm] ANNC: FLVMDI 2.7 beta available for download
>=20
>=20
> Ok I got it.
>=20
> Insteasd of
> print (fread($fh, 16384));
>=20
> I did
> print (fread($fh, filesize($file)));
> }
>=20
> So that php reads the entire rest of the flv file.
>=20
>=20
> Demo soon hopefully.
>=20
> Here's the code I use to parse the time/positions:
>=20
> ns["onMetaData"] =3D function(obj) {
> duration =3D obj.duration;
> times =3D obj.keyframes.times;
> positions =3D obj.keyframes.filepositions;
> }
>=20
> function scrubit() {
> var tofind =3D Math.floor((loader.scrub._x/loaderwidth)*duration);
>=20
> for (var i:Number=3D0; i < times.length; i++){
> var j =3D i + 1;
> if( (times[i] <=3D tofind) && (times[j] >=3D tofind ) ){
> trace("match at " + times[i] + " and " +
> positions[i]);
>=20
> ns.play("flvprovider.php?file=3Dclip_yes.flv&position=3D" + =
positions[i]);
> break;
> }
> }
>=20
> }
>=20
>=20
>=20
download[vbcol=seagreen]
play[vbcol=seagreen]
resume[vbcol=seagreen]
PHP?[vbcol=seagreen]
download[vbcol=seagreen]
that[vbcol=seagreen]
> I
the[vbcol=seagreen]
Bochmann[vbcol=seagreen]
> download
file's[vbcol=seagreen]
> write
bigger[vbcol=seagreen]
> than
Response,[vbcol=seagreen]
> for
seek[vbcol=seagreen]
created.[vbcol=seagreen]
of[vbcol=seagreen]
time-[vbcol=seagreen]
metadata,[vbcol=seagreen]
see.[vbcol=seagreen]
> The
string[vbcol=seagreen]
that[vbcol=seagreen]
is[vbcol=seagreen]
> keyframes
offset[vbcol=seagreen]
> can
this.ns.play("flvseek.php?position=3D"+newPosition); to[vbcol=seagreen]
location[vbcol=seagreen]
> till
the[vbcol=seagreen]
> that
Stefan[vbcol=seagreen]
> download
some[vbcol=seagreen]
would[vbcol=seagreen]
[mailto:flashcomm-[vbcol=seagreen]
Bochmann[vbcol=seagreen]
feature[vbcol=seagreen]
file to[vbcol=seagreen]
onMetaData[vbcol=seagreen]
> simply
seeking[vbcol=seagreen]
>=20
>=20
> =3D---------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =3D---------------------------------------------------------
>=20
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>=20
>=20
> =3D-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =3D-----------------------------------------------------------
>=20
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
|