VideoHelp Forum




+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 30 of 43
  1. Member
    Join Date
    Mar 2009
    Location
    United States
    Search Comp PM
    I have a set of PAL DVDs I am taking to .mp4 and I am getting jerky encodes. I kept everything the same. 720x576@25fps. My deinterlacer is Yadif. Why am I getting jerky videos when there is no frame rate conversion? Thanks.
    Quote Quote  
  2. Why are you deinterlacing?

    Very few movies on DVD are interlaced, only TV shows on DVD normally require deinterlacing.
    Quote Quote  
  3. Member
    Join Date
    Mar 2009
    Location
    United States
    Search Comp PM
    Sorry, these are cartoon DVDs from Australia produced by MadMan Entertainment. M.A.S.K.
    Quote Quote  
  4. Are you sure they were 25i to begin with?

    Assuming what you say is true, If they were 25i to begin with, and you single rate deinterlaced (yadif mode=0) , you would get 25p

    If you bobbed them (yadif mode=1), you would get 50p, and much smoother, but takes more bitrate to maintain same level of qualilty for 2x the number of frames

    The other possiblity is that it is a playback problem e.g. slow pc (unlikely for standard def), decoder issues
    Quote Quote  
  5. Member
    Join Date
    Mar 2009
    Location
    United States
    Search Comp PM
    They are 25i. MeGui gave me a script for Yadif(order=1). I am running a bitrate of 2500 so maybe I will give mode=1 a try. I am playing the files on my PS3.
    Quote Quote  
  6. Member
    Join Date
    Jul 2009
    Location
    Spain
    Search Comp PM
    Another possibility is Yadif is using the wrong field order.
    Avisynth defaults to 'bottom field first'.
    Try Yadif(order=1) to force 'top field first'.
    Or add AssumeTFF() before calling Yadif.
    Quote Quote  
  7. A sample might be helpful. Madman releases a lot of crappy NTSC2PAL DVDs.

    And don't trust MeGUIs analyzer and script suggestions. Nothing beats your eyes.
    Quote Quote  
  8. Member
    Join Date
    Mar 2009
    Location
    United States
    Search Comp PM
    I am gonna give this a try. manono you are right. It is a crappy release. I am running most of the episodes thru TMPGEnc to give them some better color. I will get a sample ASAP. -MTT EDIT: How many seconds of video sample would you like manono?

    tdeint(mode=2,order=-1,full=true,field=-1,mthreshL=-1,mthreshC=-1,type=4,sharp=true,mtnmode=2,cthresh=10,blim=-1,metric=0,slow=2).EEDI2(field=1,pp=0).selectevery (2,0)
    Quote Quote  
  9. Yeah, it's fieldblended from an NTSC film source. It doesn't need deinterlacing but unblending:

    Yadif(Mode=1,Order=1)
    SRestore(Frate=24)

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

    it is pretty crude animation, so it'll always play a bit jerky.
    Quote Quote  
  10. Member
    Join Date
    Mar 2009
    Location
    United States
    Search Comp PM
    Thanks again for your insight. I don't mean to question what you wrote but is
    SRestore(Frate=24) supposed to be SRestore(Frate=25) since I am not going from PAL to NTSC. I am keeping everything as it already is. 720x576@25fps
    Quote Quote  
  11. The 'base' framerate is 24fps. If this is to be reencoded for PAL DVD, encode for 720x576 at 24fps and then run the resulting MPV through DGPulldown set for 24->25fps. After that it'll be PAL DVD compliant and ready to author. If, as you said, it's for MP4, then what's wrong with encoding at 24fps? That's what it was before Madman got its grubby paws on it. There is no PAL or NTSC MP4 (x264 or whatever) video. You can use the original audio without stretching it. The video's length remains the same.
    Quote Quote  
  12. Member
    Join Date
    Mar 2009
    Location
    United States
    Search Comp PM
    I am not gonna reencode to PAL DVD. My process is Rip, run the .vob thru TMPGEnc if it needs some color adjustments then save as mpeg2. Create a d2v file then encode with MeGui to mp4. I was concerned with audio/video sync issues if I tinkered with frame rates. EDIT: I just read your post again and saw you mentioned the audio won't matter. I will give it a shot. Thanks again. I will post the results here.
    Quote Quote  
  13. Are you concerned about quality loss? You have an extra stage of quality loss by exporting MPEG2 from TMPGEnc. You could avoid that if you used a lossless intermediate, for example
    Quote Quote  
  14. Member
    Join Date
    Mar 2009
    Location
    United States
    Search Comp PM
    I am concerned yes but I might have to live with it. The colors on most of these toons are pretty dull. In TMPGEnc I am Color Correcting using YUV adjusting Chroma and Gamma. Those help boost the colors how I like. If I could do the exact same thing and go to Huffy I will. I just don't know how. EDIT: Hey what do you know. TMPGEnc will export to Huffy.
    Quote Quote  
  15. Why not just do it all in the AviSynth script and save an entire step and all the wasted time? Tweak and Levels will handle everything you've mentioned.
    Quote Quote  
  16. Member
    Join Date
    Mar 2009
    Location
    United States
    Search Comp PM
    manono I don't know how to script the color changes. I would love to skip the THMPGEnc part if I could. I adjust my YUV Chroma to 75 and Gamma U to 30. Is it possible to do that in AviSynth?
    Quote Quote  
  17. Originally Posted by MegaTonTerror
    manono I don't know how to script the color changes. I would love to skip the THMPGEnc part if I could. I adjust my YUV Chroma to 75 and Gamma U to 30. Is it possible to do that in AviSynth?
    See: ColorYUV()
    Quote Quote  
  18. Member
    Join Date
    Mar 2009
    Location
    United States
    Search Comp PM
    Thanks Jagabo
    Quote Quote  
  19. Member
    Join Date
    Mar 2009
    Location
    United States
    Search Comp PM
    Would it look like this for what I need to do?


    ColorYUV(chroma=75)
    ColorYUV(gamma_U=30)


    I am reading about ColorYUV() and this is way over my head.
    Quote Quote  
  20. I don't know how TMPGEnc's adjustments translate into ColorYUV() arguments. There's no chroma argument so you have to adjust U and V separately:

    ColorYUV(cont_u=75, cont_v=75) #increase saturation

    The values to use will almost certainly be different than in TMPGEnc. I suspect TMPGEnc is 100 based (for example brightness 100 will double the brightness) whereas AviSynth is 255 based. You can use AvsP to make adjustments a little easier -- it has a quick preview by pressing F5.

    You might find Tweak() easier to use.
    Quote Quote  
  21. Member
    Join Date
    Mar 2009
    Location
    United States
    Search Comp PM
    jagabo: I was assuming AviSynth's ColorYUV would do what I could do with YUV in TMPGEnc. In TMPGEnc I can make the orange, red and blues brighter. Also back the the topic of this thread I just finished an encode with
    Yadif(order=1, mode=1)
    SRestore(Frate=25) and I am still getting the jerks. I will use SRestore(Frate=24) now. When the scene is panning it jerks about ever 1/2 second. I can live with I guess.
    Quote Quote  
  22. Member
    Join Date
    Mar 2009
    Location
    United States
    Search Comp PM
    When I wake up in 3 hours I will give this a shot to see if there is no jerks in the video. I found this in an old script I had made a few years ago for the same toon. The play was smooth using it.

    FieldDeinterlace(blend=true,threshold=7,dthreshold =7)
    Quote Quote  
  23. Originally Posted by MegaTonTerror
    FieldDeinterlace(blend=true,threshold=7,dthreshold =7)
    You must really like that blended stuff. You start with a blended DVD and rather than unblend it, you make more blends. Yes, it'll play smoothly. And it'll play blurry.

    Also, check the field order. Your sample was TFF, but the whole thing doesn't necessarily have to be TFF (although it probably is). There's a chance you reversed the field order when cutting a piece.
    When the scene is panning it jerks about ever 1/2 second.
    As I said earlier, it's always going to play jerky because it's very crude animation.
    In TMPGEnc I can make the orange, red and blues brighter.
    There aren't all that many colors left after those (yellows and greens). Why not see if:

    Tweak(Sat=1.2,Coring=False)

    does something like you want. That's saturation, and it strengthens all the colors. For working with the individual colors in AviSynth it's RGBAdjust and ChannelMixer. To use either of them you convert to RGB. But then so does TMPGEnc.
    Quote Quote  
  24. Member
    Join Date
    Mar 2009
    Location
    United States
    Search Comp PM
    Good Morning manono. Update: I used the following...

    Yadif(order=1, mode=1)
    SRestore(Frate=24)
    Tweak(Sat=1.45,Coring=False)

    Everything came out great. There was minimal to no jerks in the video. The .45 may have been a little to much on the red so I will kick it down to .35 or .4. Thanks again for the advice. Using Tweak and getting those results will allow me to skip the TMPGEnc process and save me 3 days worth of time.. literally.
    Quote Quote  
  25. If it's too red, you can bring down the red with ColorYUV() in combination with Tweak()

    You can use avsp, and there are sliders for you adjust/preview image

    ColorYUV(off_v=-10)

    More negative off_v will be less red
    Quote Quote  
  26. Member
    Join Date
    Mar 2009
    Location
    United States
    Search Comp PM
    Thanks poisondeathray. I will tinker around with avsp when I get back. Seems like a nice tool.
    Quote Quote  
  27. I find it hard to adjust colors in YUV. Off_v=-10 will decrease red but it will increase green. If you try to compensate by adding off_u=10, greens will come down but blue will go up.
    Quote Quote  
  28. Originally Posted by jagabo
    I find it hard to adjust colors in YUV. Off_y=-10 will decrease red but it will increase green.
    Me too. I think proper color correction should be an RGB exercise, but I think you can get away with minor changes using coloryuv.
    Quote Quote  
  29. A useful tool would be a program that lets you adjust colors in RGB then translates that to YUV equivalents.
    Quote Quote  



Similar Threads

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