Difference between revisions of "Noad"

From VDR Wiki
Jump to: navigation, search
(Category)
(Links)
 
(7 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
==Description==
 
==Description==
'''NoAd''' is a program for commercial detection in vdr recordings. It uses several characteristics of the film, like station logos and AC3 sound, for the detection and produces cutting marks for the recording.
+
'''NoAd''' is a program for detecting commercials in vdr recordings. It uses several characteristics of the film, like station logos and AC3 sound, for the detection and sets the cut marks accordingly.
  
 
==Hardware requirements==
 
==Hardware requirements==
Line 19: Line 19:
 
</pre>
 
</pre>
  
Now you can install NoAd an usual
+
Now you can install NoAd as usual
 
<pre>
 
<pre>
 
cd $SOURCEDIR
 
cd $SOURCEDIR
Line 32: Line 32:
 
==Configuration==
 
==Configuration==
 
It's best to start NoAd through the ''reccmds.conf''. So Add the following lines
 
It's best to start NoAd through the ''reccmds.conf''. So Add the following lines
<pre>
+
 
Start advertising filter      : /usr/local/bin/noad.sh start
+
Run noad                        : /usr/local/bin/[[:de:noad.sh|noad.sh]] -start
View Cut list                 : /usr/local/bin/noad.sh marks
+
Run noad, all recordings (batch) : /usr/local/bin/[[:de:noad.sh|noad.sh]] -batch
Advertising filter overview  : /usr/local/bin/noad.sh count
+
View Cut list                   : /usr/local/bin/[[:de:noad.sh|noad.sh]] -view
Stop advertising filter      : /usr/local/bin/noad.sh stop
+
In prozess                      : /usr/local/bin/[[:de:noad.sh|noad.sh]] -count
Stop all advertising filters? : killall noad
+
Stop noad (killpid)              : /usr/local/bin/[[:de:noad.sh|noad.sh]] -killpid
</pre>
+
Stop noad (killall)?             : /usr/local/bin/[[:de:noad.sh|noad.sh]] -killall
 +
Remove all marks                : /usr/local/bin/[[:de:noad.sh|noad.sh]] -marks.vdr
 +
Remove all pids                  : /usr/local/bin/[[:de:noad.sh|noad.sh]] -noad.pid
  
 
==Parameter==
 
==Parameter==
Line 59: Line 61:
 
| -o || --overlap || try to detect repeating sequences before and after the break
 
| -o || --overlap || try to detect repeating sequences before and after the break
 
|-
 
|-
| -a || --ac3 || experimentel: use ac3-sound for ad-detection
+
| -a || --ac3 || experimental: use ac3-sound for ad-detection
 
|-
 
|-
| -j || --jumplogo || looks for vertikac drifted logos
+
| -j || --jumplogo || looks for vertical drifted logos
 
|-
 
|-
 
| -O || --OSD || sends an OSD-Message to the running VDR-instance(localhost:2001) for Start and End
 
| -O || --OSD || sends an OSD-Message to the running VDR-instance(localhost:2001) for Start and End
Line 69: Line 71:
 
| -B || --backupmarks || saves an exsiting marks.vdr to marks0.vdr
 
| -B || --backupmarks || saves an exsiting marks.vdr to marks0.vdr
 
|-
 
|-
| -n || --nelonen || special behavior for finish stations
+
| -n || --nelonen || special behavior for finnish stations
 
|-
 
|-
 
| -V || --version || shows the Version and exits
 
| -V || --version || shows the Version and exits
Line 75: Line 77:
  
 
==Tips==
 
==Tips==
After using NoAd to mark all commercials in a recording one shouldn't use the cutting function of VDR blindly. NoAd is not perfect and the telestation do some nasty things with there logos. So it's always better to look manually over the cutting marks bevor really cutting.
+
After using NoAd to mark all commercials in a recording you should re-check the marks. NoAd is not perfect and the telestations do some nasty things with their logos. So it's always better to manually check the cut marks before actually cutting.
  
 
==Problems==
 
==Problems==
Line 82: Line 84:
 
{|
 
{|
 
| [1]
 
| [1]
| http://www.freepgs.com/noad
+
| http://noad.freepgs.com
| Noad homepage
+
| Noad homepage (oboselete)
 
|-
 
|-
 
| [2]
 
| [2]
Line 96: Line 98:
 
| http://linvdr.org/download/noad
 
| http://linvdr.org/download/noad
 
| linvdr.org (mirror)
 
| linvdr.org (mirror)
 +
|-
 +
| [5]
 +
| http://noad.heliohost.org/
 +
| Noad new home (german)
 
|}
 
|}
  

Latest revision as of 20:54, 16 April 2011

Description

NoAd is a program for detecting commercials in vdr recordings. It uses several characteristics of the film, like station logos and AC3 sound, for the detection and sets the cut marks accordingly.

Hardware requirements

Software requirements

  • libmpeg2
  • ImageMagick (optional)

Installation

First install libmpeg2

cd $SOURCEDIR
tar xvzf mpeg2dec-<VERSION>.tar.gz
cd mpeg2dec-<VERSION>
./configure --prefix=/usr/local
make
make install

Now you can install NoAd as usual

cd $SOURCEDIR
tar jxvf noad-<VERSION>.tar.bz2
cd noad-<VERSION>
./configure --with-mpeginclude=/usr/local/include/mpeg2dec
make
make install

NoAd needs write access to the video directory!

Configuration

It's best to start NoAd through the reccmds.conf. So Add the following lines

Run noad                         : /usr/local/bin/noad.sh -start
Run noad, all recordings (batch) : /usr/local/bin/noad.sh -batch
View Cut list                    : /usr/local/bin/noad.sh -view
In prozess                       : /usr/local/bin/noad.sh -count
Stop noad (killpid)              : /usr/local/bin/noad.sh -killpid
Stop noad (killall)?             : /usr/local/bin/noad.sh -killall
Remove all marks                 : /usr/local/bin/noad.sh -marks.vdr
Remove all pids                  : /usr/local/bin/noad.sh -noad.pid

Parameter

Parameter (short) Parameter (long) Description
-s --statisticfile name of the file for statistic-data
-v --verbose increments the log-level, can be given multiple
-b --background start noad as backround-process
-p --priority priority when running as background-process [20...-20] default is 20
-c --comments adds comments to the marks in marks.vdr
-o --overlap try to detect repeating sequences before and after the break
-a --ac3 experimental: use ac3-sound for ad-detection
-j --jumplogo looks for vertical drifted logos
-O --OSD sends an OSD-Message to the running VDR-instance(localhost:2001) for Start and End
-S --savelogo saves the detected logo for later usage
-B --backupmarks saves an exsiting marks.vdr to marks0.vdr
-n --nelonen special behavior for finnish stations
-V --version shows the Version and exits

Tips

After using NoAd to mark all commercials in a recording you should re-check the marks. NoAd is not perfect and the telestations do some nasty things with their logos. So it's always better to manually check the cut marks before actually cutting.

Problems

Links

[1] http://noad.freepgs.com Noad homepage (oboselete)
[2] http://libmpeg2.sourceforge.net libmpeg2 Homepage
[3] http://www.imagemagick.org ImageMagick homepage
[4] http://linvdr.org/download/noad linvdr.org (mirror)
[5] http://noad.heliohost.org/ Noad new home (german)