The basic idea I show you here is how to write a script in C# that determines if a video matches your search criteria or not and put the matching videos in a custom Bin.
You will learn by a simple step by step example how to write a script that goes through all videos in you catalog and puts all short videos(the critera we have as an example) in a bin.
After you have this skill you can expand your skill and continue to experiment.
About the native video search
Fast video cataloger has a very powerful, fast and simple search engine. The text below show how easy you can extend it even more with advanced custom video search in C#.
Our simple user interface make searching in Fast video cataloger straight forward for everyone. However, we do not provide a SQL interface for search so there are searches you can simply not express given our user interface. With the scripting interface you can do basically anything.
AI For example… What if you want to search with facial recognition or object detection or the next big thing in AI and video?
You an do all this and more by leveraging the scripting capabilities in Fast video cataloger
step by step breakdown on the Video search script in c#
Run(…) in the code below, is the entry function where the execution of the script starts.
static public void Run(IScripting scripting, string argument)
FilterToBin instance = new FilterToBin(scripting);
I have encapsulated all functionality in a class called “FilterToBin” that has two functions.
SetBinTarget() let you set the name of the Bin that will be used for search results. Please note that this Bin will be cleared every time you run the search.
Filter() does the actual filtering of videos.
private void Filter()
var catalog = m_Scripting.GetVideoCatalogService();
VideoQuery query = new VideoQuery();
VideoFileEntry videos = catalog.SearchVideos(query);
long bin_id = CreateBin();
foreach (VideoFileEntry entry in videos)
The Filter() function first does a search to get all videos. In this example we pass in en empty VideoQuery object. That will give us all videos in the catalog. You can of course leverage the search here and first do a high level search to get a subset of your videos and then apply a more advanced search on that subset.
We then call CreateBin() to ensure we have a bin to put our results in. If we look closer in the FilterToBin class the CreateBin member function has some logic to create a Bin if its not already created and clear it from videos if it already exists.
Finally we iterate over all videos and call the IsVideoPassingFilter() function on each video. Videos that pass the test are put in the result Bin.
Fast video cataloger lets you manage any type of photos together with your video files.
In Fast video cataloger, everything starts with a video. Fast video catalog is far from a traditional photo viewer program.
For photos, this means that you link photos to videos and that photos are filtered for the video.
We call photos stored in Fast video cataloger for companion images.
Companion images can be any type of digital image in jpeg or png file format.
What companion images you want in your catalog depend on the application. If you have a catalog of normal play films, like a movie you would find at imdb. Then, typical companion images are probably cover images, posters, pictures from the release party.
If you use Fast video cataloger for your company. Then, the companion images could be images shot at meetings and presentations, photos of a whiteboard, people in the meeting and so on. For these applications remember that you can also add extended video properties. In that way, it is possible to link other file types to your videos.
Type of images that fast video cataloger can handle
A companion image is any type of image set to a video. A companion image can be set as cover a front or back cover for a video. We also have the concept of Actor portrait image and Actor companion image.
How to add photos to your catalog
The easiest way to add images to a catalog is to add them automatically when you add a video to your catalog. You can control if and how companion images are added from the preferences. The program can automatically add companion images that are stored in the same folder or subfolder relative to the video file.
The companion image browser has a button to rescan a folder structure. Use this if to add companion images to a video that was scanned without images.
You can also go into the repair function and do a scan to find companion images in a subfolder to videos that are not in the catalog.
Add companion images by dragging the image files to the companion image window.
Browsing photos for a videos
The “companion image browser” window displays thumbnails of the companion images for the selected video. The “preview image” window shows the selected image (and you can zoom with the mouse wheel).
The “Cover” window only shows the front and back cover image for the video.
The “Companion & Cover image” is a more compact window that combines the above three windows into one. It shows a scrollable list of thumbnails. When you move the cursor to the bottom of the window it lists all companion images. The currently selected image is displayed in the same window.
In the “Attract cover images” window you can see a slideshow of random cover images for all videos in your collection. There is also a setting in the preferences, “Include Companion images”. When this is checked you will get all companion images for all videos, not just covers.
Nice things with companion images
If you have companion images setup for a video you can move it in the file organizer and the companion images will move with the video files.
Right-click in the “companion …” window you can select to use a cover image as the image to represent a video in the video catalog (for example a cover).
Fast video cataloger is the best way to manage large local video collections. Metadata allow you to quickly search and find what you are looking for. This text will help you work smart and save time with video folders in Fast video cataloger.
Video metadata and the catalog
In Fast video cataloger, all metadata is stored in a video database called a video catalog. The metadata allows you to tag videos for searching, add descriptions to videos and quickly preview thumbnails from videos.
There are several reasons why keeping the metadata catalog separate from the actual video files is a very good idea.
Making a backup of the metadata is easy as the size of it is small.
Search is quicker as the metadata is separate and in one place.
You can still access videos using external programs as the original video file exists and is not bundled inside a database.
Issues with storing absolute paths
In Fast video cataloger, the videos in the catalog are references through paths.
But… there are some issues with storing links to videos as paths that all boil down to the link can become invalid.
If the device where the videos are stored changes name the path breaks for all videos on that device. This is very common if you, for example, have videos on external drives that are mounted in different orders.
If you want to move your catalog to another computer, all links need to be updated.
If you share videos through dropbox but the dropbox folder is on a different location on different computers.
Fast video cataloger has a repair function that you can use to scan the catalog for broken paths and update them.
Using special video folders
Recently we added a new feature in Fast video cataloger called special folders. They help you solve this problem much easier and quicker than before.
Special folders are variables (symbolic paths) at the start of a video path. Special folders are only resolved to real absolute paths when the video is actually accessed. Real paths are converted to special folders when a video is added to the catalog.
There are a few native special folders. And, you can define your own special folders from the “special folder” tab in preferences.
Local special folder
The first native special folder is [LOCAL]. Video paths starting with [LOCAL] are basically paths relative from your video catalog file. [LOCAL] resolves to the folder where your video catalog is stored. When you add a video to a folder that is stored in a subfolder relative to where your catalog file is, it will automatically be converted to a [LOCAL] path. This allows you to create a folder structure with your catalog in the root and all videos in subfolders. You can then move the whole folder structure to other folders or devices and all paths in your catalog will still work.
Cloud storage special folders
The second type of native special folders is cloud storage locations like [DROPBOX] and [ONEDRIVE]. They will automatically be used whenever you add videos from your dropbox folder if you have dropbox installed. The path for cloud storage is read from the Windows registry.
Custom special folders
You can also create your own special folders. You can for example create a mapping called [EXTERNAL] to an external USB drive. After you have set that mapping up and you add video from that external drive it will be stored as [EXTERNAL]/path to video file. If you then at a later point need to move that drive to another drive letter you can simply update the mapping in preferences and everything will work as before.
Using just a few keyboard shortcuts can get you a lot more efficient with Fast video cataloger. Here are the shortcuts I use regularly in Fast video cataloger.
Use the interactive smart search
Press CTRL – I to bring up the interactive smart search input field in the top bar. Type your search terms, and press “Enter” to search, then CTRL-I again to hide the window and go back to shortcut use. If you know your catalog this is by far the fastest way to filter a video collection. You can use the smart search to search keyword as well as other properties like for example the path. You can also use several search terms to quickly narrow down your search. If you for example type: c:\tmp\ 2019 you would find any videos in the c:\tmp folder or subfolders tagged with 2019.
Look in the documentation for how the smart interactive search works, if you are not using it you are missing out on one of the most powerful features in the software.
Iteractive video search lets you quickly drill down in huge video collections
Jump through the filtered video list
The ALT – o/l shortcut will let you go to the previous or next video in the current filtered list. It will work regardless of the video catalog window is visible or not.
Scrub through the selected video
Use ALT – j/l to jump to the next thumbnail in the currently selected video. This will let you quickly scrub through a video.
Use CTRL – “+” / “-“ to change the size of video thumbnails quickly. This can be very useful if you have lots of screens from a video and to see more of the video without using the mouse for scrolling.
And find the preferences
Press CTRL – p to instantly bring up the preferences.
Layouts are important
Setup a few ones and quickly switch between them with F1-F8. Layouts let you use the screen estate efficiently for your current tasks. Take the time to configure your own layouts.
Actions can have shortcuts
Did you know that you can assign custom shortcuts to actions and that actions can run external programs or fast video cataloger scripts?
All the shortcuts mentioned in this text are the default ones. You can reassign them if you would like to.
Check when you can use the Shift key. Some of the functions in the program have different meanings if the shift key is held down when the menu is selected. For example, the “Add to playlist” will work differently when the shift key is pressed.
The Videowall is meant to provide a massive preview of your entire catalog at once. It loops through all your video scenes in all your videos from start to end, all in the same window if it fits.
The Videowall is a great tool for quick overviews and can be used to get a first grasp of the content of the catalog holds for content or if you are looking for something special among lots of videos. For example, if you have over a hundred of long surveillance videos you might want to look at them all at once just to figure which ones to really look into.
Once you find something interesting simply double click to get all the video scenes(Video scenes or thumbnails are shortcuts to time in a video) for that video. From the Video Scenes window, you can start playing directly from each scene that you find interesting, just by clicking them.
This article will show you how to get the high-quality video playback on your Windows PC. I will show you how to use madVR, a very popular high-quality DirectShow video renderer that uses the power of your graphics card to provide fast and very high-quality video playback.
DirectShow is a software component system from Microsoft. With DirectShow, a developer can create a video player that supports all video formats on the market. This is possible without having to implement all the video formats. Players can also support new video formats without doing any update to the video player software. So pretty awesome, let’s dig more into how DirectShow works.
How DirectShow works
A DirectShow filter is a piece of software packaged in a file with the .ax extension. Filters are registered in the windows registry. Video players then query the Windows registry for filters. The application can then build a filter graph to transform frames from a video into pixels on the screen.
Let us break down the simplest type of DirectShow filter in an application.
First, the application uses an input filter to read the video file. The input filter sends the data to a decoder filter. The decoder filter decodes the video stream and sends it to a render filter. The render filer puts the pixels on the screen.
The reader filters are typically installed by default in Windows. Some older decoder filters are installed with Windows and you download more yourself and install them. These type of video decoder filters are often called codecs. Then there are standard render filters installed with Windows, you can also download and install your own render filters. These custom render filters usually do different types of filtering to reduce artifacts caused by the compression in the video files.
The naïve way to build a filter graph is to let directshow automatically connect the pins. Unfortunately, this simple approach often does not work very well due to filter incompatibilities. More advanced video software has lots of code to reliably manually construct the filter graph.
High quality video rendering
madVR is a very popular high-quality DirectShow video renderer that uses the power of your graphics card to provide fast and very high-quality video output.
Key madVR Features according to their homepage:
MadVR does High bitdepth processing (32bit per component)
It has high quality algorithms for scaling, sharpening, debanding, dithering etc.
It does Smooth motion playback without 3:2 pulldown judder even at 60Hz
Using forced film mode it turns 60i movies into perfect 24p
It has a very reliable playback using automatic fullscreen exclusive mode
To summarize, you will get better video playback quality with madVR. The improved quality is especially evident when you play older low-quality videos. To do its magic MadVR needs several decoded video frames. Because of this, it will take a few more moments until you see the first rendered image compared to using more basic renderers. If you are after high-quality video output madVR is the way to go.
How to install MadVR
Download the madVR zip file from their homepage and unpack it. Make sure to unpack to a folder where you can keep the files. Since madVR does not come with a normal windows installer the software will be installed to where you unpack the zip file.
Go to the unpacked folder, right-click on the install.bat file and select “Run as administrator”. This will register the madVR Directshow filter (madVR.ax) in your computer’s registry so that programs can find it.
Selecting to use MadVR for high-quality video playback
The integrated video player in Fast video cataloger, https://videocataloger.com/download natively supports MadVR. However, it is but it is not selected by default.
Start Fast video cataloger, open the preferences and go to the “Video Player” tab.
From the “Video player to use” dropdown menu select “Direct + madVR”. This will tell Fast video cataloger to use special code to build a filter graph using the madVR high-quality renderer.
In version 6.1 it is now possible to create virtual videos by combining sections from videos in your collection. It is basically an advanced playlist maker that allows you to create playlists of whole video clips or just a part of a video. You can use this to make a quick early draft before doing video editing or just play like a normal video. The playlists are not altering video files in any way and you can make playlists of videos in different formats and resolutions instantly without doing any type of re-encoding that would lead to quality loss. It is also super quick.
Video playlist window
Create a new virtual video playlist from the playlist window and then select a current playlist. There are three basic ways to populate your video playlist.
Add whole video clips to the playlist by right-clicking a video and selecting “add to playlist”.
Add a video segment by right-clicking a thumbnail and selecting “Add to playlist”. Doing that will att the segment from the time of the selected thumbnail to the next one. If you hold down shift while selecting add to playlist you simply add a short segment (you can select the length from preferences) from the time of the thumbnail to the playlist.
Right-click the camera icon in the video player to add a clip from the time where the video player is currently in the playing video.
You can re-order your clips with drag n drop after they have been added.
Extended thumbnail properties
Another new function in version 6.1 is the ability to add extended properties to thumbnails and to use that in searches. You could, for example, add a description to each thumbnail explaining the scene in words. Access this functionality from the video details window.
We have extended the scripting interface so you can leverage these new functions in your own custom solutions and we have added some more samples to give you a good start when doing your own video solutions based on fast video cataloger.
webm video files are recognized as standard video files
We have today released Fast video cataloger 6.02 with webm supported as a standard video file format. In the past it was possible to add webm either by adding the file specifially or setting webm as a custom video format in preferences. You can always do it that way with rare video formats. Fast video cataloger supports directshow filters so it supports rare formats and formats we have never even tested or are aware of as long as there is a directshow filter. Webm is becomming more common so we added it to the list of default extensions. When you add a folder it will treat your webm files just like it does with all other video files.
Docking framework updated
We have updated the docking framework that lets you configure your user interface across one or more displays. The update fixes a number of probolems where docking in some configurations did not work as expected. Remember that you can always reset your layout to the default if you want to start over with your layout. And if you are not using layouts you really should try it now.
Shortcuts to custom actions
You can now assign shortcuts to custom actions. You can, as before, crete custom action to launch external tools, access web resources or run custom scripts. By using custom actions you can integrate Fast video cataloger with your other software and workflows.
Imporved capture of wmv files
We have improved capture of wmv files. When you captured some type of bad wmv files the program could timeout when the video files were read from slow devices or over network.
I am very happy to be let you know that we have just released Fast video cataloger 6 with a massive number of changes and improvements. To make sure everyone gets a chance to test it out we have also reset all trial periods. Meaning even if you tried an earlier version, you can still give this one a test.
Video Metadata extraction
The biggest feature by far is that we have added the option to automatically extract metadata from video files. On the video index screen, you can now decide if you want to extract metadata from nfo files and/or from inside the videos. Extracted metadata will be stored as extended properties, and you view them in the video detail window. The new ctrl+I search function will match against extended properties as well allowing you to include codecs, video resolution and more in your searches.
Options to extract video metadata from video file
Viewing extracted video metadata in the general view
Video Search improvements
The search video functions have had a new interactive search field – search all. This search field allows you to quickly match a number of the different fields for your search terms. Each term is matched against name, path, description, keywords and custom video properties. If you enter more than one search term, each needs to to match the video but does not need to match the same property. This is an extremely powerful feature that will help you to quickly filter down to a few videos in large collections. For example, if you would search for “c:\ brother” the search would match all videos with the keyword “brother” with a path starting with “c:\”. But it would not match videos in other folders or videos in the c:\ folder that don’t have the “brother” keyword. I hope you see how this can be incredibly useful and powerful. We also added a special shortcut “Ctrl + i” that will toggle this search text field up in the top window bar regardless of what windows you have open.
User interface improvements
When you install the latest version, the first thing you will notice is that we have made a huge change to the user interface.! But don’t worry, you can still configure your user interface across one or more screens just as before. The changes are designed to make the program easier to understand for new users, and also more efficient for experts. The interface now works a bit more like the familiar Microsoft Office software.
There is a start page, “catalog”, where you do things like open catalogs, import/export catalogs, archive catalogs, repair, backup and protect catalogs and so on. These are all extremely powerful functions that are carried out on the complete catalog but rarely and this is where you switch between catalogs. By moving these functions to the catalog screen we get rid of quite a few items from the menus which makes them simpler. We also moved to task menus instead of drop-down menus. This allowed us to save some space and leave more area for the windows. It also lets you quickly toggle windows to configure your layouts and switch between them.
An improved user interface in fast video cataloger 6
We have changed how the default layouts work. The named layouts have now been setup so that their names make sense. i.e. the add videos layouts by default only have the windows you need to add videos. If you reset that layout, it will return to these windows. Before it returned to the standard layout. You can still change all of the layouts to your liking and quickly switch between them.
We added the ability to change the default shortcuts in the program. You can access this window from the “Catalog” screen.
The scripting interface has been extended with functions to mask and unmask videos.
Special folders can be accessed from preferences and allow you to set labels to root paths that will be used in the catalog. If you then change the root of videos, say from one drive to another, you can simply just update the special folder label.
The license system has been updated, so you will unfortunately need a new key for this version. If it is less than 2 years since you bought Fast video cataloger, you are entitled to a free upgrade. If you have already received a new key, please contact support and we will work that out for you.
We will eventually provide an affordable solution for customers who are running very old versions from more than 2 years back. Just contact us if you are in a hurry to get the latest version.
Give it a try
You can download the latest version of Fast video cataloger 6 from here. In this version, we also reset the trial license so even if you have tested the program before you get a new trial period, and we have extended the trial from 7 to 30 days.
Fast video cataloger (https://videocataloger.com) lets you build a quick and searchable database out of video metadata. The video database allows you to get a quick overview of lots of videos without the need to have the actual large video files available. It also lets you quickly search and browse for videos in your database. You can download the software from here; https://videocataloger.com/download/.
Adding video and extracting metadata
When you add a list of videos to fast video cataloger it will get metadata for the videos in a number of ways.
First, you have the option to add your own metadata. Enter any keywords, actors or other metadata in the “add video” window. Entering it here allows you to easily set shared metadata to a number of files. You can add more metadata later if you want to but this is a quick way to add the info you might already know about a batch of videos you are adding to your video catalog.
When you start adding the videos, Fast video cataloger will automatically scan through the video and extract thumbnails and store them in with your video catalog.
After scanning your video for thumbnails the program will search for an nfo file. If it finds an nfo file, it will read it and add the video metadata to your catalog. nfo files are expected to have the same name as the video file but with the .nfo extension.
Fast video cataloger will also scan the video folder for cover art and companion images based on the setting in preferences.
What is an Nfo file?
An nfo file is a plain text file. The metadata in the nfo file is stored as xml data. You can easily view the content in any plain text editor like notepad. In windows, nfo files are normally associated with system information. Therefore if you double-click an nfo file you will open the wrong program, right click and select open with and choose notepad.
What video metadata is read from an nfo files?
nfo files can contain a lot of different metadata. Fast video cataloger scans the nfo file for a description of the video which is used for video description, keywords that will be used to tag the videos and links to be stored in as a video link.
How to get nfo files?
Nfo files can be generated from a number of different programs like Kodi home theater, Plex Media Server and many more. If you are moving from any of these popular programs or are using them together with fast video cataloger you can easily export nfo file and get your video metadata into fast video cataloger.
Where does fast video cataloger store video metadata?
Fast video cataloger always stores its metadata in the catalog database file. I.e. it never stores video metadata in the video file. The reason is speed and the fact that there is no standard for how to store metadata in video files. Some file formats do not allow it, some do, and it all depends on the video file container. Another good reason to not store the metadata in the video file is that it might already contain metadata that you do not want to overwrite.
How to Search metadata
Meta data is included in your search. If you have not done so before try the smart Ctrl+i search to quickly find what you are looking for.