Jump to content

Recommended Posts

Just a simple question:

 

http://daiphyer.com/streaming_flv_transfer.php

 

It actually works like this:

 

http://daiphyer.com/streaming_flv_transfer.php?url=http://www87.megavideo.com/files/577c7fb5348f2ff0a70c5a53c92d556e/&type=flv

 

 

This is what it's doing:

 

Takes the MV video and converts it to an FLV file (or somehow makes it compatible with an FLV player).

 

Tried looking at the source code, nothing...asked on another forum and they said PHP files are run before they are displayed (well this one is at least).

 

1. What is this called?

2. Can you point me somewhere that explains this in more detail? (unless you know how to explain it yourself)

 

 

To all wondering:

 

Just doing this cause I hate the MV player, doesn't blend with my site, and I need an easier way of linking my videos.

 

Tyvm <3

Link to comment
https://forums.phpfreaks.com/topic/123995-what-is-this-called/
Share on other sites

It's not my code.

 

And:

 

Tried looking at the source code, nothing...asked on another forum and they said PHP files are run before they are displayed (well this one is at least).

 

Arg...just noticed the 3rd party PHP forum. Should I have posted this in there? It was just a simple question didn't think it would take much time >.<

Link to comment
https://forums.phpfreaks.com/topic/123995-what-is-this-called/#findComment-640127
Share on other sites

I don't have the source code.

 

I want the source code of this file: http://daiphyer.com/streaming_flv_transfer.php

 

but it won't show up.

 

I explained what it does and was just wondering if you guys knew what it was called.

 

Oh, I thought that it was your site and you needed help with it or something.  This is video conversion, and is probably done with ffmpeg in PHP.

Link to comment
https://forums.phpfreaks.com/topic/123995-what-is-this-called/#findComment-640135
Share on other sites

PHP is always executed before displaying its output.  The request goes like this:

 

Browser -> Server -> Server handles request.  If it is sent a request for a PHP file, it knows to handle it by calling the PHP binary. -> PHP does its thing -> PHP sends output

Link to comment
https://forums.phpfreaks.com/topic/123995-what-is-this-called/#findComment-640143
Share on other sites

Darn^

 

Oh well...

 

Ok well so far I've seen tutorials talking about FFMPEG-PHP and FLVTool2.

 

From the little that I understand:

 

You take a video file, run it through FFMPEG, FFMPEG converts the file and plants it in my directory.

 

With this, I would need to somehow give FFMPEG access to that directory and use a massive amount of web space + extreme amounts of bandwidth for my site visitors who will stream each file at least twice and download it at least once.

 

In the end it forces me to either:

 

a) Get payed hosting

b) Drop MV and go with another site that works without conversion

 

 

 

Am I right on the conversion process?

Link to comment
https://forums.phpfreaks.com/topic/123995-what-is-this-called/#findComment-640208
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.