signal
30th July 2007, 01:44
I originally posted a question in the usage forum for trying to find the best way to show the noise captured in a clip for demonstration purposes.
I created a dvd with colorbars (generated by avisynth colorbars) and then captured a Huffyuv clip with vdub.
But a problem has come up and thought this was probably the better place to discuss it.
When trying to use subtract or historgram I end up with the following error (using AVISynth 2.57)
CAVIStreamSynth: System exception - Access Violation at 0x0, reading from 0x0
The avisynth scripts used are:clip = avisource("d:\cb4sub.avi")
subtract(clip.trim(1,0),clip)
andavisource("d:\cb4sub.avi").histogram(mode="luma")
When using subtract, the error pretty much occurs right away.
With histogram, I did get one successful playback however subsequent playbacks the error either shows up right away or after a few seconds.
It was pointed out that possibly excessive seeking maybe crashing the Huffyuv codec.
[update] In trying a couple of other codecs (including lagarith) things seem better but still eventually get the exception error. It appears that the functions are still struggling with this clip no matter what codec I use.
Sample Clip: cb4sub.avi (47MB Huffyuv) (http://64.202.175.38/examples/cb4sub.avi)
Is there some other processing that needs to occur before feeding subtract or histogram or is there indeed something not quite right here?
I created a dvd with colorbars (generated by avisynth colorbars) and then captured a Huffyuv clip with vdub.
But a problem has come up and thought this was probably the better place to discuss it.
When trying to use subtract or historgram I end up with the following error (using AVISynth 2.57)
CAVIStreamSynth: System exception - Access Violation at 0x0, reading from 0x0
The avisynth scripts used are:clip = avisource("d:\cb4sub.avi")
subtract(clip.trim(1,0),clip)
andavisource("d:\cb4sub.avi").histogram(mode="luma")
When using subtract, the error pretty much occurs right away.
With histogram, I did get one successful playback however subsequent playbacks the error either shows up right away or after a few seconds.
It was pointed out that possibly excessive seeking maybe crashing the Huffyuv codec.
[update] In trying a couple of other codecs (including lagarith) things seem better but still eventually get the exception error. It appears that the functions are still struggling with this clip no matter what codec I use.
Sample Clip: cb4sub.avi (47MB Huffyuv) (http://64.202.175.38/examples/cb4sub.avi)
Is there some other processing that needs to occur before feeding subtract or histogram or is there indeed something not quite right here?