source: smplayer/trunk/Watching_TV.txt@ 176

Last change on this file since 176 was 106, checked in by Silvan Scherrer, 16 years ago

smplayer: 0.6.9

File size: 4.5 KB
Line 
1Since 0.6.8 it's possible to watch the TV in smplayer (dvb:// and tv://).
2
3This document provides some info about how to do it.
4
5INTRO:
6
7smplayer doesn't include any option to scan for channels, so mplayer must be
8configured to tune to TV channels.
9
10That means that the following:
11
12mplayer dvb://
13or
14mplayer tv://
15
16should work (should display a TV channel).
17
18And the following should tune to the specified channel:
19
20mplayer dvb://Channel_name
21or
22mplayer tv://Channel_name
23
24
25DVB:
26
27The support for dvb in smplayer is intented for dvb-t (terrestrial). It can
28work with dvb-c and dvb-s (cable and satellite) but it hasn't been tested.
29
30smplayer will look for the file ~/.mplayer/channels.conf.ter (or
31~/.mplayer/channels.conf if that doesn't exist), and the menus Open->TV and
32Open->Radio will be populated with the channels there (the menu Open->Radio
33will show the channels without video pid. Notice that for dvb-s and dvb-c the
34check for audio and video pids will probably fail and all channels will end up
35in the TV menu).
36
37If you don't have a ~/.mplayer/channels.conf you can create with scan (in
38ubuntu is in the dvb-apps package):
39
40scan initial_file > ~/.mplayer/channels.conf
41
42The initial_file contains info about the frequencies that have to be scanned,
43you'll find a lot in /usr/share/dvb/dvb-t/ (use the one for your town).
44
45You can also use w_scan, which doesn't require any initial file.
46
47
48TV:
49
50The support for analog TV (tv://) in smplayer is very basic (it can recognize
51a tv:// stream as being a TV channel, but that's all) and configuration
52has to be done manually.
53
54First you need some lines in your ~/.mplayer/config with the TV configuration
55(driver, norms, frequencies...). Example:
56
57tv=driver=v4l:input=0:width=768:height=576:device=/dev/video0:audiorate=48000:n
58orm=PAL:chanlist=europe-west:channels=46-TV_1,43-TV_2,50-TV_3,53-TV_4
59
60For more info take a look at the mplayer manpage.
61
62After that you have to introduce all channels in smplayer (Open->TV->Edit).
63
64
65THE CHANNEL EDITOR:
66
67The channel editor allows you to add, modify and remove TV channels. You'll
68see a table with all channels. Each channel contains 3 fields: icon, name
69and stream. The name will appear in the menu, the stream is what mplayer will
70open to tune the channel. Examples:
71
72ICON NAME STREAM
73 CNN dvb://CNN
74 BBC tv://TV_1
75 Webcam tv://
76
77The list of TV channels is saved to ~/.config/smplayer/tv.m3u8, while the
78list of radio is saved to ~/.config/smplayer/radio.m3u8.
79
80Note 1: by default smplayer will scan the file ~/.mplayer/channels.conf on every