<<O>>  Difference Topic DigitalTelevisionAtscap (r1.23 - 03 Feb 2008 - PeterKnaggs)

META TOPICPARENT LinuxHints

Update: Inkling's atscap project has been cancelled, as of January 2008.

Line: 7 to 7

Please contact the author (Inkling) directly, regarding any concerns you may have with the notice.

Changed:
<
<
Please also refer to the extensive GPL license explanations on the FSF website.
>
>
Please refer to the GPL license explanations on the FSF website, especially this page. Some discussion of the notice can be found here and here.

Inkling's atscap

If you've been looking for a user-friendly tool to schedule HDTV recordings on Linux, Inkling's atscap (now a SourceForge.net project) is what you've been waiting for. See here to download the release candidate. The previous release of atscap was called pchdtvr, but the new name atscap is used because it works on any ATSC capture cards that
 <<O>>  Difference Topic DigitalTelevisionAtscap (r1.22 - 26 Jan 2008 - PeterKnaggs)

META TOPICPARENT LinuxHints

Update: Inkling's atscap project has been cancelled, as of January 2008.

The atscap project has been cancelled as of January 2008,

Changed:
<
<
and the following notice revokes its GPL license.
>
>
and this notice was posted by its author (Inkling).

Changed:
<
<
Full text of the notice follows (while reading, remember that "I" means the author, Inkling, of course).
Date: 2008-01-11 14:45
Subject: PUBLIC NOTICE: atscap and pchdtvr GPL revoked

Body: I have revoked the licensing under the GNU General Public
License (herein after referred to as "the GPL") for the
atscap version 1.1 codebase, all prior versions of the
atscap codebase and all the various release candidates of
the atscap codebase.

I have also revoked the licensing under the GPL for the
pchdtvr version 1.0 codebase, all prior versions of the
pchdtvr codebase and all release candidates of the pchdtvr
codebase, including all of the various interim pchdtvr
versions after version 1.0 and before the name was changed
to atscap.


As sole author of both the atscap and the pchdtvr codebases,
the licenses under the GPL were granted at my sole
discretion and the licenses under the GPL are now hereby
revoked at my sole discretion.


I am removing the atscap and the pchdtvr codebase packages
from all public and private distribution by asserting my
rights to control the usage and distribution of my own
creations as specified by the Copyright Laws of the United
States of America and the Protocols of the Berne Convention
for the Protection of Literary and Artistic Works.


The following files in the atscap distribution are affected:

atscap.c
atscut.c
xtscut.c
xsig.c
common.h
xtc_signals.c
btfd.sh
mpeg.sh
xtc.sh
get-samples.sh
atscap.1.gz
atscut.1.gz
xtscut.1.gz
atscap_conf.5.gz
atscap.README.gz
atscap.CHANGELOG.gz
atscap.FEATURES.gz
atscap.NEWS.gz
TODO
Makefile

and any binaries, executables, or text files that have been
compiled or installed, by action of the user or the Makefile
or any other method, that originated from the above listed
files.

The following files in the atscap distribution are NOT affected:

xtc_libvo.c
video_out.h
ingo-fifo.txt
rxsock.c
rzloop.c


The following files in the pchdtvr distribution are affected:

pchdtvr.c
atscut.c
xtscut.c
xsig.c
atscap.FEATURES
pchdtvr.FEATURES
pchdtvr.0.conf.sample

and any binaries, executables or text files that have been
compiled or installed, by action of the user or the Makefile
or any other method, that originated from the above listed
files.

The following files in the pchdtvr distribution are NOT
affected:

ingo-fifo.txt
rxsock.c


If you are currently using the atscap or pchdtvr packages,
or any part thereof, it is in your best interest to remove
the software from your system(s) and destroy all copies in
your possession.


If you have incorporated the atscap or pchdtvr codebase, or
any part thereof, into any of your projects, it is in your
best interest to remove any and all of my code from your
project(s).


If you are currently distributing the atscap or pchdtvr
packages, or any part thereof, it is in your best interest
to destroy all copies in your possession and notify all
recipients of either the atscap or pchdtvr packages, or any
part thereof, that the licensing under the GPL for both
packages has been revoked by the author.
>
>
Please contact the author (Inkling) directly, regarding any concerns you may have with the notice.

Changed:
<
<

PUBLIC NOTICE: atscap and pchdtvr GPL revoked 2008-01-11 14:45

>
>
Please also refer to the extensive GPL license explanations on the FSF website.

Inkling's atscap

If you've been looking for a user-friendly tool to schedule HDTV recordings on Linux, Inkling's atscap (now a SourceForge.net project) is what you've been waiting for. See here to download the release candidate. The previous release of atscap was called pchdtvr, but the new name atscap is used because it works on any ATSC capture cards that
 <<O>>  Difference Topic DigitalTelevisionAtscap (r1.21 - 26 Jan 2008 - PeterKnaggs)

META TOPICPARENT LinuxHints

Update: Inkling's atscap project has been cancelled, as of January 2008.

Added:
>
>

The atscap project has been cancelled as of January 2008, and the following notice revokes its GPL license.

Full text of the notice follows (while reading, remember that "I" means the author, Inkling, of course).

Date: 2008-01-11 14:45
Subject: PUBLIC NOTICE: atscap and pchdtvr GPL revoked

Body: I have revoked the licensing under the GNU General Public
License (herein after referred to as "the GPL") for the
atscap version 1.1 codebase, all prior versions of the
atscap codebase and all the various release candidates of
the atscap codebase.

I have also revoked the licensing under the GPL for the
pchdtvr version 1.0 codebase, all prior versions of the
pchdtvr codebase and all release candidates of the pchdtvr
codebase, including all of the various interim pchdtvr
versions after version 1.0 and before the name was changed
to atscap.


As sole author of both the atscap and the pchdtvr codebases,
the licenses under the GPL were granted at my sole
discretion and the licenses under the GPL are now hereby
revoked at my sole discretion.


I am removing the atscap and the pchdtvr codebase packages
from all public and private distribution by asserting my
rights to control the usage and distribution of my own
creations as specified by the Copyright Laws of the United
States of America and the Protocols of the Berne Convention
for the Protection of Literary and Artistic Works.


The following files in the atscap distribution are affected:

atscap.c
atscut.c
xtscut.c
xsig.c
common.h
xtc_signals.c
btfd.sh
mpeg.sh
xtc.sh
get-samples.sh
atscap.1.gz
atscut.1.gz
xtscut.1.gz
atscap_conf.5.gz
atscap.README.gz
atscap.CHANGELOG.gz
atscap.FEATURES.gz
atscap.NEWS.gz
TODO
Makefile

and any binaries, executables, or text files that have been
compiled or installed, by action of the user or the Makefile
or any other method, that originated from the above listed
files.

The following files in the atscap distribution are NOT affected:

xtc_libvo.c
video_out.h
ingo-fifo.txt
rxsock.c
rzloop.c


The following files in the pchdtvr distribution are affected:

pchdtvr.c
atscut.c
xtscut.c
xsig.c
atscap.FEATURES
pchdtvr.FEATURES
pchdtvr.0.conf.sample

and any binaries, executables or text files that have been
compiled or installed, by action of the user or the Makefile
or any other method, that originated from the above listed
files.

The following files in the pchdtvr distribution are NOT
affected:

ingo-fifo.txt
rxsock.c


If you are currently using the atscap or pchdtvr packages,
or any part thereof, it is in your best interest to remove
the software from your system(s) and destroy all copies in
your possession.


If you have incorporated the atscap or pchdtvr codebase, or
any part thereof, into any of your projects, it is in your
best interest to remove any and all of my code from your
project(s).


If you are currently distributing the atscap or pchdtvr
packages, or any part thereof, it is in your best interest
to destroy all copies in your possession and notify all
recipients of either the atscap or pchdtvr packages, or any
part thereof, that the licensing under the GPL for both
packages has been revoked by the author.


PUBLIC NOTICE: atscap and pchdtvr GPL revoked   2008-01-11 14:45

Inkling's atscap

If you've been looking for a user-friendly tool to schedule HDTV recordings on Linux, Inkling's atscap (now a SourceForge.net project) is what you've been waiting for. See here to download the release candidate. The previous release of atscap was called pchdtvr, but the new name atscap is used because it works on any ATSC capture cards that support the DVB api (e.g. the AirStar HD5000 PCI
 <<O>>  Difference Topic DigitalTelevisionAtscap (r1.20 - 10 Jan 2008 - PeterKnaggs)

META TOPICPARENT LinuxHints
Added:
>
>

Update: Inkling's atscap project has been cancelled, as of January 2008.


Inkling's atscap

If you've been looking for a user-friendly tool to schedule HDTV recordings on Linux, Inkling's atscap (now a SourceForge.net project) is what you've been waiting for. See here to download the release candidate. The previous release of atscap was called pchdtvr, but the new name atscap is used because it works on any ATSC capture cards that support the DVB api (e.g. the AirStar HD5000 PCI
 <<O>>  Difference Topic DigitalTelevisionAtscap (r1.19 - 29 Dec 2007 - PeterKnaggs)

META TOPICPARENT LinuxHints

Inkling's atscap

If you've been looking for a user-friendly tool to schedule HDTV recordings on Linux, Inkling's atscap (now a SourceForge.net project) is what you've been waiting for. See here to download the release candidate. The previous release of atscap was called pchdtvr, but the new name atscap is used because it works on any ATSC capture cards that
Line: 213 to 213

Added:
>
>

META FILEATTACHMENT atscap_program_guide.png attr="" comment="Program guide in atscap" date="1172373082" path="atscap_program_guide.png" size="24768" user="PeterKnaggs" version="1.2"
META FILEATTACHMENT atscap_web_interface.png attr="" comment="Web interface to atscap" date="1172374014" path="atscap_web_interface.png" size="67915" user="PeterKnaggs" version="1.1"
META FILEATTACHMENT signal_scan_nothing.png attr="" comment="atscap beginning the signal scan" date="1172459881" path="signal_scan_nothing.png" size="6402" user="PeterKnaggs" version="1.1"
META FILEATTACHMENT signal_scan_found_many.png attr="" comment="Signal scan almost complete" date="1172459990" path="signal_scan_found_many.png" size="4149" user="PeterKnaggs" version="1.1"
META FILEATTACHMENT signal_scan_auto_epg.png attr="" comment="Enable auto-EPG load?" date="1172460066" path="signal_scan_auto_epg.png" size="5478" user="PeterKnaggs" version="1.1"
META FILEATTACHMENT atscap_icons_guide.png attr="" comment="Guide to the atscap icons for the web interface." date="1172463555" path="atscap_icons_guide.png" size="5317" user="PeterKnaggs" version="1.1"
Added:
>
>
META FILEATTACHMENT atscut.052.out.bz2 attr="" comment="atscut -m3 -a15 -q 052.ts" date="1198918292" path="atscut.052.out.bz2" size="5374" user="PeterKnaggs" version="1.1"
 <<O>>  Difference Topic DigitalTelevisionAtscap (r1.18 - 24 Dec 2007 - PeterKnaggs)

META TOPICPARENT LinuxHints

Inkling's atscap

If you've been looking for a user-friendly tool to schedule HDTV recordings on Linux, Inkling's atscap (now a SourceForge.net project) is what you've been waiting for. See here to download the release candidate. The previous release of atscap was called pchdtvr, but the new name atscap is used because it works on any ATSC capture cards that
Line: 197 to 197

be lost if your system crashed). So for now it's best to launch atscap with the -E flag only once you have everything set up and working properly.
Added:
>
>

Linking atscap statically

For debugging, it may be useful to link atscap statically. This involves adding the -static flag, and then repeating the libraries -lpthread -lrt -lm -lpng -lz over again at the end of the link line:
gcc -static -Wall -lm -g -rdynamic -DUSE_GNU_BACKTRACE -DUSE_GNU_BACKTRACE_SCRIPT \
-DUSE_LIBRT -lrt -DUSE_DVB -DUSE_DYNAMIC -DUSE_POWERDOWN -DUSE_ECMA48  \
-DUSE_WWW -DUSE_PNG -lpng -DUSE_CSS_SCROLLBARS -lpthread -o atscap atscap.c \
-lpthread -lrt -lm -lpng -lz

-- PeterKnaggs - 25 Feb 2007

 <<O>>  Difference Topic DigitalTelevisionAtscap (r1.17 - 23 Dec 2007 - PeterKnaggs)

META TOPICPARENT LinuxHints

Inkling's atscap

If you've been looking for a user-friendly tool to schedule HDTV recordings on Linux, Inkling's atscap (now a SourceForge.net project) is what you've been waiting for. See here to download the release candidate. The previous release of atscap was called pchdtvr, but the new name atscap is used because it works on any ATSC capture cards that
Line: 97 to 97

mkdir /var/run/atscap # location of the file containing the process id of the running atscap instance mkdir /etc/atscap # location of atscap's configuration file
Added:
>
>
# Set the system time, based on an internet NTP server's time. ntpdate ntp.ubuntu.com

# Set your timezone, e.g. if you're in California, use TZ='PST+8'; export TZ otherwise use tzselect tzselect


# Launch atscap to create the configuration file (initial channel scan): atscap -s
 <<O>>  Difference Topic DigitalTelevisionAtscap (r1.16 - 22 Dec 2007 - PeterKnaggs)

META TOPICPARENT LinuxHints

Inkling's atscap

If you've been looking for a user-friendly tool to schedule HDTV recordings on Linux, Inkling's atscap (now a SourceForge.net project) is what you've been waiting for. See here to download the release candidate. The previous release of atscap was called pchdtvr, but the new name atscap is used because it works on any ATSC capture cards that
Line: 43 to 43

With atscap, you can enable the use of GNU screen using the -W option, so that when you run atscap on the console you'll still be able to view it and control it from within X11 without worrying about X11 crashing and messing up your recording session. Even if X11 should happen to crash, the screen session will still be running completely unaffected and you'll be able to re-attach to it and resume control using atscap with the -R option. It also allows you to conveniently control atscap remotely over ssh.


Changed:
<
<

Quickstart guide

>
>

Running atscap from a "Live CD"

Running atscap from a "Live CD" may be useful, if for example you want to demo atscap or to provide a reproducable testcase environment. Here, we'll use the Ubuntu Dapper Drake 6.06.1 (LTS) desktop live CD. Burn it to a 700MB CD-R or CD-RW, and boot it up. Once the desktop appears, open up a terminal window and right-click on the desktop. Select the Create Launcher menu item, and fill in the word xterm into all of the boxes and click OK. Then double-click on the new blue xterm cog-wheels icon to launch a terminal. Type the following commands:
  sudo bash

  # First, install the firmware
  wget http://www.pchdtv.com/downloads/firmware.tar.gz
  tar zxvf firmware.tar.gz
  cp firmware/dvb-fe-or51132-vsb.fw /lib/firmware/
  cp firmware/dvb-fe-or51132-qam.fw /lib/firmware/
  invoke-rc.d udev restart

  # Load the kernel module for your pcHDTV HD-3000 card
  modprobe -rv cx88_blackbird
  modprobe -rv cx88-dvb
  modprobe -rv cx8800
  modprobe -v cx88-dvb
  
  # Install some packages needed for atscap to build
  echo "deb http://archive.ubuntu.com/ubuntu dapper universe" >> /etc/apt/sources.list
  apt-get update
  apt-get -y install gcc make libmpeg2-4-dev imlib11-dev freeglut3-dev libimlib2-dev libxv-dev

To perform any captures, you'll of course need to provide somewhere to store them. As you're running from the live CD, there wouldn't be any space unless you mount a filesystem. Let's say you've mounted a filesystem at the mount point /windows/C. For atscap to find the space, the most convenient way is to make a symbolic link to it with the name /dtv.

  # Create a symbolic link in the / directory with the name dtv, pointing to somewhere you have space:
  ln -s /windows/C /dtv

Now that everything is in place, download atscap as usual, and build and install it, e.g.:

  # Download atscap and build it
  tar zxvf atscap-1.1rc9u.tar.gz
  cd atscap-1.1rc9u
  make
  make install
  

Before launching atscap, set the xterm window to use reverse video, by holding down Ctrl and middle-clicking on the xterm window. Using reverse-video makes the atscap ncurses interface much easier to read.

  # Create some directories needed by at runtime by atscap
  mkdir /var/run/atscap      # location of the file containing the process id of the running atscap instance
  mkdir /etc/atscap          # location of atscap's configuration file

  # Launch atscap to create the configuration file (initial channel scan):
  atscap -s

  # launch atscap with the web interface enabled:
  atscap -w 127.0.0.1:24:80
You can then use atscap as usual. You'll be able to connect to the web interface at the URL http://localhost:80 to control it.


Running atscap from Hard Drive


Build atscap as follows. On Debian, you'll need to have these packages installed:

Changed:
<
<
apt-get install libmpeg2-4-dev imlib11-dev freeglut3-dev libimlib2-dev libxv-dev
>
>
apt-get install gcc make libmpeg2-4-dev imlib11-dev freeglut3-dev libimlib2-dev libxv-dev

If you don't see FE_ATSC and VSB_8 inside the enum fe_type and enum fe_modulation in your /usr/include/linux/dvb/frontend.h then it's easiest to download the latest headers included with atscap (in the download file include.tar.gz).
 <<O>>  Difference Topic DigitalTelevisionAtscap (r1.15 - 07 Dec 2007 - PeterKnaggs)

META TOPICPARENT LinuxHints

Inkling's atscap

If you've been looking for a user-friendly tool to schedule HDTV recordings on Linux, Inkling's atscap (now a SourceForge.net project) is what you've been waiting for. See here to download the release candidate. The previous release of atscap was called pchdtvr, but the new name atscap is used because it works on any ATSC capture cards that
Line: 46 to 46

Quickstart guide

Build atscap as follows. On Debian, you'll need to have these packages installed:

Changed:
<
<
apt-get install libmpeg2-4-dev imlib11-dev freeglut3-dev libimlib2-dev
>
>
apt-get install libmpeg2-4-dev imlib11-dev freeglut3-dev libimlib2-dev libxv-dev

If you don't see FE_ATSC and VSB_8 inside the enum fe_type and enum fe_modulation in your /usr/include/linux/dvb/frontend.h then it's easiest to download the latest headers included with atscap (in the download file include.tar.gz).
 <<O>>  Difference Topic DigitalTelevisionAtscap (r1.14 - 01 Dec 2007 - PeterKnaggs)

META TOPICPARENT LinuxHints

Inkling's atscap

If you've been looking for a user-friendly tool to schedule HDTV recordings on Linux, Inkling's atscap (now a SourceForge.net project) is what you've been waiting for. See here to download the release candidate. The previous release of atscap was called pchdtvr, but the new name atscap is used because it works on any ATSC capture cards that
Line: 46 to 46

Quickstart guide

Build atscap as follows. On Debian, you'll need to have these packages installed:

Changed:
<
<
apt-get install libmpeg2-4-dev imlib11-dev freeglut3-dev
>
>
apt-get install libmpeg2-4-dev imlib11-dev freeglut3-dev libimlib2-dev

If you don't see FE_ATSC and VSB_8 inside the enum fe_type and enum fe_modulation in your /usr/include/linux/dvb/frontend.h then it's easiest to download the latest headers included with atscap (in the download file include.tar.gz).
Line: 56 to 56

sudo make install This will also install man pages for atscap, atscap_conf, xtscut and atscut.
Added:
>
>

When building atscap-1.1rc9t, if you see the following error, it means you probably haven't the libimlib2-dev package installed, but we need it now that Inkling updated xtscut to use imlib2 instead of the old imlib.

/bin/sh: imlib2-config: command not found
xtscut.c:428:20: error: Imlib2.h: No such file or directory

Now, launch atscap with the web interface enabled:
  atscap -w 192.168.1.10:24:80 -m -i0
 <<O>>  Difference Topic DigitalTelevisionAtscap (r1.13 - 20 Aug 2007 - PeterKnaggs)

META TOPICPARENT LinuxHints

Inkling's atscap

If you've been looking for a user-friendly tool to schedule HDTV recordings on Linux, Inkling's atscap (now a SourceForge.net project) is what you've been waiting for. See here to download the release candidate. The previous release of atscap was called pchdtvr, but the new name atscap is used because it works on any ATSC capture cards that
 <<O>>  Difference Topic DigitalTelevisionAtscap (r1.12 - 08 Jul 2007 - PeterKnaggs)

META TOPICPARENT LinuxHints

Inkling's atscap

If you've been looking for a user-friendly tool to schedule HDTV recordings on Linux, Inkling's atscap (now a SourceForge.net project) is what you've been waiting for. See here to download the release candidate. The previous release of atscap was called pchdtvr, but the new name atscap is used because it works on any ATSC capture cards that
 <<O>>  Difference Topic DigitalTelevisionAtscap (r1.11 - 22 Jun 2007 - PeterKnaggs)

META TOPICPARENT LinuxHints

Inkling's atscap

If you've been looking for a user-friendly tool to schedule HDTV recordings on Linux, Inkling's atscap (now a SourceForge.net project) is what you've been waiting for. See here to download the release candidate. The previous release of atscap was called pchdtvr, but the new name atscap is used because it works on any ATSC capture cards that
Line: 27 to 27

See man xtscut in the KEYS --- FUNCTIONS section, for more on the keys to use to get around, and the MORE KEYS section for other ways to write out the segments you've selected.
Added:
>
>
On Ubuntu 7.04 Feisty Fawn xtscut needs XLIB_SKIP_ARGB_VISUALS to be set to 1 in its environment before invoking it (see this bug for details), like this:
XLIB_SKIP_ARGB_VISUALS=1 xtscut filename.ts


ATSC Transport Stream Container UTility: atscut

Also bundled with atscap is the command line tool atscut, which can be used for things that would be harder to describe in a graphical user interface,
 <<O>>  Difference Topic DigitalTelevisionAtscap (r1.10 - 10 Apr 2007 - PeterKnaggs)

META TOPICPARENT LinuxHints

Inkling's atscap

Changed:
<
<
If you've been looking for a user-friendly tool to schedule HDTV recordings on Linux, Inkling's atscap (now a SourceForge.net project) is what you've been waiting for. See here (or here) to download the release candidate. The previous release of atscap was called pchdtvr, but the new name atscap is used because it works on any ATSC capture cards that
>
>
If you've been looking for a user-friendly tool to schedule HDTV recordings on Linux, Inkling's atscap (now a SourceForge.net project) is what you've been waiting for. See here to download the release candidate. The previous release of atscap was called pchdtvr, but the new name atscap is used because it works on any ATSC capture cards that

support the DVB api (e.g. the AirStar HD5000 PCI and DVICO Fusion cards), as well as the cards from pcHDTV.
Line: 44 to 44

apt-get install libmpeg2-4-dev imlib11-dev freeglut3-dev If you don't see FE_ATSC and VSB_8 inside the enum fe_type and enum fe_modulation in your /usr/include/linux/dvb/frontend.h
Changed:
<
<
then it's easiest to download the latest headers included with atscap: include.tar.gz.
>
>
then it's easiest to download the latest headers included with atscap (in the download file include.tar.gz).

Backup your headers, and replace them with the ones from this bundle, before building atscap using:
  make
 <<O>>  Difference Topic DigitalTelevisionAtscap (r1.9 - 17 Mar 2007 - PeterKnaggs)

META TOPICPARENT LinuxHints

Inkling's atscap

If you've been looking for a user-friendly tool to schedule HDTV recordings on Linux, Inkling's atscap (now a SourceForge.net project) is what you've been waiting for. See here (or here) to download the release candidate. The previous release of atscap was called pchdtvr, but the new name atscap is used because it works on any ATSC capture cards that
Line: 93 to 93

before launching atscap with the -E option:
  sudo mkdir /dtv/ram
Changed:
<
<
sudo mount -t tmpfs none -o size=2m /dtv/ram
>
>
sudo mount -t tmpfs none -o size=20m /dtv/ram

If you are using the -p option of atscap (to specify a different capture directory from the default /dtv), then you'll need to

Line: 105 to 105

then you'd need to mount your tmpfs filesystem like this:
  sudo mkdir /mnt/machine/captures/ram
Changed:
<
<
sudo mount -t tmpfs none -o size=2m /mnt/machine/captures/ram
>
>
sudo mount -t tmpfs none -o size=20m /mnt/machine/captures/ram

If you include the -E flag when you launch atscap for the first time, then remember that the newly-created

 <<O>>  Difference Topic DigitalTelevisionAtscap (r1.8 - 15 Mar 2007 - PeterKnaggs)

META TOPICPARENT LinuxHints

Inkling's atscap

If you've been looking for a user-friendly tool to schedule HDTV recordings on Linux, Inkling's atscap (now a SourceForge.net project) is what you've been waiting for. See here (or here) to download the release candidate. The previous release of atscap was called pchdtvr, but the new name atscap is used because it works on any ATSC capture cards that
Line: 108 to 108

sudo mount -t tmpfs none -o size=2m /mnt/machine/captures/ram
Changed:
<
<
If you include the -E flag when you initially launch atscap for the first time, then remember that the newly-created
>
>
If you include the -E flag when you launch atscap for the first time, then remember that the newly-created

configuration file containing the list of channels it found during the signal scan will only be copied to the /etc/atscap directory when you quit from atscap (in the meantime, it will live in the /dtv/ram directory, which is in memory only, and thus could
Changed:
<
<
be lost if your system crashed). So for now it's best to restart atscap with the -E flag only once you have it set up and working normally.
>
>
be lost if your system crashed). So for now it's best to launch atscap with the -E flag only once you have everything set up and working properly.

-- PeterKnaggs - 25 Feb 2007

 <<O>>  Difference Topic DigitalTelevisionAtscap (r1.7 - 14 Mar 2007 - PeterKnaggs)

META TOPICPARENT LinuxHints

Inkling's atscap

If you've been looking for a user-friendly tool to schedule HDTV recordings on Linux, Inkling's atscap (now a SourceForge.net project) is what you've been waiting for. See here (or here) to download the release candidate. The previous release of atscap was called pchdtvr, but the new name atscap is used because it works on any ATSC capture cards that
Line: 93 to 93

before launching atscap with the -E option:
  sudo mkdir /dtv/ram
Changed:
<
<
sudo mount -t tmpfs none -o size=128k /dtv/ram
>
>
sudo mount -t tmpfs none -o size=2m /dtv/ram

If you are using the -p option of atscap (to specify a different capture directory from the default /dtv), then you'll need to

Line: 105 to 105

then you'd need to mount your tmpfs filesystem like this:
  sudo mkdir /mnt/machine/captures/ram
Changed:
<
<
sudo mount -t tmpfs none -o size=128k /mnt/machine/captures/ram
>
>
sudo mount -t tmpfs none -o size=2m /mnt/machine/captures/ram

If you include the -E flag when you initially launch atscap for the first time, then remember that the newly-created

 <<O>>  Difference Topic DigitalTelevisionAtscap (r1.6 - 14 Mar 2007 - PeterKnaggs)

META TOPICPARENT LinuxHints

Inkling's atscap

If you've been looking for a user-friendly tool to schedule HDTV recordings on Linux, Inkling's atscap (now a SourceForge.net project) is what you've been waiting for. See here (or here) to download the release candidate. The previous release of atscap was called pchdtvr, but the new name atscap is used because it works on any ATSC capture cards that
Line: 16 to 16

Because full ATSC streams eat up large amounts of disk space, atscap automatically selects the proper program stream to record. Program streams are called Virtual Channels in the ATSC spec.


Changed:
<
<

Editing your recordings with xtscut

>
>

Editing your recordings: xtscut


Bundled with atscap is a graphical tool called xtscut which makes it really simple and speedy to cut out commercials and other junk from your recordings, to save space and make them more convenient for later viewing. You can invoke it from the web interface by clicking on the happy-face icon, once you've followed the instructions in the WEB BROWSER CONFIGURATION section of man atscap. You can also invoke it directly from the command line, giving it the name of the .ts file as a parameter. Remember to add the -1 parameter if you want to write out your cuts
Line: 28 to 28

and the MORE KEYS section for other ways to write out the segments you've selected.


Changed:
<
<

Command line ATSC Transport Stream Container UTility: atscut

Also bundled with atscap is a command line atscut tool, which can be used for more complicated things, like extracting a single virtual channel from a full stream capture and for other kinds of editing, as well as for very detailed inspection of the stream contents in human-readable form.
>
>

ATSC Transport Stream Container UTility: atscut

Also bundled with atscap is the command line tool atscut, which can be used for things that would be harder to describe in a graphical user interface, like extracting a single virtual channel from a full stream capture and for other kinds of editing, as well as for very detailed inspection of the stream contents in human-readable form.


Using atscap with GNU screen

Line: 92 to 92

To use this energy and disk-life saving feature, you would first mount a smallish tmpfs filesystem on /dtv/ram as follows, before launching atscap with the -E option:

Changed:
<
<
sudo mount -t tmpfs none -o size=64k /dtv/ram
>
>
sudo mkdir /dtv/ram sudo mount -t tmpfs none -o size=128k /dtv/ram

Added:
>
>

If you are using the -p option of atscap (to specify a different capture directory from the default /dtv), then you'll need to mount your tmpfs filesystem over the ./ram subdirectory of that directory. For example, if your capture directory is /mnt/machine/captures and you launch atscap using the command:

  atscap -w 192.168.1.10:24:80 -m -i0 -p /mnt/machine/captures
then you'd need to mount your tmpfs filesystem like this:
  sudo mkdir /mnt/machine/captures/ram
  sudo mount -t tmpfs none -o size=128k /mnt/machine/captures/ram

If you include the -E flag when you initially launch atscap for the first time, then remember that the newly-created configuration file containing the list of channels it found during the signal scan will only be copied to the /etc/atscap directory when you quit from atscap (in the meantime, it will live in the /dtv/ram directory, which is in memory only, and thus could
 <<O>>  Difference Topic DigitalTelevisionAtscap (r1.5 - 13 Mar 2007 - PeterKnaggs)

META TOPICPARENT LinuxHints

Inkling's atscap

Deleted:
<
<


If you've been looking for a user-friendly tool to schedule HDTV recordings on Linux, Inkling's atscap (now a SourceForge.net project) is what you've been waiting for. See here (or here) to download the release candidate. The previous release of atscap was called pchdtvr, but the new name atscap is used because it works on any ATSC capture cards that support the DVB api (e.g. the AirStar HD5000 PCI and DVICO Fusion cards), as well as the cards from pcHDTV.
Line: 16 to 15

Because full ATSC streams eat up large amounts of disk space, atscap automatically selects the proper program stream to record. Program streams are called Virtual Channels in the ATSC spec.

Added:
>
>


Editing your recordings with xtscut

Bundled with atscap is a graphical tool called xtscut which makes it really simple and speedy to cut out commercials and other junk from your recordings, to save space and make them more convenient for later viewing. You can invoke it from the web interface by clicking on the happy-face icon, once you've followed the instructions in the WEB BROWSER CONFIGURATION section of man atscap. You can also invoke it directly from the
Line: 27 to 27

See man xtscut in the KEYS --- FUNCTIONS section, for more on the keys to use to get around, and the MORE KEYS section for other ways to write out the segments you've selected.
Changed:
<
<

Command line transport stream cutter: atscut

>
>

Command line ATSC Transport Stream Container UTility: atscut


Also bundled with atscap is a command line atscut tool, which can be used for more complicated things, like extracting a single virtual channel from a full stream capture and for other kinds of editing, as well as for very detailed inspection of the stream contents in human-readable form.
Added:
>
>



Using atscap with GNU screen

With atscap, you can enable the use of GNU screen using the -W option, so that when you run atscap on the console you'll still be able to view it and control it from within X11 without worrying about X11 crashing and messing up your recording session. Even if X11 should happen to crash, the screen session will still be running completely unaffected and you'll be able to re-attach to it and resume control using atscap with the -R option. It also allows you to conveniently control atscap remotely over ssh.
Added:
>
>



Quickstart guide

Build atscap as follows. On Debian, you'll need to have these packages installed:

Line: 48 to 53

This will also install man pages for atscap, atscap_conf, xtscut and atscut. Now, launch atscap with the web interface enabled:

Changed:
<
<
atscap -w 192.168.1.10:24:80 -E -m -i0
>
>
atscap -w 192.168.1.10:24:80 -m -i0

It will start the signal scan, which will look something like this to begin with:

Signal scan found nothing yet...
Line: 58 to 63

you want to automatically load the Electronic Program Guide for each of the channels. Usually, that's a good idea, so press Y to say yes. You can always disable auto-EPG load later, using the web interface or by editing the configuration file.

Enable auto-EPG load?
Changed:
<
<


The configuration file /etc/atscap/atscap0.conf is now generated. If you were running with the -E flag, the configuration file will be copied to the /etc/atscap directory only when you quit from atscap (in the meantime, it will live in the /dtv/ram directory). To quit from atscap before the EPG load for all the channels has run its course, press z to
>
>


The configuration file /etc/atscap/atscap0.conf is now generated.

To quit from atscap before the EPG load for all the channels has run its course, press z to


cancel it, then press q to quit. But for now, let's leave atscap running while it loads all of the program guides, and let's
Changed:
<
<
connect to the web interface, e.g.: http://192.168.1.10/ There are a lot of icons to get familiar with at first, so find the
>
>
connect to the web interface, e.g.: http://192.168.1.10/.


The Web Interface

If you're just getting started with using the web interface, it may seem that there are a lot of icons to get familiar with, so find the

Legend: Show and click on the Show link, to display all of the icons:

Guide to the atscap icons for the web interface.
Added:
>
>
The last line of the legend shows the colors used in the program guide to indicate what atscap is going to do for the "event", e.g. whether it will capture that show (colored yellow, because a timer has been set to do the capture), or whether a show is coming up in the future but hasn't been scheduled for recording (colored green, because it's available in the future).


Energy Star Appliance (the -E option).

If you have hard drives that can be set to spin-down when not in use (e.g. firewire drives, SCSI drives, or internal IDE drives), then atscap can be set up to use tmpfs (an in-memory filesystem) to store its configuration while it's running, so that it can avoid waking up the sleeping dragon. For more info on spinning down firewire and SCSI drives, see here, which explains how to use the /sbin/scsi-spin command from the scsitools package. For info on spinning down IDE drives, see the -S option to hdparm. Note that some recent external firewire Seagate drives spin down all by themselves when they haven't been accessed for a while, even when they have xfs filesystems mounted, so you may not need any special command to spin your drive down as long as you only use it to hold the /dtv directory (where atscap stores the captured video files by default).

To use this energy and disk-life saving feature, you would first mount a smallish tmpfs filesystem on /dtv/ram as follows, before launching atscap with the -E option:

  sudo mount -t tmpfs none -o size=64k /dtv/ram
If you include the -E flag when you initially launch atscap for the first time, then remember that the newly-created configuration file containing the list of channels it found during the signal scan will only be copied to the /etc/atscap directory when you quit from atscap (in the meantime, it will live in the /dtv/ram directory, which is in memory only, and thus could be lost if your system crashed). So for now it's best to restart atscap with the -E flag only once you have it set up and working normally.

-- PeterKnaggs - 25 Feb 2007

Back to LinuxHints

 <<O>>  Difference Topic DigitalTelevisionAtscap (r1.4 - 03 Mar 2007 - PeterKnaggs)

META TOPICPARENT LinuxHints

Inkling's atscap


Changed:
<
<
If you've been looking for a user-friendly tool to schedule HDTV recordings on Linux, Inkling's atscap (or atscap) is what you've been waiting for. See here (or here) to download the 1.1rc9f release candidate. The previous release of atscap was called pchdtvr, but the new name atscap is used because it works on any ATSC capture cards that
>
>
If you've been looking for a user-friendly tool to schedule HDTV recordings on Linux, Inkling's atscap (now a SourceForge.net project) is what you've been waiting for. See here (or here) to download the release candidate. The previous release of atscap was called pchdtvr, but the new name atscap is used because it works on any ATSC capture cards that

support the DVB api (e.g. the AirStar HD5000 PCI and DVICO Fusion cards), as well as the cards from pcHDTV.
Line: 17 to 17

Because full ATSC streams eat up large amounts of disk space, atscap automatically selects the proper program stream to record. Program streams are called Virtual Channels in the ATSC spec.

Editing your recordings with xtscut

Changed:
<
<
Bundled with atscap is a graphical tool called xtscut which makes it really simple and speedy to cut out commercials and other junk from your recordings, to save space and make them more convenient for later viewing. You can invoke it from the web interface by clicking on the smilley icon, once you've followed the instructions in the WEB BROWSER CONFIGURATION section of man atscap. Or you can invoke it directly from the
>
>
Bundled with atscap is a graphical tool called xtscut which makes it really simple and speedy to cut out commercials and other junk from your recordings, to save space and make them more convenient for later viewing. You can invoke it from the web interface by clicking on the happy-face icon, once you've followed the instructions in the WEB BROWSER CONFIGURATION section of man atscap. You can also invoke it directly from the

command line, giving it the name of the .ts file as a parameter. Remember to add the -1 parameter if you want to write out your cuts as separate files.
 <<O>>  Difference Topic DigitalTelevisionAtscap (r1.3 - 26 Feb 2007 - PeterKnaggs)

META TOPICPARENT LinuxHints

Inkling's atscap


Line: 33 to 33

human-readable form.

Using atscap with GNU screen

With atscap, you can enable the use of GNU screen using the -W option, so that when you run atscap on the console you'll still be able to view it and control it from within X11 without worrying about X11 crashing and messing up your recording session. Even if X11 should happen to crash, the screen session will still be running completely unaffected and you'll be able to re-attach to it and resume control using atscap with the -R option. It also allows you to conveniently control atscap remotely over ssh.
Added:
>
>

Quickstart guide

Build atscap as follows. On Debian, you'll need to have these packages installed:
  apt-get install libmpeg2-4-dev imlib11-dev freeglut3-dev
If you don't see FE_ATSC and VSB_8 inside the enum fe_type and enum fe_modulation in your /usr/include/linux/dvb/frontend.h then it's easiest to download the latest headers included with atscap: include.tar.gz. Backup your headers, and replace them with the ones from this bundle, before building atscap using:
  make
  sudo make install
This will also install man pages for atscap, atscap_conf, xtscut and atscut. Now, launch atscap with the web interface enabled:
  atscap -w 192.168.1.10:24:80 -E -m -i0
It will start the signal scan, which will look something like this to begin with:

Signal scan found nothing yet...

It may take a while to find the first channel. Once it finds a channel, it adds it to the list along the bottom of the screen, like this:

Signal scan has found many stations...

Once it has scanned all 70 channels, it streams a little from each of them to determine their callsign, and prompts you asking whether you want to automatically load the Electronic Program Guide for each of the channels. Usually, that's a good idea, so press Y to say yes. You can always disable auto-EPG load later, using the web interface or by editing the configuration file.

Enable auto-EPG load?

The configuration file /etc/atscap/atscap0.conf is now generated. If you were running with the -E flag, the configuration file will be copied to the /etc/atscap directory only when you quit from atscap (in the meantime, it will live in the /dtv/ram directory). To quit from atscap before the EPG load for all the channels has run its course, press z to cancel it, then press q to quit. But for now, let's leave atscap running while it loads all of the program guides, and let's connect to the web interface, e.g.: http://192.168.1.10/ There are a lot of icons to get familiar with at first, so find the Legend: Show and click on the Show link, to display all of the icons:

Guide to the atscap icons for the web interface.

-- PeterKnaggs - 25 Feb 2007

Line: 38 to 70

Back to LinuxHints

Added:
>
>


META FILEATTACHMENT atscap_program_guide.png attr="" comment="Program guide in atscap" date="1172373082" path="atscap_program_guide.png" size="24768" user="PeterKnaggs" version="1.2"
Changed:
<
<
META FILEATTACHMENT atscap_web_interface.png attr="h" comment="Web interface to atscap" date="1172374014" path="atscap_web_interface.png" size="67915" user="PeterKnaggs" version="1.1"
>
>
META FILEATTACHMENT atscap_web_interface.png attr="" comment="Web interface to atscap" date="1172374014" path="atscap_web_interface.png" size="67915" user="PeterKnaggs" version="1.1"
META FILEATTACHMENT signal_scan_nothing.png attr="" comment="atscap beginning the signal scan" date="1172459881" path="signal_scan_nothing.png" size="6402" user="PeterKnaggs" version="1.1"
META FILEATTACHMENT signal_scan_found_many.png attr="" comment="Signal scan almost complete" date="1172459990" path="signal_scan_found_many.png" size="4149" user="PeterKnaggs" version="1.1"
META FILEATTACHMENT signal_scan_auto_epg.png attr="" comment="Enable auto-EPG load?" date="1172460066" path="signal_scan_auto_epg.png" size="5478" user="PeterKnaggs" version="1.1"
META FILEATTACHMENT atscap_icons_guide.png attr="" comment="Guide to the atscap icons for the web interface." date="1172463555" path="atscap_icons_guide.png" size="5317" user="PeterKnaggs" version="1.1"
 <<O>>  Difference Topic DigitalTelevisionAtscap (r1.2 - 25 Feb 2007 - PeterKnaggs)

META TOPICPARENT LinuxHints

Inkling's atscap

Changed:
<
<
Inkling's atscap is probably what you've been looking for, see here to download the 1.1rc9f release candidate! It's an amazing console application. The previous release of atscap was called pchdtvr, but the new name atscap is used because it works on any ATSC capture cards that support the DVB api (e.g. the AirStar HD5000 PCI), and not just the cards from pcHDTV.
Here's a screen shot of an earlier pchdtvr in action, showing the program guide received from off-the-air:
Inkling's pchdtvr
Because full ATSC streams eat up large amounts of disk space, you'll be happy to see that Inkling's stable release, pchdtvr 1.0, allows you to select which program stream to record. Program streams are called Virtual Channels in the ATSC spec. Inkling also developed a graphical xtscut tool which makes it really simple and speedy to cut out commercials and other junk from your recordings, to save space and make them more convenient for later viewing. There's also a command line atscut tool, which can be used for extracting a single virtual channel from a full stream capture and for other kinds of editing, as well as for very detailed inspection of the stream contents in human-readable form.
With atscap you can schedule recordings of specific program streams using a timer. E.g. to record channel 30 virtual channel 3 (KQED-HD) for thirty minutes every Monday, use an entry in your /etc/atscap/atscap.0.conf (or for pchdtvr, in /etc/pchdtvr.0.conf) like this:
C30:KQED:PBS
T30:20:00:030:0100000:PBS.3
With pchdtvr, you can enable the use of GNU screen using pchdtvr -i0 -w, so that when you run pchdtvr on the console you'll still be able to view it and control it from within X11 without worrying about X11 crashing and messing up your recording session. Even if X11 should happen to crash, the screen session will still be running completely unaffected and you'll be able to re-attach to it and resume control using pchdtvr -i0 -R. It also allows you to conveniently control pchdtvr remotely over ssh.
>
>

If you've been looking for a user-friendly tool to schedule HDTV recordings on Linux, Inkling's atscap (or atscap) is what you've been waiting for. See here (or here) to download the 1.1rc9f release candidate. The previous release of atscap was called pchdtvr, but the new name atscap is used because it works on any ATSC capture cards that support the DVB api (e.g. the AirStar HD5000 PCI and DVICO Fusion cards), as well as the cards from pcHDTV.

It has both a web interface as well as a console interface. The web interface is an integral part of atscap, and doesn't require any web server to be installed: atscap is itself the web server. It serves not only the program guides, but also the video that it has recorded for you. The web interface also conveniently provides little square charts showing the signal strength of each of your stations.

Web interface to atscap

Here's a screen shot of the console interface to atscap, showing the program guide received from off-the-air. The console interface packs a lot of information, so it can take some getting used to, but it's very versatile.

Program guide in atscap

Because full ATSC streams eat up large amounts of disk space, atscap automatically selects the proper program stream to record. Program streams are called Virtual Channels in the ATSC spec.

Editing your recordings with xtscut

Bundled with atscap is a graphical tool called xtscut which makes it really simple and speedy to cut out commercials and other junk from your recordings, to save space and make them more convenient for later viewing. You can invoke it from the web interface by clicking on the smilley icon, once you've followed the instructions in the WEB BROWSER CONFIGURATION section of man atscap. Or you can invoke it directly from the command line, giving it the name of the .ts file as a parameter. Remember to add the -1 parameter if you want to write out your cuts as separate files.

Use the "scrolly wheel" (if your mouse has one) or use the u and i keys, and click with the left mouse button to select the "cut points". Once you're happy with your selections, pressing e will write out all the "even" segments. See man xtscut in the KEYS --- FUNCTIONS section, for more on the keys to use to get around, and the MORE KEYS section for other ways to write out the segments you've selected.

Command line transport stream cutter: atscut

Also bundled with atscap is a command line atscut tool, which can be used for more complicated things, like extracting a single virtual channel from a full stream capture and for other kinds of editing, as well as for very detailed inspection of the stream contents in human-readable form.

Using atscap with GNU screen

With atscap, you can enable the use of GNU screen using the -W option, so that when you run atscap on the console you'll still be able to view it and control it from within X11 without worrying about X11 crashing and messing up your recording session. Even if X11 should happen to crash, the screen session will still be running completely unaffected and you'll be able to re-attach to it and resume control using atscap with the -R option. It also allows you to conveniently control atscap remotely over ssh.

-- PeterKnaggs - 25 Feb 2007

Added:
>
>
Back to LinuxHints

META FILEATTACHMENT atscap_program_guide.png attr="" comment="Program guide in atscap" date="1172373082" path="atscap_program_guide.png" size="24768" user="PeterKnaggs" version="1.2"
META FILEATTACHMENT atscap_web_interface.png attr="h" comment="Web interface to atscap" date="1172374014" path="atscap_web_interface.png" size="67915" user="PeterKnaggs" version="1.1"
 <<O>>  Difference Topic DigitalTelevisionAtscap (r1.1 - 25 Feb 2007 - PeterKnaggs)
Line: 1 to 1
Added:
>
>
META TOPICPARENT LinuxHints

Inkling's atscap

Inkling's atscap is probably what you've been looking for, see here to download the 1.1rc9f release candidate! It's an amazing console application. The previous release of atscap was called pchdtvr, but the new name atscap is used because it works on any ATSC capture cards that support the DVB api (e.g. the AirStar HD5000 PCI), and not just the cards from pcHDTV.
Here's a screen shot of an earlier pchdtvr in action, showing the program guide received from off-the-air:
Inkling's pchdtvr
Because full ATSC streams eat up large amounts of disk space, you'll be happy to see that Inkling's stable release, pchdtvr 1.0, allows you to select which program stream to record. Program streams are called Virtual Channels in the ATSC spec. Inkling also developed a graphical xtscut tool which makes it really simple and speedy to cut out commercials and other junk from your recordings, to save space and make them more convenient for later viewing. There's also a command line atscut tool, which can be used for extracting a single virtual channel from a full stream capture and for other kinds of editing, as well as for very detailed inspection of the stream contents in human-readable form.
With atscap you can schedule recordings of specific program streams using a timer. E.g. to record channel 30 virtual channel 3 (KQED-HD) for thirty minutes every Monday, use an entry in your /etc/atscap/atscap.0.conf (or for pchdtvr, in /etc/pchdtvr.0.conf) like this:
C30:KQED:PBS
T30:20:00:030:0100000:PBS.3
With pchdtvr, you can enable the use of GNU screen using pchdtvr -i0 -w, so that when you run pchdtvr on the console you'll still be able to view it and control it from within X11 without worrying about X11 crashing and messing up your recording session. Even if X11 should happen to crash, the screen session will still be running completely unaffected and you'll be able to re-attach to it and resume control using pchdtvr -i0 -R. It also allows you to conveniently control pchdtvr remotely over ssh.

-- PeterKnaggs - 25 Feb 2007

Revision r1.1 - 25 Feb 2007 - 01:28 - PeterKnaggs
Revision r1.23 - 03 Feb 2008 - 06:09 - PeterKnaggs