VideoHelp Forum




+ Reply to Thread
Results 1 to 14 of 14
  1. Member
    Join Date
    Jul 2008
    Location
    United States
    Search Comp PM
    I am testing encodes by changing values in my script. My encodes are getting done in a few seconds instead of a few hours. The source is XviD. The source for encoding to as a test is DivX. I removed DeBlock. I thought that would put my encode speed to normal. It didn't help, so I put DeBlock back in. Here is my script. How can I get it to encode at normal?



    Code:
    LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\deblock.dll")
    LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\msharpen.dll")
    AVISource("D:\The Breakfast Club (1985)\video.avi")
    DeBlock(35,0,0)
    BlackmanResize(448,464,8,1,624,574)
    AddBorders(16,56,16,56)
    Trim(0,-1).FadeOut(150)
    MSharpen(10,100,true,false,false)
    Quote Quote  
  2. The root of all evil träskmannen's Avatar
    Join Date
    May 2005
    Location
    Belgium
    Search Comp PM
    I think your problem is this:
    Code:
    Trim(0,-1).FadeOut(150)
    It looks really strange - what are you trying to do?
    In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move.
    Quote Quote  
  3. Member
    Join Date
    Jul 2008
    Location
    United States
    Search Comp PM
    I used FitCD for a basic script. Do I remove the FadeOut line? Do I put anything in replace?


    Originally Posted by träskmannen
    I think your problem is this:
    Code:
    Trim(0,-1).FadeOut(150)
    It looks really strange - what are you trying to do?
    Quote Quote  
  4. The root of all evil träskmannen's Avatar
    Join Date
    May 2005
    Location
    Belgium
    Search Comp PM
    Remove the complete line. FitCD does give that line but with a "#"-sign in front of it. That means that the line will be ignored.

    If I understand things right the "Trim"-command will try to give you all frames from frame 0 to frame -1 which isn't possible, that's why your script stops immediately.
    In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move.
    Quote Quote  
  5. Member
    Join Date
    Jul 2008
    Location
    United States
    Search Comp PM
    Thank you for the info.



    Originally Posted by träskmannen
    Remove the complete line. FitCD does give that line but with a "#"-sign in front of it. That means that the line will be ignored.

    If I understand things right the "Trim"-command will try to give you all frames from frame 0 to frame -1 which isn't possible, that's why your script stops immediately.
    Quote Quote  
  6. Member
    Join Date
    Jul 2008
    Location
    United States
    Search Comp PM
    What frames are possible? Earlier I tried 65000,72000. It cut off parts of my movie.



    Originally Posted by träskmannen
    Remove the complete line. FitCD does give that line but with a "#"-sign in front of it. That means that the line will be ignored.

    If I understand things right the "Trim"-command will try to give you all frames from frame 0 to frame -1 which isn't possible, that's why your script stops immediately.
    Quote Quote  
  7. Originally Posted by rocky12
    What frames are possible? Earlier I tried 65000,72000. It cut off parts of my movie.
    That's what Trim() is for -- removing parts of the movie. Trim(0,-1) keeps only the very first frame of the movie. If you want to keep the entire movie don't use Trim().

    http://avisynth.org/mediawiki/Trim
    Quote Quote  
  8. Member
    Join Date
    Jul 2008
    Location
    United States
    Search Comp PM
    Thank you. I didn't know that. I want the full movie, so I won't use Trim. What about FadeOut(150)? What does that do? Do I need it?


    Originally Posted by jagabo
    Originally Posted by rocky12
    What frames are possible? Earlier I tried 65000,72000. It cut off parts of my movie.
    That's what Trim() is for -- removing parts of the movie. If you want to keep the entire movie don't use Trim().
    Quote Quote  
  9. Member gadgetguy's Avatar
    Join Date
    Feb 2002
    Location
    West Mitten, USA
    Search Comp PM
    Fadeout(150) means fade to black over the last 150 frames. If you check the AviSynth folder you will find documention that explains all of the built in functions and filters.
    "Shut up Wesley!" -- Captain Jean-Luc Picard
    Buy My Books
    Quote Quote  
  10. Member
    Join Date
    Jul 2008
    Location
    United States
    Search Comp PM
    So it's not needed?



    Originally Posted by gadgetguy
    Fadeout(150) means fade to black over the last 150 frames. If you check the AviSynth folder you will find documention that explains all of the built in functions and filters.
    Quote Quote  
  11. How much trouble is it to read the manual?
    Quote Quote  
  12. Member gadgetguy's Avatar
    Join Date
    Feb 2002
    Location
    West Mitten, USA
    Search Comp PM
    Originally Posted by rocky12
    So it's not needed?
    I don't know, do you want the last 150 frames to fade to black?
    "Shut up Wesley!" -- Captain Jean-Luc Picard
    Buy My Books
    Quote Quote  
  13. Member
    Join Date
    Jul 2008
    Location
    United States
    Search Comp PM
    Probably not. I would want the picture.



    Originally Posted by gadgetguy
    Originally Posted by rocky12
    So it's not needed?
    I don't know, do you want the last 150 frames to fade to black?
    Quote Quote  
  14. The root of all evil träskmannen's Avatar
    Join Date
    May 2005
    Location
    Belgium
    Search Comp PM
    Just remove the complete line.
    In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move.
    Quote Quote  



Similar Threads

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