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)
+ Reply to Thread
Results 1 to 5 of 5
-
-
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? -
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. -
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?
-
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.
Similar Threads
-
Avisynth error: insufficient memory
By olivier in forum EditingReplies: 8Last Post: 13th Feb 2018, 21:20 -
AVIsynth plugin development: memory leaks..[resolved 7/17/2011]
By vhelp in forum ProgrammingReplies: 17Last Post: 18th Jul 2011, 11:47 -
Large size difference in mov and mpg, no apparent loss of quality.
By prioryjim in forum Video ConversionReplies: 3Last Post: 20th Dec 2009, 09:19 -
Vegas 8 - "System low on memory. You may be able to reduce memory usag
By sdsumike619 in forum EditingReplies: 12Last Post: 12th Nov 2009, 05:16 -
I just adeed another 2GB Memory and Total says 3.25GB Memory
By videocheez in forum ComputerReplies: 17Last Post: 11th Feb 2008, 06:19