MSU TV Commercial Detector
- Project: Dr. Dmitriy Vatolin
- Implementation, ideas: Alexander Voronov
Project Assistance
You can help us by providing broadcasting samples (sports, movies, talk-shows, etc.) with uncut commercial. Mail to no-tv-ad@compression.ru.
Introduction
Commercial breaks take up to 20% time of broadcasting. When you record television programmes for home collection, it is reasonable to cut out commercial blocks in order to reduce size of the videofile and keep your time, that is usually spent on fast forwarding of advertisements. Commercial breaks can be detected by estimating special features of segments and by tracking of tv-channel logo.
MSU TV Commercial Detector
MSU TV Commercial Detector is a tool for TV Commercial Detection. Program uses videofiles with broadcasting as input. After processing it writes AviSynth script with marking showing what videoframes to exclude.
Work of algorithm
Instruction
You need to install AviSynth for normal work of program. You can download it from official site avisynth.org.
Program is launched from command line. You need to enter only one
parameter: name of the processing file.
Example:
msu-commdetector.exe example.mpg
Program will create avs file to open video and then will proceed to work. When program is launched without paremeters it tries to open file “source.avs” in home folder. The result of program work will be a textfile “result.txt” with marking of commercial block by frames and avs script removing these commercial blocks from video. Made avs file can be opened with any program working with avi (for example: VirtualDub, MeGUI, AviDemux, etc.).
Program screenshot
Examples of work
Advanced settings
In file commdetector.ini you can specify advanced settings.
AnalyzeLogo = 0
Don’t perform logo extraction. Useful for TV channels where logo doesn’t fade for commercial time or in cases when program gives result that don’t seem to be truth.
ExtractCommercial = 1
To create avs script including only commercial. May be useful for checking whether program is working correctly or not.
WriteDebugScript = 1
To create avs script where every block is subscribed as commercial or non-commercial.
Sometimes program yields wrong results by reason of incorrect work of
installed in system MPEG-2 decoder. You may use external decoder to
solve the problem. Download archive (1.45
MB)
and unpack its content to folder c:\Program Files\AviSynth
2.5\plugins\
Also it’s necessary to specify in settings file using of external
decoder:
ExternalDecoder = 1
Download
MSU TV Commercial Detector 0.2 alpha (100 KB)
Contacts
If you find an error in program work or you have any suggestion, please
contact us.
Also we will be very thankful if you provide records of broadcasting for
us.
E-mail: no-tv-ad@compression.ru
-
MSU Benchmark Collection
- Super-Resolution for Video Compression Benchmark
- Video Colorization Benchmark
- Defenses for Image Quality Metrics Benchmark
- Learning-Based Image Compression Benchmark
- Super-Resolution Quality Metrics Benchmark
- Video Saliency Prediction Benchmark
- Metrics Robustness Benchmark
- Video Upscalers Benchmark
- Video Deblurring Benchmark
- Video Frame Interpolation Benchmark
- HDR Video Reconstruction Benchmark
- No-Reference Video Quality Metrics Benchmark
- Full-Reference Video Quality Metrics Benchmark
- Video Alignment and Retrieval Benchmark
- Mobile Video Codecs Benchmark
- Video Super-Resolution Benchmark
- Shot Boundary Detection Benchmark
- The VideoMatting Project
- Video Completion
- Codecs Comparisons & Optimization
- VQMT
- MSU Datasets Collection
- Metrics Research
- Video Quality Measurement Tool 3D
- Video Filters
- Other Projects