VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. Member
    Join Date
    Jun 2006
    Location
    United States
    Search Comp PM
    I am attempting to create credits for a video that I am encoding. I
    have written the .avs script. It utilizes the SubtitleEx filter. I load
    the script into CCE and it encodes about 36 seconds (of the 5 minutes)
    of credits and CCE chokes. I see that great quatities of memory are
    absorbed during the encode. It appears that it can't handle a screen full of credits scroling by with shadows. I have included a portion (only a portion!) of sample code below.

    Has anyone experienced this and if so, have you gotten around it? I'm
    not sure whether to blame (and approach) the AVISynth team or the
    designer of the subtitleex plugin.

    Any ideas?

    I have now found the TextSub filter. I am wondering if this is the way I should go or will I experience the same problem.

    Code:
    AVISource ("F:\My Captures\WSS\WSS_title_test.avi")
    ShowFrameNumber()
    ShowSMPTE()
    FadeIO (20)
    #COMPANY - scrolling - shadow
    Animate(0,150,"SubtitleEx","Freedom High School Theater Company|proudly presents",364,484,0,150,"Arial","sssscf(45,3)", 30,$FFFFFF,$FFFFFF, "Freedom High School Theater Company|proudly presents",364,4,0,150,"Arial","sssscf(45,3)", 30,$FFFFFF,$FFFFFF)
    Animate(0,150,"SubtitleEx","Freedom High School Theater Company|proudly presents",360,480,0,150,"Arial","cf(45,3)", 30,$0000BFFF,$00000000, "Freedom High School Theater Company|proudly presents",360,0,0,150,"Arial","cf(45,3)", 30,$0000BFFF,$00000000)
    #TITLE - zoom - shadow
    Animate(150,300,"SubtitleEx","West Side Story",364,244,150,300,"Arial","sssscf(45,3)",0,$FFFF00,$FFFF00, "West Side Story",364,244,150,300,"Arial","sssscf(45,3)", 60,$FFFF00,$FFFF00)
    Animate(150,300,"SubtitleEx","West Side Story",360,240,150,300,"Arial","cf(45,3)",0,$00FF4500,$00000000, "West Side Story",360,240,150,300,"Arial","cf(45,3)", 60,$00FF4500,$00000000)
    #PRODUCTION STAFF - scrolling
    Animate(300,450,"SubtitleEx","production1...name1",364,484,300,450,"Lucida Console","sssssssscf(45,45)",20,$1E90FF,$1E90FF, "production1...name1",364,4,300,450,"Lucida Console","sssssssscf(45,45)",20,$1E90FF,$1E90FF)
    Animate(300,450,"SubtitleEx","production1...name1",360,480,300,450,"Lucida Console","cf(45,45)",20,$00FFFFFF,$00000000, "production1...name1",360,0,300,450,"Lucida Console","cf(45,45)",20,$00FFFFFF,$00000000)
    Animate(315,465,"SubtitleEx","production2...name2",364,484,315,465,"Lucida Console","sssssssscf(45,45)",20,$1E90FF,$1E90FF, "production2...name2",364,4,315,465,"Lucida Console","sssssssscf(45,45)",20,$1E90FF,$1E90FF)
    Animate(315,465,"SubtitleEx","production2...name2",360,480,315,465,"Lucida Console","cf(45,45)",20,$00FFFFFF,$00000000, "production2...name2",360,0,315,465,"Lucida Console","cf(45,45)",20,$00FFFFFF,$00000000)
    Animate(330,480,"SubtitleEx","production3...name3",364,484,330,480,"Lucida Console","sssssssscf(45,45)",20,$1E90FF,$1E90FF, "production3...name3",364,4,330,480,"Lucida Console","sssssssscf(45,45)",20,$1E90FF,$1E90FF)
    Animate(330,480,"SubtitleEx","production3...name3",360,480,330,480,"Lucida Console","cf(45,45)",20,$00FFFFFF,$00000000, "production3...name3",360,0,330,480,"Lucida Console","cf(45,45)",20,$00FFFFFF,$00000000)
    Animate(345,495,"SubtitleEx","production4...name4",364,484,345,495,"Lucida Console","sssssssscf(45,45)",20,$1E90FF,$1E90FF, "production4...name4",364,4,345,495,"Lucida Console","sssssssscf(45,45)",20,$1E90FF,$1E90FF)
    Animate(345,495,"SubtitleEx","production4...name4",360,480,345,495,"Lucida Console","cf(45,45)",20,$00FFFFFF,$00000000, "production4...name4",360,0,345,495,"Lucida Console","cf(45,45)",20,$00FFFFFF,$00000000)
    Animate(495,645,"SubtitleEx","starring",364,484,495,645,"Lucida Console","usssssssscf(45,45)",20,$1E90FF,$1E90FF, "starring",364,4,495,645,"Lucida Console","usssssssscf(45,45)",20,$1E90FF,$1E90FF)
    Animate(495,645,"SubtitleEx","starring",360,480,495,645,"Lucida Console","ucf(45,45)",20,$00FFFFFF,$00000000, "starring",360,0,495,645,"Lucida Console","ucf(45,45)",20,$00FFFFFF,$00000000)
    Quote Quote  
  2. Member adam's Avatar
    Join Date
    Sep 2000
    Location
    United States
    Search Comp PM
    Well CCE always uses a great deal of memory with any encode, so its not necessarily a memory problem.

    Rather than see all your subtitle lines it will be more helpful if you list everything else. Like the loading of the plugins and any other filters you run. More than likely you have an error in your script somewhere or there is some problem with the decoding of your source.

    If you open up your .avs script in a video player like windows media player, than it will show you an actual error message if there is a mistake in your script. Its very useful for tracking down mistakes.

    Does CCE just crash or does it give an error message?
    Quote Quote  
  3. Member
    Join Date
    Jun 2006
    Location
    United States
    Search Comp PM
    You are seeing all that there is (other then more animate lines). This was a test script and I was testing the scrolling subtitles only. It will run for a few minutes and then simply disappear. No messages on the screen and nothing in the Application Log (running WinXP). I have tried CCE, HCenc, FreeEnc, TMPGEnc and Virtual Dub. Always the same. THe time may vary but all fail. That leads me to believe that the problem lies somewhere is AVISynth and the filters that I'm using.

    I tried opening the script in WMP and all that it said was that it "Cannot play the file". But then I am here at work and none of my DVD software (AVISynth, CCE, VirtualDub, etrc) is installed here. I imagine that I should try WMP at home.
    Quote Quote  
  4. Member adam's Avatar
    Join Date
    Sep 2000
    Location
    United States
    Search Comp PM
    Yeah you have to have avisynth installed, and have your source files and filters in order to test an avisynth script this way. If wmp ends up playing it than your avisynth script is most likely fine. It still could be a decoding problem. It looks like this is a capture you did from the filename. What codec did you use?
    Quote Quote  
  5. Member
    Join Date
    Jun 2006
    Location
    United States
    Search Comp PM
    OK. I'm home and I opened the .avs file in WMP. It ran with out failure. At times the source video did scew but it did not fail.

    I created another .avs file without the shadows, effectively cutting the number of commands in half and now the encode completes. The result is not as dynamic but there is a result. So now I'm either going live without the shadows or learn .ssa and try TestSub/VobSub.
    Quote Quote  



Similar Threads

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