473,395 Members | 1,452 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,395 software developers and data experts.

OT :: Video, How The Heck?!!!

I did a website for a friend's company where they wanted a 'downloads'
section similar to standard file sharing you see all over the place.
Everything works great except for video. I know there are codecs involved,
however, if i create a video (I've tried mpg, avi, wma so far) I can watch
it on my pc from disk just fine. Since my pc is also my test environment, I
try to open the same video from the test site and I get the standard 'Can't
do it...Close...Web Help' response. I would assume that I need to be
supplying codec info along with the video on the web side of things? I
assume this since I know I *have* the correct codec on my pc to begin with.

I know it's not a directly php related subject, but there is good traffic
here including the default response I know most will give...'This is a PHP
news group...go ask in x ng'.

All help is appreciated. Video over the web is completely new to me.

TIA
Sep 18 '08 #1
8 2413
On 18 Sep, 04:53, "Oscar Arreyano" <anot...@example.comwrote:
I did a website for a friend's company where they wanted a 'downloads'
section similar to standard file sharing you see all over the place.
Everything works great except for video. I know there are codecs involved,
however, if i create a video (I've tried mpg, avi, wma so far) I can watch
it on my pc from disk just fine. Since my pc is also my test environment, I
try to open the same video from the test site and I get the standard 'Can't
do it...Close...Web Help' response. I would assume that I need to be
supplying codec info along with the video on the web side of things? I
assume this since I know I *have* the correct codec on my pc to begin with.

I know it's not a directly php related subject, but there is good traffic
here including the default response I know most will give...'This is a PHP
news group...go ask in x ng'.

All help is appreciated. Video over the web is completely new to me.

TIA
No - you really don't want to start publishing codecs on your website.

Have a google for "progressive download" and read the articles to find
out why its the right way to do it (bandwidth, portability, security).
You'll need to speak nicely to someone with a FLASH developer license
to adapt the player for your site.

C.
Sep 18 '08 #2
Oscar Arreyano wrote:
I did a website for a friend's company where they wanted a 'downloads'
section similar to standard file sharing you see all over the place.
Everything works great except for video. I know there are codecs involved,
however, if i create a video (I've tried mpg, avi, wma so far) I can watch
it on my pc from disk just fine. Since my pc is also my test environment, I
try to open the same video from the test site and I get the standard 'Can't
do it...Close...Web Help' response. I would assume that I need to be
supplying codec info along with the video on the web side of things? I
assume this since I know I *have* the correct codec on my pc to begin with.

I know it's not a directly php related subject, but there is good traffic
here including the default response I know most will give...'This is a PHP
news group...go ask in x ng'.

All help is appreciated. Video over the web is completely new to me.

TIA
And just because this newsgroup has "good traffic" does NOT make it an
appropriate newsgroup for any old question.

Why do some people they think they can ask any old question anywhere
they want? Do they think they're so important the rules don't apply to
them? Can't they be bothered to take the time to find the right
newsgroup? Or are they just stupid?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Sep 18 '08 #3

"Jerry Stuckle" <js*******@attglobal.netwrote in message
news:ga**********@registered.motzarella.org...
Oscar Arreyano wrote:
>I did a website for a friend's company where they wanted a 'downloads'
section similar to standard file sharing you see all over the place.
Everything works great except for video. I know there are codecs
involved, however, if i create a video (I've tried mpg, avi, wma so far)
I can watch it on my pc from disk just fine. Since my pc is also my test
environment, I try to open the same video from the test site and I get
the standard 'Can't do it...Close...Web Help' response. I would assume
that I need to be supplying codec info along with the video on the web
side of things? I assume this since I know I *have* the correct codec on
my pc to begin with.

I know it's not a directly php related subject, but there is good traffic
here including the default response I know most will give...'This is a
PHP news group...go ask in x ng'.

All help is appreciated. Video over the web is completely new to me.

TIA

And just because this newsgroup has "good traffic" does NOT make it an
appropriate newsgroup for any old question.
That's probably true.
Why do some people they think they can ask any old question anywhere they
want? Do they think they're so important the rules don't apply to them?
Can't they be bothered to take the time to find the right newsgroup? Or
are they just stupid?
Most of the time, I believe they are the two former that apply. I am
important and haven't the time to be bothered with perceived 'rules' in a
media that is known as a place almost solely devoted to gathering by the
warmth of the flames its members generate. :^)

As for the first...I ask 'any old question' anywhere I think someone will be
able to intelligently answer it. As it is, I got a response that suffices -
no, it wasn't yours...I said 'intelligently' didn't I?

Jerry, if you would learn how to filter messages using your news reader,
you'd be less likely to blow a gasket. Hint, *most* ng users filter out any
subject starting with OT :: ... I was trying to help highly unstable people
like you by letting you know before-hand that what you were about to read
would cause you agonizing grief.

Se veo por otro lado!
Sep 18 '08 #4

"C. (http://symcbean.blogspot.com/)" <co************@gmail.comwrote in
message
news:eb**********************************@c65g2000 hsa.googlegroups.com...
On 18 Sep, 04:53, "Oscar Arreyano" <anot...@example.comwrote:
>I did a website for a friend's company where they wanted a 'downloads'
section similar to standard file sharing you see all over the place.
Everything works great except for video. I know there are codecs
involved,
however, if i create a video (I've tried mpg, avi, wma so far) I can
watch
it on my pc from disk just fine. Since my pc is also my test environment,
I
try to open the same video from the test site and I get the standard
'Can't
do it...Close...Web Help' response. I would assume that I need to be
supplying codec info along with the video on the web side of things? I
assume this since I know I *have* the correct codec on my pc to begin
with.

I know it's not a directly php related subject, but there is good traffic
here including the default response I know most will give...'This is a
PHP
news group...go ask in x ng'.

All help is appreciated. Video over the web is completely new to me.

TIA

No - you really don't want to start publishing codecs on your website.

Have a google for "progressive download" and read the articles to find
out why its the right way to do it (bandwidth, portability, security).
You'll need to speak nicely to someone with a FLASH developer license
to adapt the player for your site.
Well thanks. I have been doing a lot of reading on video formats and
players. Apparently, youtube gives away a suite of video tools...the most
important being a dvd to flv utility. I also found that flash gives away an
flv player to install on your website...free. I suppose that's how I'll
solve this problem. I've been to lots of websites that use wmv files that
work fine. I was just wondering the technicalities of why it doesn't work
when coming through the browser.

Thanks for your thoughts. It will take me the rest of the way.

Adelante mas.
Sep 18 '08 #5
On Sep 17, 10:53*pm, "Oscar Arreyano" <anot...@example.comwrote:
I did a website for a friend's company where they wanted a 'downloads'
section similar to standard file sharing you see all over the place.
Everything works great except for video. I know there are codecs involved,
however, if i create a video (I've tried mpg, avi, wma so far) I can watch
it on my pc from disk just fine. Since my pc is also my test environment,I
try to open the same video from the test site and I get the standard 'Can't
do it...Close...Web Help' response. I would assume that I need to be
supplying codec info along with the video on the web side of things? I
assume this since I know I *have* the correct codec on my pc to begin with.

I know it's not a directly php related subject, but there is good traffic
here including the default response I know most will give...'This is a PHP
news group...go ask in x ng'.

All help is appreciated. Video over the web is completely new to me.
Although most video formats can be served without the use of any php,
there are other cases when writing most of the code in php helps a
lot. For example, I am now offering the choice of 4 video formats on
some pages. One selects the format desired by clicking on an image
map. A php form sends the choice to the server which then writes the
video code for just the video format selected and not the 3 formats
not used. This is downloaded to the browser and saves the download of
much code for other formats that is not needed for the choice of video
format made. See my page at http://www.cwdjr.net/video4/cancan.php .
If this high broadband page is too fast to start streaming soon, try
http://www.cwdjr.net/video4/cancanL.php for the low broadband version.
See the php text file at http://www.cwdjr.net/video4/cancan.txt .

If you are allowed only one video format, I would choose flv/swf
flash. If Adobe is to be believed, flash is installed on about 99% of
computers in developed nations in N America and Europe. Many major
news sites, YouTube, US government departments, etc now use only this
video format, and many of these sites have converted to flash from
Microsoft and Real formats. Since introduction of the flv(flash video)
a few versions back, flash is now capable of everything from very high
resolution movies to very low resolution ads. If you are interested in
only videos, a flash flv/swf encoder can be had for around US$50. Of
course the full official flash suite is quite expensive. The flash
encoder takes an input such as a high resolution mpg that is far too
large in size for the web. You can select many conditions for the
video and audio. Also you can build the player in many ways. The
program outputs both a .flv video file and .swf container file, both
of which must be uploaded into the same directory on the server. The
page code only calls for the .swf file. However the swf container file
internally signals the start of download of the .flv file to the
browser temporary cache and streaming starts very soon if the download
connection is fast enough.

There are many programs for encoding in Microsoft and Real formats,
and both companies still offer a free encoder for their formats. Also
many programs will encode QT mov videos. However to stream, QT movies
must be hinted, and this usually is not done on many QT encoders. The
most simple way to do is open a QT video in the pro pay version of the
QT player and then store it somewhere. The stored .mov video will be
hinted for progressive download streaming.

Video is one of the more complicated things you can do if you wish to
embed the video on an html page and have it work on most popular
browsers. If you are content to just bring up a full player, such as
the WMP, that may obscure much are all of the page, much more simple
code often will work.

Sep 19 '08 #6

"cwdjrxyz" <sp*******@cwdjr.infowrote in message
news:98**********************************@m3g2000h sc.googlegroups.com...
On Sep 17, 10:53 pm, "Oscar Arreyano" <anot...@example.comwrote:
I did a website for a friend's company where they wanted a 'downloads'
section similar to standard file sharing you see all over the place.
Everything works great except for video. I know there are codecs involved,
however, if i create a video (I've tried mpg, avi, wma so far) I can watch
it on my pc from disk just fine. Since my pc is also my test environment,
I
try to open the same video from the test site and I get the standard
'Can't
do it...Close...Web Help' response. I would assume that I need to be
supplying codec info along with the video on the web side of things? I
assume this since I know I *have* the correct codec on my pc to begin
with.

I know it's not a directly php related subject, but there is good traffic
here including the default response I know most will give...'This is a PHP
news group...go ask in x ng'.

All help is appreciated. Video over the web is completely new to me.
<snip>

Great links. I actually converted the video to flv and embedded the JW flash
player. It works stellarly and can play a few other formats as well. For
now, that seems to be all that's needed.

I really appreciate the info you gave!

Thanks again.
Sep 19 '08 #7
r0g
cwdjrxyz wrote:
On Sep 17, 10:53 pm, "Oscar Arreyano" <anot...@example.comwrote:
>I did a website for a friend's company where they wanted a 'downloads'
section similar to standard file sharing you see all over the place.
Everything works great except for video. I know there are codecs involved,
however, if i create a video (I've tried mpg, avi, wma so far) I can watch
it on my pc from disk just fine. Since my pc is also my test environment, I
try to open the same video from the test site and I get the standard 'Can't
do it...Close...Web Help' response. I would assume that I need to be
supplying codec info along with the video on the web side of things? I
assume this since I know I *have* the correct codec on my pc to begin with.

I know it's not a directly php related subject, but there is good traffic
here including the default response I know most will give...'This is a PHP
news group...go ask in x ng'.

All help is appreciated. Video over the web is completely new to me.

Although most video formats can be served without the use of any php,
there are other cases when writing most of the code in php helps a
lot. For example, I am now offering the choice of 4 video formats on
<snip>
>a flash flv/swf encoder can be had for around US$50. Of
course the full official flash suite is quite expensive.

FFmpeg is free and can convert almost anything to almost anything. I use
it to encode video into .flv and .swf happily, never had a problem with
it. It is command line but if you want there are some GUI front ends for it.

If you're using linux it should be in your repos, if you're on windows
it may be a bit harder to get hold of as they don't do official binary
releases. If you can't find it then message me via
http://www.technicalbloke.com and I will e-mail you a build of it.

Regards,

Roger.
Sep 19 '08 #8

"r0g" <ai******@technicalbloke.comwrote in message
news:gb*********@aioe.org...
cwdjrxyz wrote:
>On Sep 17, 10:53 pm, "Oscar Arreyano" <anot...@example.comwrote:
>>I did a website for a friend's company where they wanted a 'downloads'
section similar to standard file sharing you see all over the place.
Everything works great except for video. I know there are codecs
involved,
however, if i create a video (I've tried mpg, avi, wma so far) I can
watch
it on my pc from disk just fine. Since my pc is also my test
environment, I
try to open the same video from the test site and I get the standard
'Can't
do it...Close...Web Help' response. I would assume that I need to be
supplying codec info along with the video on the web side of things? I
assume this since I know I *have* the correct codec on my pc to begin
with.

I know it's not a directly php related subject, but there is good
traffic
here including the default response I know most will give...'This is a
PHP
news group...go ask in x ng'.

All help is appreciated. Video over the web is completely new to me.

Although most video formats can be served without the use of any php,
there are other cases when writing most of the code in php helps a
lot. For example, I am now offering the choice of 4 video formats on
<snip>
>>a flash flv/swf encoder can be had for around US$50. Of
course the full official flash suite is quite expensive.

FFmpeg is free and can convert almost anything to almost anything. I use
it to encode video into .flv and .swf happily, never had a problem with
it. It is command line but if you want there are some GUI front ends for
it.

If you're using linux it should be in your repos, if you're on windows
it may be a bit harder to get hold of as they don't do official binary
releases. If you can't find it then message me via
http://www.technicalbloke.com and I will e-mail you a build of it.

Regards,

Roger.
I may do that, Roger. I really appreciate your helpfulness!

I'll check it out.
Sep 19 '08 #9

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

Similar topics

1
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...
8
by: Nehmo | last post by:
When a page has a JavaScript "link" to a video, like http://www.msnbc.msn.com/id/10478942/ . How do you get the URL of the actual video? Isn't it in the source somewhere? -- )|:__ Nehmo __:|(
1
by: richardscheff | last post by:
Video selector works for IE but not other browsers. for not IE <object ID='Player' data="video/dodgeball.wmv" type="video/x-ms-wmv" width="320" height="280"> <param name="filename"...
12
by: Pallas | last post by:
Hi all, I've produced some high-def videos and I want people to be able to watch them on my website, but I may want to prevent downloads and I certainly want to prevent them from editing them....
2
by: hzgt9b | last post by:
Using VS2003, VB.NET, BACKGROUND I have a window forms based application that will be distributed and executed directly from CD media. The app contains a TreeView control and a WebBroswer...
3
by: triplejump24 | last post by:
i LOVE doing c++ programming, but i never can get myself started! Once i figure it out, its fun but anyways here it goes... Im given a file c:\temp\hwk8input.txt, which contains the records of the...
3
by: ghostrider | last post by:
Does anyone know how to recognise the image capture signal from a medical scope such as a video colonoscope? I've got video streaming from the scope to the computer but want my app to recognise...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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...
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.