rogerdpack
16th May 2012, 19:31
Hello all.
I notice there seem to be two ways to "get avisynth" input.
You can use AVIFileGetStream, AVIStreamRead etc. like ffmpeg:
https://github.com/FFmpeg/FFmpeg/blob/master/libavformat/avisynth.c
or you can use
avs_create_script_environment, avs_get_frame etc. like mplayer:
https://github.com/rdp/mplayer-svn/blob/master/libmpdemux/demux_avs.c
The former, if you pass it a "graphedit" within an avs file, like
DirectShowSource("screen-capture-recorder.GRF", audio=False, framecount=1000000, fps=0.1)
ignores the fps setting, while the latter seems to respect it. Anybody know what might be going on? Is this expected?
Thanks.
-roger-
I notice there seem to be two ways to "get avisynth" input.
You can use AVIFileGetStream, AVIStreamRead etc. like ffmpeg:
https://github.com/FFmpeg/FFmpeg/blob/master/libavformat/avisynth.c
or you can use
avs_create_script_environment, avs_get_frame etc. like mplayer:
https://github.com/rdp/mplayer-svn/blob/master/libmpdemux/demux_avs.c
The former, if you pass it a "graphedit" within an avs file, like
DirectShowSource("screen-capture-recorder.GRF", audio=False, framecount=1000000, fps=0.1)
ignores the fps setting, while the latter seems to respect it. Anybody know what might be going on? Is this expected?
Thanks.
-roger-