11-03-05 10:45 PM
Nervermind my last email, Burak's explaining it RIGHT!!!
Thanks
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.
org] On Behalf Of Burak KALAYCI
Sent: November 3, 2005 1:26 PM
To: FlashComm Mailing List
Subject: Re: [FlashComm] RE: flv seeking via php - FAO Frederic
Hi,
Actually this header is not exactly correct.
First 4 bytes are fixed (for FLV v1), signature and version.
Next byte is a flag that has info in bits if audio/video/data tags are
present.
Next 4 bytes is the data offset (size of the header), and is always 9 for
FLV version 1.
Next 4 bytes is the previous tag size, which should be 0 (zero)!
So, 5th byte is not exactly correct (On top of my head, a value of 1 means
Video Tags present only). And the last 4 bytes should be 0.
But it works, so probably we should not care...
Best regards,
Burak
www.asvguy.com
Burak KALAYCI, Manitu Group
http://www.buraks.com
http://www.manitugroup.com
----- Original Message -----
From: "Ritesh Jariwala" <me-yepUNE9fm2vQT0dZR+AlfA@public.gmane.org>
To: "'FlashComm Mailing List'" <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@p
ublic.gmane.org>
Sent: Thursday, November 03, 2005 19:43 PM
Subject: RE: [FlashComm] RE: flv seeking via php - FAO Frederic
> Hi Stefan,
>
> print("FLV");
> print(pack('C', 1 ));
> print(pack('C', 1 ));
> print(pack('N', 9 ));
> print(pack('N', 9 ));
>
> I think this is the code for flv header. So you need to echo it every time
> to play stream as flv. Otherwise it wont be playable.
>
> With Regards,
>
> Ritesh Jariwala (Actkid)
> Freelance Developer
> www.actkid.com
> Company: www.synonymic.com
>
>
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gman
e.org] On Behalf Of Stefan
> Richter
> Sent: Thursday, November 03, 2005 7:58 PM
> To: 'FlashComm Mailing List'
> Subject: RE: [FlashComm] RE: flv seeking via php - FAO Frederic
>
> Frederic,
> Looing at your php code
>
> if($seekat != 0) {
> print("FLV");
> print(pack('C', 1 ));
> print(pack('C', 1 ));
> print(pack('N', 9 ));
> print(pack('N', 9 ));
> }
>
> You say that you don't really know exactly what each line does.Do you
> think
> this piece of code is necessary? What would happen if we leave it out?
>
> Stefan
>
>
>
> -----------------------------------
> Flashcomguru.com
> Team Macromedia Flash
>
=-----------------------------------------------------------
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
=-----------------------------------------------------------
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
[ Post a follow-up to this message ]
|