PDA

View Full Version : MPEG filter error PLEASE help


Banana
18th May 2002, 10:59
hi out there!
ok here is my prob:
I have a video file (*.avi) and this one is too big for a CD.
Thought Ok cut it with VirtualDub(v. 1.4.7) but when i try to open it i get this error:

MPEG filter error:unexpected end of file

I can't open it!!
And when i watch it it will freeze 3 min. before the end right before the credits :D . I hear the audio but i see only a frozen picture.

Is there any prog which will solve this problem?
I have tried a avi defreezer but without a result :(

Zhnujm
18th May 2002, 21:23
are you sure this is an avi file , not only a renamed mpeg file ? this error should be related to mpeg files.
if its useful for you to get the part before the error you can try this:
select "load video file", check "popup extended open option" and select "accept partial mpeg streams"
this will only work if its really an mpeg file.

Banana
19th May 2002, 13:27
i will have a look,
I'm not sure if this is a avi or a mpeg file!
How can i find this out?

Zhnujm
19th May 2002, 21:42
if you open the file and a window appears "Parsing interleaved mpeg file", its a mpeg file ;)
you can also try vcdgear to fix the errors in the file. (IF its mpeg)

Banana
19th May 2002, 23:46
ok when i use "load video file" and "popup extended....."(you know it)
then i will get no error but only the first 233 frames are shown!!
i can scroll throu it but only the first 233 frames.
And when i try to save it now i get this error(maybe it help):

The source video stream uses a compression algorithm which is not campatible with
avi files.Direct stream copy cannot be used with this video stream.

And when i try to save it with a another compression
(not Direct stream copy) it work's but again only the first 223 frames.

The window you have mentioned (<-right written??)
"Parsing interleaved mpeg file"
i don't have seen it.
ok there is a window...
i see it a very limited time with a processing/loading beam.
I can't really see it, it appears and disappears immediatley
and the
MPEG filter error:unexpected end of file
window appears.

Can i do something with virtualDub or have i to use another prog??

Zhnujm
20th May 2002, 21:28
then it IS a mpeg file. most probably a vcd rip. thats also the reason why it is to big for a data cd - vcds can hold up to 800MB data.
vdub is very sensitive about errors and so it cannot read the file.

easiest solution is to burn the file as vcd. (i never have made one)

if you still want to convert it try to frameserve the file with avisynth to vdub.
-install avisynth
-create a text file with ending .avs: directshowsource("myfile")
-load the avs file with vdub

the directshowsource is more error-tolerant than vdub. you should get the same result as when playing the file with mediaplayer.
but dont try to edit or seek in the file, the directshowsource is very unstable for me.

Banana
21st May 2002, 12:33
hmm
ok
i will have a try.....

Banana
21st May 2002, 15:33
ok i tried it with avisynth but when i loaded it in vdub and want to save it as an avi there is no sound!!
Why?

Zhnujm
21st May 2002, 22:20
no problem, the directshowsource does not support audio. just try if you can encode the whole file and then demux the audio with tmpgenc`s mpeg tools. the resulting .mpa file can be converted to mp3 with besweet. then you can mux the audio later with nandub to the video.

if its not possible to demux or convert the audio because of errors come back again, there are other solutions wich work in such cases. (but more complicated ;) )

Banana
23rd May 2002, 13:53
ok i will try it...

Banana
23rd May 2002, 20:12
ok i made everything like you said.
encoded the whole file with Vdub and avisynth,
demuxed the audio with tmpgenc -> *.wav not mpa,
converted the audio to mp3 with Audioactive Production Studio,
and then muxed the audio to the avi with Nandub
(all software from doom9 but not Audioactive studio)
everything worked fine:)

but at the end i've got a very very unsynchronous video...
are there special setup's in Nandub??
What have i to check/uncheck??:confused:

Zhnujm
23rd May 2002, 21:58
is the sound asynchron in the whole file ? or is it more and more asynchron the longer the file plays ?

first is easy, you can enter a delay (positive or negative) in the "Delay Audio track by.." box (Audio->Interleave). just enter a value and see how it plays (you dont have to save the file, just click on the play button)

for the second you can try to use "Change framerate so audio + video duration match" (Video->Frame Rate). if that dont work (i think so) the last solution i have is converting the audio with graphedit to wav.
-load graphedit
-select render media file
-select your video file
-delete everything whats connected to the video output of the mpeg-1 splitter
-delete everything whats connected to the output of the mpeg audio decoder
-insert following directshow filters: "wav dest" + "file writer"
-select a filename in the file writer filter
-connect the audio decoder output to the wav dest filter input
-connect the wav dest output with the file writer input
-click on the play button
when the play button is available again (this takes some time) you have a wav file wich has maybe better sync than the file demuxed by tmpec.
if even that wont produce a correct file i would say delete it. :(

Banana
24th May 2002, 14:04
oh man thanks THANKS:cool:
i finally did it
I made another wav file with grapedit an used this and used the
"Delay Audio Track bay...".
after some try's i found the right delay.
The video is perfect and whole video is now synchron.

Thank's a lot for the help:sly: