Find your movie codecs here!
MovieCodec.com - Message Board - General - Wrong duration when playing back movie files

Wrong duration when playing back movie files

Board: General
Created: 12-14-2002 07:33 PM
Replies: 31
Latest Reply By: wickedg

Back To List Post New Thread Post A Reply

Posted by Travis 12-14-2002 07:33 PM
When I play back certin mpeg files they have the wrong duration on them ie the file may be 100megs but the size of the mpeg according to the playback program is only saying about 45secs.

I know the movie is bigger because when you get the the end of the 45 seconds the video stops but the audio continues. Also if you skip ahead via the scroll bar you can see bits of the movie that occurs after that initial 45 sec mark. I hope this is clear enough.

Dose any one have any ideas on how to view the whole movie or to tell the mpeg file that it is longer then 45 seconds long.

I have tried playing it on several different players and have tried to re-encode the file to somthing else such as avi but no luck.

Many thanks
Travis

Posted by Angry fig 12-14-2002 08:45 PM
You may have corrupt files on your hand. Do this to see if the files make sense, since you claim you can continue hearing audio. Demux the mpeg file using mpegenc. play the audio and check wmp for the duration of the audio. play the video and check again the duration.(takes only a few minutes to do these). That would be a start. By the way if you have an mpeg file don't expect the file to be very long just because it is 100 meg. maybe 15 to 20 minutes. besides I thought this forum was for codecs.

Posted by Travis 12-15-2002 04:30 PM
Hi

Is there any way to fix the file so that WMP relises that it is longer.

Travis.

P.S. I posted here because i thought it might have been a codec prob.

Posted by Angry fig 12-15-2002 06:46 PM
No there is not. wmp plays what you give them. The files you have(on second thought) seem to be unfinished dat files from sites like edonkey. Those are batch files that you received piece meal from different people. Your audio might be complete and enough of video to be able to see the beginning of the movie and short durations from other parts of the movie that was finished downloading from somebody. I don't think you will ever be able to get those fixed. You need to download again.

Posted by Angry fig 12-15-2002 07:23 PM
P.S.
I will try to make you see it another way. You are downloading a 700 meg file from some of these sites and after 1 hour of downloading, say 100 meg if you right click on the dat file and check for properties you will see that the file has a size of 700 meg, but you know you only downloaded 100 meg. That is because that sites system tries to make sure you have enough diskspace available to finish the file so it reserves 700 meg of diskspace and if I take this unfinished file, edit and rename it I will have a file that says size is 700 meg but will only play 100 meg worth of video and if I am lucky finish the audio part of it.

Posted by tobadzistsini 01-08-2003 08:39 AM
I am having the same problem with some larger files. It has something to do with the file being several smaller mpegs that were joined into one larger file. I having this problem with files that I have generated myself and merged them together. I am fairly sure that I have joined them correctly. If anyone has a solution for this problem, I am all ears.


Posted by Angry fig 01-08-2003 10:44 AM
Hogwash, if I join two files one 20 seconds and the other 30 seconds and both are playble and compatible, then after joining I will have a file that is 50 seconds long. The player will tell you the length of the movie and does not care if the middle of the movie is corrupt, blank or unfinished. We are finished with this problem.

Posted by Travis 01-08-2003 04:48 PM
A little bit "touchy" aren't we ANGRY FIG.
This is supsosed to be an opend forum. Not a place where you are told your problem is "HOGWASH". If you can't be bothered to write hepfull advice stay the @#$@#$ of your keyboard.

Posted by tobadzistsini 01-08-2003 06:51 PM
Hi, I didn't want to start a fight. I am having the same problem that Travis is having. My operating system is XP with all updates. I am Media Player 9 for XP and I am running into a lot of larger files that play the first minute, then the video freezes, and the audio continues. When I joined my own files I was using both TMPGEnc and Joiner. My joined files do the same thing as described above. I am not making this up. I was hoping to find some help here and not start a flame war. If I find the soulution to this problem, I will post a reply here.

Posted by Travis 01-08-2003 11:57 PM
Hi

Give this a go.
Try downloading the program DVMPEG.
Install it.
Then try playing your video through Windows Media Player.
I don't know why but this seemed to fix my problem.

Travis

Posted by timere 03-11-2003 10:37 AM
I still have the same problem even thoe i installed DVmpeg, is there any other fix?

Posted by sweetumz 03-11-2003 05:31 PM
i found that some of the mpg files that behaved this way could be loaded into virtual dub and saved as a new file, recovering the lost frames. some files couldnt, and im not sure why

Posted by DarthNemesis 03-11-2003 08:14 PM
I've been having the same problem recently. Large files that had previously played back perfectly are suddenly reduced to 45 seconds in length, but manually seeking allows you to view other parts of the file. I'm not sure when exactly it started, but the latest update to Media Player 9 Series came out at about the same time...

Posted by DarthNemesis 03-14-2003 12:11 AM
It appears to be a problem with the MPEG-2 multiplexer DirectShow filter... installed a new one and I was able to increase the file length to 2 minutes. (lol, it's progress...)

Posted by Hoosier Daddy 03-21-2003 12:13 PM
This is a codec problem. I am still researching it. I am close. It can happen if a file from your codec is missing or there are some files from a different mpeg codec that jack things up. I am researching my problem right now and if I can nail down the specific file or files involved, I will post for you.

Posted by Pedro Sala 03-27-2003 06:48 PM
Hi everybody, I had exactly the same problem but thanks to your clues I managed to solve it:
the culprit was the mainconcept codec, I simply unregistered it then registered it again and... bingo!
Try it:
1) click run regsvr32 /u mcdsmpeg.ax
now the filter is unregistered (like unisntalled)
2) click run regsvr32 mcdsmpeg.ax
now the filter is registered again and your problems gone.
I hope it works for you as well


Posted by Warren 03-29-2003 01:08 AM
Pedro - I tried your method and it didn't help me... anyone have any luck? Or any other ideas? It's driving me nuts!

Posted by timere 03-29-2003 04:42 AM
Same for me, can't get it work.

Posted by Hoosier Daddy 03-29-2003 12:06 PM
I still am looking for a solution for me also. There are just so many possibilities because everybody has different programs with different codecs. Anyone know of a program that displays all of the codecs installed on your system, what they play, and what files are associated with them. That could help narrow it down.

Posted by Pedro Sala 03-29-2003 07:19 PM
I'm sorry it didn't work for you.
What I can tell you is you can be sure that the problem is related to a codec messing around. Don´t lose your time trying to recompress your clips, they are right.
The tools I used are:
GSpot: http://www.headbands.com/gspot or this site.
AVIcodec: http://avicodec.duby.info or this site.
GraphEdit: Don't konow URL but easy to find.

These tools will tell you what codecs are used to play your videos. Each codec has a file problably located in your System32 folder with the extension *.ax
You can temporarily rename the suspect and try to play back a video to see what happens.
If you have two codecs trying to load at the same time to make the same function, disabling one of them will be the solution.
Good luck.

Posted by Rafael S. 04-07-2003 12:59 AM
I ran into this very same problem today and found this message board using google. Luckily, I just figured out what the problem is.
The first thing was to use Media Player Classic ( http://vobsub.edensrising.com )which is a VERY small and effective WMP6.4 clone with tons of improvements. It allowed me to see what codec was being used. And as someone said above, the MainConcept splitter was there. A quick research in my HD shown that no mainconcept files were on my WINNT dir/subdir, but instead were in a dir used by Sound Forge to keep its plugins - it uses the mainconcept codec pack to open/save MPEG videos, but I don't even have that funcionality enabled, so it was useless.
Before attempting to unregister the files I uninstalled Sound Forge to check if the problem was gone: bingo! Now Media Player Classic informs me I am using MPEG-I Stream Splitter, which I guess is what comes with Windows.
Now I must find a way to either install SoundForge without this codec (which I guess is impossible) or to fully remove all mainconcept things after installation. I'm not sure if just unregistering the four .AX files related to it will do the job in a clean way or will just disable them (I REALLY don't feel like letting those things in my hard disk after finding out they were causing my so much trouble).
So... One solution is to remove the MainConcept codecs... if you don't need them! If you do, I don't know what to do.

Posted by Joe Schmoe 04-16-2003 02:08 PM
Hey folks, I've been dealing with this problem for a while, and got very tired of it...

Well, I decided to just go start pullin suspect codecs out one at a time, the one that was causing it for me was mcspmpeg.ax . I'm assuming this is one of the mainconcept codecs. As soon as I pulled it out, the clips started playing back normally, with the seek bar moving at normal speed. Hope this helps some...

Joe Schmoe

Posted by Joe Schmoe 04-16-2003 02:15 PM
Oh, btw... I did have soundforge installed, uninstalled it and when that didn't help, that's when i started poking around pulling suspect codecs.

Joe Schmoe

Posted by Silhouette 04-20-2003 08:07 AM
I had the same problem... But after some research etc. I [luckily] solved it...
The problem is in one of the registered Mpeg Splitters...

A buggy MPEG splitter is registered in windows... And if you can unreg/remove it you will see the correct file duration.. In my case the problem was Cyberlink's Mpeg splitter...

Try http://www.analogx.com/contents/download/audio/dxman.htm
and download DXMan... It shows all the registered plugins / filters etc...

Look for something like MPEG [1/2] Splitter...
AND REMOVE it with the tool... [Before removing note the name and location of the file to be removed in case...]

Then hopefully your system will be ok ... will see the correct duration AND will probably swear at the stupid codec/plugin and its company ;)

Good luck.

NOTE: The problem MAY also arise if there is more than 1 MPEG splitters are registered... I'm not sure though...

NOTE2: Currently I have "MPEG-I Stream Splitter" regged in the system... [quartz.dll]

Posted by brian 04-23-2003 12:20 AM
i've had the same problem then realised after reading a previous post that i had installed soundforge a few weeks back. So i unistalled soundforge and everything works fine now.

Posted by adam 04-25-2003 02:42 AM
I had the same problem. videos just stopped loading at the correct length for no reason. anyway. I changed the extension of a codec called "mcspmpeg.ax" in my "windows/system 32" directory to .axtemp and my videos work correctly now.

Posted by MadBrody 05-01-2003 02:55 PM
Hi folks

As many of you i had the same problem but now have a kind of solution. I downloaded MPEG Encoder and transfered the file to another quality mpeg ... and the new created file worked perfectly

Posted by Casten 05-01-2003 07:53 PM
I had the same problem other people are describing, all long mpegs showed up as only 45 seconds. I uninstalled SoundForge and things work again.

Posted by Samhain 05-01-2003 10:27 PM
Silhouette is right. The Mpeg splitters are the key.

I had the same problem than you guys but now it’s fixed.

The fact is you must have only 1 mpeg splitter in your computer. Preferably the one that comes with quartz.dll

So, go to this address : http://www.analogx.com/contents/download/audio/dxman.htm

Download the program and install it (very simple to use, you’ll see), and after that open it. It will show you all the registered plugins / filters etc that you have in your computer. You’ll see, some of them have more than one application. Anyway, try to locate (in the plug-in column) the Mpeg Stream Splitter corresponding to the quartz.dll filename. This one is the good one, don’t remove it. Now, browse the entire plug-in column and try to find other mpeg splitters (I personally had 2 fraggin’ others in my computer) and remove it using the Remove button of your DXMan program.

99% sure that you’ll find an Mpeg splitter corresponding with the MCSPMPEG.AX filename. Destroy it, its imperative.

IMPORTANT: Like Pedro said, don’t loose your time trying to recompress your clips, they are right!!!!!!!!!!!!!!!!!!!!!!!!

Posted by MIA 05-08-2003 04:02 AM
The files are technicaly corrupt, usualy it is only one of the throusands of mpeg blocks that make up the video file. When the MainConcept splitter sees the error it freaks out and gives you the wrong video length. You can work arround it by using the default microsft splitter that does not notice the problems as much, but the corrupt block is still in the original file. What you should do is use a program like DVmpeg to demux and remux the mpeg file. There is no loss in quality by doing this and it will correct the corrupt blocks so that the MainConcept splitter and others will read the file correctly.

Posted by Dave 05-09-2003 03:16 PM
Joe Schmoe was right tried his method worked perfect
Thanks alot saved me alot of wasted hours

Posted by wickedg 05-11-2003 02:51 AM
DXMAN is the man. I killed mainconcept and everything is back to normal. Thanks guys!
Site NewsDisclaimerPrivacy PolicyValueAd Privacy Policy • ©Bjarne Lundgren 98-02