Macromedia Flash Server - Flv access

This is Interesting: Free IT Magazines  
Home > Archive > Macromedia Flash Server > August 2006 > Flv access





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Flv access
Marius Bratu

2006-08-10, 7:12 pm

Hi there,
=20
Is there a way to access flv files stored on flash media server through=
a php script? Actually what i want to do is to convert them to mp4 files=
, and for that i have a script that needs a flv input. And i don't know h=
ow to access these flv files.
=20
Thanks a lot.
Marius.

=09
---------------------------------
How low will we go? Check out Yahoo! Messenger=92s low PC-to-Phone call =
rates.
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Jay Charles

2006-08-10, 7:12 pm

If php is on the same server as FMS, and the php user has permission to
access the FMS applications directory, then you can use php to access
the file.

$myfile = "/path/to/fms/applications/application
name/streams/instance/file.flv

If FMS and php are not on the same server, you might have php make an
FTP connection to the FMS server to retrieve the file, or if FMS is
configured to put the flv files in a public directory, php could
retrieve the file over http. There's lots of options, the best one will
be dictated by your application and server configuration/location(s).

Transcoding is a different matter entirely. If the flv in question was
recorded using Flashplayer/FMS, you're going to have to jump through
some hoops... and (at least for the time being) write a big fat check.
See links on this site:

http://nellymoser.codec.googlepages.com/

-Jay

-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Marius
Bratu
Sent: Thursday, August 10, 2006 2:49 PM
To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
Subject: [FlashComm] Flv access

Hi there,

Is there a way to access flv files stored on flash media server
through a php script? Actually what i want to do is to convert them to
mp4 files, and for that i have a script that needs a flv input. And i
don't know how to access these flv files.

Thanks a lot.
Marius.


---------------------------------
How low will we go? Check out Yahoo! Messenger's low PC-to-Phone call
rates.
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Bill Sanders

2006-08-10, 7:12 pm

Hi Marius,

I've used php to download and delete FLV files from the server. (FLV =20
files can get fat fast!) The only problem we ran into was the hosting =20=

service's policies, but php worked fine for everything from viewing =20
the files to downloading them.

HTH,
Bill

On Aug 10, 2006, at 2:48 PM, Marius Bratu wrote:

> Hi there,
>
> Is there a way to access flv files stored on flash media server =20
> through a php script? Actually what i want to do is to convert them =20=


> to mp4 files, and for that i have a script that needs a flv input. =20
> And i don't know how to access these flv files.
>
> Thanks a lot.
> Marius.
>
> =09
> ---------------------------------
> How low will we go? Check out Yahoo! Messenger=92s low PC-to-Phone =20=


> call rates.
> ________________________________________
_______
> FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com


bill sanders | www.sandlight.com | bloomfield, ct | 860-242-2260


________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Marius Bratu

2006-08-11, 1:12 pm

Hi there,
Thanks to all of you for your responses.=20
Bill, you said that you used php do download flv. What method did you u=
sed?
Thanks in advance.
Marius.

=09
---------------------------------
Stay in the know. Pulse on the new Yahoo.com. Check it out.=20
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Ritesh Jariwala

2006-08-12, 1:11 am

Hi Marius,

Its easy you can use ftp functions of php to read and download file or
upload flv files.

One of its http://in.php.net/manual/en/function.ftp-get.php, you can find
out more functions on php.net or just download manual of php from php.net



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.gmane.org] On Behalf Of Marius Bratu
Sent: Friday, August 11, 2006 10:18 PM
To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
Subject: Re: [FlashComm] Flv access

Hi there,
Thanks to all of you for your responses.
Bill, you said that you used php do download flv. What method did you
used?
Thanks in advance.
Marius.


---------------------------------
Stay in the know. Pulse on the new Yahoo.com. Check it out.
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Bill Sanders

2006-08-12, 7:12 am

Hi Marius,

Sorry I didn't get back to you sooner. Here's the code I used for
downloading flv files from Flash Com Server. (You can tell that it
was set up on a Linux server and done a while back--about 2-3 years
ago.) If you fiddle with it for a while you can adapt it to what you
need.

<?php
$file = "../../../../../opt/macromedia/fcs/applications/
guardian_v1/" . $acctFLV;
header("Content-Description: File Transfer");
header("Content-Type: application/force-download");
header("Content-Disposition: attachment; filename=".basename($file));
@readfile($file);
?>

HTH,
Bill


On Aug 11, 2006, at 12:48 PM, Marius Bratu wrote:

> Hi there,
> Thanks to all of you for your responses.
> Bill, you said that you used php do download flv. What method did
> you used?
> Thanks in advance.
> Marius.
>
>
> ---------------------------------
> Stay in the know. Pulse on the new Yahoo.com. Check it out.
> ________________________________________
_______
> FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com


bill sanders | www.sandlight.com | bloomfield, ct | 860-242-2260


________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Alexander Farber

2006-08-12, 7:12 am

Hello,

I'm not very fluent in php and might be wrong here,
but I think the $acctFLV below should be checked somehow
or you'll expose the files on your server

On 8/12/06, Bill Sanders <wdsanders-Wuw85uim5zDR7s880joybQ@public.gmane.org> wrote:
> Sorry I didn't get back to you sooner. Here's the code I used for
> downloading flv files from Flash Com Server. (You can tell that it
> was set up on a Linux server and done a while back--about 2-3 years
> ago.) If you fiddle with it for a while you can adapt it to what you
> need.
>
> <?php
> $file = "../../../../../opt/macromedia/fcs/applications/
> guardian_v1/" . $acctFLV;
> header("Content-Description: File Transfer");
> header("Content-Type: application/force-download");
> header("Content-Disposition: attachment; filename=".basename($file));
> @readfile($file);
> ?>


Regards
Alex

--
http://preferans.de
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Bill Sanders

2006-08-12, 7:12 am

Alex,

You're probably right--this was just a simple proof-of-concept. It's
also older PHP, and so something like $_POST[$acctFLV] would be a lot
more secure.
BTW, I noticed a line break after ...applications/ --the line break
is after $acctFLV.

Bill
On Aug 12, 2006, at 6:42 AM, Alexander Farber wrote:

> Hello,
>
> I'm not very fluent in php and might be wrong here,
> but I think the $acctFLV below should be checked somehow
> or you'll expose the files on your server
>
> On 8/12/06, Bill Sanders <wdsanders-Wuw85uim5zDR7s880joybQ@public.gmane.org> wrote:
>
> Regards
> Alex
>
> --
> http://preferans.de
> ________________________________________
_______
> FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com


bill sanders | www.sandlight.com | bloomfield, ct | 860-242-2260


________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Marius Bratu

2006-08-14, 1:11 am

Hi,
thanks again to all for your help. i hope i will solve this problem.
Marius.

________________________________________
__________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around=20
http://mail.yahoo.com=20
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com