You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add log file locations and information about envars (#378)
### Summarize your change.
Add some information about the RV logger:
- Where the log files are stored
- What envars are available
### Describe the reason for the change.
With the now implemented logger, the documentation was missing
information about where the logs are stored, and how to control the
logger with envars. This PR solves this issues.
Signed-off-by: Martin Chesnay <[email protected]>
Copy file name to clipboardExpand all lines: docs/rv-manuals/rv-user-manual/rv-user-manual-chapter-three.md
+47-32Lines changed: 47 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,10 +77,25 @@ which is identical to this:
77
77
shell> rv -gamma 0.454545454545
78
78
```
79
79
80
-
###Troubleshooting Open RV
80
+
## Troubleshooting Open RV
81
81
82
82
Launching RV from the command line is the best way to troubleshoot RV by giving you access to error messages or crash dumps.
83
83
84
+
You can also access the logs at the following locations:
85
+
86
+
| OS | Logs location |
87
+
| --- | --- |
88
+
| Linux |~/.local/share/Autodesk/RV/RV.log |
89
+
| macOS |~/Library/Logs/Autodesk/RV.log |
90
+
| Windows | %AppData%\Roaming\Autodesk\RV\RV.log |
91
+
92
+
These logs contain anything that is written in the RV Console.
93
+
94
+
You can control the size and number of log files kept by RV with the following environment variables:
95
+
96
+
-`RV_FILE_LOG_SIZE`: Sets the maximum size of each log file. When that maximum size is reached, RV creates a new log file. Default value is 5 MB.
97
+
-`RV_FILE_LOG_NUM_FILES`: Sets the number of log files to keep. If there are a number of log files equal to `RV_FILE_LOG_NUM_FILES`, then RV deletes the oldest log file before creating a new one. Default value is 2.
98
+
84
99
### Command-Line Options
85
100
86
101
|||
@@ -211,27 +226,27 @@ Launching RV from the command line is the best way to troubleshoot RV by giving
211
226
212
227
Table 3.1: Per-Source Command Line Options <aid="per-source-command-line-options"></a>
213
228
214
-
###3.1 Image Sequence Notation
229
+
## 3.1 Image Sequence Notation
215
230
216
231
RV has a special syntax to describe image sequences as source movies. Sequences are assumed to be files with a common base name followed by a frame number and an image type extension. For example, the filenames foo.1.tif and foo.0001.tif would be interpreted as frame 1 of the TIFF sequence foo. RV sorts images by frame numbers in numeric order. It sorts image base names in lexical order. What this means is that RV will sort images into sequences the way you expect it to. Padding tricks are unnecessary for RV to get the image order correct; image order will be interpreted correctly.
To play this image sequence in RV from the command line, you could start RV like this:
225
240
226
-
```
241
+
```sh
227
242
shell> rv foo.\*.tif
228
243
```
229
244
230
245
and RV will automatically attempt to group the files into a logical movie. ( **Note** : this will only work on Linux or Mac OS, or some other Unix-like shell, like cygwin on Windows.)
231
246
232
247
When you want to play a subset of frames or audio needs to be included, you can specify the sequence using the \`\`#'' or \`\`@'' notation (similar to Shake's) or the printf-like notation using \`\`%'' similar to Nuke.
233
248
234
-
```
249
+
```sh
235
250
rv foo.#.tif
236
251
rv foo.2-8#.tif
237
252
rv foo.2-8@@@@.tif
@@ -246,64 +261,64 @@ The next two examples use the printf-like syntax accepted by nuke. In the first
246
261
247
262
Sometimes, you will encounter or create an image sequence which is purposefully missing frames. For example, you may be rendering something that is very expensive to render and only wish to look at every tenth frame. In this case, you can specify the increment using the \`\`x'' character like this:
248
263
249
-
```
264
+
```sh
250
265
rv foo.1-100x10#.tif
251
266
```
252
267
253
268
or alternately like this using the \`\`@'' notation for padding to four digits:
254
269
255
-
```
270
+
```sh
256
271
rv foo.1-100x10@@@@.tif
257
272
```
258
273
259
274
or if the file was padded to three digits like foo.001.tif:
260
275
261
-
```
276
+
```sh
262
277
rv foo.1-100x10@@@.tif
263
278
```
264
279
265
280
In these examples, RV will play frames 1 through 100 by tens. So it will expect frames 1, 11, 21, 31, 41, on up to 91.
266
281
267
282
If there is no obvious increment, but the frames need to be group into a sequence, you can list the frame numbers with commas:
268
283
269
-
```
284
+
```sh
270
285
rv foo.1,3,5,7,8,9#.tif
271
286
```
272
287
273
288
In many cases, RV can detect file types automatically even if a file extension is not present or is mis-labeled.
274
289
275
290
**NOTE** : Use the same format for exporting multiple annotated frames.
276
291
277
-
####3.1.1 Negative Frame Numbers
292
+
### 3.1.1 Negative Frame Numbers
278
293
279
294
RV can handle negative frames in image sequences. If the frame numbers are zero padded, they should look like so:
280
295
281
-
```
296
+
```sh
282
297
foo.-012.tif
283
298
foo.-001.tif
284
299
```
285
300
286
301
To specify in and out points on the command line in the presence of negative frames, just include the minus signs:
287
302
288
-
```
303
+
```sh
289
304
foo.-10-20#.tif
290
305
foo.-10--5#.tif
291
306
```
292
307
293
308
The first example uses frames -10 to +20. The second example uses frames -10 to -5. Although the use of the \`\`-'' character to specify ranges can make the sequence a bit visually confusing, the interpretation is not ambiguous.
294
309
295
-
####3.1.2 Stereo Notation
310
+
### 3.1.2 Stereo Notation
296
311
297
312
RV can accept stereo notation similar to Nuke's \`\`%v'' and \`\`%V'' syntax. By default, RV can only recognize left, right, Left, and Right for %V and for %v it will try L, R, or l and r. You can change the substitutions by setting the environment variables RV_STEREO_NAME_PAIRS and RV_STEREO_CHAR_PAIRS. These should be set to a colon separated list of values (even on windows). For example, the defaults would look like this:
298
313
299
-
```
314
+
```sh
300
315
RV_STEREO_NAME_PAIRS = left:right:Left:Right
301
316
RV_STEREO_CHAR_PAIRS = L:R:l:r
302
317
```
303
318
304
319
So for example, if you have two image sequences:
305
320
306
-
```
321
+
```sh
307
322
foo.0001.left.exr
308
323
foo.0002.left.exr
309
324
foo.0001.right.exr
@@ -312,79 +327,79 @@ foo.0002.right.exr
312
327
313
328
you could refer to the entire stereo sequence as:
314
329
315
-
```
330
+
```sh
316
331
foo.%04d.%V.exr
317
332
```
318
333
319
-
###3.2 Source Layers from the Command Line
334
+
## 3.2 Source Layers from the Command Line
320
335
321
336
You can create source material from multiple audio, image, and movie files from the command line by enclosing them in square brackets. The typical usage looks something like this:
322
337
323
-
```
338
+
```sh
324
339
shell> rv [ foo.#.exr soundtrack.aiff ]
325
340
```
326
341
327
342
Note that there are spaces around the brackets: they must be completely separated from subsequent arguments to be interpreted correctly. You cannot nest brackets and the brackets must be matched;for every begin bracket there must be an end bracket.
328
343
329
-
####3.2.1 Associating Audio with Image Sequences or Movie Files
344
+
### 3.2.1 Associating Audio with Image Sequences or Movie Files
330
345
331
346
Frequently a movie file or image sequence needs to be viewed with one or more separate audio files. When you have multiple layers on the command line and one or more of the layers are audio files, RV will play back the all of the audio files mixed together along with the images or movies. For example, to play back a two wav files with an image sequence:
332
347
333
-
```
348
+
```sh
334
349
shell> rv [ foo.#.exr first.wav second.wav ]
335
350
```
336
351
337
352
If you have a movie file which already has audio you can still add additional audio files to be played:
####3.2.2 Dual Image Sequences and/or Movie Files as Stereo
358
+
### 3.2.2 Dual Image Sequences and/or Movie Files as Stereo
344
359
345
360
It's not unusual to render left and right eyes separately and want to view them as stereo together. When you give RV multiple layers of movie files or image sequences, it uses the first two as the left and right eyes.
As with the mono case, any number of audio files can be added: they will be played simultaneously.
364
379
365
-
####3.2.3 Per-Source Arguments
380
+
### 3.2.3 Per-Source Arguments
366
381
367
382
There are a few arguments which can be applied with in the square brackets (See Table [3.1](#per-source-command-line-options) ). The range start sets the first frame number to its argument; so for example to set the start frame of a movie file with or without a time code track so that it starts at frame 101:
368
383
369
-
```
384
+
```sh
370
385
shell> rv [ -rs 101 foo.mov ]
371
386
```
372
387
373
388
You must use the square brackets to set per-source arguments (and the square brackets must be surrounded by spaces).
374
389
375
390
The -in and -out per-source arguments are an easy way to create an EDL on the command line, even when playing movie files.
376
391
377
-
####3.2.4 A note on the -fps per-source argument
392
+
### 3.2.4 A note on the -fps per-source argument
378
393
379
394
The point of the -fps arg is to provide a scaling factor in cases where the frame rate of the media cannot be determined and you want to play an audio file with it. For example, if you want to play "[foo.#.dpx foo.wav]"in the same session with "[bar.#.dpx bar.wav]" but the "native frame rate of foo is 24fps and the native frame rate of bar is 30fps, then you might want to say:
This will ensure that the video and audio are synced properly no matter what frame rate you use forplayback. To clarify further, the per-source -fps flag has no relation to the frame rate that is used for playback, andin general RV plays media (all loaded media) at whatever single frame rate is currently in use.
386
401
387
-
####3.2.5 Source Layer Caveats and Capabilities
402
+
### 3.2.5 Source Layer Caveats and Capabilities
388
403
389
404
There are a number of things you should be aware of when using source layers. In most cases, RV will attempt to do something with what you give it. However, if your input is logically ambiguous the result may be different than what you expect. Here are some things you should avoid using in layers of a single source:
390
405
@@ -403,11 +418,11 @@ Here are some things that are OK to do with layers:
403
418
- A movie with audio for one eye and a movie without audio for the other
404
419
- Audio files with no imagery
405
420
406
-
###3.3 Directories as Input
421
+
## 3.3 Directories as Input
407
422
408
423
If you give RV the name of a directory instead of a single file or an image sequence it will attempt to interpret the contents of the directory. RV will find any single images, image sequences, or single movie files that it can and present them as individual source movies. This is especially useful with the directory \`\`.'' on Linux and macOS. If you navigate in a shell to a directory that contains an image sequence for example, you need only type the following to play it:
0 commit comments