473,756 Members | 8,174 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to display video file from database

I have successfully insert .wmv files into MySQL. When I display the video
in the browser using Read.aspx to get the .wmv:

Response.Conten tType = objDataReader.I tem("swingConte ntType")
Response.Binary Write(objDataRe ader.Item("swin g"))

if I directly call this Read.aspx, window media will open and play the .wmv.
But I want to play the .wmv in browser, so I use another file to display
..wmv with <object>. Nothing happen:

<OBJECT id="player" type="applicati on/x-oleobject" height="280" width="400"
classid="CLSID: 22D6F312-B0F6-11D0-94AB-0080C74C7E95" VIEWASTEXT>
<PARAM NAME="Filename" VALUE="Read.asp x">
</OBJECT>
Any ideas?

Isabella


Nov 18 '05 #1
1 3500
I found that it works if upgrade to windows media 9 and Acelp.Net Audio
Codec is asked to installed.
From msdn web site, "Sipro Labs ACELPR .net audio codec is a version of the
Algebraic-Code-Excited Linear Prediction (ACELP) compression methodologies
that has been optimized for use on Internet Protocol (IP) networks and the
Intel Pentium platform. Using the ACELP net-adapted packetization method, it
is able to minimize the impact of errors and significantly improve the error
correction possibilities in case of data-packet loss. This codec uses frame
concatenation and interlacing to more efficiently encode data. In Windows
Media Encoder, ACELP.net can be used to compress audio to bandwidths ranging
from 5 Kbps to 16 Kbps. This codec is most useful for encoding low bit rate
voice content.
After content has been sufficiently compressed, the data must be formatted
so that it can be easily streamed over a network. To create Windows Media
content for streaming, or downloading as a .wma file, the content is encoded
in ASF."

Anyone know what happen. How can I fix it if users don't have window media
9?

Thanks

Isabella

"Isabella" <is**********@h otmail.com> ¦b¶l¥ó
news:OO******** ******@TK2MSFTN GP10.phx.gbl ¤¤¼¶¼g...
I have successfully insert .wmv files into MySQL. When I display the video
in the browser using Read.aspx to get the .wmv:

Response.Conten tType = objDataReader.I tem("swingConte ntType")
Response.Binary Write(objDataRe ader.Item("swin g"))

if I directly call this Read.aspx, window media will open and play the ..wmv. But I want to play the .wmv in browser, so I use another file to display
.wmv with <object>. Nothing happen:

<OBJECT id="player" type="applicati on/x-oleobject" height="280" width="400" classid="CLSID: 22D6F312-B0F6-11D0-94AB-0080C74C7E95" VIEWASTEXT>
<PARAM NAME="Filename" VALUE="Read.asp x">
</OBJECT>
Any ideas?

Isabella

Nov 18 '05 #2

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

Similar topics

1
8386
by: Omer Ahmad | last post by:
Hi All, I've been working with python for about 6 months now, and have been very impressed with the size and scope of the libraries. I have, however, run into a bit of a problem. I discoverred Marc Hammonds PyWin32 extensions, (whcih are awesome) and Tim Golden's WMI wrapper for accessing the Windows Management Instrumentation (Win32_Classes) but now I have been asked to remove these dependandcies and still obtain machine...
3
2092
by: Jim Hubbard | last post by:
My own searches have proven to be of little help in understanding the implementation of this technology (available since Win98). Any information that you could share on Display Driver Management Layer (DDML) usage would be greatly appreciated. Jim Hubbard
3
10891
by: Dafna m | last post by:
Please HELP 1. How can I display an array of images from diffrent types(jpeg, bmp..)(In C#) Can I also display video files?(In C#) *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
0
1463
by: sandy_pt_in | last post by:
HI I am wiriting application in C# to get Live video from (DVR) Digital Video recorder.DVR vendor has given us dll file to connect to DVR and get video frames. I am taking each frame converting to C# bitmap graphics and displaying in picturebox.Eventhough I am getting the proper video it is very slow, I am dropping some frames. I want to use directX to buffer video frames and display it.Can anybody help me on this.Can you give me source...
3
2023
by: pbd22 | last post by:
hi. i thought there would be volumes on this topinc on the internet, but i am having a tough time finding what i am looking for. i am trying to learn how to move a video from a cam corder or some device to the PC and then upload it to my web site, storing it on the server. i am looking for: 1. an explaination as to which destination is better - BLOB in SQL or
3
1787
by: swinster | last post by:
Hi all, I have not touched access for a very long time and am attempting to help my nephew with his Video Rental Database. This is a simple three-table relationship database comprising a Video Table, Customer Table and Rental Table. We have a simple form whose source is set to the Rental Table. We want to calculate the fine on a late video using the number of days the video is late (from Rental Table) multiplied by the cost of the video...
3
2386
by: Jim Ford | last post by:
This is more strictly an HTML problem, but as I'm also using PHP and the HTML groups seem to be infested with spam, I'm posting it here! At the school where I work I've got an online searchable database of video tapes and dvds, using MySql and PHP on a Linux machine. It works fine. I'm trancoding some of the tapes to avi files, which can be accessed as a samba share. I'd like to put clickable links into the database, so if a user sees...
3
9172
by: santel | last post by:
Hi, I tried to display the video files in C# forms using vlc. By refering this link http://www.codeproject.com/useritems/LiquidVideo.asp, I displayed the video files. But it accepts only .mpg files and not .avi. Anyone please suggest why .avi files are not displayed. Is it not supported in vlc or I have to do anything else to support .avi?
4
5908
by: altaafhussein | last post by:
Hi, the question explains my problem. How do you display a .mov video/audio file in a .net application using vb.net. I have figured out how to display the video in asp.net with the following code Code: <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" style="height: 372px; width: 392px"> <param name="SRC" value="video.mov">
0
9384
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
9212
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
9973
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
9790
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9779
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9645
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
8645
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...
2
3276
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2612
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.