473,396 Members | 1,770 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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.ContentType = objDataReader.Item("swingContentType")
Response.BinaryWrite(objDataReader.Item("swing"))

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="application/x-oleobject" height="280" width="400"
classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" VIEWASTEXT>
<PARAM NAME="Filename" VALUE="Read.aspx">
</OBJECT>
Any ideas?

Isabella


Nov 18 '05 #1
1 3489
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**********@hotmail.com> ¦b¶l¥ó
news:OO**************@TK2MSFTNGP10.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.ContentType = objDataReader.Item("swingContentType")
Response.BinaryWrite(objDataReader.Item("swing"))

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="application/x-oleobject" height="280" width="400" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" VIEWASTEXT>
<PARAM NAME="Filename" VALUE="Read.aspx">
</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
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...
3
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...
3
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...
0
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...
3
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...
3
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...
3
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...
3
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...
4
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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,...
0
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...

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.