VideoHelp Forum



Support our site by donate $5 directly to us Thanks!!!

Try StreamFab Downloader and download streaming video from Netflix, Amazon!



+ Reply to Thread
Page 2 of 4
FirstFirst 1 2 3 4 LastLast
Results 31 to 60 of 105
  1. Originally Posted by jagabo View Post
    Your video is encoded as variable frame rate. The rate reported by various programs is just a estimate of the average. Fortunately, it looks like it's really 24000/1001 constant fps. The character animation is the same frame rate as the film, 23.976 fps. SVP delivers pretty much the same as that youtube video.

    Code:
    LSMASHVideoSource("C:\Users\John\Downloads\cutsection.mp4") 
    AssumeFPS(24000,1001)
    super=SVSuper("{gpu:0}")
    vectors=SVAnalyse(super, "{block:{w:16}}") # 16 is the default, you can try 8, 24, and 32 also
    SVSmoothFps(super, vectors, "{rate:{num:5, den:2, algo:2}}", url="www.svp-team.com", mt=1)
    What do I type that into? I can't open the original video file when in SVP as it says it has variable framerate.
    Quote Quote  
  2. Paste it into Notepad (change the path to the video) and save it with .AVS as the extension (not .TXT). Then open it in megui.
    Quote Quote  
  3. Originally Posted by jagabo View Post
    Paste it into Notepad (change the path to the video) and save it with .AVS as the extension (not .TXT). Then open it in megui.
    I got an error, it said:

    Script error: There is no function named
    'LSMASHVideoSource'.
    (C:\Users\bradw\Documents\testing.avs, line 1)
    Quote Quote  
  4. Originally Posted by jagabo View Post
    Paste it into Notepad (change the path to the video) and save it with .AVS as the extension (not .TXT). Then open it in megui.
    I managed to fix the error, will this script still do the same thing the original would have?:

    Code:
    PluginPath = "C:\Users\bradw\Downloads\MeGUI-2836-32\tools\lsmash\"
    LoadPlugin(PluginPath+"LSMASHSource.dll")
    LoadPlugin("C:\Users\bradw\Downloads\MeGUI-2836-32\tools\avisynth_plugin\svpflow1.dll")
    LoadPlugin("C:\Users\bradw\Downloads\MeGUI-2836-32\tools\avisynth_plugin\svpflow2.dll")
    LSMASHVideoSource("C:\Users\bradw\Documents\Current Things\cutsection.mp4") 
    AssumeFPS(24000,1001)
    super=SVSuper("{gpu:0}")
    vectors=SVAnalyse(super, "{block:{w:16}}") # 16 is the default, you can try 8, 24, and 32 also
    SVSmoothFps(super, vectors, "{rate:{num:5, den:2, algo:2}}", url="www.svp-team.com", mt=1)
    Also, was the section I uploaded (cutsection.mp4) okay, it didn't have the problems that the originals I uploaded did? If all of the application give a different framerate because they are estimating it, doesn't that mean it should have worked before when I used handbrake and selected source framerate?
    Quote Quote  
  5. Originally Posted by bradwiggo View Post
    If all of the application give a different framerate because they are estimating it, doesn't that mean it should have worked before when I used handbrake and selected source framerate?
    No, not all applicatioins give a different framerate. Handbrake sucks for creating an intermediate file (and for everything else, as far as I'm concerned) because it always gives back VBR and the reencode unnecessarily degrades the video quality. If you're going to work on the video some more afterwards, don't ever use Handbrake. For intermediate files, use a lossless codec. As far as I can tell, jagabo's original script will work to interpolate your framerate. You're using MeGUI-type scripts which I'm unfamiliar with, but the script looks okay. Why not try it out to see if it does what you want?
    Quote Quote  
  6. Originally Posted by manono View Post
    Originally Posted by bradwiggo View Post
    If all of the application give a different framerate because they are estimating it, doesn't that mean it should have worked before when I used handbrake and selected source framerate?
    No, not all applicatioins give a different framerate. Handbrake sucks for creating an intermediate file (and for everything else, as far as I'm concerned) because it always gives back VBR and the reencode unnecessarily degrades the video quality. If you're going to work on the video some more afterwards, don't ever use Handbrake. For intermediate files, use a lossless codec. As far as I can tell, jagabo's original script will work to interpolate your framerate. You're using MeGUI-type scripts which I'm unfamiliar with, but the script looks okay. Why not try it out to see if it does what you want?
    The original script didn't work, the modified one I posted did, but I just wanted to make sure I hadn't modified it in a way that changes what it does.
    Quote Quote  
  7. Originally Posted by jagabo View Post
    Paste it into Notepad (change the path to the video) and save it with .AVS as the extension (not .TXT). Then open it in megui.
    Which part of the script defines the framerate it should be interpolated to? What would I change if I wanted to make it 120fps instead of 48fps for example?
    Quote Quote  
  8. Originally Posted by bradwiggo View Post
    Originally Posted by jagabo View Post
    Paste it into Notepad (change the path to the video) and save it with .AVS as the extension (not .TXT). Then open it in megui.
    Which part of the script defines the framerate it should be interpolated to? What would I change if I wanted to make it 120fps instead of 48fps for example?
    num(erator)=5 and den(nomantor)=2 in SVSmoothFPS sets the frame rate: the original frame rate * 5 / 2. So 23.976 * 5 / 2 = 59.94.
    Quote Quote  
  9. Originally Posted by jagabo View Post
    Originally Posted by bradwiggo View Post
    Originally Posted by jagabo View Post
    Paste it into Notepad (change the path to the video) and save it with .AVS as the extension (not .TXT). Then open it in megui.
    Which part of the script defines the framerate it should be interpolated to? What would I change if I wanted to make it 120fps instead of 48fps for example?
    num(erator)=5 and den(nomantor)=2 in SVSmoothFPS sets the frame rate: the original frame rate * 5 / 2. So 23.976 * 5 / 2 = 59.94.
    So if I changed the 2 to a 1 it would give me (nearly) 120 fps?
    Quote Quote  
  10. Originally Posted by bradwiggo View Post
    I have been trying to interpolate some videos to 60FPS for a while now, and I have had mixed results. I have been using this video (https://www.youtube.com/watch?v=sPAPWqXT5Xg )as a "benchmark" of sorts, to compare my results to. So far I have not been able to produce a video that is as good as it.
    Is this the smoothness you are looking for?
    https://www.youtube.com/watch?v=yWYEtRBF4S4

    I might have the original script in some backup somewhere, I don't use handbrake, megui and other software like that.
    If it's that what you want, I'll try to find it.
    Quote Quote  
  11. Originally Posted by jagabo View Post
    Yes.
    I started to interpolated a large video file, about 100 minutes long, however, when megui got to about 30 minutes through the file (as in is had done 30% of the interpolation, it had been running for about 2 hours) treatment framerate it was encoding at started to slow down. I realised I would not have enough time to finished it so I stopped it, how can I stop it from slowing down, as I am concerned it will slow down completely.

    Also, when I interpolated a file a while ago with ffmpeg, that started to slow down after a while, and a few days later my hard drive died. Processing a large file (4+GB) isn't bad for my hard drive is it?
    Quote Quote  
  12. Originally Posted by amaipaipai View Post
    Originally Posted by bradwiggo View Post
    I have been trying to interpolate some videos to 60FPS for a while now, and I have had mixed results. I have been using this video (https://www.youtube.com/watch?v=sPAPWqXT5Xg )as a "benchmark" of sorts, to compare my results to. So far I have not been able to produce a video that is as good as it.
    Is this the smoothness you are looking for?
    https://www.youtube.com/watch?v=yWYEtRBF4S4

    I might have the original script in some backup somewhere, I don't use handbrake, megui and other software like that.
    If it's that what you want, I'll try to find it.
    That is what I'm looking for, it looks very smooth, probablly the best interpolation I have seen. Was that footage originally 30fps?
    Quote Quote  
  13. Originally Posted by bradwiggo View Post
    Originally Posted by amaipaipai View Post
    Originally Posted by bradwiggo View Post
    I have been trying to interpolate some videos to 60FPS for a while now, and I have had mixed results. I have been using this video (https://www.youtube.com/watch?v=sPAPWqXT5Xg )as a "benchmark" of sorts, to compare my results to. So far I have not been able to produce a video that is as good as it.
    Is this the smoothness you are looking for?
    https://www.youtube.com/watch?v=yWYEtRBF4S4

    I might have the original script in some backup somewhere, I don't use handbrake, megui and other software like that.
    If it's that what you want, I'll try to find it.
    That is what I'm looking for, it looks very smooth, probablly the best interpolation I have seen. Was that footage originally 30fps?
    His video isn't motion interpolated. He converted 30i to 60p. And he screwd up the chroma channels.
    Quote Quote  
  14. Originally Posted by bradwiggo View Post
    That is what I'm looking for, it looks very smooth, probablly the best interpolation I have seen. Was that footage originally 30fps?
    The original was interlaced 1080 at 29.970 fps.

    I'll take a look at my backup and post the script if I find it. If I remember correct it was a pretty simple script.
    Quote Quote  
  15. Originally Posted by jagabo View Post
    His video isn't motion interpolated. He converted 30i to 60p. And he screwd up the chroma channels.
    Yes it was, I didn't use any "convertto*".
    About the chroma, look at the date I've posted the video, it's a 8 years old conversion captured direct from TS.
    Quote Quote  
  16. I've found the original script on my backups, dated Octuber 2007, I told it was simple:
    Code:
    DirectShowSource("E:\DV\JKD-2000.01.15_21-00-00.avi").Trim(18582,18679)
    LeakKernelBob(order=0,threshold=8,sharp=true,twoway=true,map=false)
    Among the backup, there was this other scripts and links.
    Code:
    ConvertToYV12()
    function filldrops (clip c)
    {
      even = c
      super_even=MSuper(even,pel=2)
      vfe=manalyse(super_even,truemotion=true,isb=false,delta=1)
      vbe=manalyse(super_even,truemotion=true,isb=true,delta=1)
      filldrops_e = mflowinter(even,super_even,vbe,vfe,time=50)
      ConditionalFilter(even, filldrops_e, even, "YDifferenceFromPrevious()", "lessthan", "1.3")
    }
    filldrops()
    For HDMI.txt
    Code:
    ## http://www.dvxuser.com/V6/showthread.php?237584-HDMI-Capture-Problem-SOLVED-AviSynth-RULES
    FixBrokenChromaUpsampling() 
    ## Seperates the YUV channels. YV24 seems neccessary for the split and remerge to work.
    #ConvertToYV24(chromaresample="spline36")
    Y = Tweak(sat=0, coring=false)
    U = UToY()
    V = VToY()
    ## Shifts the YUV channels individually. In this case subpixel(halfpixel) shifting.
    U = U.Spline36Resize(u.width,u.height,0.5,-0.5)
    V = V.Spline36Resize(v.width,v.height,0,-0.5)
    Y = Y.Spline36Resize(y.width,y.height,0,0.5)
    ## Manually squeezes the chroma down to 4:2:0 and back. Prevents further shifting.
    U = U.Spline36Resize(u.width,u.height/2)
    V = V.Spline36Resize(v.width,V.height/2)
    U = U.Spline36Resize(u.width,u.height*2)
    V = V.Spline36Resize(v.width,v.height*2)
    # Recombines individual YUV channels.
    YToUV(U,V,Y)
    Anime.txt
    Code:
    https://github.com/Anime4000/IFME/wiki/AviSynth--Frame-Interpolation
    Later.txt
    Code:
    http://www.spirton.com/interframe/
    I've converted a sample using the first script as I did back then, sorry I don't have any HD material with 29.970 fps to use but that was what I did back in 2008.

    Maybe I still have a video test I did back then...
    Image Attached Files
    Last edited by amaipaipai; 7th Jul 2018 at 15:34.
    Quote Quote  
  17. This was encoded back in 2009, the source was 1080i@29.970 converted to 720p@59.940
    Image Attached Files
    Quote Quote  
  18. Originally Posted by amaipaipai View Post
    I've found the original script on my backups, dated Octuber 2007, I told it was simple:
    Code:
    DirectShowSource("E:\DV\JKD-2000.01.15_21-00-00.avi").Trim(18582,18679)
    LeakKernelBob(order=0,threshold=8,sharp=true,twoway=true,map=false)
    Among the backup, there was this other scripts and links.
    Code:
    ConvertToYV12()
    function filldrops (clip c)
    {
      even = c
      super_even=MSuper(even,pel=2)
      vfe=manalyse(super_even,truemotion=true,isb=false,delta=1)
      vbe=manalyse(super_even,truemotion=true,isb=true,delta=1)
      filldrops_e = mflowinter(even,super_even,vbe,vfe,time=50)
      ConditionalFilter(even, filldrops_e, even, "YDifferenceFromPrevious()", "lessthan", "1.3")
    }
    filldrops()
    For HDMI.txt
    Code:
    ## http://www.dvxuser.com/V6/showthread.php?237584-HDMI-Capture-Problem-SOLVED-AviSynth-RULES
    FixBrokenChromaUpsampling() 
    ## Seperates the YUV channels. YV24 seems neccessary for the split and remerge to work.
    #ConvertToYV24(chromaresample="spline36")
    Y = Tweak(sat=0, coring=false)
    U = UToY()
    V = VToY()
    ## Shifts the YUV channels individually. In this case subpixel(halfpixel) shifting.
    U = U.Spline36Resize(u.width,u.height,0.5,-0.5)
    V = V.Spline36Resize(v.width,v.height,0,-0.5)
    Y = Y.Spline36Resize(y.width,y.height,0,0.5)
    ## Manually squeezes the chroma down to 4:2:0 and back. Prevents further shifting.
    U = U.Spline36Resize(u.width,u.height/2)
    V = V.Spline36Resize(v.width,V.height/2)
    U = U.Spline36Resize(u.width,u.height*2)
    V = V.Spline36Resize(v.width,v.height*2)
    # Recombines individual YUV channels.
    YToUV(U,V,Y)
    Anime.txt
    Code:
    https://github.com/Anime4000/IFME/wiki/AviSynth--Frame-Interpolation
    Later.txt
    Code:
    http://www.spirton.com/interframe/
    I've converted a sample using the first script as I did back then, sorry I don't have any HD material with 29.970 fps to use but that was what I did back in 2008.

    Maybe I still have a video test I did back then...
    How did you use the script, do you have to open it with a certain program? Do you think it would work as an avs script in megui?
    Quote Quote  
  19. Nothing in those scripts or functions will help you. The only one that even uses motion interpolation is filldrops(). And it is for replacing identical frames (from a capture where a frame was missed by the capture device and the last frame was duplicated in its place) with a motion interpolated frame.
    Quote Quote  
  20. Originally Posted by jagabo View Post
    Nothing in those scripts or functions will help you. The only one that even uses motion interpolation is filldrops(). And it is for replacing identical frames (from a capture where a frame was missed by the capture device and the last frame was duplicated in its place) with a motion interpolated frame.
    I thought the original video was running at 30fps? or is 30i different?
    Quote Quote  
  21. Originally Posted by bradwiggo View Post
    How did you use the script, do you have to open it with a certain program? Do you think it would work as an avs script in megui?
    The only one that I use to convert the videos is this one:
    Code:
    LeakKernelBob(order=0,threshold=8,sharp=true,twoway=true,map=false)
    You save it as a AVS script after your video as I did:
    Code:
    DirectShowSource("E:\DV\JKD-2000.01.15_21-00-00.avi").Trim(18582,18679)
    LeakKernelBob(order=0,threshold=8,sharp=true,twoway=true,map=false)
    Same for the rest of the scripts, but I didn't use any at the time, the other scripts I've saved for latter use but I've never capture broadcast signals since then so I left for latter use.

    If you want to use it you do like any other AVS script:
    Code:
    DirectShowSource("E:\DV\JKD-2000.01.15_21-00-00.avi").Trim(18582,18679)
    LeakKernelBob(order=0,threshold=8,sharp=true,twoway=true,map=false)
    
    ConvertToYV12()
    function filldrops (clip c)
    {
      even = c
      super_even=MSuper(even,pel=2)
      vfe=manalyse(super_even,truemotion=true,isb=false,delta=1)
      vbe=manalyse(super_even,truemotion=true,isb=true,delta=1)
      filldrops_e = mflowinter(even,super_even,vbe,vfe,time=50)
      ConditionalFilter(even, filldrops_e, even, "YDifferenceFromPrevious()", "lessthan", "1.3")
    }
    filldrops()
    
    FixBrokenChromaUpsampling() 
    ## Seperates the YUV channels. YV24 seems neccessary for the split and remerge to work.
    #ConvertToYV24(chromaresample="spline36")
    Y = Tweak(sat=0, coring=false)
    U = UToY()
    V = VToY()
    ## Shifts the YUV channels individually. In this case subpixel(halfpixel) shifting.
    U = U.Spline36Resize(u.width,u.height,0.5,-0.5)
    V = V.Spline36Resize(v.width,v.height,0,-0.5)
    Y = Y.Spline36Resize(y.width,y.height,0,0.5)
    ## Manually squeezes the chroma down to 4:2:0 and back. Prevents further shifting.
    U = U.Spline36Resize(u.width,u.height/2)
    V = V.Spline36Resize(v.width,V.height/2)
    U = U.Spline36Resize(u.width,u.height*2)
    V = V.Spline36Resize(v.width,v.height*2)
    # Recombines individual YUV channels.
    YToUV(U,V,Y)
    Then load it at MeGUI and see if it fits your needs.

    This was how I did back 8 years ago and got the job done, today there are better options I'm not aware of.
    Jagabo is the expert in this field, my AVS script levels are very basic.
    Quote Quote  
  22. Originally Posted by jagabo View Post
    Nothing in those scripts or functions will help you. The only one that even uses motion interpolation is filldrops(). And it is for replacing identical frames (from a capture where a frame was missed by the capture device and the last frame was duplicated in its place) with a motion interpolated frame.
    Is there a way to stop the processing of the file from slowing down in meGUI, as I have 9 hours until I need to switch my computer off and at the moment it ssays it will take 7 and a half hours, however, I am worried if it slows down it could go above 9 hours.
    Quote Quote  
  23. If your encoding isn't done by the time you need to turn the computer off -- don't stop the encoding, just put the computer to sleep. When you wake it up the encoding will continue. In the mean time, make sure you have adequate cooling so the CPU doesn't throttle down.
    Quote Quote  
  24. Originally Posted by jagabo View Post
    If your encoding isn't done by the time you need to turn the computer off -- don't stop the encoding, just put the computer to sleep. When you wake it up the encoding will continue. In the mean time, make sure you have adequate cooling so the CPU doesn't throttle down.
    It's a laptop so I can't really cool it much more than it is now. I have just a standard cooling fan (not a computer one, just a fan you would use to cool yourself down on a hot day), I could point that at my laptop, but I worry about it blowing dust into it.

    If my CPU does throttle will it damage itself, or is it slowing down to stop damage from occurring?

    Also, would it help to pause the encoding and close my computer lid for 15 minutes every 3 hours, as that would let it cool down a bit?
    Quote Quote  
  25. Originally Posted by bradwiggo View Post
    It's a laptop so I can't really cool it much more than it is now. I have just a standard cooling fan (not a computer one, just a fan you would use to cool yourself down on a hot day), I could point that at my laptop, but I worry about it blowing dust into it.
    I wouldn't worry about blowing dust on the the laptop.

    Originally Posted by bradwiggo View Post
    If my CPU does throttle will it damage itself, or is it slowing down to stop damage from occurring?
    It should just slow down.

    Originally Posted by bradwiggo View Post
    Also, would it help to pause the encoding and close my computer lid for 15 minutes every 3 hours, as that would let it cool down a bit?
    Not really. It only takes a minute or so for the CPU to heat up again.

    If you're not using a multithreaded build of AviSynth you can speed encoding by switching to a multithreaded build. But that will cause your laptop the heat up even more. Look at CPU usage in Task Manager. If it's not near 100 percent multithreading will speed up the process.
    Quote Quote  
  26. Originally Posted by jagabo View Post
    Originally Posted by bradwiggo View Post
    It's a laptop so I can't really cool it much more than it is now. I have just a standard cooling fan (not a computer one, just a fan you would use to cool yourself down on a hot day), I could point that at my laptop, but I worry about it blowing dust into it.
    I wouldn't worry about blowing dust on the the laptop.

    Originally Posted by bradwiggo View Post
    If my CPU does throttle will it damage itself, or is it slowing down to stop damage from occurring?
    It should just slow down.

    Originally Posted by bradwiggo View Post
    Also, would it help to pause the encoding and close my computer lid for 15 minutes every 3 hours, as that would let it cool down a bit?
    Not really. It only takes a minute or so for the CPU to heat up again.

    If you're not using a multithreaded build of AviSynth you can speed encoding by switching to a multithreaded build. But that will cause your laptop the heat up even more. Look at CPU usage in Task Manager. If it's not near 100 percent multithreading will speed up the process.
    If the CPU heats up quickly, why does it only start to slow down after about 2 hours or so?
    Quote Quote  
  27. Originally Posted by jagabo View Post
    Originally Posted by bradwiggo View Post
    It's a laptop so I can't really cool it much more than it is now. I have just a standard cooling fan (not a computer one, just a fan you would use to cool yourself down on a hot day), I could point that at my laptop, but I worry about it blowing dust into it.
    I wouldn't worry about blowing dust on the the laptop.

    Originally Posted by bradwiggo View Post
    If my CPU does throttle will it damage itself, or is it slowing down to stop damage from occurring?
    It should just slow down.

    Originally Posted by bradwiggo View Post
    Also, would it help to pause the encoding and close my computer lid for 15 minutes every 3 hours, as that would let it cool down a bit?
    Not really. It only takes a minute or so for the CPU to heat up again.

    If you're not using a multithreaded build of AviSynth you can speed encoding by switching to a multithreaded build. But that will cause your laptop the heat up even more. Look at CPU usage in Task Manager. If it's not near 100 percent multithreading will speed up the process.
    It finishes last night, it don't slow down too much. It looks good, thank you for all your help. Does the script use any part of SVP, as I am still within the 14 day refund policy, so if I don't need SVP 4 for the script I was using then I might return it.
    Quote Quote  
  28. Originally Posted by bradwiggo View Post
    Does the script use any part of SVP
    What script?

    Originally Posted by bradwiggo View Post
    as I am still within the 14 day refund policy, so if I don't need SVP 4 for the script I was using then I might return it.
    I've only ever used the free version for AviSynth. From what I've seen, SVP is no better than many of the AviSynth alternatives.
    Quote Quote  
  29. Originally Posted by jagabo View Post
    Originally Posted by bradwiggo View Post
    Does the script use any part of SVP
    What script?

    Originally Posted by bradwiggo View Post
    as I am still within the 14 day refund policy, so if I don't need SVP 4 for the script I was using then I might return it.
    I've only ever used the free version for AviSynth. From what I've seen, SVP is no better than many of the AviSynth alternatives.
    The script you have me that I changed slightly. This one:

    HTML Code:
    PluginPath = "C:\Users\bradw\Downloads\MeGUI-2836-32\tools\lsmash\"
    LoadPlugin(PluginPath+"LSMASHSource.dll")
    LoadPlugin("C:\Users\bradw\Downloads\MeGUI-2836-32\tools\avisynth_plugin\svpflow1.dll")
    LoadPlugin("C:\Users\bradw\Downloads\MeGUI-2836-32\tools\avisynth_plugin\svpflow2.dll")
    LSMASHVideoSource("C:\Users\bradw\Documents\Current Things\cutsection.mp4") 
    AssumeFPS(24000,1001)
    super=SVSuper("{gpu:0}")
    vectors=SVAnalyse(super, "{block:{w:16}}") # 16 is the default, you can try 8, 24, and 32 also
    SVSmoothFps(super, vectors, "{rate:{num:5, den:2, algo:2}}", url="www.svp-team.com", mt=1)
    Quote Quote  



Similar Threads

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