Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8867559
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T17:04:11+00:00 2026-06-14T17:04:11+00:00

I want to record flash stream using php. Do u guys know how to

  • 0

I want to record flash stream using php. Do u guys know how to do that? I want script to record for example youtube file playing. I have VPS so it can use some software.

Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T17:04:12+00:00Added an answer on June 14, 2026 at 5:04 pm

    You can make script that simply downloads and saves the stream data in the file, but in that case, you must disable the 30 seconds limit for that file.
    There can be made scripts that call themselves in infinite loop each 30 secs, but in that case you are in danger of missing some bytes from original stream.
    But I don’t recomend doing this using PHP. This language is rather designed to quickly process data for user and end (its “script”).

    Simplest script:

    <?php
      $con = fsockopen("example.com",80):
      $file = fopen("data.flv","a");
      /*connection test skipped here*/
      fwrite("GET /stream1.flv HTTP/1.1\r\n",$con);
      fwrite("Connection: keep-alive\r\n",$con);
      fwrite("\r\n",$con);  //End of request data
      while(!eof($con)) {
        $bytes = fread($con,16);
        fwrite($file,$bytes);
      }
     ?>
    

    Not recommended indeed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to record audio stream as mp3 file on server. I know flash
i want to read an xml file in flash that is returned from a
I have a flash recorder which record user input and give me a file
In a CakePHP 1.2 app, I'm using <?php $session->flash();?> to output messages like Record
I want to record the handshake messages between server and client into the file
i want to record video through webcam using Directshow.Net.i can able to record the
I want to record what various sources have to say about a historical figure.
I have a phone caller id device. I want to record calling numbers to
We want to build an application that allows the user to record a video
I need help in a php script. Have spent half a day searching high

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.