Log in

View Full Version : mpeg and INTRNET EXPLORER


fys
17th July 2004, 12:33
hi! i am trying to make a project in INTERNET EXPLORER using .mpg files as videos in the html file.
I had this idea which till now i am not sure if it is workong.
The same mpegs , i had them in DVD (vob) format. So i renamed the vob files from vts_01.vob to video.mpeg (for example ) and i used them (AS IS) into the html format to see what will happen
For a strange reason the web page i created with the video file played well on my pc but not to some others using WIN 98 ( I USE XP) . I thought this is a codec problem which i have to fix it . but the mpeg files do not play even under media player (the latest version for win 98)
What i am asking now? i dont care which format i have to use except avi (cause the files are too big to fit in a cd ) i d like to know what is your opinion on what format to use and if u have any idea on how to convert if i need to the mpeg file (wich was a vob file) to something else so it can be played on any PC .thanx

bb
17th July 2004, 20:41
This does not seem to be related to DV topics, so I'll move the thread to General Discussion.

This thread may be interesting for you:
http://forum.doom9.org/showthread.php?s=&threadid=53115

bb

Neo Neko
18th July 2004, 06:14
Originally posted by fys
hi! i am trying to make a project in INTERNET EXPLORER using .mpg files as videos in the html file.

Ugh! :p IE and MS specific pages. But I won't go there.

Originally posted by fys
I had this idea which till now i am not sure if it is workong.
The same mpegs , i had them in DVD (vob) format. So i renamed the vob files from vts_01.vob to video.mpeg (for example ) and i used them (AS IS) into the html format to see what will happen
For a strange reason the web page i created with the video file played well on my pc but not to some others using WIN 98 ( I USE XP).

I can call my dog a cat but that does not make it so. Vobs and MPEGs are two different beasts. They may have similar video streams inside just as dog's and cats have similar organs. But you can't wrap a cat in dog and expect it to work. I am not sure where I was going with that. Needless to say never change a files extension like that. Especially under MS Windows. Your problem is not necessarily a codec one. More a container related one. Though codec could possibly be involved as well. WMP for Win98 and ME comes with no MPEG2 codec or Vob transport parser. If you install a directshow based DVD player then there is a slim chance you could get it to work. But there is absolutely no guaronte.

Originally posted by fys
What i am asking now? i dont care which format i have to use except avi (cause the files are too big to fit in a cd ) i d like to know what is your opinion on what format to use and if u have any idea on how to convert if i need to the mpeg file (wich was a vob file) to something else so it can be played on any PC .thanx

First of all AVI being to big to fit on CD has nothing to do with AVI at all. For instance if you used MPEG4 in AVI you could actually fit more AVI on CD than MPEGs or VOBs.

Before we go to much farther I have to ask. What do you intend for the files? Are you writing broken HTML to display them via Internet Explorer or are you making CD's for friends. Also if either one of those are your intention you know it is not exactly legal even if there is nothing wrong with it. Since we are talking VOBs we are most likely talking commercial content. If you are not planning on educating or assisting your viewers then you mest stick with MPEG1 video and audio in a plain MPEG file. Not a VOB. Next best thing is to use AVI with some sort of MPEG4 codec with MPEG1 layer 3 audio. Any version of WMP can read AVI MP3. And something as simple as ffdshow is all that is required to decode MPEG4.

fys
18th July 2004, 09:01
WELL FIRST THANKS FPOR YOUR TIME...
my aim is as u said to make a collection of videos in a dvd (NOT DVD VIDEo) , the mpegs are written as data.they are not copy right protected ( the vobs where i made the mpegs)) so i dont care.
the only thing i want is if u for example had the dvd rom to play the project without problems and not using a specific programm for playing videos, that's why i choosed IE so any one can navigate through the video collections.NOW on my pc the videos play with every programm (m.player, nero show time etc.). although as i said that the files are actualy .vob files.
they cant be played on a media player (the latest version ) on an other pc taking the message that media player cant fid the apropriate codec ( in microsoft database -not to my installation)
So i checed with a tool what codec the files use.
i discovered that every video file (ALL IN .MPG FORMAT) that i have in my hard disk (all of them have been captured from my tv tuner card)use the "MainConcept MPEG Video Decoder codec"
i do not know AT ALL what is this , where this came from and how has been installed and been used as mpeg video decoder from all my media programms.
i must say here that some mpeg files on my HD are very old before i start using dvd programms so this came from windows installation or pinnacle software ( MY TV TUNER CARD)
any way i dont want to say anything more for that situation only i someone know how (if i can) to obtain this kind of codec i mentioned to install it on a win 98 machine and see what will happen
thans alot
m

Mug Funky
18th July 2004, 15:19
first up, mpeg-1 and mpeg-2 are very different.

if you're distributing a DVD-ROM, then there is an assumption that the computers you're using will have DVD drives on them. so far so good - these can play regular video DVDs and the computers will probably have DVD player software installed.

however, internet explorer will choke if you feed it mpeg-2, and in fact media player often needs a lot of convincing to be able to play them even if there is DVD decoders installed that could be used.

my recommendation is to separate the video and DVD-ROM content, and simply use a DVD authoring program to put these videos together. unless you need more interactivity than even HTML will give, a DVD structure should be enough for you (they can do linking and animated backgrounds, plus have buttons and information on screen, if you don't mind 720x576/480 as screen size).

otherwise, you could simply turn all that video into mpeg-1 streams (like VCD) and they'll work on anything that ticks. mpeg-2 doesn't have this wide compatibility unfortunately, but both formats perform similarly if you keep content progressive (and break some of the more austere VCD standards).

try using QuEnc, or another ffmpeg based encoder. search button will help you here :)

fys
19th July 2004, 07:46
finaly the problem as i believed and u say too
was a codec missing.since i discovered what an old win'98 pc does not have i downloaded the codec (believe me it was very easy to find it and install it) and now everything works perfect.
my aim was to create a mpeg file easy and quick and i had this crazy idea to trimm the source video through TMPGEnc dvd author for fast result and not to wait a special programm like adobe premiere , pinnacle studio etc to make my mpeg of 5 minutes for example in one or two hours.with TMPGEnc it took me seconds to create a full dvd structure at first and then rename the vob files to mpeg files
finaly i made my dog eating fishbones and chasing mice
just joking
thanx fys