VideoHelp Forum




+ Reply to Thread
Results 1 to 14 of 14
  1. Member
    Join Date
    Mar 2010
    Location
    North America
    Search Comp PM
    Hello everybody,

    I'm using AVStoDVD, and making ISO's with ImgBurn. On my latest project, I noticed the following error message during the 2nd pass of HCenc:

    info- WARNING, small source mismatch found in pass 2, count: 8266 frames

    I found another post on the forum that touches on this Warning, but this:
    https://forum.videohelp.com/threads/279590-HCenc-encoding-problem-(2nd-pass)
    is waaaayy over my head.

    Talk to me like someone who doesn't know video. Sorry, I'm slowly learning bits and pieces, but I'm still a relative noob.

    Can anyone shed some light on what this error mismatch means, and why it should occur? Would it be the video file itself, or the fact that in AVStoDVD the video appears to take up more space than a DVD5 disc, but can still be forced to fit onto DVD5?
    Quote Quote  
  2. HCenc author
    Join Date
    Dec 2006
    Location
    Netherlands
    Search Comp PM
    HCenc gets frames from Avisynth, Avisynth uses all kind of codecs to get frame data from the source stream.
    HCenc checks the frames in a 2pass encoding.
    This message means Avisynth didn't serve the same frames in the second pass, this is mostly due to poor codecs.
    Quote Quote  
  3. Member
    Join Date
    Mar 2010
    Location
    North America
    Search Comp PM
    Thanks, hank315. So do I need to worry about this "small source mismatch" at all? In practical terms, does it mean I will have problems burning the image files, or video errors during playback?
    Quote Quote  
  4. If you want to be sure, convert the video to an uncompressed, or losslessly compressed (HuffYUV, Lagarith), AVI first. Then use a 2-pass encode with HcEnc.
    Quote Quote  
  5. Man of Steel freebird73717's Avatar
    Join Date
    Dec 2003
    Location
    Smallville, USA
    Search PM
    Or use HCenc's built in lossless function (not sure how you use that function from within avs2dvd as I don't use avs2dvd but I'm sure there is probably a way to do it)
    Donadagohvi (Cherokee for "Until we meet again")
    Quote Quote  
  6. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    I once corrected this problem by creating a new user profile on my XP box.
    I never got to the bottom of it, all I know is that by using my regular profile, this problem was reproducible,
    but once I tried the exact same operation logging onto the new profile, the problem vanished.
    Quote Quote  
  7. Member
    Join Date
    Mar 2010
    Location
    North America
    Search Comp PM
    What is the best method for converting my AVI to a Huffyuv or Lagarith AVI?
    Quote Quote  
  8. Member
    Join Date
    May 2001
    Location
    United States
    Search Comp PM
    You should post your .AVS script so that we can see if there are any errors in it. This might be a problem with cropping and resizing. I have had problems like this before with certain syntaxes in my scripts - depended on the Avisynth version.

    As for converting, you don't have to if you don't plan on keeping the original after you convert it to DVD.
    ICBM target coordinates:
    26° 14' 10.16"N -- 80° 16' 0.91"W
    Quote Quote  
  9. Originally Posted by KKPHM View Post
    What is the best method for converting my AVI to a Huffyuv or Lagarith AVI?
    An AviSynth script opened in VDub(Mod) and then saved out as Lagarith or HuffYUV.
    Quote Quote  
  10. Member
    Join Date
    Mar 2010
    Location
    North America
    Search Comp PM
    Originally Posted by SLK001 View Post
    You should post your .AVS script so that we can see if there are any errors in it. This might be a problem with cropping and resizing. I have had problems like this before with certain syntaxes in my scripts - depended on the Avisynth version.

    As for converting, you don't have to if you don't plan on keeping the original after you convert it to DVD.
    I *think* this is what you're asking for, so correct me if I'm wrong. I just leave AviSynth script in my projects as "Auto" setup, but here's what it looks like:

    LoadPlugin("C:\Program Files\AVStoDVD\VobSub\VSFilter.dll")
    Import("C:\Program Files\AVStoDVD\Lib\A2DSource.avsi")

    Video = A2DVideoSource("C:\Documents and Settings\DJ Haz-Mat\My Documents\My Videos\POAK\POAK 1.avi", CacheFolder = "C:\DOCUME~1\DJHAZ-~1\LOCALS~1\Temp")
    Audio = A2DAudioSource("C:\Documents and Settings\DJ Haz-Mat\My Documents\My Videos\POAK\POAK 1.avi", CacheFolder = "C:\DOCUME~1\DJHAZ-~1\LOCALS~1\Temp")

    Video = Video.ConvertToYV12
    Video = Video.AddBorders(0,6,0,6)
    Video = Video.Lanczos4Resize(720,480)
    Video = Video.TextSub("C:\Documents and Settings\DJ Haz-Mat\My Documents\My Videos\POAK\POAK 1.srt")

    Audio = Audio.Normalize()
    Audio = Audio.SSRC(48000)

    AudioDub(Video, Audio)
    Quote Quote  
  11. Member
    Join Date
    Mar 2010
    Location
    North America
    Search Comp PM
    Any responses? Bump!
    Quote Quote  
  12. I believe A2DVideoSource() uses DirectShowSource(). DirectShow isn't always frame accurate. You should do what I recommended earlier: Run the video through a single pass encode to a HuffYUV intermediate. Then run a 2-pass encode of that file through HcEnc. That will eliminate the possiblity that HcEnc will get different frames during the two passes.
    Quote Quote  
  13. Member
    Join Date
    May 2013
    Location
    EDM, USA
    Search Comp PM
    Originally Posted by freebird73717 View Post
    Or use HCenc's built in lossless function (not sure how you use that function from within avs2dvd as I don't use avs2dvd but I'm sure there is probably a way to do it)
    Thanks. This works.

    Does the big lossless file get deleted automatically once the conversion is finished?
    Quote Quote  
  14. I get this error too but since it's not causing any problem, I'm going to ignore it.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!