Distortions in AVI, but not visible in Media Player!

Mikademus

New member
Hi!

I have a few AVI I have attempted to convert to MPEG2 to make into a video DVD. These files play without errors in M$ Media Player, however after conversion (I have tested both TMPGEnc and CCE) the clips display heavy motion distortions. First I thought this was a recoding issue, but then I realised that other players, like Nero ShowTime, as well as the output/preview pane in TMPGEnc, do show these errors.

However, again, Media Player *can* show the stream w/o errors, which seems quite strange to me. (However, the converted MPEG file *will* be distorted in MP, since the distortions have been encoded as movie data...)

Can I recode the AVI in such a way that it will be unproblematic to other viewer apps, and especially TMPGenc?

Regards,
Mike
 

jaapf

New member
I must say I've had similar probs when I reencoded AVI's to MPEG2 (mostly SVCD format for that matter) on Software players like PowerDVD, BSPlayer and/or WinDVD.

However, when I burned them to DISK and played it on my Standalone (cheapy-cheapy nobrand) these distortions don't show.....

Did you try this (on a rewritable ofcourse)?
 

Mikademus

New member
jaapf said:
I must say I've had similar probs when I reencoded AVI's to MPEG2 (mostly SVCD format for that matter) on Software players like PowerDVD, BSPlayer and/or WinDVD.

However, when I burned them to DISK and played it on my Standalone (cheapy-cheapy nobrand) these distortions don't show.....

Did you try this (on a rewritable ofcourse)?
No, but after reading your reply I will, and post back here. Just to clarify, you say that you converted the avi to a mpeg file (which got the distortions) which you then burned to DVD format, and that clip played correctly on the settop? Sounds wild, but I'll try it...

-Mike
 

Mikademus

New member
I've burned the output mpeg file and I'm sorry to say that, at least on my settop DVD player (Toshiba SD220E), it did not work - the distortions were played as part of the movie.

However, I've come across a program that can convert the source avi to a non-distorted mpeg; it's called MPEG4 Direct Maker. Of course, this program has a drawback, as everything else in this world, and in this case it is that you cannot limit upper bitrate, which results in the output file not being DVD compliant - I ended up with a file peaking at 10x the DVD upper limit!

-Mike
 
I would be looking at what video codec the file uses, what directshow decoder Media Player is using and what VFW decoder your PC is using for that fourCC.

One simple solution would be to have TMPGEnc convert via dshow, that way the same decoder that WMP is using will be used and therefor in theory no more distortion.
 

Mikademus

New member
I checked for differences in codecs, colour format etc used between the files before my original post but unfortunatly it does not seem to be as simple a corellation as that - AVIs encoded using different codecs DivX4, Open DivX4 and Xvid all displayed identical artifacts, and these also played correctly under WMP.

However, thanks for the tip on having TMPGEnc using dshow, that's definately worth testing!
 
Crank the dshow reader's priority or use AVISynth with directshowsource("whatever.avi",fps=??)

If your encoding involves any resizing then in my experience having AVISynth do it instead of TMPGEnc speeds up encoding.
 

Mikademus

New member
No, it did work!

Heh, sorry, I was asleep! :)

No, it did work, thanks for the tip! Or at least, the video worked, the sound was shot to to hell by using DirectShow. This was fixed by extracting the sound separately and then muxing the two streams.

Seems like in this field there's always a tradeoff - for anything that works or solves one problem, another issue must be dealt with...

Thanks again!
 
audio = avisource("whatever.avi")
audio = getchannels(audio,1,2)
video = directshowsource("whatever.avi",fps=??,audio=false)
audiodub(video,audio)

If I got that right then you would have video via directshow and audio done regularly.

Simply using AVISynth with directshowsource instead of cranking the dshow priority in TMPGEnc might also work by itself.
 
Top