|
InstallingOSTVpt2_OTA_Plugin
The Over the Air plugin tunes in TV from your DVB device. OSTV can do digital Over the Air(ATSC), unencrypted Cable (QAM) and other DVB protocols.
Phase-Deploy, Featured OTA -- Over the Airto install: $ ostv install_class ota create a folder ostv in ~/recordings $ mkdir ~/recordings/ostv This is where ota/qam will be saved if backsaved(see backsave) or if recorded from the Schedule plugin. prerequisites:
The best resource for installing dvb devices is: http://www.linuxtv.org/wiki/index.php/Main_Page There is also info there about which dvb devices are supported by Linux and how to scan for your channels and create channels.conf (http://www.linuxtv.org/wiki/index.php/Scan). Creating a channels.conf fileHere is a short course for USA users on how to scan and create your channels.conf file:
$ scan /usr/share/doc/dvb-utils/examples/scan/atsc/us-ATSC-center-frequencies-8VSB > ~/.ostv/channels/channels.conf (note: your /usr...8VSB might be in a slightly different location) warning! A scan can take 15 minutes or longer!
$ ln -s ~/.ostv/channels/channels.conf ~/.mplayer/channels.conf QAMOSTV, by virtue of the OTA plugin, also supports unencrypted QAM or Cable TV. The unencrypted channels are usually limited to the basic tier and include what you can get over the air, CSPAN, local, weather, shopping and religious channels. Setting up QAM is identical to OTA, you just use a different scan file. $ scan /usr/share/doc/dvb-utils/examples/scan/atsc/us-Cable-Standard-center-frequencies-QAM256 > ~/.ostv/channels.conf If your dvb device has separate connections for OTA and QAM you can include both in your channels.conf Troubleshooting QAMQAM has the potential to be more problematic than OTA. If your scan does not return results, there are several other scan files for cable in /usr/share/doc/dvb-utils/examples/scan/atsc/ to try. If you get messages such as WARNING: filter timeout pid 0x0000your channels.conf file will be generated but will need some work. This basically means scan found the channel but the data was incomplete. Even if you did not get that message you may have the following problems:
KOHD-HD:675000000:QAM_256:1984:1985:9Your scan lines might look like this: [00af]:675000000:QAM_256:0:0:1985:9You need to go to your cable company's website and find some info. You might find a faq like "I want to access the 'free' channels with my TV's digital tuner" and find a listing with all the the QAM numbers. The QAM numbers usually are something like "37-9". OSTV only concerned with the part after the hyphen. If you do not find such a listing, go to the "channel lineup" page. The channel numbers often correspond to the qam channel value, but sometimes they do not. If you are left guessing you can try tuning channels or consult your cable company's tech dept. In your scan lines find where that number matches the last value. Those are the scan lines you want, delete the rest.
If scan could not find a name it returns a pid. The name value does not matter, you can put anything you want there. If it has the "[]" brackets it will not work though! Remove the brackets and put something meaningful there.
This scan line has an extra value of "0"(it is always 0). This will happen sometimes--remove it! 6 colon separated values only.
Another thing that happens is a video pid will have a "0" value. You will not get video with a "0". Usually the video pid is 1 less than the audio pid. In our example it is "1984". Replace the "0" with that value. If this doesn't work try replacing it 2 less than the audio pid. Subtracting 1 or 2 should work. Should this fail, you can get your pids by tuning in the channel from OSTV and using the scan command line tool. Tune the channel by saving the scan line in channels.conf and tuning the channel in from the OSTV menu. Even if fails and doesn't show video, it will most often tune and be able to return data from the scan command. Power off OSTV, then at the command line: $ scan -c This will return several lines of data like this: [000e] (0x000e) 00: PCR == V V 0x0800 A 0x0801 000e is pid created for the channel name when it can't find the channel name 2049 in hex The video pid is in hex and needs to be translated. To translate hex to decimal, again use your google search box: 0x0800 in decimal That will give you your correct video pid.
Continue Installing OSTV at: | ||