VideoHelp Forum




+ Reply to Thread
Results 1 to 26 of 26
  1. [or Avisynth?!?]

    Hello ****,

    please can you help me? if I have a source that is SD 25P and I would like to transcode to HD 25 i (interlaced) what is the correct procedure in virtualdub?

    - resize and then interlace?:
    Click image for larger version

Name:	VD9000.jpg
Views:	660
Size:	38.8 KB
ID:	27780

    but this way the framrate become 12,5 fps

    OR: what is the correct procedure to do this?
    thanks
    Last edited by marcorocchini; 1st Oct 2014 at 15:47.
    Quote Quote  
  2. (25P to 50I is the same)
    Quote Quote  
  3. Member
    Join Date
    Sep 2012
    Location
    Australia
    Search Comp PM
    -void-
    Last edited by ndjamena; 30th Sep 2014 at 19:03.
    Quote Quote  
  4. Do no filtering. Just encode interlaced. It's a waste of time and will blur the chroma channels. The only reason to do this would be to append the video with other true 25i video.
    Quote Quote  
  5. so the resize only and nothing others? is there a way to "smooth" a little if in fast motion scenes video seems jerky?
    Quote Quote  
  6. I'm not aware of any motion interpolation filters for VirtualDub. You can do it in AviSynth but it only works well for simple motions and panning shots.
    Quote Quote  
  7. please jagabo can do some examples in avisynth?
    Quote Quote  
  8. Search these forums for DoubleFPS and DoubleFPS2. The latter is a slight improvement. There's also svpflow and interframe. This was mentioned in one of your earlier threads.
    Quote Quote  
  9. Another approach to smooth out 25p is to add a bit of motion blur. vdub has a motion blur filter, but it probably isn't any good (Don't know, never used it). There are a few in avisynth like mflowblur and QTGMC has a motion blur mode
    Quote Quote  
  10. I cannot find any DoubleFPS2 on the internet
    Quote Quote  
  11. THIS IS THE CAT THAT WANT TO BE SMOOTH


    https://www.dropbox.com/s/instjq4dpq4ue7t/C0018.MXF?dl=0

    I watched the interframe plugin for avisynth but is only YV12? = 4:2:0 ?
    Last edited by marcorocchini; 1st Oct 2014 at 03:38.
    Quote Quote  
  12. Originally Posted by marcorocchini View Post
    I cannot find any DoubleFPS2 on the internet
    I've posted it many times in these forums.
    Quote Quote  
  13. Member
    Join Date
    May 2014
    Location
    Memphis TN, US
    Search PM
    Originally Posted by marcorocchini View Post
    I cannot find any DoubleFPS2 on the internet
    https://forum.videohelp.com/threads/329754-Help-deinterlacing-IVTC-ing-VHS-material-con...=1#post2042689
    - My sister Ann's brother
    Quote Quote  
  14. ah thanks, please can you tell me how I can apply it?
    I have try this but don't work
    Code:
    Import("C:\Program Files\AviSynth\plugins\DoubleFPS2.avsi")
    FFVideoSource("V:\test\gatto\C0018.MXF")
    DoubleFPS()
    I would like convert the linked C0018.mxf into a 50i video, smoothing it, thanks
    Quote Quote  
  15. I've posted scripts that use DoubleFPS2 many times in these threads. And in fact, gave you a link to a thread with the function a few days ago. And I've told you how to convert 50p to 25i at least three times in the last few weeks.

    If you're not going to help your self I'm not going to anymore. I expect you to switch your brain on occasionally.
    Last edited by jagabo; 1st Oct 2014 at 08:57.
    Quote Quote  
  16. i'M A CAT: I'm poor of brain, however now I have to convert from 25P to 50i and honestly jet I don't have understand how to do it. Please don't help me cat if u don't want
    Quote Quote  
  17. Member
    Join Date
    May 2014
    Location
    Memphis TN, US
    Search PM
    Originally Posted by marcorocchini View Post
    please can you help me? if I have a source that is SD 25P and I would like to transcode to HD 25 i (interlaced) what is the correct procedure in virtualdub?
    I wouldn't try it in VirtualDub. I think poisondeathray has the right idea: don't resize and don't interlace. Just encode it as interlaced. Resizing SD to high definition doesn't work very well anyway.

    Originally Posted by marcorocchini View Post
    THIS IS THE CAT THAT WANT TO BE SMOOTH

    https://www.dropbox.com/s/instjq4dpq4ue7t/C0018.MXF?dl=0

    I watched the interframe plugin for avisynth but is only YV12? = 4:2:0 ?
    What's with YUY2 for your final output? I don't know how you're encoding these videos, but standard BluRay and DVD are encoded as YV12.

    The cat to be smooth in the above link is not SD, it's high definition 1920x1080, 25p. I assume you want to downsize to standard definition, 25fps interlaced. There is more than one way to do it. Don't try this in VirtualDub. As you were told earlier, you're wasting your time with lanczos. Too many artifacts for this kind of work. I used Avisynth.

    The mkv linked below is the first 900 frames of your sample, not the entire video. C0018MXF_25i.mkv, PAL 720x576, 25fps interlaced, ~26MB.
    https://www.mediafire.com/?x1cf6aegm2wjq1r
    Last edited by LMotlow; 1st Oct 2014 at 14:10.
    - My sister Ann's brother
    Quote Quote  
  18. yes, sorry I mean this HD into a SD, however I need to transcode from .mxf 25P into a SD and HD 50i (or 25i) .avi files

    from what I read around on ne internet, 25P it seems that the format 25P is hard to be able to work, because is a framerate too low to achieve a smooth interlace of quality

    Your file == my brother cat, is is less jerky of my HD-->SD transcoding so it's better (MBAAF in encoding=interlaced?)

    hoewver you have the tmpgenc or avisynth? because I'm "force" to the avisynth/virtualdub because I need to put .mxf files in a batch for automatic conversion. But now I'm curious of the tmpgenc, as long as if work @ 4:2:2

    my broadcats television want all in 422
    Quote Quote  
  19. Member
    Join Date
    May 2014
    Location
    Memphis TN, US
    Search PM
    Originally Posted by marcorocchini View Post
    (MBAAF in encoding=interlaced?)
    Yes. h264 encoding.

    Originally Posted by marcorocchini View Post
    hoewver you have the tmpgenc or avisynth? because I'm "force" to the avisynth/virtualdub because I need to put .mxf files in a batch for automatic conversion. But now I'm curious of the tmpgenc, as long as if work @ 4:2:2

    my broadcats television want all in 422
    TMPGenc encodes to BluRay, AVCHD or DVD. All of those standard formats encode in YV12. But after you use Avisynth to properly resize the video, you can convert the colorspace to 4:2:2. I encoded to mkv to get a smaller file for upload.

    Below is what I used in Avisynth to make a lossless AVI. The script runs in YUY2. The script begins by opening two copies of the original source, named v1 and v2. You need two copies because you have to combine the fields of each video (interleave) to make interlaced output. Each video v1 and v2 are resized separately. Then the frames from each video v1 and v2 are interleaved together into a new video. The interleaved frames are separated into fields, and then the fields are interlaced. The Avisynth plugin santiag() does a final smoothing of bright edges.

    Code:
    v1=ffvideosource("Drive:\path\to\C0018.MXF").ColorMatrix(mode="Rec.709->Rec.601")
    v2=ffvideosource("Drive:\path\to\C0018.MXF").ColorMatrix(mode="Rec.709->Rec.601")
    v1=v1.Blur(0,1.0).Blur(0,1.5).Blur(0,1.5).Spline36Resize(720,576).Sharpen(0.3, 0.2)
    v2=v2.Blur(0,1.0).Blur(0,1.5).Blur(0,1.5).Spline36Resize(720,576).Sharpen(0.3, 0.2)
    Interleave(v1,v2)
    AssumeTFF().SeparateFields().SelectEvery(4,0,3).Weave()
    Santiag()
    return last
    - My sister Ann's brother
    Quote Quote  
  20. I get a little error of avisynth, maybe I don't have "Santiag"?
    Installed I have: colormatrix, ffvideosource, and I need others avsi or dll?
    spline36 it's internal?

    (drive path I have correctly changed)
    Quote Quote  
  21. Member
    Join Date
    May 2014
    Location
    Memphis TN, US
    Search PM
    Santiag plugin was posted by jagabo and pioisondeathray a couple of years ago, but I have attached a new copy of Santiag.avsi below. Copy it to your Avisynth plugins. Santiag also requires NNEDI3.dll, also attached as nnedi3.zip. Unzip the zip file and copy the nnedi3.dll to your plugins. You won 't need the other files in the zip file.

    Spline36Resize is an internal Avisynth function. You used in it earlier threads.
    Image Attached Files
    Last edited by LMotlow; 1st Oct 2014 at 15:28.
    - My sister Ann's brother
    Quote Quote  
  22. yes it works ^^ a little slow the process (1,23 fps my hp envy J113EL but is not important)

    I try to do this because if a resize from HD progressive to SD interlaced I get a lot of aliasing and twittering in details: also using edius and totalcode "with no other conversion" image result with a lot of aliasing. I understand that doing this what do this script is equivalent to "degrade" but too aliasing in image is wrong. The script is also useful to understand, as principle, what are the steps for conversion between progressive and interlaced and what are the limits of the situation. Thanks^^
    Quote Quote  
  23. Member
    Join Date
    May 2014
    Location
    Memphis TN, US
    Search PM
    Yes, it's a little slow but there are some Avisynth and VirtualDub plugins that are much slower. Also, santiag() is not an especially fast filter, but there are slower ones that do similar work.

    I don't know how to answer the last question entirely. The method that I used creates two identical copies of a progressive video. As explained in the previous post, frames from each copy are interleaved -- that is, the interleaved video will have duplicates of every frame. Frame 1 of the new video is frame 1 from video #1, and frame 2 of the new video is frame 1 from video #2, and so on. So the interleaved video will have twice the number of frames as the either of the originals.

    If you start with an interlaced video, you make it progressive by separating the two interlaced fields of each frame. Each of those separated fields is one-half the size of the original frame. The separated fields are then enlarged to full size, so that each 2 half-sized fields now become 2 new full-size "frames". But in this case, we started with two copies of a progressive video and interleaved the full-sized frames, so you have the equivalent of a deinterlaced version of an interlaced video. Either of those "progressive" videos is then reinterlaced by separating each frame into two half-sized fields, selecting fields 0 and 3 from every 4 fields ("SelectEvery(4,0,3)"), and weaving them together into full frames again.

    A 3-step blur is used before downsizing. Downsizing HD is difficult because very fine detail lines can overlap each other during the downsize, resulting in twitter and aliasing. The blurring softens individual HD lines, literally blending a few of the very tiny lines together so that when downsized they will look like a single smooth line.

    Hope this answers the question. Others might have a better explanation.
    - My sister Ann's brother
    Quote Quote  
  24. yes many thanks, in post #22 I mean that without apply this process, image 25P that are conver to 50i with other software have a lot aliasing. I have try in edius with no filter and results SD is full al alising, but also using certain filter the final result is not good as this avisynth process (maybe in edius exist even a few filter that does what it does now avisynt... I'm not familiar with edius). I have try with totalcode: surely I'm wrong but I have not found any filter that do this .avs
    Thanks for explanation^^
    Quote Quote  
  25. Code:
    ColorMatrix("rec.709->rec.601")
    BilinearResize(720,576)
    DoubleFPS2()
    Image Attached Files
    Quote Quote  
  26. tomorrow I test it, thanks
    Quote Quote  
Visit our sponsor! Try DVDFab and backup Blu-rays!