VideoHelp Forum

Try DVDFab and download streaming video, copy, convert or make Blu-rays,DVDs! Download free trial !
+ Reply to Thread
Page 2 of 3
FirstFirst 1 2 3 LastLast
Results 31 to 60 of 79
Thread
  1. Member Caiosouza's Avatar
    Join Date
    Nov 2013
    Location
    Capćo da Canoa, RS, Brazil
    Search Comp PM
    Originally Posted by jagabo View Post
    Originally Posted by Caiosouza View Post
    Do you work the video directly? Do not need mux demux etc?
    Yes. LSMASHVideoSource() can access video from the mp4 file directly. I usually mux the original audio along with the new video using MkvToolnix.
    LSMASHV, Where do I get this? What is requisites are necessary to run this without errors? (I am traumatized in making alterations in the avisynth...huaha)

    When I play this video (1999_AMA_250_SX_PAL.mp4) on my Sony TV, I adjust some mpeg filters and others more and the image looks very good, but only with the filters, which will be the type filtros that sony uses to do this, really gives a very good difference, I wanted to have it in the original.
    Last edited by Caiosouza; 8th Nov 2016 at 14:55.
    Quote Quote  
  2. Member Caiosouza's Avatar
    Join Date
    Nov 2013
    Location
    Capćo da Canoa, RS, Brazil
    Search Comp PM
    Crazy Code:

    MPEG2Source("C:\Users\User\Desktop\Samples\Sample 1993 MX 250\1993 MX 250 Sample.d2v", CPU2="ooooxx", Info=3)
    SeparateFields()
    PointResize(width,height*2)
    deblock_qed()
    PointResize(width, height/2)
    Weave()
    QTGMC(preset="fast")
    McTemporalDenoise(settings="low")
    TemporalDegrain(SAD1=200, SAD2=150, sigma=8)
    aWarpSharp(depth=5)
    Sharpen(0.3, 0.0)
    nnedi3_rpow2(2, cshift="Spline64Resize", fwidth=width*2, fheight=height)
    aWarpSharp(depth=5)
    AssumeTFF().SeparateFields().SelectEvery(4,0,3).We ave()

    A get this:
    Image Attached Files
    Quote Quote  
  3. You don't need to run MCTemporalDenoise and TemporalDegrain. Use one or the other.
    Quote Quote  
  4. Member Caiosouza's Avatar
    Join Date
    Nov 2013
    Location
    Capćo da Canoa, RS, Brazil
    Search Comp PM
    Originally Posted by jagabo View Post
    You don't need to run MCTemporalDenoise and TemporalDegrain. Use one or the other.
    Yes, I runig this at this moment:


    MPEG2Source("C:\Users\User\Desktop\Samples\Sample 1993 MX 250\1993 MX 250 Sample.d2v", CPU2="ooooxx", Info=3)
    SeparateFields()
    PointResize(width,height*2)
    deblock_qed()
    PointResize(width, height/2)
    Weave()
    QTGMC(preset="fast")
    McTemporalDenoise(settings="low")
    Sharpen(0.3, 0.0)
    nnedi3_rpow2(2, cshift="Spline64Resize", fwidth=width*2, fheight=height)
    Sharpen(0.3, 0.0)
    AssumeTFF().SeparateFields().SelectEvery(4,0,3).We ave()


    Would a purposeful grain help disguise imperfections?
    I have an original DVD in which the video has a lot of quality, but it seems that it was put there graciously there. And it looked good, removed the artificial look, plastic look.
    Last edited by Caiosouza; 8th Nov 2016 at 17:25.
    Quote Quote  
  5. Originally Posted by Caiosouza View Post
    Would a purposeful grain help disguise imperfections?
    Adding grain helps disguise banding in smooth gradients. Note that MCTD at low adds grain for that purpose.
    Quote Quote  
  6. Member Caiosouza's Avatar
    Join Date
    Nov 2013
    Location
    Capćo da Canoa, RS, Brazil
    Search Comp PM
    Originally Posted by jagabo View Post
    Originally Posted by Caiosouza View Post
    Would a purposeful grain help disguise imperfections?
    Adding grain helps disguise banding in smooth gradients. Note that MCTD at low adds grain for that purpose.
    Precious information,thanks!
    And "very low" more grain or contrary (High) ?
    Quote Quote  
  7. See MCTD docs for the presets.
    Quote Quote  
  8. Member Caiosouza's Avatar
    Join Date
    Nov 2013
    Location
    Capćo da Canoa, RS, Brazil
    Search Comp PM
    Originally Posted by jagabo View Post
    See MCTD docs for the presets.
    Yes i did, on high remove more grain That's what i understood.

    I upload a Sample about the video I was mencioned, I notice some kind of grainy on it, which looks good on TV, is there a similar filter?

    Or a Similar Phosphor on VLC, this disguise many garbage, I love this

    Thank You
    Image Attached Thumbnails Click image for larger version

Name:	Filter Phosphor VLC.jpg
Views:	129
Size:	223.1 KB
ID:	39372  

    Click image for larger version

Name:	2-Filter Phosphor VLC.jpg
Views:	139
Size:	210.1 KB
ID:	39373  

    Image Attached Files
    Last edited by Caiosouza; 8th Nov 2016 at 21:07.
    Quote Quote  
  9. "Sample Good Grain.mpg": That's not grain it's compression artifacts.
    Quote Quote  
  10. Member Caiosouza's Avatar
    Join Date
    Nov 2013
    Location
    Capćo da Canoa, RS, Brazil
    Search Comp PM
    Originally Posted by jagabo View Post
    "Sample Good Grain.mpg": That's not grain it's compression artifacts.
    Okay, but could you suggest me some filter that would disguise the washed aspect (plastic, artificial) that the video presents after cleaning?


    After several tests, I decide to use McTemporalDenoise on "high" than TemporalDegrain, I testet in various presets, in this specific case McTemporalDenoise provided good cleaning without leaving too artificial looking plastic, I can not run Santiag,

    Semi-final Code:

    MPEG2Source("C:\Users\User\Desktop\Samples\Sample 1993 MX 250\1993 MX 250 Sample.d2v", CPU2="ooooxx", Info=3)
    SeparateFields()
    PointResize(width,height*2)
    deblock_qed()
    PointResize(width, height/2)
    Weave()
    QTGMC(preset="fast")
    McTemporalDenoise(settings="high")
    aWarpSharp(depth=5)
    Sharpen(0.3, 0.0)
    nnedi3_rpow2(2, cshift="Spline64Resize", fwidth=width*2, fheight=height)
    aWarpSharp(depth=5)
    AssumeTFF().SeparateFields().SelectEvery(4,0,3).We ave()
    Last edited by Caiosouza; 9th Nov 2016 at 07:10.
    Quote Quote  
  11. Originally Posted by Caiosouza View Post
    Originally Posted by jagabo View Post
    "Sample Good Grain.mpg": That's not grain it's compression artifacts.
    Okay, but could you suggest me some filter that would disguise the washed aspect (plastic, artificial) that the video presents after cleaning?
    Something like this will reduce the blocking but leave a pretty clear picture:

    Code:
    Mpeg2Source("Sample Good Grain.d2v", CPU2="ooooxx", Info=3) 
    SeparateFields().PointResize(width,height)
    Deblock_QED(last, quant1=50, quant2=60, aoff1=8, boff1=8, aoff2=8, boff2=8) # quant1=edge, quant2=internal
    AssumeFrameBased()
    SeparateFields()
    Merge(SelectEven(),SelectOdd())
    AssumeTFF()
    Weave() 
    Blur(1.0, 0.0).Sharpen(0.6, 0.0)
    Encode interlaced, top field first.
    Quote Quote  
  12. Member Caiosouza's Avatar
    Join Date
    Nov 2013
    Location
    Capćo da Canoa, RS, Brazil
    Search Comp PM
    Originally Posted by jagabo View Post
    Originally Posted by Caiosouza View Post
    Originally Posted by jagabo View Post
    "Sample Good Grain.mpg": That's not grain it's compression artifacts.
    Okay, but could you suggest me some filter that would disguise the washed aspect (plastic, artificial) that the video presents after cleaning?
    Something like this will reduce the blocking but leave a pretty clear picture:

    Code:
    Mpeg2Source("Sample Good Grain.d2v", CPU2="ooooxx", Info=3) 
    SeparateFields().PointResize(width,height)
    Deblock_QED(last, quant1=50, quant2=60, aoff1=8, boff1=8, aoff2=8, boff2=8) # quant1=edge, quant2=internal
    AssumeFrameBased()
    SeparateFields()
    Merge(SelectEven(),SelectOdd())
    AssumeTFF()
    Weave() 
    Blur(1.0, 0.0).Sharpen(0.6, 0.0)
    Encode interlaced, top field first.
    I need to apply on the topic video (initial, 1993 MX 250),because after "celan" the get a artificial look, on the routine "Semi-final Code" above, is this?
    The "good grain" video is only example of Half-grained image that looks good to look at fo me, a like this,The phosphor filter above may seem bad to many, but I like the lines disguising any garbage,when is running provides a great makeup,
    You must think: this jackass wanting to worsen a video? I need something to disguise the worn image by the cleaning process,something that can offset for the lost details.
    Excuse my bad (google) english,I often can not express the exact term

    Semi-final Code:

    MPEG2Source("C:\Users\User\Desktop\Samples\Sample 1993 MX 250\1993 MX 250 Sample.d2v", CPU2="ooooxx", Info=3)
    SeparateFields()
    PointResize(width,height*2)
    deblock_qed()
    PointResize(width, height/2)
    Weave()
    QTGMC(preset="fast")
    McTemporalDenoise(settings="high")
    aWarpSharp(depth=5)
    Sharpen(0.3, 0.0)
    nnedi3_rpow2(2, cshift="Spline64Resize", fwidth=width*2, fheight=height)
    aWarpSharp(depth=5)
    Disguise line,something like phosphor, grain, or something like that
    AssumeTFF().SeparateFields().SelectEvery(4,0,3).We ave()

    Thank you a lot,
    Last edited by Caiosouza; 9th Nov 2016 at 08:54.
    Quote Quote  
  13. Member Caiosouza's Avatar
    Join Date
    Nov 2013
    Location
    Capćo da Canoa, RS, Brazil
    Search Comp PM
    Anyone?

    Ok,

    I found these filters to simulate the image posted above:

    Scanlines : http://avisynth.nl/index.php/Scanlines

    crt_display v1.0: http://forum.doom9.org/showthread.php?t=170732

    Or it maybe: http://avisynth.nl/index.php/AddGrainC

    I need configure any to obtain similar efect on image above, there is a way?

    Thanks a Kilo,
    Last edited by Caiosouza; 10th Nov 2016 at 06:19.
    Quote Quote  
  14. Originally Posted by Caiosouza View Post
    Okay, but could you suggest me some filter that would disguise the washed aspect (plastic, artificial) that the video presents after cleaning?
    Too much noise reduction is the cause of that look. So use less noise reduction. Try increasing the deblocking filter with something like:

    Deblock_QED(last, quant1=35, quant2=40, aoff1=4, boff1=4, aoff2=4, boff2=4)

    But your fundamental problem is that the video is very damaged by macroblock artifacts and too low resolution. Everything you do to reduce the blocking and increase the resolution is going to make it look over processed.
    Quote Quote  
  15. Member Caiosouza's Avatar
    Join Date
    Nov 2013
    Location
    Capćo da Canoa, RS, Brazil
    Search Comp PM
    Originally Posted by jagabo View Post
    Originally Posted by Caiosouza View Post
    Okay, but could you suggest me some filter that would disguise the washed aspect (plastic, artificial) that the video presents after cleaning?
    Too much noise reduction is the cause of that look. So use less noise reduction. Try increasing the deblocking filter with something like:

    Deblock_QED(last, quant1=35, quant2=40, aoff1=4, boff1=4, aoff2=4, boff2=4)

    But your fundamental problem is that the video is very damaged by macroblock artifacts and too low resolution. Everything you do to reduce the blocking and increase the resolution is going to make it look over processed.
    Brilliant!!!
    But that's why I want to leave a picture "not so clean"....now i put this: Deblock_QED(last, quant1=35, quant2=40, aoff1=4, boff1=4, aoff2=4, boff2=4) and maybe McTemporalDenoise(settings="medium") what you think? proceeds?

    I understand exactly what you mean and is right, I'll try this, but before could you help me with this filter:
    crt_display v1.0

    Code I trying to load:

    Import("C:\Program Files\AviSynth\plugins\crt_display.avsi")
    SetMTMode(3)
    MPEG2Source("C:\Users\User\Desktop\Samples\Sample 1993 MX 250\Sample 1993 MX 250.d2v", CPU2="ooooxx", Info=3)
    SetMTMode(2)
    LoadPlugin("C:\Program Files\AviSynth\plugins\mt_masktools-25.dll")
    SeparateFields()
    PointResize(width,height*2)
    deblock_qed()
    PointResize(width, height/2)
    Weave()
    QTGMC(preset="fast")
    McTemporalDenoise(settings="high")
    aWarpSharp(depth=5)
    Sharpen(0.3, 0.0)
    nnedi3_rpow2(2, cshift="Spline64Resize", fwidth=width*2, fheight=height)
    aWarpSharp(depth=5)
    crt_display (5*ar, 5, ppp=2.5*ar, blurh=1.0, maskpp=2.5, phosphor=true, scandist=3, cutoff=0.8, glowgain=1.0, glowh=6, glowv=0, halgain=0.03, sharpv=2)
    AssumeTFF().SeparateFields().SelectEvery(4,0,3).We ave()
    Image Attached Thumbnails Click image for larger version

Name:	Error crt display.jpg
Views:	155
Size:	81.0 KB
ID:	39404  

    Last edited by Caiosouza; 10th Nov 2016 at 09:12.
    Quote Quote  
  16. I'm not sure why you would want something like VLC's phosphor filter but something like this comes close in AviSynth:

    Code:
    # starting with interlaced frames
    SeparateFields()
    Interleave(last, last.loop(2,0,0).ColorYUV(gain_y=-96).Trim(1,0))
    Trim(1,0)
    Weave()
    Quote Quote  
  17. In your crt_display() ar is the sample (pixel) aspect ratio. For a 704x576 4:3 PAL video that's 12/11, 1.09
    Quote Quote  
  18. Member Caiosouza's Avatar
    Join Date
    Nov 2013
    Location
    Capćo da Canoa, RS, Brazil
    Search Comp PM
    Originally Posted by jagabo View Post
    I'm not sure why you would want something like VLC's phosphor filter but something like this comes close in AviSynth:

    Code:
    # starting with interlaced frames
    SeparateFields()
    Interleave(last, last.loop(2,0,0).ColorYUV(gain_y=-96).Trim(1,0))
    Trim(1,0)
    Weave()
    I try it, but I do not see the CRT lines after HCenc encode,

    MPEG2Source("C:\Users\User\Desktop\Samples\Sample 1993 MX 250\1993 MX 250 Sample.d2v", CPU2="ooooxx", Info=3)
    SeparateFields()
    PointResize(width,height*2)
    Deblock_QED(last, quant1=35, quant2=40, aoff1=4, boff1=4, aoff2=4, boff2=4)
    PointResize(width, height/2)
    Weave()
    QTGMC(preset="fast")
    McTemporalDenoise(settings="medium")
    aWarpSharp(depth=5)
    Sharpen(0.3, 0.0)
    nnedi3_rpow2(2, cshift="Spline64Resize", fwidth=width*2, fheight=height)
    aWarpSharp(depth=5)
    AssumeTFF().SeparateFields().SelectEvery(4,0,3).We ave()
    SeparateFields()
    Interleave(last, last.loop(2,0,0).ColorYUV(gain_y=-96).Trim(1,0))
    Trim(1,0)
    Weave()

    AssumeTFF().SeparateFields().SelectEvery(4,0,3).We ave()
    Last edited by Caiosouza; 10th Nov 2016 at 10:18.
    Quote Quote  
  19. The phospor filter is a bob doubler. You can't write 50p video to DVD so it is being deinterlaced/decimated somehow when you encode for DVD.
    Last edited by jagabo; 10th Nov 2016 at 10:20.
    Quote Quote  
  20. Member Caiosouza's Avatar
    Join Date
    Nov 2013
    Location
    Capćo da Canoa, RS, Brazil
    Search Comp PM
    Originally Posted by jagabo View Post
    The phospor filter is a bob doubler. You can't write 50p video to DVD so it is being deinterlaced/decimated somehow when you encode for DVD.
    Is there a way to keep it? As an effect of filter?
    I think the crt_display v1.0 does it
    Quote Quote  
  21. Member Caiosouza's Avatar
    Join Date
    Nov 2013
    Location
    Capćo da Canoa, RS, Brazil
    Search Comp PM
    Originally Posted by jagabo View Post
    In your crt_display() ar is the sample (pixel) aspect ratio. For a 704x576 4:3 PAL video that's 12/11, 1.09
    Thanks again for this!
    Quote Quote  
  22. Member Caiosouza's Avatar
    Join Date
    Nov 2013
    Location
    Capćo da Canoa, RS, Brazil
    Search Comp PM
    Originally Posted by jagabo View Post
    No.
    Ok

    This is correct order?

    MPEG2Source("C:\Users\User\Desktop\Samples\Sample 1993 MX 250\1993 MX 250 Sample.d2v", CPU2="ooooxx", Info=3)
    SeparateFields()
    PointResize(width,height*2)
    Deblock_QED(last, quant1=35, quant2=40, aoff1=4, boff1=4, aoff2=4, boff2=4) #I liked this (I think see more details)
    PointResize(width, height/2)
    Weave()
    QTGMC(preset="fast")
    McTemporalDenoise(settings="medium")
    aWarpSharp(depth=5)
    Sharpen(0.3, 0.0)
    nnedi3_rpow2(2, cshift="Spline64Resize", fwidth=width*2, fheight=height)
    aWarpSharp(depth=5)
    AssumeTFF().SeparateFields().SelectEvery(4,0,3).We ave()
    SeparateFields()
    Interleave(last, last.loop(2,0,0).ColorYUV(gain_y=-96).Trim(1,0))
    Trim(1,0)
    Weave()

    AssumeTFF().SeparateFields().SelectEvery(4,0,3).We ave()


    So there is no way to let these lines as an effect on a DVD? Not even in video MPG, MKV, MP4,normal?
    Not like interlaced fields, but the effect filter, type "film grain" or any other superimposed (over,cover) effect to the video, like the VLC does?

    If The effect "crt_display v1.0" may no stay on the video, why doing this filter then?
    What utility have that then?

    PS:
    Do not get all these questions (and errors) with an annoying teasing to you, I am learning a lot, and I thank you very much,
    Venha comer um churrasco aqui no Rio Grande do Sul-Brasil
    Obrigado jagabo!
    Image Attached Thumbnails Click image for larger version

Name:	Filter Phosphor VLC.jpg
Views:	130
Size:	181.7 KB
ID:	39407  

    Last edited by Caiosouza; 10th Nov 2016 at 11:20.
    Quote Quote  
  23. Why do you want those lines? Do you just want a darker picture?
    Quote Quote  
  24. Member Caiosouza's Avatar
    Join Date
    Nov 2013
    Location
    Capćo da Canoa, RS, Brazil
    Search Comp PM
    Originally Posted by jagabo View Post
    Why do you want those lines? Do you just want a darker picture?
    The lines disguise the "Washed out" look on processed (and poor) video, i like the look when i put this on VLC, but I wanted this to work anywhere, without having to use the VLC filter

    Why do these guys want this?

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


    Quote Quote  
  25. What you mean by washed out look? Do you want a darker blacks with more color saturation?

    Image
    [Attachment 39408 - Click to enlarge]
    Last edited by jagabo; 10th Nov 2016 at 11:54.
    Quote Quote  
  26. Member Caiosouza's Avatar
    Join Date
    Nov 2013
    Location
    Capćo da Canoa, RS, Brazil
    Search Comp PM
    Originally Posted by jagabo View Post
    What you mean by washed out look? Do you want a darker blacks with more color saturation?

    Image
    [Attachment 39408 - Click to enlarge]
    No, I mean: worn image by processing, someone like this: example "figured":

    Very Processed:

    As if you were watching a poor youtube Video 240p full screen

    "Outworn" "Low Detail" "Washed"






    You could help me to do this crt_display v1.0 work, I do not...
    Last edited by Caiosouza; 10th Nov 2016 at 13:20.
    Quote Quote  
  27. As I noted before the problem is that your source has no detail. About all you can do is smooth away all the blocky artifacts -- but you'll still have no detail. There's no way to get back the details of the original broadcast. Adding black lines between each scan line doesn't increase the detail. And you can't do it properly on DVD anyway. You can do it in an MP4 or MKV file but you will have to encode it as 50p.
    Quote Quote  
  28. Member Caiosouza's Avatar
    Join Date
    Nov 2013
    Location
    Capćo da Canoa, RS, Brazil
    Search Comp PM
    Originally Posted by jagabo View Post
    As I noted before the problem is that your source has no detail. About all you can do is smooth away all the blocky artifacts -- but you'll still have no detail. There's no way to get back the details of the original broadcast. Adding black lines between each scan line doesn't increase the detail. And you can't do it properly on DVD anyway. You can do it in an MP4 or MKV file but you will have to encode it as 50p.
    Ok,Yes I know that, of course, forget everything I said


    The question is:Wonder if you help me to make it work in avisynth: crt_display v1.0

    Requirements: Dither 1.26.0 (I Have) or above and its dependencies, Avisynth 2.6, RGB colorspace. (I do no)

    What is wrong in this?

    ar = 1.0 / 1.0
    crt_display (12*ar, 11, ppp=1.09*ar, sharpv=0.75, sharph=0.25, blurh=1.5, scandist=1, cutoff=0.8, gamma=2, glowgain=0.125, halgain=0.03, contrast=3, phosphor=true, maskpp=3, beamshape=1.0, vcs=0.25, cromaclear=1, voff=0, pgrid=true, halrange=3, mix=2)




    RGB colorspace???
    Image Attached Thumbnails Click image for larger version

Name:	Error crt display 2.jpg
Views:	173
Size:	84.9 KB
ID:	39409  

    Last edited by Caiosouza; 10th Nov 2016 at 14:00.
    Quote Quote  



Similar Threads