not needed with 20Mi
[pyTivo/wgw.git] / plugins / admin / help.txt
blobc2e7cbbb69b5b72202fb94b4871614f9824752e3
1 ###################### pyTivo Web Admin Help #########################\r
2 #\r
3 # Description: This file contains the information displayed in the  \r
4 # settings help section of the web admin. Most users will never need  \r
5 # to edit or view this file\r
6 #\r
7 # Format: Blank lines and lines beginning with # are ignored. \r
8 # The name of a section should appear on its own line and should NOT\r
9 # contain a colon.  Subsequent lines should contain the portion to be\r
10 # bolded, followed by a colon, followed by the descriptive text all on\r
11 # ONE line. Each line will be read into the previously named section  \r
12 # until a line is reached which does not contain a colon or the EOF is \r
13 # reached. Lines ending in <br><br>+\ will be concated with the next lines \r
14 #\r
15 # SPECIAL SECTION: In order for the web plugin to know which settings\r
16 # are available. To do this the follow line should be present in\r
17 # every setting:\r
18 #\r
19 # Available In:\r
20 #\r
21 # This entry should be a comma seperated list of the sections which \r
22 # this setting should be shown in. For example:\r
23 #\r
24 # Available In: Server, Tivos, HD_tivos, SD_tivos, Shares\r
25 #\r
26 ######################################################################\r
28 port\r
30 Default Setting: None, must be entered. Distributed conf file uses 9032\r
31 Valid Entries: Valid port number\r
32 Required: Yes, without a port setting in the conf file pyTivo will not start.\r
33 Skill: Basic\r
34 Description: The port which pyTivo uses to serve your files. Can be changed if it conflicts with another program. It is reported on Ubuntu that this port is already used so you may need to change it to something like port=9254.\r
35 Example Settings: 9032\r
36 Available In: Server\r
38 guid\r
40 Default Setting: 123456\r
41 Valid Entries: Any 6 digit number\r
42 Required: Generally NO, will default to '123456' if left blank. If you use more than one pyTivo server on the same network a different random number is required here.\r
43 Skill: Advanced\r
44 Description: A unique identifier used in the beacon to identify this server. If you have 2 or more pyTivo servers on one network each server must use its own unique identifier.\r
45 Example Settings: Any 6 digit number.\r
46 Available In: Server\r
48 ffmpeg\r
50 Default Setting: There is none.\r
51 Valid Entries: Operating system path\r
52 Required: Yes!\r
53 Skill: Basic\r
54 Description: This is the full path to your ffmpeg binary. For windows users ffmpeg is distributed with pyTivo and is in the plugins/video folder\r
55 Example Settings: Linux = /usr/bin/ffmpeg | Windows = c:\Program Files\pyTivo\plugins\video\ffmpeg_mp2.exe\r
56 Available In: Server\r
58 beacon\r
60 Default Setting: 255.255.255.255\r
61 Valid Entries: A Subnet or Listen\r
62 Required: No, defaults to 255.255.255.255\r
63 Skill: Advanced\r
64 Description: The subnet which the beacon should broadcast on. Most people can leave this at the default setting. If set to listen will accept incoming TCP requests.\r
65 Example Settings: 255.255.255.255\r
66 Available In: Server\r
68 debug\r
70 Default Setting: False\r
71 Valid Entries: True/False\r
72 Required: No\r
73 Skill: Advanced\r
74 Description: Will create a file named debug.txt in the base folder of pyTivo. This file will contain debug information helpful in diagnosing problems. Generally only necessary if you are having a problem and the information is requested by support staff.\r
75 Example Settings: True/False\r
76 Available In: Server\r
78 precache\r
80 Default Setting: false\r
81 Valid Entries: True/False\r
82 Required: No\r
83 Skill: Moderate\r
84 Description: In order to verify that the video files present on your computer were compatible with ffmpeg in older versions pyTivo would query ffmpeg for each file. While this information was cached it still caused a delay in the initial loading of a list of files. This precache setting forced pyTivo to inspect each video prior to starting the pyTivo server. However, this had two drawbacks. 1. It took time as much as two minutes before pyTivo was ready to accept requests. 2. It did not update the cache if new files were added while the pyTivo server was running.<br><br>+\\r
85 In the more recent releases, anything after Feb 16, 2008, pyTivo no longer needs to query ffmpeg when creating a file list. Instead pyTivo has a list of accepted video format extensions. If the file extension falls within this list it is displayed on the TiVo. This achieves the same speed increase as the precache method without the delay in loading the pyTivo server.<br><br>+\\r
86 There are still two drawbacks to this method. 1. The video file must have an extension that is in the list. There is a possibility that a new video file extension could come out before pyTivo is updated. 2. Incomplete or video files with errors will still appear in the TiVo listing if they have the correct extension, even though they are not valid files. Both of these concerns are minimal. 1. Very few new formats of video files come out very often. And all extensions are stored in the video.ext file which is easily edited. 2. When viewing the file details before transferring the pyTivo server queries ffmpeg to make sure it is valid. If the file is not valid it will show up as a copyrighted file and transferring it will be prevented by TiVo.<br><br>+\\r
87 It is recommended that you leave precaching turned off as it is no longer needed.\r
88 Example Settings: True/False\r
89 Available In: Shares\r
91 optres\r
93 Default Setting: False\r
94 Valid Entries: True/False\r
95 Required: No\r
96 Skill: Moderate\r
97 Description: Allows for the use of the Optimal Resolution in transcoding. By setting optes = true pyTivo will treat the height and width settings in the conf file as a maximum. If the video to be transcoded has smaller dimensions that are closer to other acceptable TiVo dimensions then pyTivo will use these dimensions. This allows for faster transcoding and small files when the initial video is a lower quality. pyTivo uses the same resolution as the source file on HD Tivos for optimal transcoding efficiency. It is not necessay to to set this option with HD TiVos unles you wish to force pyTivo to change the resolution to an "S2 compatible" resolution.\r
98 Example Settings: True/False\r
99 Available In: Tivos, HD_tivos, SD_tivos\r
101 par\r
103 Recommended Setting: 1.0\r
104 pyTivo Defaults To: blank\r
105 Valid Entries: any valid par\r
106 Required: No\r
107 Skill: Very Advanced\r
108 Description: Set pixel aspect ratio. Applies to S3 Tivos only. OPTRES must be false to use PAR. For some videofiles (e.g., AVC files), ffmpeg cannot determine the pixel aspect ratio correctly and assumes 1:1 which leads to a distorted image on anamorphically encoded video files. This setting allows you to override this default. If you do not understand this setting, and you observe no distortions, you can ignore it. Set par=1.0 to tell pyTivo to automatically adjust the pixel aspect ratio whenever possible.<br><br>+\\r
109 par=1.18518519 (32:27, usually the correct setting for wide-screen anamorphically encoded DVD content)<br><br>+\\r
110 par=0.88888889 (8:9, usually the correct setting for anamorphically encoded DVDs from TV shows)\r
111 Example Settings: 1.0, 1.18518519, 0.88888889<br><br>+\\r
112 Alternative option: Specify par in metadata txt files by adding "Override_par : x.xxxx" to a metadata file associated with the video file.  If all files in the folder have the same par, add the option to a file called default.txt instead of creating individual metadata files. \r
113 Available In: Server\r
115 video_fps\r
117 Recommended Setting: blank\r
118 pyTivo Defaults To: 29.97 for S2 Tivo, same as source for S3/HD TiVo\r
119 Valid Entries: 29.97, 23.98, 25, 59.94\r
120 Required: No\r
121 Skill: Advanced\r
122 Description: Sets the frame rate used by ffmpeg. pyTivo uses 29.97 for S2's, and uses the same frame rate as the source on HD TiVos. The default setting should work fine for most transfers.\r
123 Example Settings: 29.97, 23.98, 25, 59.94\r
124 Available In: Tivos, HD_tivos, SD_tivos\r
126 video_br\r
128 Default Setting: 4096K for SD TiVo's, 16384K for HD TiVo's\r
129 Valid Entries: Any valid Bit rate. 1024K = 1Mi\r
130 Required: No\r
131 Skill: Advanced\r
132 Description: This allows you to choose the default server video bit rate used in transcoding. FFmpeg does not strictly follow this bit rate, there is a certain level of tolerance that is allowed. Also a low quality file will always have a low bit rate. The default is likely fine for most users. Higher values may slow down transcoding and will increase the file size. Increased file sizes take up more room on the TiVo.  (Higher settings are recommended for screen sizes above 47" such as: video_br=20Mi, width=1920, height=1080)\r
133 Example Settings: 4096K, 8Mi, 12Mi, 16Mi, 20Mi\r
134 Available In: Tivos, HD_tivos, SD_tivos\r
136 video_pct\r
138 Recommended Setting: blank\r
139 pyTivo Defaults to: 85 (percent of source bitrate)\r
140 Valid Entries: Any number (set this to 0 to disable this option)\r
141 Required: No\r
142 Skill: Advanced\r
143 Description: This sets video_br to a percent of the source video bitrate.  pyTivo will multiply the source video bitrate by this percentage setting, compare it to the video_br setting and use whichever is greater as the video_br.  This allows for setting higher bitrates automatically when transcoding High Definition sources.  For example, if your source file has a bitrate of 22000k and video_pct is set to 70, pyTivo will use 15400k for video_br instead of the default 8192k setting.  With this setting enabled, the video_br setting essentially becomes the minimum video bitrate.  This setting only applies to S3 tivos.\r
144 Example Settings: 60, 70, 85, 100, 125\r
145 Available In: Tivos, HD_tivos, SD_tivos\r
147 max_video_br\r
149 Recommended Setting: blank\r
150 pyTivo Defaults to: 30000k\r
151 Valid Entries: Any valid Bit rate. 1024K = 1Mi\r
152 Required: No\r
153 Skill: Advanced\r
154 Description: This allows you to choose the maximum bit rate and is more strict than the video_br setting above. However setting this can cause buffer overflows and can cause issues with ffmpeg. In addition to setting the ffmpeg maxrate option, this setting is used to determine if the video bitrate of the source video file is too high for the TiVo. mpeg's with a video bitrate above this setting will be transcoded rather than sent to the TiVo untouched.  Lower this setting below the bitrate of your source file if you wish to force high bitrate sources to be transcoded.  Recommended only for skilled users. Note: there is a report that ffmpeg throws an error with 17Mi but accepts 17408K just fine.\r
155 Example Settings: 17408k, 30000k\r
156 Available In: Tivos, HD_tivos, SD_tivos\r
158 bufsize\r
160 Recommended Setting: blank\r
161 pyTivo Defaults To: 1024k for S2, 4096k for S3\r
162 Valid Entries: Any valid byte size\r
163 Required: No\r
164 Skill: Very Advanced\r
165 Description: Allows you to set the buffer size used by ffmpeg. Increasing this setting will allow higher bitrates during transcoding (see video_br setting), especially when transcoding to HD resolutions.  But it may result in pixelation or audio sync issues with some sources.  1024k is fine for the resolutions used by S2 tivos.  But 2048k or 4096k is preferred for HD tivos.  Leave this setting blank unless you are experiencing audio/video sync issues and wish to test a different value.\r
166 Example Settings: 1024k, 2048k, 4096k\r
167 Available In: Tivos, HD_tivos, SD_tivos\r
169 width\r
171 Default Setting: 544 for S2, 1280 for S3\r
172 Valid Entries: Any valid pixel dimension. Setting will be rounded to nearest acceptable TiVo dimension\r
173 Required: No\r
174 Skill: Moderate\r
175 Description: Allows you to choose the output dimension of the transcoded videos. SD units are limited to 544 and below. Likely HD users will want to choose a higher value. Higher values may slow down transcoding and will increase the file size. Increased file sizes take up more room on the TiVo and take longer to transfer over the network.\r
176 Example Settings: 1920, 1440, 1280, 720, 704, 544, 480, 352.\r
177 Available In: Tivos, HD_tivos, SD_tivos\r
179 height\r
181 Default Setting: 480 for S2, 720 for S3\r
182 Valid Entries: Any valid pixel dimension. Setting will be rounded to nearest acceptable TiVo dimension\r
183 Required: No\r
184 Skill: Moderate\r
185 Description: Allows you to choose the output dimension of the transcoded videos. SD units are limited to 480 and below. Likely HD users will want to choose a higher value. Higher values may slow down transcoding and will increase the file size. Increased file sizes take up more room on the TiVo and take longer to transfer over the network.\r
186 Example Settings: 1080, 720, 480\r
187 Available In: Tivos, HD_tivos, SD_tivos\r
189 audio_br\r
191 Recommended Setting: blank\r
192 pyTivo Defaults To: same bitrate as source or 448k\r
193 Valid Entries: Any valid Bit rate up to 448k.\r
194 Required: No\r
195 Skill: Advanced\r
196 Description: This allows you to choose the default audio bit rate used for transcoding. The default is likely fine for most users. 384k is the minimum recommended for ac3 audio. For S2 Tivos, you may want to lower this setting to 192k and set audio_ch=2 to slightly reduce the file size. See audio_codec for more info.\r
197 Example Settings: 192K, 384K, 448K.\r
198 Available In: Tivos, HD_tivos, SD_tivos\r
200 max_audio_br\r
202 Recommended Setting: blank\r
203 pyTivo Defaults To: 448k\r
204 Valid Entries: Any valid Bit rate.\r
205 Required: No\r
206 Skill: Advanced\r
207 Description: This sets the maximum audio bit rate that can be sent to the TiVo. Files having a higher bit rate will be transcoded to ensure TiVo compatibilty.\r
208 Example Settings: 384K, 448K.\r
209 Available In: Tivos, HD_tivos, SD_tivos\r
211 audio_fr\r
213 Recommended Setting: blank\r
214 pyTivo Defaults To: same frequency as source\r
215 Valid Entries: 44100, 48000\r
216 Required: No\r
217 Skill: Advanced\r
218 Description: Sets the audio sampling frequency. Defaults to frequency of the source file for better audio sync if it is 44100 or 48000. Otherwise 48000 is used.\r
219 Example Settings: 44100, 48000\r
220 Available In: Tivos, HD_tivos, SD_tivos\r
222 audio_ch\r
224 Recommended Setting: blank\r
225 pyTivo Defaults To: same channels as source\r
226 Valid Entries: any number compatible with ffmpeg and the audio codec selected\r
227 Required: No\r
228 Skill: Advanced\r
229 Description: Sets the number of audio channels used by ffmpeg. ffmpeg will retain the same number of channels as the source file by default. The default setting should work fine for most transfers unless the default audio_codec is changed. Change this setting to 2 if you do not want to retain 5.1 audio. A bug in ffmpeg will sometimes move the center audio channel to the left or right speaker. Setting this option to 2, on an as needed basis, or permanently, will correct this at the loss of 5.1 audio. But this should only be necessary on rare occasions where the source file is an mkv or xvid with ac3 5.1 audio bitrate above 448k.\r
230 Example Settings: 2, 6\r
231 Available In: Tivos, HD_tivos, SD_tivos\r
233 audio_codec\r
235 Recommended Setting: blank\r
236 pyTivo Defaults To: ac3 or copy\r
237 Valid Entries: mp2, ac3\r
238 Required: No\r
239 Skill: Advanced\r
240 Description: Sets the audio codec used by ffmpeg during transcoding. pyTivo defaults to ac3 in order to retain 5.1 audio should the source contain it. pyTivo also checks the audio codec and bitrate of the source and uses '-acodec copy' if it is compatible. Otherwise the Default Setting is used. Specifying an audio codec will disable these features and pyTivo will re-encode all audio using the codec specified.<br><br>+\\r
241 Allowing pyTivo to select '-acodec copy' whenever possible will generally produce the best results. This is meant to eliminate garbled audio during transcoding when the source contains audio glitches that cause ffmpeg to lose synchronization. This will also prevent the center audio channel from being moved to the right front speaker by ffmpeg when transferring mkv's and xvid's with audio bitrate of 448k or less.<br><br>+\\r
242 You may want to change this setting to mp2 if you only have an S2, or have specified a per tivo section for an S2, and do not wish to retain 5.1 audio for possible transfer to an S3 Tivo or back to the PC should the need arise. This will slightly reduce the amount of disk space used and allow for more recordings on an S2 Tivo. In this case, you will want to specify audio_codec=mp2, audio_ch=2, and audio_br=192k. These are the settings normally used by the S2 for recordings.\r
243 Example Settings: mp2, ac3\r
244 Available In: Tivos, HD_tivos, SD_tivos\r
246 audio_lang\r
248 Recommended Setting: 5.1, DTS, en  (entire string including commas)\r
249 pyTivo Defaults To: blank\r
250 Valid Entries: any language tag or audio stream number reported by ffmpeg\r
251 Required: No\r
252 Skill: Basic\r
253 Description: Sets the preferred language track used by pyTivo.  ffmpeg/pytivo defaults to the first audio stream.  Specifying this parameter, tells pyTivo to use the first audio stream that matches this entry if more than one audio stream exists.  If your video source does not have language tags, you may specify the audio stream number reported by ffmpeg (ie. 0.1, 0.2 ect.). Stream references like 0x80, 0x81, etc. may also be specified.  pyTivo will transcode the file if necessary to obtain the preferred language track.<br><br>+\\r
254 You can also assign new language tags to your files by adding Override lines to your metadata txt files.  This will enable pytivo to detect your audio language setting in files that do not contain language tags.  The syntax is<br>+\\r
255 Override_mapAudio 0.1 colon eng (replace the word colon with a colon)<br>+\\r
256 Where 0.1 is the audio stream number reported by ffmpeg and eng is the new audio tag to assign to that stream.  Add a separate Override line for each audio stream that you want to replace with a new tag.<br><br>+\\r
257 Example Settings: eng, ger, spa, en, ge, 0.0, 0.1, 0.2, 0x80, 0x81 etc...\r
258 Available In: Tivos, HD_tivos, SD_tivos\r
261 copy_ts\r
263 Recommended Setting: blank\r
264 pyTivo Defaults To: True\r
265 Valid Entries: blank, True, False\r
266 Required: No\r
267 Skill: Basic\r
268 Description: Adds the copy timestamps setting (-copyts) to the ffmpeg command.  This setting helps correct audio synchronization problems that commonly occur during transcoding.  You can leave this field blank unless you wish to disable it. pyTivo defaults to True except when pyTivo uses acodec copy, in which case copyts is not needed, and a conflict could also occur if the source file has really corrupt sections.<br><br>+\\r
269 Example Settings: blank, True, False\r
270 Available In: Tivos, HD_tivos, SD_tivos\r
272 ffmpeg_pram\r
274 Default Setting: blank\r
275 Valid Entries: A valid ffmpeg command\r
276 Required: No\r
277 Skill: Very Advanced\r
278 Description: This allows you to append additional raw ffmpeg commands to the ffmpeg template. For example, you would enter '-threads 2' here if you have multiple processors and want ffmpeg to use both processors to speed up transcoding.\r
279 Example Settings: -threads 2\r
280 Available In: Server, Tivos, HD_tivos, SD_tivos\r
282 ffmpeg_tmpl\r
284 Recommended Setting: blank\r
285 pyTivo Defaults To: %(video_codec)s %(video_fps)s %(video_br)s %(max_video_br)s %(buff_size)s %(aspect_ratio)s -comment pyTivo.py %(audio_br)s %(audio_fr)s %(audio_ch)s %(audio_codec)s %(audio_lang)s %(ffmpeg_pram)s %(format)s\r
286 Valid Entries: A valid ffmpeg command\r
287 Required: No\r
288 Skill: Very Advanced\r
289 Description: This is a template used by pyTivo to control the parameters passed to ffmpeg. It should not be necessary to modify this template unless there is a particular parameter you do not wish ffmpeg to use and it cannot be overridden by specifying that parameter in the pyTivo.conf file.\r
290 Example Settings: See Above and the forum.\r
291 Available In: Server, Tivos, HD_tivos, SD_tivos\r
293 type\r
295 Default Setting: None\r
296 Valid Entries: video, music, or any other valid plugin name.\r
297 Required: Yes\r
298 Skill: Basic\r
299 Description: Sets the type of share that this will be. This must be set to something otherwise pyTivo will not start. NOTE plugins names are generally lowercase.\r
300 Example Settings: video, music\r
301 Available In: Shares\r
303 path\r
305 Default Setting: None\r
306 Valid Entries: Any operating system path\r
307 Required: Yes\r
308 Skill: Basic\r
309 Description: Sets the base path to your media content. While pyTivo will start with an invalid path your shares will not work at all.\r
310 Example Settings: Windows = C:\videos | Linux = /home/user/media\r
311 Available In: Shares\r
313 aspect169\r
315 Default Setting: True\r
316 Valid Entries: True/False\r
317 Required: No\r
318 Skill: Moderate\r
319 Description: Most TiVos, even S2, can handle 16:9 videos perfectly. Some S2s are known not to handle 16:9 and will default to false in this setting. If you are experiencing major distortion you can try setting this to false. Likely most users will not have to mess with this.\r
320 Example Settings: True/False\r
321 Available In: Tivos\r
323 shares\r
325 Default Setting: Blank, which is equivalent to allow all shares on this TiVo.\r
326 Valid Entries: The name of any share in your pyTivo.conf file. A comma separated list.\r
327 Required: No\r
328 Skill: Easy\r
329 Description: Only the shares listed in this setting will be visible on this TiVo. Will ignore invalid shares. If no valid shares are listed or the setting does not exist, all shares will be visible on this TiVo.\r
330 Example Settings: Movies, Kids Stuff\r
331 Available In: Tivos\r
333 ffmpeg_wait\r
335 Recommended Setting: blank\r
336 pyTivo Defaults To: 10 (seconds)\r
337 Valid Entries: any integer\r
338 Required: No\r
339 Skill: Advanced\r
340 Description: Slow computers or NAS servers may result in pytivo reporting supported videos  as not supported (copy protected).  Increasing this setting will give ffmpeg more time to scan the file.\r
341 Example Settings: 10, 15, 20.\r
342 Available In: Server\r