VideoHelp Forum




+ Reply to Thread
Results 1 to 10 of 10
  1. I have a source that appears to have been originally shot on film (24p), brought to PAL (50i) with 2:2, and then brought to NTSC (60i) with some kind of telecine pattern from the PAL conversion (not from the film source). So what I now have is similar to the following:
    Code:
    progressive frame, PAL 2:2 frame, NTSC telecined frame, NTSC telecined frame, NTSC telecined frame, PAL 2:2 frame, (repeat)
    Is anyone familiar with something like this and do you know if it will be at all possible to bring this back to 24p with AVISynth? Thanks for any suggestions you can provide. If you PM me, I can send you an example of the source.
    Quote Quote  
  2. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    Look for Srestore on forum.doom9.org
    Quote Quote  
  3. Here's the link:

    http://forum.doom9.org/showthread.php?t=95924

    and here's more information:

    http://avisynth.org/mediawiki/Srestore

    If you have trouble getting SRestore to run, RePAL will probably handle it just as well and much more easily:

    http://avisynth.org/warpenterprises/

    A sample would be nice. But, just from the description a proper conversion will bring the framerate back to 24.975 or 25fps. You'll then have to slow the video (AssumeFPS) and audio to get it back to 23.976 or 24fps. And if you don't know AviSynth now, either learn or give up the idea of restoring it.
    Quote Quote  
  4. Thanks guys! I can't wait to try this out. If what they are saying on the doom9 forums is true, then this looks like it is just what I am looking for. If this doesn't end up working out well, I will see about posting a short clip. And yes, I am quite familiar with AVISynth, but there are hundreds of plugins available and this is the first time I have ever come across a source like this. Its great to have a resource like this site (it seems like my posts on doom9 always go unanswered).
    Quote Quote  
  5. Thanks for everyone's help on this. I created two scripts which worked out quite well on this source:
    Code:
    LoadCplugin("C:\Program Files\AviSynth 2.5\plugins\yadif.dll")
    import("C:\Program Files\AviSynth 2.5\plugins\srestore.avs")
    video=dgdecode_mpeg2source("source.d2v",info=3)
    audio=DirectShowSource("source.ac3")
    AudioDub(video,audio)
    Amplify(2)
    Yadif(mode=1,order=1)
    SRestore()
    tdecimate(mode=7,vfrdec=0,hint=false,nt=2,dupthresh=3,vidthresh=5)
    Crop(0, 64, -0, -64)
    LanczosResize(640,352,taps=4)
    Code:
    LoadCplugin("C:\Program Files\AviSynth 2.5\plugins\yadif.dll")
    LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\repal.dll")
    video=dgdecode_mpeg2source("source.d2v",info=3)
    audio=DirectShowSource("source.ac3")
    AudioDub(video,audio)
    Amplify(2)
    Yadif(mode=1,order=1)
    repal()
    tdecimate(mode=7,vfrdec=0,hint=false,nt=2,dupthresh=3,vidthresh=5)
    Crop(0, 64, -0, -64)
    LanczosResize(640,352,taps=4)
    The SRestore script worked out best, but if I was in a real time crunch, manono's suggestion of RePAL would have worked out almost as well. The SRestore clip took a bit of tweaking on the decimation part, but now that I have ironed that out, I am quite happy with the results. RePAL was very, very close though. Anyway, I am extremely happy with the results of both. Thanks again!
    Quote Quote  
  6. Why'd you use TDecimate, rather than my earlier suggestion of AssumeFPS? By using TDecimate to get it to 23.976fps, you pulled out one unique and necessary frame every second and made it play jerky. Either that or your description of what you have is incorrect. If the framerate is really supposed to be 23.976fps, then it never had anything to do with PAL to begin with, and you could have gotten it directly to 23.976fps with SRestore(FRate=23.976). And a sample would still be helpful.
    Quote Quote  
  7. AssumeFPS left some blended frames. FRate=23.976 left some telecined frames. Neither one left that many of these "errors" (using VirtualDub to step through), so in a pinch the result was definitely acceptable, but with TDecimate I don't seem to run into these issues. My initial quick looks over the content didn't appear that there were missing frames (jerkiness). But I'll look over this again tomorrow and scrutinize the result more closely just to be certain. I'll also upload a short sample.
    Quote Quote  
  8. AssumeFPS left some blended frames.
    All AssumeFPS(23.976) will do is slow the framerate. It doesn't add to, subtract from, or in any way change the frames already there. It's not meant to remove blended frames. If it really does need further decimation after RePAL or SRestore, then it's not PAL2NTSC and your original assessment was incorrect.
    FRate=23.976 left some telecined frames.
    You've used that term "telecined" before in this context and I've let it pass but, in truth, it makes no sense. No telecining is done at any stage when field blending is involved. So I'm not quite sure what you mean. It's very possible that SRestore(Frate=23.976) doesn't do a perfect job, but I'm almost certain that your method isn't the best way to solve the issue. Unless and until there's a sample to examine, though, one can only guess what you have and how best to treat it. But if you're happy with it as it is, then that's all that counts, isn't it?
    Quote Quote  
  9. manono,
    Check your PM box. I posted a link to download a short sample there. Also, after further scrutinizing the result from the above scripts, you are correct that those scripts did introduce a slight judder due to a lost frame from the decimation. I failed to notice this initially because most of the clip is talking heads stuff, but there are a few scenes of cars moving and it is here where you can see it if you pay close enough attention.
    Quote Quote  



Similar Threads

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