Log in

View Full Version : XViD Encoding Problem


goldensun87
1st March 2016, 04:41
After the recent MeGUI update, when I encode a video to XviD, the video length is being doubled, why is this happening, and how do I fix it?

hello_hello
2nd March 2016, 17:28
Post your log file.

goldensun87
3rd March 2016, 05:00
Here is my log file.

https://mega.nz/#!V0IyjDQa!qV1BQ5DoSWbyt0GlcItIPzrQ6ufYQe4sh3eQ3uYJnnU

hello_hello
3rd March 2016, 06:09
All I can see is the audio appears to be 7 minutes and the encoded video 14 minutes, but other than that everything looks okay to me. I can't see any mention of the source file in the log though so it's hard to even know what "video length being doubled" means. Is it playing at half speed?

The source file appears to be m4v, but at the moment all I can suggest is.....
Try an x264 encode. If the same problem occurs then it's not Xvid.
Don't use DirectShowSource. Use the File/Open menu to open the source file, select the option to index it, add the indexing job to the queue and run it. If the problem goes away then it's probably a DirectShow issue, but that way there should also be some info in the log about the source file.
Otherwise use MediaInfo to open the source file and switch to View/Text and post that info too.

goldensun87
3rd March 2016, 18:45
I used the FFIndexer, and this time the problem did not occur. However, this problem is not present when I am encoding with x264 using DirectShowSource. So, if it's a problem with DirectShow, how do I fix that?

hello_hello
5th March 2016, 09:02
DirectShow is out of MeGUI's control. It relies on an installed DirectShow decoder and also possibly a media spitter, so how to fix something like that is an almost impossible question to answer. It doesn't seem logical it'd happen for one encoder and not another. MeGUI's script creator has an option to use DSS2. If you must use DirectShow and you have the Haali Media Splitter installed you could try that, but DirectShow is generally a "last resort" decoding method.