View Full Version : Strange breakup randomly for 1 frame
tyee
11th December 2013, 20:43
i'm getting weird breakups for 1 frame when encoding from a vc1 BR source using avisynth. I've never comes across this before until this one movie. If I play the .avs file in mpc-hc it plays perfect, it's just when I encode with x264 this happens. I upgraded to the latest build (r2377) just now and it still happens.
Take a look -
Pic1 (https://www.dropbox.com/s/9a6qyy6d3gw1tqj/3.jpg)
Pic2 (https://www.dropbox.com/s/70f26xfzfx2opip/2.jpg)
Pic3 (https://www.dropbox.com/s/63af08hw6dpvbnk/1.jpg)
ty2010
11th December 2013, 21:20
Open the avs in virtualdub and look. Players are all about error concealment. I have a lot of MP4s with invalid time stamps within the GOPs, nothing will code them at all, they play perfectly fine in VLC.
tyee
11th December 2013, 21:54
For some reason my avs files are all crashing in vdub after about 3 seconds. That's includes another one that I encoded just fine. Strange. I'm remuxing with eac3to to a new mkv to see if that makes any difference.
tyee
11th December 2013, 22:42
Summary
ffvideosource - plays in mpc-hc fine, encodes with the glitches
dss2 - plays in mpc-hc as missing frames. Looks like 15-20fps instead of 23.976fps. Encodes as in playback, missing frames but no glitches.
directshowsource - plays in mpc-hc fine, encodes with glitches.
Guest
11th December 2013, 23:55
Post a link to an unprocessed source sample (before encoding). Also post your script.
ty2010
12th December 2013, 00:34
You could run it through ffmpeg with -genpts copying the av streams if it's time stamp related.
tyee
12th December 2013, 03:11
Ok, here is a sample -- Sample (http://www.mediafire.com/download/7vd73936173cf20/sample.mkv)
After cutting many segments with mkvmerge into 1 minute chunks and selecting the 10th chunk, using all three source filters in the avs file, they all play perfectly in mpc-hc.
Encoding with directshowsource is the worst, lots of glitches
Encoding with dss2 has no glitches, plays perfect
Encoding with ffvideosource has a few glitches
Give it a try. There must be something at the start of the original mkv that makes dss2 miss frames, but now after cutting, it doesn't.
My source of all this was a demuxed mkv from the original BR using eac3to. I don't think the problem is there but who knows?
This is my avs file lines but I'm also using MT which is not shown here -
#FFVideoSource("G:\movie.mkv")
dss2("G:\movie.mkv")
#directshowsource("G:\movie.mkv")
I notice when encoding, ffdshow is decoding the video and LAV splitter is being used. On playback in mpc-hc only LAV is used, splitter and video decoder.
Guest
12th December 2013, 04:12
This is my avs file lines but I'm also using MT which is not shown here All bets are off. Try it without MT and report your results.
tyee
12th December 2013, 05:26
Without MT, they all work fine. Well that's news to me. If the source is avc instead of vc1, I don't get this problem. Interesting.
So can anyone encode vc1 using MT?
Guest
12th December 2013, 14:29
Some AVCs also suffer from this. MT is simply not reliable (though it can be with very simple scripts I am told). It's best not to use it IMHO.
tyee
13th December 2013, 04:50
Just a FYI, I managed to get it working without glitches (and with MT) using dss2 and using the Win7TweakerTool to set VC1 decoding to MS instead of ffdshow.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.