Hello there, I've been trying to encode a 700MB avi file and convert it to SVCD, but the thing is, the whole movie has bad frames, from the start to the end. When i play the movie on VLC media player, i don't encounter any bad frames, its as if it didnt have any, unlike playing it on windows media player, it continuously plays with bad frames. Now i tried encoding it through TMPGEnc, but it still shows bad frames. Now ive solved that by installin ght ffdshow codec, now im able to play the movie on windows media player without bad frames, however ive encountered several other problems: 1. It plays fine on WMP but when i encode in through TMPGEnc still has bad frames and after a while i get this message: Read error ocurred at address 00186BC6 of module 'TMPGEnc.exe' with FFFFF5F8 2. I then tried re-encoding it in virualdub using the video compression 'DivX 5.0.5 Codec' and also like TMPGEnc, i get bad frames and after a while i get dis error message. I then tried using the 'ffdshow Video Codec' but i got this error message: Cannot start video compression: An unknown error occured(may be corrupted data). (error code-100) So i uninstalled ffdshow and downloaded the one from this site and the same thing happened. Can anyone help me solve this. Thnx alot in advance!!!!!!!!!!
If you increase the directshow input priority, then TMPGEnc should use ffdshow for decoding. You may need to limit the output to RGB though to get it to work. You could also make sure that ffdshow is used for VfW decoding (TMPGEnc default settings or VDub). Easiest way to do that is probably to change the fourCC to FMP4? which from recollection is the fourCC for ffmpeg's mpeg-4 codec so it should be handled by ffdshow. Really though if you have an XviD file that XviD can't decode then something is up. What build of XviD are you running? You might want to try updating.
Hi celtic_d, Thnx for replying so soon! Well, i've already tried that, i set the directshow to higher priority in TMPGEnc and it still didn't work, though if thats what u meant? I changed the FourCC to FMP4 and tried encoding it at TPMGEnc and it still didn't work, as if ffdshow isn't working. Well i got other files that are of Xvid and are able to encode in TMPGEnc, VirtualDub but this is the only AVI XViD built that has bad frames while i encode through TMPGEnc. Well i currently have XviD MPEG-4 Video Decoder and Xvid MPEG-4 Codec, which are both needed for the AVI file to run, i checked it at Gspot and said that i am able to play this file. Do you have any other suggestions? Thank you very much!!!!
There shouldn't be anything else that handles FMP4 so if you say ffdshow can decode it, then it should work. Perhaps you could clarify what you mean by didn't work. You mean it didn't work as before or that TMPGEnc won't load the file. You never said what build/version of XviD you are running.
Hi, How do i know that ffdshow is used in TMPGEnc? all i know is that in the VFW codec configuration i changed the FourCC to FMP4, now bout the Xvid version, how do i check what version it is? Can u please explain how do i encode the file in TMPGEnc using ffdshow pls? Thnx alot!!!!
If you go into VirtualDub(Mod), select XviD and press about it will tell you. Easier still you just need to recall what version you installed. Like I said since I can't think of anything other than ffdshow that would handle FMP4 if you have an avi with that fourCC then ffdshow should 100% definatly be used when decoding via VfW which is what TMPGEnc uses by default. For dshow you can tell by ffdshow's tray icon or you can enable OSD.
Hey celtic_d, Actually i figured it out myself, i just went to the VFW codec configuration, and in the decoder tab i set the XVID format decoder to 'libavcodec' and when i tried encoding it in TMPGEnc it worked!!!!! No more errors nor bad frames. Though i wanna say thnx again for ure support and help!!!!
That should only work if you uninstall XviD first. With XviD installed it should be always used for VfW decoding, no matter how other decoders are setup since VfW will always use a codec registered for a given FourCC first and XviD is set to handle XVID. Dshow on the other hand is based on a priority system so ffdshow can be used even with XviD installed, simply due to the fact that it has a higher merit.