Cant load avs file
#1
Keep getting an:

Error: Didn't find a 'Frame rate' info node! -> stream will be ignored

Very simple avs script:

film= "E:\Videos\imgseq\SAM_%05d.jpg"
trim_begin=1
rim_end=1940
play_speed= 18
ImageSource(file=film, start=trim_begin, end=trim_end, fps=play_speed).FlipVertical().converttoYV12()

Debug output is:

2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4: Filtering input files,..
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4: checkVMFCombi for 'E:\Downloads\~Personal\Telecine\Film_Restoring_vs_06_2012\scripts\Basic.avs'.
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4: Analysing 1 input files,...
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4: Creating data node for E:\Downloads\~Personal\Telecine\Film_Restoring_vs_06_2012\scripts\Basic.avs.
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4:  -> Setting vmf to 'false'
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4: Analyzing 'Basic.avs'.
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4: AVSAnalyser set tool avsInfo to: .\32bit\avsInfo.exe
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4: AVSAnalyser set tool tempPath to: C:\Users\Billy\AppData\Local\Temp
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4: Starting 'AVSAnalyser' analyser for AVSAnalyser.
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4: Content of Avisynth file:
film= "E:\Videos\imgseq\SAM_%05d.jpg"  # source clip, you must specify the full path here
trim_begin=1
trim_end=1940
play_speed= 18
ImageSource(file=film, start=trim_begin, end=trim_end, fps=play_speed).FlipVertical().converttoYV12()

2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4: AVSAnalyser calling: "C:\Program Files\Hybrid\32bit\avsInfo.exe" "E:\Downloads\~Personal\Telecine\Film_Restoring_vs_06_2012\scripts\Basic.avs"
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4: Collected error output:
Import: unable to locate "��2" (try specifying a path), error=0
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4: Collected error output:
x2

2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4: AVSAnalyser - process finished()
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4: -> Analyzing collected data...
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4: Analyzing output:

2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4: analyzing video data,...
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4:  -> found video_color:
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4:  -> found video_width:
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4:  -> found video_height:
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4:  -> found video_fps:
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4:  -> found video_framecount:
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4:  -> found video_length: nan
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4:  -> found video_aspectRatio: 1
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4:  -> found video_interlace: progressive
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4:  -> found video_format: raw
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4:  -> found video_bitrate: 0.000
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4: Analyzing audio data,...
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4:  AVSAnalyser finished, mode 0.
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4:  -> Found no infos for Color.
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4:  -> Setting Format to 'raw'
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4:  -> Setting Bit rate to '0.000'
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4:  -> Found no infos for Frame rate.
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4:  -> Setting Frame rate mode to 'CFR'
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4:  -> Setting Original width to ''
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4:  -> Setting Original height to ''
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4:  -> Setting width to ''
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4:  -> Setting height to ''
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4:  -> Found no infos for Needs YUY2.
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4:  -> Setting Interlacing to 'progressive'
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4:  -> Setting Aspect ratio to '1'
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4:  -> Found no infos for Frame count.
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4:  -> Setting Length to 'nan'
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4:  -> Setting Chapter count to ''
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4:  -> Setting Chapter selection to ''
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4:  Detected video stream count: 1
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4:  Detected audio stream count: 1
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4:  analyser finished, infos == nullptr: false
2019.07.02 - 14:42:12_Windows 10-64bit_2019.06.09.2 - level 4: Didn't find a 'Frame rate' info node! -> stream will be ignored
2019.07.02 - 14:42:13_Windows 10-64bit_2019.06.09.2 - level 4: importChaptersFromAllSources...
2019.07.02 - 14:42:13_Windows 10-64bit_2019.06.09.2 - level 4: Starting auto routines,...
2019.07.02 - 14:42:13_Windows 10-64bit_2019.06.09.2 - level 4: <b>starting auto routines for source number</b>: 1
2019.07.02 - 14:42:13_Windows 10-64bit_2019.06.09.2 - level 4:                                              AUTO AUDIO ROUTINES START(2),..
2019.07.02 - 14:42:13_Windows 10-64bit_2019.06.09.2 - level 4: Finished audio routines for source: 1
2019.07.02 - 14:42:13_Windows 10-64bit_2019.06.09.2 - level 4:  -> finished auto routines for source number: 1
2019.07.02 - 14:42:13_Windows 10-64bit_2019.06.09.2 - level 4: finishAutoRoutines(2) -> inputAnalysisIsfinished
2019.07.02 - 14:42:13_Windows 10-64bit_2019.06.09.2 - level 4: inputAnalysisIsfinished
2019.07.02 - 14:42:13_Windows 10-64bit_2019.06.09.2 - level 4:  current source: 1
2019.07.02 - 14:42:13_Windows 10-64bit_2019.06.09.2 - level 4: <b>Input is completely analysed,...</b>
2019.07.02 - 14:42:13_Windows 10-64bit_2019.06.09.2 - level 4:  input container count: 1
2019.07.02 - 14:42:13_Windows 10-64bit_2019.06.09.2 - level 4:  analyser finished, autoAddMode:
2019.07.02 - 14:42:13_Windows 10-64bit_2019.06.09.2 - level 4:  -> extracting fonts and attachments

Seems to have an error on import:

Import: unable to locate "��" (try specifying a path), error=0x2

Windows 10 v:1809
Hybrid v:2019.06.09.2

Please, read the 'Infos needed to fix&reproduce bugs,..'-sticky before you post about a problem.
Reply
#2
try adding:
return last
to the end of your avisynth script
(As a side note: Hybrid does support loading image sequences,..)
Reply
#3
(02.07.2019, 16:01)Selur Wrote: try adding:
return last
to the end of your avisynth script
(As a side note: Hybrid does support loading image sequences,..)

Tried adding that, still errors:

Import: unable to locate "�se2" (try specifying a path), error=0x2
Reply
#4
you also need to load the filters you use,...
Not that's not it, you used ImageSource which should be part of Avisynth
Reply
#5
(02.07.2019, 16:17)Selur Wrote: you also need to load the filters you use,...
Not that's not it, you used ImageSource which should be part of Avisynth

There's no filters used in the avs script. Could it be because Im using AviSynth+?
Reply
#6
Hybrid is using Avisynth+ (32bit) and loading:
LoadPlugin("I:\Hybrid\32bit\avisynthPlugins\ImageSeq.dll")
ImageReader(file="E:/sequence/ED-360-png/%05d.png", start=1, end=1840, fps=25, use_DeviL=true, pixel_type="RGB")
return last
in Hybrid works fine.
If you installed a Avisynth+ 64bit version on your system, your script will not work with Hybrid since Hybrid only supports 32bit Avisynth.

Cu Selur

Ps.: I can reproduce the issue with ImageSource which isn't part of Avisynth+, which is probably why Hybrid uses the ImageSeq-Filter and ImageReader. Smile
(Also did a quick test using AVSMod and the avisnyth.dll from Avisynth 2.6 MT and Avisynth+ only the former works with ImageSource.)
Reply
#7
(02.07.2019, 16:26)Selur Wrote: Hybrid is using Avisynth+ (32bit) and loading:
LoadPlugin("I:\Hybrid\32bit\avisynthPlugins\ImageSeq.dll")
ImageReader(file="E:/sequence/ED-360-png/%05d.png", start=1, end=1840, fps=25, use_DeviL=true, pixel_type="RGB")
return last
in Hybrid works fine.
If you installed a Avisynth+ 64bit version on your system, your script will not work with Hybrid since Hybrid only supports 32bit Avisynth.

Cu Selur

Ps.: I can reproduce the issue with ImageSource which isn't part of Avisynth+, which is probably why Hybrid uses the ImageSeq-Filter and ImageReader. Smile
(Also did a quick test using AVSMod and the avisnyth.dll from Avisynth 2.6 MT and Avisynth+ only the former works with ImageSource.)

Hm. Ive been using ImageSource fine with AvsPMod and ffmpeg to render the videos fine. Both using Avisynth+.

Sounds more like the issue is 64 bit even though both 32bit and 64bit AviSynth+ is installed.
Reply
#8
I tried it by placing the different Avisynth dlls inside the AvsPMod folder to make sure that this dll is used.
(Same can be done with ffmpeg, otherwise the first found dll will be used.)
Since I got no system wide installation of Avisynth+ (or Avisynth or Vapoursynth) I'm pretty sure this is related to using ImageSource with the Avisynth version you got on your system. (you might have some filters in your autoloading folder,... I don't have an autoloading folder.)
At least this doesn't look like an issue I can fix in Hybrid, seems more like a setup issue.
-> Won't like futher into this, especially since Hybrid already allows to read image sequences and I so no good reason to use an external Avisynth script for this.

Cu Selur
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)