473,888 Members | 1,530 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Streaming Video - Secure

SPG
Hi,

Two questions for you all..

Firstly, is there a way of streaming video using PHP? At the moment I just
have a link to a video file and the whole thing downloads before playing
which is a bit of a chore as the video file is pretty huge.

Secondly, I want to restrict access to the video using a password. Can
anyone think of a nice way of doing this? I thought about having the video
embedded into a page and when the page loads it checks if a user is logged
in and if not goes back to the login page, but that doesn't restict access
to the actual video, IE: They can view source, find the Video link and
simply copy it into a browser window...

I look forward to your answers/advice

Steve
Feb 22 '07 #1
2 8463
bsa
Steve,
PHP or not you should try VideoVista http://www.vista.it.

It plays virtually on any webserver regardless script language or
dedicated server.
Anyway using PHP you can achieve good user interaction with it.
Hope this could help you.

regards

Fabio


On Feb 22, 2:38 pm, "SPG" <steve.goods... @nospoo.blueyon der.co.uk>
wrote:
Hi,

Two questions for you all..

Firstly, is there a way ofstreamingvide ousing PHP? At the moment I just
have a link to avideofile and the whole thing downloads before playing
which is a bit of a chore as thevideofile is pretty huge.

Secondly, I want to restrict access to thevideousing a password. Can
anyone think of a nice way of doing this? I thought about having thevideo
embedded into a page and when the page loads it checks if a user is logged
in and if not goes back to the login page, but that doesn't restict access
to the actualvideo, IE: They can view source, find theVideolink and
simply copy it into a browser window...

I look forward to your answers/advice

Steve

Feb 22 '07 #2
SPG wrote:
>
Hi,

Two questions for you all..

Firstly, is there a way of streaming video using PHP? At the moment I just
have a link to a video file and the whole thing downloads before playing
which is a bit of a chore as the video file is pretty huge.

Secondly, I want to restrict access to the video using a password. Can
anyone think of a nice way of doing this? I thought about having the video
embedded into a page and when the page loads it checks if a user is logged
in and if not goes back to the login page, but that doesn't restict access
to the actual video, IE: They can view source, find the Video link and
simply copy it into a browser window...
Aside from PHP and the password issue, with most video types like .wmv,
..ram, etc, you can achieve a sort of pseudo-streaming effect without
having to go to a true streaming server by setting your mime and file
types properly so the web browser immediately passes the url off to the
video player app rather than trying to download the file. (For example,
with Realvideo types you can create a meta-file which only contains the
url of the actual video; so the browser downloads the (tiny) metafile
and gives it to Realplayer which then "streams" the actual video.)

There's also other media types which handle their own internal
streaming, like Flash.
Feb 22 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
10337
by: Lonewolf | last post by:
Hi everyone, pls forgive me for my lack of knowledge and skills if my question sounds very stupid. I am trying to implement a video conferencing software and I am currently looking at a few set of technologies, among them WMP, RealMedia, H.323 and XviD (not sure if it is suitable for streaming even) . I would like to seek the advice of those experts on the following questions, 1) What is the best technologies to be used, in terms of...
3
9572
by: tom | last post by:
I need a C#, peer-to-peer solution for streaming video from a webcam on one box to a client application on the other box. Can someone please help me with this? I can read video from a webcam easy enough but streaming the feed to a client application seems to be a different story Any help would be appreciated Thanks in advance Tom
2
9762
by: mpaliath | last post by:
Hi guys I am currently involved in a project which requires me to recieve and play streaming video as well as send it. In Visual C++ is there any free library which helps me do this as 'streaming' is not part of the actual project, i am allowed to use external libraries. Also could anyone tell me where I can learn about video streaming in c++ so I can code the streaming part myself too thx
8
7679
by: poorna | last post by:
hi all i want to upload the video files to the server.. then i encode all the video files into flv files ... and then i am go to streaming ... in the mean while i create the thumbnail image from video.. doubts: how to upload the video files to web server?
4
8889
by: chix23 | last post by:
Could you give sample codes or suggestions on how to build a web application with live video streaming? Thanks!!!
8
65848
by: Amjad | last post by:
Hi i am writing a application where i want to browse video file and copy data into stream and send that stream over network...I have develop P2P windows application where i successfully transfer text message to each other but now i want to send video file and play that file on other end...I know the code how to send the stream over the network but basic problem is how open that file as a stream. Thanks
1
14759
by: michael | last post by:
Hello all, I have a Linksys WVC54GC network camera that I am trying to integrate into a website and to enable browsers other than IE to use. Linksys, in their ever-short-sighted ways, decided to make this device only compatible with IE. It requires IE and ActiveX. However, you can access the video stream directly with the following URL http://1.2.3.4/img/video.asf
2
2566
by: momogi | last post by:
hi all.. I wanna make a site where every visitors can see a streaming video (in real time, may be like youtube). So, in the same time when the page is loading, the video is playing. My questions, is it possible to make this streaming video using PHP5? Or I have to learn another language? Does PHP support this? I don't know where to start this project... Do I have to make some kind of video player in this site? thanks for your help...
1
2872
by: Faisal Shafiq | last post by:
I want to upload a file direct to the Silverlight Streaming Service from a Web Client such as silverlight application. As per our product requirement we want to upload a .WMV file directly from silverlight client to Silverlight streaming service. I tried to user WebClient and HttpWebRequest for that purpose but, unfortunately I can found the way to do so. There are some problems with both classes. 1. There is no property of get...
0
9961
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9800
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11182
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10439
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9597
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7990
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5824
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4642
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3252
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.