How to make an MPG-file smaller and place it on the web?

G

George

Hi,

[I've asked this question also on alt.www.webmaster]

I've got a large MPG-file here (15.7 MB) and I'd like to make it smaller
in filesize, and to put it on a website.

Are their any free utilities available to decrease the filesize (by
decreasing width and height in pixels)?

What is the preferred movie-filetype to put movies on the web? MPG?

Could someone please show me some HTML-code that will display this
movie, or point me to a website where this is explained? Preferably
inside an HTML-page, so not in a standalone movie-player. I am
experienced with HTML, but not with movies on webpages.

Thanks.

Kind regards, George
 
S

SpaceGirl

George said:
Hi,

[I've asked this question also on alt.www.webmaster]

I've got a large MPG-file here (15.7 MB) and I'd like to make it smaller
in filesize, and to put it on a website.

Are their any free utilities available to decrease the filesize (by
decreasing width and height in pixels)?

What is the preferred movie-filetype to put movies on the web? MPG?

Could someone please show me some HTML-code that will display this
movie, or point me to a website where this is explained? Preferably
inside an HTML-page, so not in a standalone movie-player. I am
experienced with HTML, but not with movies on webpages.

Thanks.

Kind regards, George

Windows Media (WMV) or Quicktime (QT) - those are the only two you should
use (there's also RealMedia, but it sucks!). Both can play back as an object
within a page. www.w3schools.com has some info on it.
 
S

Spartanicus

George said:
I've got a large MPG-file here (15.7 MB) and I'd like to make it smaller
in filesize, and to put it on a website.

Are their any free utilities available to decrease the filesize (by
decreasing width and height in pixels)?

Bad idea, quality will decrease a lot. Best re-encode the video from the
uncompressed source. If you don't have the source, use something like
VirtualDub to decode the mpg to an uncompressed avi, then resize (using
VirtualDub), and then re-encode (for mpg I'd recommend TmpegEnc).
What is the preferred movie-filetype to put movies on the web? MPG?

What's the best car to buy? (answer: it depends). Mpg's are rather
large, Windows Media is well supported on the client side, but WM is
part of MS's plan to enslave the world, cross platform support and
accessibility are bad. Open non proprietary formats on the other hand
are poorly supported on the client side, and although accessibility is
better, this is in theory only (that may change in the future). So it's
a bit of a choice between a rock and a hard place. I'd stay away from
both Real Media (spit), and QuickTime.
Could someone please show me some HTML-code that will display this
movie, or point me to a website where this is explained? Preferably
inside an HTML-page, so not in a standalone movie-player.

Another bad idea, please reconsider:
http://www.spartanicus.utvinternet.ie/embed.htm

Link instead, be nice to your users and provide both a download link and
a streaming link: http://www.spartanicus.utvinternet.ie/streaming.htm
 
T

Tony Borgosano

George said:
Could someone please show me some HTML-code that will display this
movie, or point me to a website where this is explained? Preferably
inside an HTML-page, so not in a standalone movie-player. I am
experienced with HTML, but not with movies on webpages.

<script language="javascript">
if (navigator.appName.indexOf("Microsoft")>=0) {
hTag='<img border="2" dynsrc="your-url.wmv" start="fileopen" loop="1"
width="315" height="235">'
}else{
hTag='<EMBED src="your-url.wmv" autostart=true loop=true controller=false
width="315" height="235">'
}
document.write (hTag)
</script>
 
W

Weyoun the Dancing Borg

George said:
Hi,

[I've asked this question also on alt.www.webmaster]

I've got a large MPG-file here (15.7 MB) and I'd like to make it smaller
in filesize, and to put it on a website.

Are their any free utilities available to decrease the filesize (by
decreasing width and height in pixels)?

What is the preferred movie-filetype to put movies on the web? MPG?

Could someone please show me some HTML-code that will display this
movie, or point me to a website where this is explained? Preferably
inside an HTML-page, so not in a standalone movie-player. I am
experienced with HTML, but not with movies on webpages.

Thanks.

Kind regards, George


Hi George :)

I think some of the others may have been too technical for ya :)

Space Girl's got it about right.


You have a few options available. Windows Media (WMV), Quicktime (MOV),
Real Player (RM), DivX (AVI), MPEG (MPG) and Shockwave Flash (SWF).

Out of all these files, MPG / MPEG will work on Linux, Windows and Mac
computers with little or no trouble.

If you want to actually embed the file within the HTML file, Quicktime
(www.quicktime.com) or Shockwave (www.macromedia.com) would be the best bet.

In my opinion it's better to leave it as an MPG and allow users to
download it. People on slow connections such as 56K or even 128/256K
broadband could find it slow to download, and may prefer the choice.


As other's suggested, Virtual Dub is a good program if you want to
encode in AVI (divx).

www.divx.com for divx
www.google.com for Virtual Dub


if you need any help, please post, and I'll assist :)


matt

--

Quiet, Pinky; I'm pondering.
_ _
/~\\ \ //~\
| \\ \ // |
[ || || ]
] Y || || Y [
| \_|l,------.l|_/ |
| >' `< |
\ (/~`--____--'~\) /
`-_>-__________-<_-'
/(_#(__)#_)\
\___/__\___/
/__`--'__\
/\(__,>-~~ __)
/\//\\( `--~~ )
'\/ <^\ /^>
_\ >-__-< /_
(___\ /___)
 
S

SpaceGirl

Toby A Inkster said:
MPEG for downloads, RealMedia for streaming.

Realmedia is bloody awful. Use WMV or Quicktime. You dont need an ad-laden
player to view the files, and far more people have QT and Windows Media
installed than Real.
 
W

Whitecrest

Realmedia is bloody awful. Use WMV or Quicktime. You dont need an ad-laden
player to view the files, and far more people have QT and Windows Media
installed than Real.

I personally hate the "real-one" interface.
 
S

SpaceGirl

Whitecrest said:
I personally hate the "real-one" interface.

Awful isn't it? I use "Media Player Classic" to play back realmedia -
it's tiny, free, and has no ads!

--


x theSpaceGirl (miranda)

# lead designer @ http://www.dhnewmedia.com #
# remove NO SPAM to email, or use form on website #
 
L

Leif K-Brooks

SpaceGirl said:
I use "Media Player Classic" to play back realmedia - it's tiny, free,
and has no ads!

And it's only good when used with a bloated, expensive OS which is
almost guaranteed to get spyware.
 
T

Toby A Inkster

SpaceGirl said:
Realmedia is bloody awful. Use WMV or Quicktime. You dont need an ad-laden
player to view the files, and far more people have QT and Windows Media
installed than Real.

I find the motion in RealMedia far smoother than with either QuickTime or
Windows Media. Plus it has better cross-platform support (You can only
realistically rely on Windows Media Player working on Windows and x86
Unix, and you can only realistically rely on QuickTime working on Mac and
x86 Windows).

If you don't like the official player, there are plenty of other players
that can handle RealMedia.
 
T

Toby A Inkster

Leif said:
But how can you rely on [WMP] working on x86 Unix? IIRC, it's pretty
difficult to install on Wine.

I've had it working on Wine, but that's neither here nor there. The WMP
codecs (up to WMP8 anyway) work fine in many native Unix media players,
such as Xine (and related players, e.g. Totem) and mplayer and I think
they integrate into GNOME's gstreamer multimedia framework too.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top