Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 15th February 2010, 01:34   #1  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 5,917
Avisynth v2.58/2.6-FINAL+FiltSDK Compressed Help Files

Avisynth v2.5.8 & v2.6-FINAL + FilterSDK Manuals converted from HTML site to a CHM Microsoft compressed help file.

Why would you want this? well you could update eg AvsEdit "english.CHM" with
current help file, OR, Use it for CHM ability to search entire manual which is not easy with the Avisynth HTML site.
---------------

With any doc updates since 2.6-FINAL, current Today.

Here, file included compiled into the CHM.

engsdk.txt
Code:
Re-Creating EngSDK26.CHM, Avisynth v2.6 + FilterSDK compressed help file by StainlessS.

We need to have a directory to assemble the chm file,
eg "C:\Program Files\AviSynth 2.5\")


In the directory, we need eg
    Docs\                   # Directory of 2.6 manual
    Docs\english\           # Directory of 2.6 manual source htm and picture files
    Docs\avysynth.css       # Manual style sheet for formatting HTML styles.
    FilterSDK\              # Directory of SDK source htm and picture files
    FilterSDK\Pictures\
    FilterSDK\include\
    Examples\
    plugins\
    License Translations\
    gpl.txt
    lgpl_for_used_libs.txt

Overwrite/Update documents (eg htm/jpg) files from SourceForge.org CVS
into the the english\ folder (you will need to check which containing folder
individual files go).
(http://avisynth2.cvs.sourceforge.net/viewvc/avisynth2/docs/)

Also need to check that you have a Pictures\ directory in FilterSDK\.
In both current 2.58 and 2.6a3, the directory and picture files are missing
but referenced in the SDK, I got these from the Wiki by saving html file
"CompilingAvisynthPlugins.htm". EDIT: v2.6a5 OK, present in FilterSDK\.

You also need our 'Project Files' (in Docs\):-

    engsdk.hhp             # MS Help project file
    engsdk.hhc             # MS Help Table Of Contents File
    engsdk.hhk             # MS Help Index file
    engsdk_stoplist.txt    # MS Help Stoplist, used in creating full text search data
    engsdk_table.htm       # An HTML file, which is just a table of the source htm files.
    engsdk.txt             # This text file

[The above Project Files are all contained in engsdk26.chm and will be extracted by a Decompile, as
will OLD Docs\ & FilterSDK\ folders. DO NOT decompile into Default Avisynth Directory unless you
intend to later update to more recent source files later.]

Start MS, HTML Help WorkShop (at least v4.74)
[
  Here, and also get HelpDocs
  http://msdn.microsoft.com/en-us/library/windows/desktop/ms669985%28v=vs.85%29.aspx
]

Goto Menu File/Open and Open the engsdk.hhp in your Docs\ directory.

Click on Menu File/Compile, and compile it.

DONE.


To De-Compile:-

Run HTML Help Workshop

Click on Menu File/Decompile, choose in and out locations and decompile it.

DONE.

------------------------------------------------------------------------
------------------------------------------------------------------------
------------------------------------------------------------------------

If only the contents of the source htm and any picture files are altered,
and not eg filenames changed, added or deleted then an updated engsdk.chm
can be reconstructed as described above.

If files are added/deleted/namechanged, then I'm afraid it means more work.

Despite spending a long time hunting out as much HTML Help software that
I could find, I'm really quite disappointed with what is available.
Even those utilites that seem not so bad, seem to want you to be starting
a project from scratch using their utility and that is of course, not an option.

engsdk.hhp:
HTML Help Workshop, Project File.
To create the project engsdk.hhp file, I ended up using as a starting
point, a decompiled hhp file (auto created) from a previous version of chm
file, and hand editing and using MS HTML Help Workshop to make minor mods.
I also added the Project Files filenames explicitly into the hhp file (including
the name of this file) so that they could be extracted and reused after Decompile.

ensdk.hhc:
HTML Help Workshop, Table Of Contents File.
Same again, ended up using a decompiled hhc file and hand editing, really tedious
and not too enthusiastic about doing it again. Now that it is in some kind of
order, it is not too problematic to use the MS HTML Help Workshop to change the
table of contents, but to eg move whole sections around, I choose to use a text
editor.

engsdk_stoplist.txt:
HTML Help Workshop, StopList File.
Just nicked the Noise.enu file from System32, and moved around a little and added some symbols.

engsdk.hhk:
HTML Help Workshop, Index file.
Used the Shareware "FAR HTML" HHP Editor to generate the Index using the
FINALLY EDITED Table Of Contents. Now that I know what it looks like, its not so
difficult to edit by hand. Really quite disappointed with ALL index creating
utilities, some of them are totally useless. To be fair, several of the indexers
seemed as if they might work OK indexing Keywords in the html files but only managed
to find 3 keywords in all of the source files, and one of them was Avisynth, so
not really of much use if there are no keywords to extract. Also, EasyHHK, almost works
scanning BODY TEXT, but makes mistakes and DONT try having any non html files in the
hhp project eg gif/jpg/png as it will extract garbage from these, make a temp hhp
file copy, and remove all non html and try, but there will probably be too many errors.


engsdk.txt:
This file, not part of an MS HTML Help project.



engsdk_table.htm:
Not part of an MS HTML Help project.
It is just an HTML table containing all of the source filenames and links to
them. CHM's (compliled HTML help files) like web sites are useful to easily
move around from place to place following related links, but you often find
yourself having read the same page a dozen times (going around and around in
ever decreasing circles). Sometimes you may just want to read the whole book
without going on a magical mystery tour (read magical misery tour).
The table allows you to visit each and every source file, so you dont have
to spend your life wondering if you've actually read the whole thing.

To create an engsdk_table.htm file we used DirHTML Generator:
http://home.comcast.net/~dirhtml/
EDIT: Seems above link is now dead, try here (highly recommended,
create web page of links to many mp3/mp4 files and play with a single click,
can eg create html on dvd full of media files for a graphical menu):-
http://www.freewarefiles.com/Dirhtml_program_15420.html

In GUI (what I used, you may like to change things):

  'Folders, Files'
    Folder                = \Program Files\AviSynth 2.5   # *** Using FOLDER F4 to Browse ***.
    File Specification    = *.htm;*.html;*.jpg;*.jpeg;*.gif;*.png;*.h;*.txt
    Output File           = engsdk_table.htm
    Filenames exclude     = engsdk_table.htm
    Title                 = List Of Source Files
    Script                = blue_white_border.txt
    Process files in the...   = Ticked

  'Miscellaneous'
    Force rectangular tables  = Ticked
    Convert latin characters  = Ticked
    Full anchor text in file table  = Ticked
    Doctype              =  HTML 4.01 Transitional
    Charset              =  UTF-8
    File Columns         =  4
    Anchor columns       =  1
    Folder coloums       =  4

  'Sorting'
    Sort by              =  Filename
    Sort order           =  Ascending
    Sort by folder       =  Ticked
    Sort by columns      =  Ticked

  'Default Words'


  'Recursive'
    Build files recursively   = Ticked
    Frameset         =  Frameset.txt
    Left frame       =  Left_frame.txt
    Right frame       = Right_frame.txt

---------------------------------------------------------------------------------
---------------------------------------------------------------------------------
---------------------------------------------------------------------------------
To check out all links including non local ones (internet) try LinkChecker v9.3 (UPDATED 22 Sept 2014):
home site here:- http://wummel.github.io/linkchecker/

To check local ONLY links, disconnect internet.

Good Luck :)
----------------------------
PS, If you have the engsdk.chm in your "C:\Program Files\AviSynth 2.5\"
folder, you can eg Right click Start Button, Explore All users,Start Menu\
Programs, and find your Avisynth shortcut folder, and then create a shortcut
to the engsdk.chm file. Right click on the shortcut and select Properties,
and select a shortcut hotkey combination. I use CTRL/ALT/H.
If already in use the will not let you redefine without removing the old shortcut
hotkey. The above is for XP32 with Classic Desktop, Start Menu etc.

ssS

v2.6 Final
Updated avisynth.h and avisynth_c.h (both now VERSION 6), Added old baked code VERSION 3 CPP Avisynth.h for v2.58 (can be informative).

The 2.6 CHM help on MediaFire in sig is advised even if using 2.58, new functions etc are
flagged as 2.6 and quite a few corrections and updates on the 2.58 help.
Also a list of bugfixes and changes in 2.6 relative 2.58.



AvisynthEngSDK26_FINAL-2015-05-31.chm (4.5MB)
See MediaFire in sig (DATA directory)
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 31st May 2015 at 17:46. Reason: Update
StainlessS is online now   Reply With Quote
Old 15th February 2010, 11:38   #2  |  Link
2E7AH
Registered User
 
Join Date: Mar 2009
Posts: 18
Maybe Contents tree can be tighten a bit, which existence makes Overview frame unnecessary (or any frame inside .chm is unnecessary)

Also you haven't indexed AviSynth keywords, so you can't call it by keyword like any other .chm file

Overall, good you started it, but I hope you'll consider my suggestions

Last edited by 2E7AH; 15th February 2010 at 11:55.
2E7AH is offline   Reply With Quote
Old 16th February 2010, 04:46   #3  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 5,917
Point Taken.

EDIT:- Dont have software to do any auto indexing, certainly would not entertain
doing this manually. I only wanted search facility and CHM usable in AVSEdit,
as noted, anything else was not considered needed. I did not see any harm in
leaving the contents tree available (auto generated by creation software), I could
have hidden the contents tree, but as the OverView frame sometimes disappears
in the CHM (dont know if this happens on HTML site), I choose to leave the
contents tree in-situ. It was not intended that the contents or search tab be
in the way unless you click in the "Show" button, and so it dont take any screen
space unless you deliberately decide to show them. It was not indended as any
kind of demo of my CHM creation skills, total of which amounts to about 5 minutes.
I just thought that if I found it useful, then perhaps others would also, I would
however, be more than willing to tryout any better put together CHM that anyone
else would like to provide a link to and would then remove this thread quite happily.
If no one finds this useful or download cease, I will similarly delete thread.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 28th June 2012 at 16:30.
StainlessS is online now   Reply With Quote
Old 28th June 2012, 10:19   #4  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,605
Thank you for your first attempts, and for continuing it with the AviSynth 2.6.0 documentation.

It is already useful to have in an own window. And I am curious if I can find (or make) an auto indexer which is smart enough to scan HTML directory branches. I found a spanish one which was not exactly capable.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 28th June 2012, 15:55   #5  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 5,917
Cant actually remember what I used to create the chm files, (I've got about 5 or 6, trawled from somewhere like
SoftPedia) chm processors including an MS one, none of them are terribly good. As the 2.6 help has changed
quite a bit since last one on mediafire, I shall I think have another go when next 2.6 is released.

@All, the 2.6 CHM help on MediaFire in sig is advised even if using 2.58, new functions etc are
flagged as 2.6 and quite a few corrections and updates on the 2.58 help.
Also a list of bugfixes and changes in 2.6 relative 2.58.

EDIT: It's also nice to have the help available on a HotKey (CTRL/ALT/H for me).

If anyone knows of a good freeware CHM processor, preferably with an auto indexer, here
would be a good place to post it, thanks.
If I should find a good processor, I shall post it here.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 2nd July 2012 at 02:00.
StainlessS is online now   Reply With Quote
Old 28th June 2012, 21:31   #6  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 5,917
@LigH,

Found an indexer which sounds good (have only installed, not tried), is pretty impossible to find on the
net as all links point to it's home site and the exe is missing from the directory there. However, using
FreeDownLoadManager-SiteExplorer I found an old version (latest supposed to be 2.9, found one is 2.5).

EasyHHK

Home site with broken download:
http://www.wilybeagle.com/wilybeagle...k/easy_hhk.htm

Working download link:
http://www.wilybeagle.com/wilybeagle...ad/Ehhk_25.exe

Can you link the Spanish one, I'de like to take a peek. Thanks.

EDIT: As one of the versions of EasyHHK was flagged on some site as being Trojan infected,
I took the precaution of uploading the 2.5 exe to VirusTotal.com where it was given a clean bill of
health by 42 AV scanners.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 28th June 2012 at 21:42.
StainlessS is online now   Reply With Quote
Old 29th June 2012, 07:01   #7  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,605
The spanish indexer is only downloadable for members of the Embarcadero (former Borland) community, it was an undocumented tool with minimal sources and executable. It is unable to descend into subdirectories because it uses a file list box (reflecting files in a directory directly) as selection of sources to be processed.

http://cc.embarcadero.com/Item/18035

I read in overview.htm that it was autogenerated by wilbertd; so if the documentation is automatically generated, this document generator will probably know best which structure the TOC should have, and which relevant keywords exist. But if I had to write a new tool which scans the available documentation, I would probably make it scan overview.htm and quick_ref.htm (at least) with specific previous knowledge.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 29th June 2012, 17:00   #8  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 5,917
Thankyou for the link and info, I dont speak Delphi, but am pretty sure I have several full
versions of Delphi given away on magazine cover disks many years ago.

I also found several sources for indexer, one a python script, one in assembler, and at least one
a linux C/CPP, but most indexer stuff found is about $99-$150 (usually demo/trial masquerading
as Freeware). I'll sort through what I trawled, discard the the dross and send you links to
anything that might be useful.

I dont want to spend much time on this at the moment as I'm currently modding the DGIndex Batcher
thing to insert Aspect Ratio (and a few other infos) into the AVS templates as DGIndex does for filenames and AudioDelay.
I'm just gonna insert the text representation of AR and let those that care about the variety of eg 16:9 (PAL/NTSC/ bog standard)
deal with it in whatever way they wish (probably using stickboy's SelectByString).

A snap of the wiki and SDK stuff might also be good in CHM.

EDIT: Just re-noticed, that Avisynth 2.5 compressed (CHM) help is present in the v2.6 CVS source as English.chm
and German.chm (from 2004, probably same one as present in AVSEdit).
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 30th June 2012 at 21:03.
StainlessS is online now   Reply With Quote
Old 29th June 2012, 19:03   #9  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,605
It probably compiles well with Lazarus (IDE for FreePascal) too.

And let's see if I can lure wilbert here, he may have another idea...
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 30th June 2012, 17:54   #10  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 5,917
English.hhp from SourceForge.org (CHM Project file, presumably for the 2004 version English.chm).

Code:
[OPTIONS]
Compatibility=1.1 or later
Compiled file=..\..\english.chm
Default Window=Main
Default topic=index.htm
Display compile progress=No
Full-text search=Yes
Language=0x409 English (United States)
Title=AviSynth Manual

[WINDOWS]
Main="AviSynth Manual",,,,,"http://www.avisynth.org","AviSynth website",,,0x42520,,0x4300e,[0,0,740,520],,,,,,,0


[FILES]
corefilters.htm
externalplugins.htm
twopointfive.htm
faq.htm
index.htm
overview.htm
quick_ref.htm
syntax.htm
changelist.htm

[INFOTYPES]
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is online now   Reply With Quote
Old 30th June 2012, 21:14   #11  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,310
I used HTML Help Workshop to make the english.chm: http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx
You need to copy two files to the \docs\english\* folder: the project file "english.hpp" and the table of contents file "Table of Contents.hhc":

http://avisynth2.cvs.sourceforge.net...v=Avisynth_255
http://avisynth2.cvs.sourceforge.net...v=Avisynth_255

Just click on download. Start HTML Help Workshop and open english.hpp. The table of contents file will open automatically. If not you need to open it in the contents tab. The latest version is based on v2.55 so it's a bit outdated

Adding headings and files works as follows: Go to the contents tab. Left-click on the left plane (for example on 'Avisynth manual' and select 'add heading'. Now you can add an 'entry title' (let's say FAQ) and a html file (let's say faq_sections.htm). With the arrows you can move it to the correct place.
Next you can add pages to that heading in the same way. Pages can be separate html files or references in a html file.

If it's ready, save everything, go to File->Compile and it will create a chm file.

Good luck! Let me know if you run into problems.

edit: mmm. I saw that i changed it later on:

http://avisynth2.cvs.sourceforge.net...g&pathrev=MAIN

I removed the table of contents file and replaced it by index.htm (which is the default topic). So if you open the resulting chm file, you will see index.htm. index.htm refers to overview.htm and syntax.htm. So the only thing you need to do is to update overview.htm. You also need to add (under files in the project tab) the files you referenced to in overview.htm i guess.

Last edited by Wilbert; 30th June 2012 at 21:30.
Wilbert is offline   Reply With Quote
Old 30th June 2012, 23:55   #12  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 5,917
Thanks very much for that Wilbert,

@ All: Here some links may be of interest:

--------------------------------------------------------------------------------------------------------------

CHM CREATORS:

Microsoft HTML Help Compiler (Downloads & docs, Free, Dont forget to download HelpDocs.zip)
http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx

Vizacc HelpMaker 7.4 Build 4, (FreeWare, 27MB, EXCELLENT, No longer developed)
http://www.downloadsource.net/3574/HelpMaker/

ChmProcessor: (GNU GPL) Word/HTML to CHM, Web Help, PDF/XPS, Java Help.
http://chmprocessor.sourceforge.net/

KEL CHM Creator (Freeware)
http://dumah7.wordpress.com/2009/02/...tor-v-1-3-3-0/

FAR HTML (EXCELLENT, SHAREWARE [$72 single licence], 2 month non-crippled trial, then Nagware), File, HTML, HTML Help 1.x, MS Help 2.x.
Also links to other HTML Help resources. Despite Shareware, is very good and resource links might come in handy, so listed.
http://www.helpware.net/

WebToCHM (Freeware, create a CHM file from a Website)
http://webtochm.converterfreeware.com/
--------------------------------------------------------------------------------------------------------------
CHM DECOMPILERS & TOOLS:

KEYTOOLS: (no longer directly available from supplier), Freeware, Tools and internal info about CHM files. Looks VERY GOOD.
http://our.componentone.com/2012/05/...hm-decompiler/
(the contents of zip is .txt file, rename to .exe [Sometimes use '.txt' so that eg hotmail will not block exe when sending in email])

Chm decoder (Free)
http://www.gridinsoft.com/chm.php

CHMUnpacker (Was Shareware, now Freeware, GET SERIAL on below page), Extract individual files from CHM.
http://www.bobsoft.com/chmunpacker/

NorthBright CHM Tool (Free, decompile or Extract individual files from CHM).
http://www.northbright.com/chmtool/index.html

Atop, Free CHM to Text Extractor (Free but commercial, may try to sell you something)
http://www.chmconverter.com/download.htm

MSDNIntegrator (Free, source + exec, Integrate your own CHM help into MSDN collections - DEVELOPERS ONLY)
http://www.codeguru.com/cpp/w-p/help...ntegration.htm
--------------------------------------------------------------------------------------------------------------
HTML INDEXERS for CHM:

EasyHHK 2.5 CHM Indexer (free)
http://www.wilybeagle.com/wilybeagle...ad/Ehhk_25.exe

HTMLIndexer (Free if subscribed to free email subscription [search for "HTMLIndexer" on page])
http://itobserver.blogspot.co.uk/200...on-in-chm.html

AutoIndex (Free to free to register users of site, Spanish Only, Delphi source)
http://cc.embarcadero.com/Item/18035
--------------------------------------------------------------------------------------------------------------
HXS to CHM CONVERTERS: (MS HXS version 2 help to v1 CHM, so can read without Visual Studio 2010)

HXStoCHM : (free)
http://www.jsware.net/jsware/hxs2chm.php5
--------------------------------------------------------------------------------------------------------------
HTML to TEXT CONVERTERS:

HtmlAsText (Freeware, Batch conversion, many other great system and other utils, similar quality to SysInternals Tools)
(Some Nirsoft Tools will annoy Antivirus scanners, as they eg recover passwords, but are clean so long as obtained from NirSoft.
Of course, system/hack tools could be used for nefarious purposes, but if YOU choose to download then dont be surprised if
your AV scanner tells you they could endanger someones system. If you found them on your system and YOU did not download
them, then THAT is the time to get worried.)
http://www.nirsoft.net/utils/htmlastext.html

HTML2TXT (Freeware, Batch conversion)
http://www.bobsoft.com/html2txt/

Wizbrother HTML2TXT (free, Batch conversion)
http://wizbrother.com/tools/html2text.html

Text Mining Tool (Freeware, 8MB, PDF, DOC, RTF, CHM, HTML files to text, requires dot net 2)
http://text-mining-tool.com/

Thinner (Freeware, Text editor with conversion. Convert HTML or e-mail documents to plain text. Requires VB6 Runtimes.)
http://www.downloadatoz.com/developer-mike-foley.html
--------------------------------------------------------------------------------------------------------------
DIRECTORY to HTML GENERATORS: (Scan hardrive, generate list of dir/file as HTML, eg click on HTML link, play mp3)

DirHtml (Eric Nitzsche, Free)
http://dirhtml.home.comcast.net/~dirhtml/

ArcLab Dir2HTML (free, + other free utils)
http://www.arclab.com/products/dir2html/

MiTeC DirList (Freeware + many other great system and other utils)
http://www.mitec.cz/dirlist.html

Mihov Index Maker (Freeware)
http://www.mihov.com/eng/im.html
--------------------------------------------------------------------------------------------------------------
DOCUMENTATION & SPECS:

TODO
--------------------------------------------------------------------------------------------------------------


EDITED:
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 2nd July 2012 at 16:07.
StainlessS is online now   Reply With Quote
Old 1st July 2012, 10:33   #13  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,310
Quote:
Thanks very much for that Wilbert,

Been searching the net for about 35 hours now (counting sleep time) and am well sick of it.
Could you tell me want you want to do? I explained to you how you can create a chm file from the offline docs and i thought you wanted to do that ...
Wilbert is offline   Reply With Quote
Old 1st July 2012, 14:09   #14  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 5,917
Yes, Wilbert, you are correct. I was just trawling to find what freeware chm processing tools
were out there before doing a v2.6 update of the chm. Was also keeping lookout for HTML parsers
and the like, and CHM formats & specs. (I like to have a reasonably extensive selection of data & tools
to choose from and the ones I had where several years old).
EDIT: Put the list of links up for anyone else interested in similar. May pare down or add to that list.

Have already downloaded the offline docs updates from sourceforge, everything that I thought might be
new since Alpha3. Will start looking to do the chm after getting the remainder of my trawling session
results sorted.

EDIT: I shall try to keep a note of everything I did to create the CHM, and tools used and post in this thread
those notes, and also any updates to eg hhp etc files, so that I know what I did in future and anyone else
could reproduce their own version.

EDIT: Will I think also have a go at snatching a snap of the Wiki (damn another trawl session for snatching s/w)
and do CHM for that and the SDK.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 1st July 2012 at 14:40.
StainlessS is online now   Reply With Quote
Old 2nd July 2012, 02:26   #15  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 5,917
Updated list of CHM related software in post #12 above.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is online now   Reply With Quote
Old 3rd July 2012, 06:06   #16  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 5,917
@Wilbert,

Getting this on compiling CHM,

Code:
HHC3004: Warning: ttempSmooth.htm : The HTML tag "= 0.0 to disable scenechange detection.</p" is not a valid HTML tag (it does not begin with an alphanumeric character).
English\externalfilters\ttempSmooth.htm
source
Code:
<p>      The standard scenechange threshold as a percentage of maximum possible change of the luma plane.
      A good range of values is between 8 and 15.  Use the debug output option to see what frames
      are detected as a scenechange and the difference value calculated for each frame.  Set scthresh
      to <= 0.0 to disable scenechange detection.</p>

<p>      default =  12.0 (float)</p>
Dont remember to much about HTML but would presume it needs some kind of escape character.
Could probably figure it out myself, but I've got to get up in about two hours and I''de like to get a little
sleep. I'de also prefer to fix it same way as it would be fixed officially.

When decompiled, It has an extra syntax_internal_functions_boolean.htm and
syntax_internal_functions_control.htm in the docs directory, same level as english\,
If you want to take a peek, I'll post a copy of the English.chm, which
will contain and decompile to an English folder, avisynth.css,
english.hhp, english.hhc (mostly same as original 2.6.chm), no .hhk
index yet, an english.txt, (instructions to create so far), and an
english_table.htm (which is just a table containing links to all of the source
htm's and pics. Some of the source files have been updated from sourceforge.
After decompile, you can delete the extra generated files noted above and re-compile
again, with same results. (you should not need to generate the english_table.htm again,
unless the number or names of source files changes).

Anway, if you wish to take a peek at what I've got so far, here it is.
EDIT: Link Removed.

And if not, thats ok, I'll figure it out myself in time.

Thankyou and good night.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 7th July 2012 at 01:25.
StainlessS is online now   Reply With Quote
Old 3rd July 2012, 07:37   #17  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,605
Correct, there are a few reserved characters in HTML which must be escaped { < = &lt; | > = &gt; | " = &quot; | & = &amp; }.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 3rd July 2012, 21:26   #18  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 5,917
Thankyou Ligh, brings back vague memories.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is online now   Reply With Quote
Old 4th July 2012, 09:39   #19  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 5,917
@Wilbert,

Found the problem that causes MS Help Workshop to generate extra files in a CHM file.

syntax_userdefined_scriptfunctions.htm:

Lines 86-89

Code:
      <li>Normally, you should use the <a href="../../../docs/english/syntax_internal_functions_boolean.htm" title="Internal functions/Boolean functions">Defined</a>
        function to test if an optional argument has an explicit value, or the <a href="../../../docs/english/syntax_internal_functions_control.htm" title="Internal functions/Control functions">Default</a>
        function, which combines the Defined test with the delivery of a default
        value if appropriate.</li>
Think the two lines containing "../../../docs/english/" should be edited to remove quoted text from html source.

EDIT: The two offending lines also fail in the HTML Avisynth documentation with a "File Not found" message.

EDIT: Previously mentioned ttempSmooth.htm '<' to '&lt' fix has been applied by IanB on CVS

EDIT: file "advancedtopics/importing_media.htm" could also stand some attention:
lines 525-533
Code:
<h2>
To Do
</h2>

<ul>
  <li>The following should be added: tpr, aup, RaWav (&gt;4 GB WAVE files), ffmpegsource,</li>
  <li>../docs/english/faq_loading_clips.htm#How_do_I_load_MP4.2FMKV.2FM2TS_into_AviSynth.3F,
swf (ffmpegsource) should be added.</li>
</ul>
Remove "docs/english/" leaving "../faq_loading_clips.htm"
Not a problem right now but would be if implemented as noted.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 4th July 2012 at 11:19.
StainlessS is online now   Reply With Quote
Old 4th July 2012, 12:24   #20  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 5,917
Apart from above noted problems in source html files,

Have downloaded and installed LinkChecker from SourceForge:
http://sourceforge.net/projects/link...urce=directory
EDIT: Do NOT use above link, is old bugged one, use this:-
http://wummel.github.io/linkchecker/

Run against Local Avisynth website with above problems already fixed produces
Code:
Statistics
Number of domains: 149
Content types: 73 image, 2675 text, 0 video, 0 audio, 45 application, 4 mail and 21 other.
URL lengths: min=18, max=142, avg=44.

That's it. 2818 links checked. 156 warnings found (108 ignored or duplicates not printed). 120 errors found.
Not all of the warnings are pertinent, as some are down to the eg Robots.txt denying access to LinkChecker,
but there are broken links that could stand attention.

Here html output of LinkChecker:
EDIT: Link removed.

EDIT: Two of the errors in the linkchecker output are false, due to missing gpl.txt and lgpl_for_used_libs.txt
being missing two directories above 'docs/english/' as did not scan against Avisynth in Program Files dir.

EDIT: The LinkChecker HTML output has active links to the problem causing files & URL's

EDIT: A few of the LinkChecker Warnings are just due to link using different casing to the filename.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 11th October 2013 at 17:19.
StainlessS is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:36.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.