/usr/share/doc/gpac/configuration.html is in gpac 0.5.2-426-gc5ad4e4+dfsg5-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>GPAC Configuration documentation </title>
</head>
<p style="text-align: center;">
<br/>
<b><span style="Font-Size: 24pt">GPAC Configuration file documentation<br/>Version 0.5.2-dev</span></b>
<br/>
</p>
<br/><br/>
<a name="Overview"></a><span style="text-decoration: underline;"><b>Overview</b></span>
<p style="text-indent: 5%">
Some applications in the GPAC framework use a configuration file shared among modules and reloadable at run time. Modules may use the configuration file as well (to avoid multiple config files). This doc attempts to provide explanations for the different options.
<br/><br/>
The config file is ordered by sections and keys.
<br/>A section is declared as <b><i>SectionName</i></b>. Defined sections are:
<br/>
<b><a href="#General" style="text-decoration: underline;">General</a></b>
<b><a href="#RecentFiles" style="text-decoration: underline;">RecentFiles</a></b>
<b><a href="#Systems" style="text-decoration: underline;">Systems</a></b>
<b><a href="#Compositor" style="text-decoration: underline;">Compositor</a></b>
<b><a href="#Audio" style="text-decoration: underline;">Audio</a></b>
<b><a href="#Video" style="text-decoration: underline;">Video</a></b>
<b><a href="#Network" style="text-decoration: underline;">Network</a></b>
<b><a href="#FontEngine" style="text-decoration: underline;">FontEngine</a></b>
<b><a href="#Downloader" style="text-decoration: underline;">Downloader</a></b>
<b><a href="#HTTPProxy" style="text-decoration: underline;">HTTPProxy</a></b>
<b><a href="#Streaming" style="text-decoration: underline;">Streaming</a></b>
<b><a href="#MimeTypes" style="text-decoration: underline;">MimeTypes</a></b>
<b><a href="#StreamingCache" style="text-decoration: underline;">StreamingCache</a></b>
<b><a href="#SAXLoader" style="text-decoration: underline;">SAXLoader</a></b>
<b><a href="#XviD" style="text-decoration: underline;">XviD</a></b>
<b><a href="#FFMPEG" style="text-decoration: underline;">FFMPEG</a></b>
<b><a href="#ISOReader" style="text-decoration: underline;">ISOReader</a></b>
<b><a href="#DVB" style="text-decoration: underline;">DVB</a></b>
<b><a href="#DASH" style="text-decoration: underline;">DASH</a></b>
<b><a href="#ALSA" style="text-decoration: underline;">ALSA</a></b>
<b><a href="#SHORTCUTS" style="text-decoration: underline;">Shortcuts</a></b>
<b><a href="#DSMCC" style="text-decoration: underline;">DSMCC</a></b>
<b><a href="#OpenHEVC" style="text-decoration: underline;">OpenHEVC</a></b>
<b><a href="#DirectFB" style="text-decoration: underline;">DirectFB</a></b>
<b><a href="#DektecVideo" style="text-decoration: underline;">DektecVideo</a></b>
</p>
<br/><br/>
A key is declared as <b><i>keyName</i></b>=<i>value</i>. The key value is not interpreted and always handled as ASCII text.
<br/><br/>
<ul>
<li>
<span style="text-decoration: underline;">On Windows plateforms</span>, this config file is called "GPAC.cfg" and is <i>usually</i> located in C:\\Program Files\\GPAC. Note that Osmo4 will always create a config file in its own directory when none is found.
<br/><br/>
</li>
<li>
<span style="text-decoration: underline;">On Windows CE plateform</span>, this config file is called "GPAC.cfg" and is <i>usually</i> located in \\Program Files\\GPAC. Note that Osmo4 / CE will always create a config file in its own directory when none is found.
<br/><br/>
</li>
<li>
<span style="text-decoration: underline;">On GNU/Linux plateforms</span>, this config file is called ".gpacrc" and is <i>always</i> located at the root of the user home directory (for ex, /home/jean/.gpacrc).
<br/><br/>
</li>
</ul>
<br/>
<br/><br/><i>Note on module names:</i>
<br/>Module names as given in the config file are names exported by each interface and not name of the physical library file (<i>.dll, .so, ...</i>). The physical file name can however be used to identify a module - it will then be replaced by the module name.
<br/><br/>
<br/><br/>
<a name="General"></a>
<span style="text-decoration: underline;"><b>Section "General"</b></span> <i><a href="#Overview">Back to top</a></i>
<p>
The <b>General</b> section of the config file holds player specific options.
</p>
<b>ModulesDirectory</b> [value: <i>path to directory</i>]
<p style="text-indent: 5%">
Specifies the path to modules directory. The MPEG-4 Systems engine cannot be loaded without modules. This option is used by GPAC clients on all platforms.
</p>
<b>CacheDirectory</b> [value: <i>path to storage directory</i>]
<p style="text-indent: 5%">
Specifies location of temp files. The user must have write access to this location. Although not used by applications, this is used by several modules.
</p>
<b>StartupFile</b> [value: <i>filename</i>]
<p style="text-indent: 5%">
Specifies file to load upon startup of most clients (Osmo4/MP4Client). If not specified, no file is loaded.
</p>
<b>LogFile</b> [value: <i>filename</i>]
<p style="text-indent: 5%">
Specifies where to output GPAC's log. By default, the logs are written to stdout. Note that GPAC may be compiled without log support. This is not used by MP4Client.
</p>
<b>Logs</b> [value: <i>tool[:tool]@level:tool[:tool]@level</i>]
<p style="text-indent: 5%">
Specifies log level for each tool. By default, only errors are logged. Available levels are:
<ul>
<li><i>quiet</i> : no logging is performed on the tool</li>
<li><i>error</i> : only errors are logged</li>
<li><i>warning</i> : warnings are also logged.</li>
<li><i>info</i> : information messages are also logged</li>
<li><i>debug</i> : debug messages are also logged</li>
</ul>
<br/>
Available tools are:
<ul>
<li><i>core</i> : libgpac core</li>
<li><i>coding</i> : bitstream formats (audio, video, scene)</li>
<li><i>container</i> : container formats (ISO File, MPEG-2 TS, AVI, ...)</li>
<li><i>network</i> : network data exept RTP trafic</li>
<li><i>rtp</i> : rtp, rtcp and rtsp trafic</li>
<li><i>author</i> : authoring tools (hint, import, export)</li>
<li><i>sync</i> : terminal sync layer</li>
<li><i>codec</i> : terminal codec messages</li>
<li><i>parser</i> : scene parsers (svg, xmt, bt) and other</li>
<li><i>media</i> : terminal media object management</li>
<li><i>scene</i> : scene graph and scene manager</li>
<li><i>script</i> : scripting engine messages</li>
<li><i>interact</i> : user interaction messages</li>
<li><i>compose</i> : composition engine (events, etc)</li>
<li><i>cache</i> : HTTP cache</li>
<li><i>mmio</i> : Audio/Video HW I/O management</li>
<li><i>rti</i> : Run-time info (CPU, mem, ...)</li>
<li><i>smil</i> : SMIL timing and animation</li>
<li><i>memory</i> : GPAC memory tracker</li>
<li><i>audio</i> : Audio renderer and mixers</li>
<li><i>module</i> : used by some modules</li>
<li><i>mutex</i> : mutex information</li>
<li><i>console</i> : console messages, such as script alert() and error notifications</li>
</ul>
</p>
<p>
<br/><br/>
</p>
<span style="text-decoration: underline;">Options defined for Osmo4 (Windows version and wxWidgets version):</span><br/><br/>
<b>Loop</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
Specifies whether the presentation has to be restarted when done playing.
</p>
<b>ConsoleOff</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
Specifies whether application messages (script, buffering, download progress) are displayed in the console or not.
</p>
<b>SingleInstance</b> [value: <i>"yes", "no"</i>]
<p style="text-indent: 5%">
Specifies if the player should be a single instance application or not (Osmo4-Win32 only).
</p>
<b>LookForSubtitles</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
Specifies if Osmo4 shall look for subtitle files when opening a presentation.
</p>
<b>ViewXMT</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
Specifies if scene dumping shall be done in XML (XMT, X3D) or in VRML-like syntax (BT, WRL).
</p>
<b>ConfigPanel</b> [value: <i>positive integer</i>]
<p style="text-indent: 5%">
Specifies the latest config panel selected by user.
</p>
<b>NoMIMETypeFetch</b> [value: <i>"yes", "no"</i>]
<p style="text-indent: 5%">
Specifies if the player has to check for mime type when following hyperlinks, or only follow links of known extensions.
</p>
<b>Loop</b> [value: <i>"yes", "no"</i>]
<p style="text-indent: 5%">
Specifies if the playlist shall be restarted when playback is over.
</p>
<b>PLEntry</b> [value: <i>positive integer</i>]
<p style="text-indent: 5%">
Indicates active playlist entry when player was last closed. Playlist backup is:
</p>
<ul>
<li>"gpac_pl.m3u" on win32 platforms, stored in same directory as application</li>
<li>".gpac_pl.m3u" on other platforms, stored in user home directory</li>
</ul>
<b>FillScreen</b> [value: <i>"yes", "no"</i>]
<p style="text-indent: 5%">
Specifies if the display area shall fill all available space on screen. WindowsMobile/Symbian only
</p>
<b>DisableBackLight</b> [value: <i>"yes", "no"</i>]
<p style="text-indent: 5%">
Specifies if the screen backlighting shall be disabled while playing. WindowsMobile/Symbian only
</p>
<b>LastWorkingDir</b> [value: <i>"yes", "no"</i>]
<p style="text-indent: 5%">
Specifies the directory of the last local file opened. Smartphone Windows only
</p>
<b>Browser</b> [value: <i>string</i>]
<p style="text-indent: 5%">
Specifies prefered browser for WWW anchors and scene graph viewing - Only used by Osmo4/wxWidgets.
</p>
<a name="RecentFiles"></a>
<span style="text-decoration: underline;"><b>Section "RecentFiles"</b></span> <i><a href="#Overview">Back to top</a></i>
<p>
The "RecentFiles" section of the config file holds last accessed files (hardcoded to no more than 20) in the last access order. The keys are
the file names and no value is used. This section is only used by GUI clients (osmo4/wxOsmo4)
</p>
<a name="Systems"></a>
<span style="text-decoration: underline;"><b>Section "Systems"</b></span> <i><a href="#Overview">Back to top</a></i>
<p>
The "Systems" section of the config file holds all configuration options for the MPEG-4 Systems engine.
</p>
<b>LanguageName</b> [value: <i>string</i>]
<p style="text-indent: 5%">
Specifies the user prefered language in readable english. This is used to select streams in case of alternate content in an audio object.
</p>
<b>Language3CC</b> [value: <i>3-char code from ISO 639-2</i>]
<p style="text-indent: 5%">
Specifies the user prefered language as expressed in ISO 639-2. This is used to select streams in case of alternate content in an audio object.
</p>
<b>Language2CC</b> [value: <i>2-char code from ISO 639-1</i>]
<p style="text-indent: 5%">
Specifies the user prefered language as expressed in ISO 639-1. This is used to select streams in case of alternate content in an audio object.
</p>
<b>DrawLateFrames</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
If set, late frames will still be drawn. If not set, the late frames are droped (or executed for systems decoders) untill the decoder output is back in sync. This is by default on to keep better testing heavy content or slow renderers, but should be set to off when needing a better sync or monitoring skipped frames.
</p>
<b>ForceSingleClock</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
One big problem with MP4 files is that the notion of "duration" has been unclear for a long time, and most content available (audio-video files) specifiy a
wrong BIFS duration. In such a case the movie cannot be controled/seeked into. Another problem with ISMA streaming is that BIFS/OD don't use the same clock as
audio/video, thus seeking the main timeline does not seek AV media. Setting the ForceSingleClock will handle both cases by using a single timeline for all media
streams and setting the duration to the one of the longest stream.
</p>
<b>ThreadingPolicy</b> [value: <i>"Free" "Single" "Multi"</i>]
<p style="text-indent: 5%">
Specifies how media decoders are to be threaded. "Free" lets decoders decide of their threading, "Single" means that all decoders are managed in a single thread performing scheduling and priority
handling and "Multi" means that each decoder runs in its own thread.
</p>
<b>Priority</b> [value: <i>"low" "normal" "high" "real-time"</i>]
<p style="text-indent: 5%">
Specifies the priority of the decoders (priority is applied to decoder thread(s) regardless of threading mode).
</p>
<b>TimeSlice</b> [value: <i>unsigned integer</i>]
<p style="text-indent: 5%">
Specifies the target maximum time (in ms) of one cycle of the media manager (the media manager will attempts to call all the active decoders within this time. Depending on the threading mode this option can be ignored;
</p>
<b>ModuleUnload</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
Specifies whether modules should be unloaded if not used or not. Default: "yes".
</p>
<b>ResyncLateClock</b> [value: <i>unsigned integer</i>]
<p style="text-indent: 5%">
Specifies the threshold after which late clocks are resynchronized to timestamps for OCR streams. By default, no threashold (0) is used and clocks are never resynchronized. This allows to
resync clocks to the media owning the clock when the decoding is really too slow, and should only be used for debugging purposes.
</p>
<b>NoVisualThread</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
Specifies whether the visual rendering is done in the main codec manager or in a dedicated thread.
</p>
<b>DefAudioDec</b> , <b>DefVideoDec</b> and <b>DefImageDec</b> [value: <i>string</i>]
<p style="text-indent: 5%">
Specifies which module to use by default for audio/video/image decoding. The string is the name of the module to be used (same considerations as other modules, cf introduction).
</p>
<b>codec_<i>XX</i>_<i>XX</i></b> [value: <i>string</i>]
<p style="text-indent: 5%">
Allows to specify default media module (audio/video) per stream type and object type. This is usefull if you have more than one decoder for a given type (ex, XviD and FFMPEG for MPEG-4 visual SP). The syntax is:
<br/>codec_<i>AA</i>_<i>BB</i>=<i>modulename</i><br/>
where <i>AA</i> is the hexadecimal MPEG-4 streamType value for the codec (04=visual, 05=audio) and <i>BB</i> is the hexadecimal MPEG-4 objectTypeIndication of the media (0x20 = MPEG-4 video, 0x40=MPEG-4 Audio, ...).
The string is the name of the module to be used (same considerations as other modules, cf introduction).
</p>
<a name="Compositor"></a>
<span style="text-decoration: underline;"><b>Section "Compositor"</b></span> <i><a href="#Overview">Back to top</a></i>
<p>
The "Compositor" section of the config file holds all configuration options for the compositor (logical rendering engine).
</p>
<b>Raster2D</b> [value: <i>string</i>]
<p style="text-indent: 5%">
Specifies the 2D rasterizer to use for vectorial drawing. Same as above, this module cannot be reloaded during a presentation.</p>
<b>FrameRate</b> [value: <i>float</i>]
<p style="text-indent: 5%">
Specifies the simulation frame-rate of the presentation - this value is also used by the MPEG-4 Systems engine to determine when a BIFS frame is mature for decoding.</p>
<b>AntiAlias</b> [value: <i>"None" "All" "Text"</i>]
<p style="text-indent: 5%">
Specifies antialiasing settings - whether the setting is applied or not depends on the graphics module / graphic card.
</p>
<ul>
<li><i>"None"</i>: no anti-aliasing</li>
<li><i>"Text"</i>: anti-aliasing for text only</li>
<li><i>"All"</i>: complete anti-aliasing</li>
</ul>
<b>HighSpeed</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
Specifies whether rendering should target speed or quality - whether the setting is applied or not depends on the renderer, graphics module / graphic card.</p>
<b>ForceSceneSize</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
Forces the scene to resize to the biggest bitmap available if no size info is given in the BIFS configuration.</p>
<b>StressMode</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
Specifies that the renderer runs in worst case scenario, recomputing display lists and reloading textures (sending them to graphics card) at each frame even when no change has occured.</p>
<b>BoundingVolume</b> [value: <i>"None" "Box" "AABB"</i>]
<p style="text-indent: 5%">
Specifies whether the bounding volume of an object shall be drawn or not. Note that the 2D renderer only uses rectangles as bounding volumes. The "AABB" value is used by the
3D renderer only, and specifies the object bounding-box tree shall be drawn.</p>
<b>ColorKey</b> [value: <i>unsigned hexadecimal integer, formated as AARRGGBB</i>]
<p style="text-indent: 5%">
Specifies the color key to use for windowless rendering. GPAC currently doesn't support true alpha blitting to desktop due to limitations in most windowing toolkit, it therefore uses color keying mechanism. The alpha part of the key is used for global transparency of GPAC's output, if supported.
</p>
<b>BackColor</b> [value: <i>unsigned hexadecimal integer, formated as AARRGGBB</i>]
<p style="text-indent: 5%">
Specifies the background color to use when displaying transparent images or video with no scene compoistion instructions.
</p>
<b>DrawMode</b> [value: <i>"immediate" "defer" "defer-debug"</i>]
<p style="text-indent: 5%">
Specifies whether immediate drawing should be used or not. In immediate mode, the screen is completely redrawn at each frame. In defer mode
object positioning is tracked from frame to frame and dirty rectangles info is collected in order to redraw the minimal amount of the screen buffer. Whether
the setting is applied or not depends on the graphics module (currently all modules handle both mode). Defer Debug mode only renders changed areas.</p>
<b>ScalableZoom</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
Specifies whether scalable zoom should be used or not. When scalable zoom is enabled, resizing the output window will also recompute all vectorial objects. Otherwise only the final buffer is stretched.</p>
<b>DisableYUV</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
Disables YUV hardware support (YUV hardware support may not be available for the current video output module).</p>
<b>TextureFromDecoderMemory</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
Allows video textures to be build directly from video decoder internal buffers. This may increase performances on some systems. Default is no.</p>
<b>ForceOpenGL</b> [value: <i>"always", "disable", "hybrid", "raster"</i>]
<p style="text-indent: 5%">
Specifies that 2D rendering will be performed by OpenGL rather than raster 2D. This will involve polygon tesselation which may not be supported on all platforms, and 2D graphics will not loo as nice as 2D mode. The hybrid mode performs software drawing of 2D graphics with no textures (better quality) and uses OpenGL for all textures. The raster mode only uses OpenGL for pixel IO but does not perform polygin fill (no tesselation) (slow, mainly for test purposes).</p>
<b>EnablePBO</b> [value: <i>"yes", "no"</i>]
<p style="text-indent: 5%">
Uses PixelBufferObjects to push YUV textures to GPU in OpenGL Mode.. This may slightly increase the performances of the playback.</p>
<b>DefaultNavigationMode</b> [value: <i>"Walk", "Fly", "Examine"</i>]
<p style="text-indent: 5%">
Overrides the default navigation mode of MPEG-4/VRML (Walk) and X3D (Examine).</p>
<b>RasterOutlines</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
Specifies that outlining shall be done through OpenGL pen width rather than vectorial outlining.</p>
<b>PolygonAA</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
Specifies whether polygon antialiasing should be used in full antialiasing mode. If not set, only lines and points antialiasing are used.</p>
<b>DisableBackFaceCulling</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
Specifies whether backface culling shall be disable or not. If not set, backface culling is performed.</p>
<b>Wireframe</b> [value: <i>"WireNone" "WireOnly" "WireOnSolid"</i>]
<p style="text-indent: 5%">
Specifies wireframe drawing options:</p>
<ul>
<li><i>"WireNone"</i>: objects are drawn as solid</li>
<li><i>"WireOnly"</i>: objects are drawn as wireframe only</li>
<li><i>"WireOnSolid"</i>: objects are drawn as solid and wireframe is then drawn</li>
</ul>
<b>DisableRectExt</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
Specifies whether OpenGL rectangular texture extension (GL_EXT_texture_rectangle or GL_NV_texture_rectangle) shall be used or not.</p>
<ul>
<li>"yes": textures whose dimensions are not power of two are rescaled except if hardware support non-power-of-two textures (GL_ARB_texture_non_power_of_two) natively.</li>
<li>"no": if extension is available, textures are used without rescaling. Note that in this case texture transformations are disabled.</li>
</ul>
<b>EmulatePOW2</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
Enables power of 2 emulation. Ignored if openGL rectangular texture extension is enabled.</p>
<ul>
<li>"yes": video texture is not resized but emulated with padding. This usually speeds up video mapping on shapes but disables texture transformations.</li>
<li>"no": video is resized to a power of 2 texture when mapping to a shape.</li>
</ul>
<b>DisableGLUScale</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
Disables usage of gluScaleImage, which may be slower but nicer than GPAC's software stretch routines.</p>
<b>TextureTextMode</b> (value: <i>"Default", "Never", "Always"</i>]
<p style="text-indent: 5%">
Specifies whether text shall be drawn to a texture and then rendered or directly rendered. Using textured text can improve text rendering in 3D and also improve text-on-video like content. Default value will use texturing for OpenGL rendering. </p>
<b>OpenGLExtensions</b> [value: <i>string</i>]
<p style="text-indent: 5%">
Read-only option listing the OpenGL extensions supported by the GL driver. Only valid after the 3D renderer has been used.
</p>
<b>StereoType</b> [value: <i>"None", "SideBySide", "TopToBottom", "Anaglyph", "Columns", "Rows", "SPV19", "Custom"</i>]
<p style="text-indent: 5%">
Specifies the stereo output type (default "None"). If your graphic card does not support OpenGL shaders, only <i>SideBySide</i> and <i>TopToBottom</i> modes will be available.</p>
<ul>
<li>"SideBySide": images are displayed side by side from left to right.</li>
<li>"TopToBottom": images are displayed from top (laft view) to bottom (right view).</li>
<li>"Anaglyph": Standard color anaglyph (red for left view, green and blue for right view) is used.</li>
<li>"Columns": images are interleaved by columns, left view on even columns and left view on odd columns.</li>
<li>"Rows": images are interleaved by columns, left view on even rows and left view on odd rows.</li>
<li>"SPV19": images are interleaved by for SpatialView 19'' 5 views display, fullscreen mode.</li>
<li>"Custom": images are interleaved according to the shader specified by <i>InterleaverShader</i>
</ul>
<b>NumViews</b> [value: <i>unsigned integer</i>]
<p style="text-indent: 5%">
Specifies the number of views to use in stereo mode. If mode is "Anaglyph", "Columns" or "Rows", the number of views is forced to 2.</p>
<b>InterleaverShader</b> [value: <i>path to fragment shader file</i>]
<p style="text-indent: 5%">
Specifies the fragment shader file to use for view interleaving. Each view is rendered in its own texture. The shader is exposed each view as <i>uniform sampler2D gfViewX</i>, where X is the view number starting from the left (<i>gfView1</i>).</p>
<b>ReverseViews</b> [value: <i>"yes", "no"</i>]
<p style="text-indent: 5%">
Specifies if the view order should be reversed (from right to left) or not.</p>
<b>EyeSeparation</b> [value: <i>float</i>]
<p style="text-indent: 5%">
Specifies the eye separation in cm (distance between the cameras). Default: 6.3 cm.</p>
<b>CameraLayout</b> [value: <i>"OffAxis", Linear", "Circular"</i>]
<p style="text-indent: 5%">
Specifies the camera layout. The default value is OffAxis in (auto-)stereo modes, ignored in mono mode.</p>
<b>ViewDistance</b> [value: <i>integer</i>]
<p style="text-indent: 5%">
Specifies the distance in cm between the camera and the zero-disparity plane. There is currently no automatic calibration of depth in GPAC.</p>
<br/><br/>
<a name="Audio"></a>
<span style="text-decoration: underline;"><b>Section "Audio"</b></span> <i><a href="#Overview">Back to top</a></i>
<p>The "Audio" section of the config file holds all configuration options for the audio rendering engine and hardware.</p>
<b>DriverName</b> [value: <i>string</i>]
<p style="text-indent: 5%">
Specifies the driver to use for audio rendering. This driver cannot be reloaded at run-time, the complete system must be restarted.</p>
<b>ForceConfig</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
Forces a given sound card configuration to be used. If not set the sound card will be setup to use 2 audio buffers of 1024 samples each.
This may not work properly on some audio cards due to hardware latency, therefore forcing the config may be very usefull.</p>
<b>NumBuffers</b> [value: <i>positive integer, 0 forbidden</i>]
<p style="text-indent: 5%">
When config is forced, specifies the number of audio buffers to allocate (audio buffers are played in ring).</p>
<b>TotalDuration</b> [value: <i>positive integer, 0 forbidden</i>]
<p style="text-indent: 5%">
When config is forced, specifies the total audio buffer size in milliseconds. Be aware that the longer the audio buffer is, the longer the audio latency will be when pausing an
audio object. The quality of fast forward audio playback will also be degradated when using large audio buffers.</p>
<b>NoResync</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
Disables audio resynchronization: audio data is never dropped but may get out of sync.</p>
<b>DisableMultiChannel</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
Disables audio multichannel output and always downmix to stereo. This may be usefull if the multichannel output behaves weirdly.</p>
<b>DisableNotification</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
Disables usage of audio buffer notifications when supported (currently only DirectSound supports it). If DirectSound audio sounds weird try without notifications.</p>
<b>Volume</b> [value: integer (0-100)]
<p style="text-indent: 5%">
Default audio volume used when launching GPAC.</p>
<b>Pan</b> [value: integer (0-100)]
<p style="text-indent: 5%">
Default audio stereo balance used when launching GPAC - 0 for full left, 100 for full right, 50 for balanced.</p>
<b>Filter</b> [value: string]
<p style="text-indent: 5%">
Defines a set of audio filters. Audio filters are declared as a list of strings separated with ";;". The exact syntax of the string is filter specific.</p>
<br/><br/>
<a name="Video"></a>
<span style="text-decoration: underline;"><b>Section "Video"</b></span> <i><a href="#Overview">Back to top</a></i>
<p>The "Video" section of the config file holds all configuration options for the video renderer and hardware.</p>
<b>DriverName</b> [value: <i>string</i>]
<p style="text-indent: 5%">
Specifies the driver to use for video memory access. This driver cannot be reloaded at run-time, the complete system must be restarted.</p>
<b>SwitchResolution</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
Specifies fullscreen resolution mode. If enabled, selects smallest video resolution larger than scene size, otherwise use current video resolution.</p>
<b>HardwareMemory</b> [value: <i>"Auto" "Always" "Never"</i>]
<p style="text-indent: 5%">
Only valid for 2D renderer. Specifies if main video backbuffer is always on hardware, always on system memory or selected by GPAC (default mode). Depending on the scene type, this may drastically change the playback speed.</p>
<b>DisableColorKeying</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
Only valid for 2D renderer. Specifies if partial overlays should be disabled. If not disabled, hardware color keying for overlays is tested and used if present. Otherwise, only the top-most video with no overlapping objects will be drawn using overlays. Default value is "no".</p>
<b>UseGLDoubleBuffering</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
Specifies if OpenGL double buffering shall be used. Default is "no".</p>
<b>GLNbBitsPerComponent</b> [value: <i>positive integer</i>]
<p style="text-indent: 5%">
Specifies the number of bits per color component. Default is 5.</p>
<b>GLNbBitsDepth</b> [value: <i>positive integer</i>]
<p style="text-indent: 5%">
Specifies the number of bits for the depth buffer. Default is 16.</p>
<b>X113DOffscreenMode</b> [value: <i>"Window" "VisibleWindow" "Pixmap"</i>]
<p style="text-indent: 5%">
Specifies the type of OpenGL offscreen rendering in X11. Default mode is "Pixmap".</p>
<ul>
<li><i>"Window"</i>: A hidden window is used to perform offscreen rendering. Depending on your video driver and X11 configuration, this may not work.</li>
<li><i>"VisibleWindow"</i>: A visible window is used to perform offscreen rendering. This can be usefull while debugging.</li>
<li><i>"Pixmap"</i>: An X11 Pixmap is used to perform offscreen rendering. Depending on your video driver and X11 configuration, this may not work and can even crash the player.</li>
</ul>
<br/><br/>
<a name="Network"></a>
<span style="text-decoration: underline;"><b>Section "Network"</b></span> <i><a href="#Overview">Back to top</a></i>
<p>The "Network" section of the config file holds all configuration options for the network used by modules and systems engine.</p>
<b>AutoReconfigUDP</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
Specifies if network manager shall reconnect a scene if UDP is not present.</p>
<b>DataTimeout</b> [value: <i>positive integer</i>]
<p style="text-indent: 5%">
Specifies timeout in ms befor initial media buffering aborts. Default terminal value is 20000 (20 seconds).</p>
<b>UDPNotAvailable</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
Specifies if UDP traffic is not available. This is automatically set by GPAC if <i>AutoReconfigUDP</i> is set.</p>
<b>UDPTimeout</b> [value: <i>positive integer</i>]
<p style="text-indent: 5%">
Specifies timeout in ms for initial UDP detection. Once a UDP packet is recieved the timeout is ignored.</p>
<b>BufferLength</b> [value: <i>positive integer</i>]
<p style="text-indent: 5%">
Specifies the length of the decoding buffer in milliseconds. The client will wait for the buffer to be filled before starting decoding. A module may decide to use a different value based on protocol and network jitters. </p>
<b>RebufferLength</b> [value: <i>positive integer</i>]
<p style="text-indent: 5%">
Specifies rebuffering length of the decoding buffer in milliseconds. Whenever the decoding buffer fullness is less than this value, the object clock is paused and
the stream rebuffered till BufferLength. Therefore a value of 0 means no rebuffering. A module may decide to use a different value based on protocol and network jitters.
</p>
<b>LowLatencyBufferMax</b> [value: <i>positive integer</i>]
<p style="text-indent: 5%">
Specifies the maximum buffer level for low latency mode, in ms. If media buffer max is above this value, full buffering will be done (clock resume at first frame displayed). Default value is 500 ms.</p>
</p>
<b>MobileIP</b> [value: <i>IP Address</i>]
<p style="text-indent: 5%">
Specifies a Mobile IP interface overriding the default IP. If set, all sockets will be locally bound to this IP address.</p>
</p>
<b>DefaultMCastInterface</b> [value: <i>IP Address</i>]
<p style="text-indent: 5%">
Specifies a default IP interface for Multicast overriding the default IP.If not set, the multicast will be setup using the default IP. </p>
</p>
<b>HTTPRebuffer</b> [value: <i>positive integer</i>]
<p style="text-indent: 5%">
Specifies the default HTTP rebuffer time in ms. When playback position reaches download position, playback will be paused if this integer is not zero. Playback will resume once the HTTPRebuffer ms of playback are available. Default value is 5000 ms.</p>
</p>
<b>HTTPAutoRebuffer</b> [value: <i>"yes", "no"</i>]
<p style="text-indent: 5%">
Specifies whether auto rebuffering is used. When auto-rebuffering is used, playback only resumes when estimated time to download the rest of the movie is less than remaining time of the playback. Default value is no.</p>
</p>
<br/><br/>
<a name="FontEngine"></a>
<span style="text-decoration: underline;"><b>Section "FontEngine"</b></span> <i><a href="#Overview">Back to top</a></i>
<p>The "FontEngine" section of the config file holds all configuration options for the font handling. The GPAC rendering module handles text through vectorial outline, allowing graphics module development without having to
integrate text rendering which is always heavy work.</p>
<b>FontReader</b> [value: <i>string</i>]
<p style="text-indent: 5%">
Specifies the module to use for font handling. This module cannot be reloaded at run-time, GPAC must be restarted.</p>
<b>WaitForFontLoad</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
Forces to wait for SVG fonts to be loaded before displaying frames - default is "no".</p>
<b>FontDirectory</b> (value: <i>path to TrueType (*.ttf, *.ttc) font directory</i>]
<p style="text-indent: 5%">
Specifies the directory where fonts are located - currently only one directory can be specified (however nothing stops a font module from using a private directory).
<br/><i>Note:</i>
The freetype module will scan the entire sub-directories for fonts.
</p>
<b>FontSerif</b> [value: <i>string</i>]}: specifies default SERIF font.<br/>
<b>FontSans</b> [value: <i>string</i>]}: specifies default SANS font.<br/>
<b>FontFixed</b> [value: <i>string</i>]}: specifies default fixed font.<br/>
<br/>
<i>Note:</i><br/>
The FreeType module uses this section to cache familly names to font file name associations.
<br/><br/>
<a name="Downloader"></a>
<span style="text-decoration: underline;"><b>Section "Downloader"</b></span> <i><a href="#Overview">Back to top</a></i>
<p>The "Downloader" section of the config file holds all configuration options for file downloading and caching.</p>
<b>CleanCache</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
Specifies whether downloaded files shall be removed once used.</p>
<b>DisableCache</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
Specifies whether HTTP caching instructions are disabled or not.</p>
<b>AllowOfflineCache</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
When enabled, allows HTTP request to use cached file if any when network is not available.</p>
<b>MaxRate</b> [value: <i>positive integer</i>]
<p style="text-indent: 5%">
Specifies a maximum data rate in kilo bits per seconds for file downloading. This is used for simulation purposes. A value of 0 means no rate restriction.</p>
<b>UserAgent</b> [value: <i>string</i>]
<p style="text-indent: 5%">
Specifies an alternate user agent (default one is "GPAC $VERSION").</p>
<b>HTTPHeadTimeout</b> [value: <i>positive integer</i>]
<p style="text-indent: 5%">
Specifies timeout in milliseconds before considering HEAD request failed. 0 means no HEAD request is issued, only GET.</p>
<br/><br/>
<a name="HTTPProxy"></a>
<span style="text-decoration: underline;"><b>Section "HTTPProxy"</b></span> <i><a href="#Overview">Back to top</a></i>
<p>The "HTTPProxy" section of the config file holds configuration option for HTTP proxy adressing. Currently only one proxy can be enabled, and no URI selection is done.</p>
<b>Enabled</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
Specifies whether the proxy should be used or not when downloading files.</p>
<b>Name</b> [value: <i>string</i>]
<p style="text-indent: 5%">
Specifies the proxy name (IP address or resolved name) without protocol identifier (eg, no "http://"). If not present, the proxy is disabled.</p>
<b>Port</b> [value: <i>positive integer</i>]
<p style="text-indent: 5%">
Specifies the port to use with the proxy. If no port is specified, the default HTTP port (80) is used.</p>
<br/><br/>
<a name="Streaming"></a>
<span style="text-decoration: underline;"><b>Section "Streaming"</b></span> <i><a href="#Overview">Back to top</a></i>
<p>The "Streaming" section of the config file holds all configuration options for real-time streaming using IETF SDP/RTSP/RTP/RTCP protocols.</p>
<b>DefaultPort</b> [value: <i>unsigned short</i>]
<p style="text-indent: 5%">
Specifies the default port to use when connecting to a server (ignored if a port is specified in the url) if the port is 80 or 8080 (HTTP), the client will connect to the
RTSP server through an HTTP tunnel, and transport will take place on the RTSP connection.</p>
<b>ReorderSize</b> [value: <i>positive integer</i>]
<p style="text-indent: 5%">
Size of the RTP reordering buffer - 0 means no reordering. Ignored when transport takes place on the RTSP connection. The bigger this value, the longer the reordering delay will be.</p>
<b>RTPoverRTSP</b> [value: <i>"yes" "no" "OnlyCritical"</i>]
<p style="text-indent: 5%">
Specifies whether RTP packets should be carried on the RTSP connection (TCP or UDP), or carried on UDP. If the connection port is an HTTP port, this value is assumed to be true. If set to <i>OnlyCritical</i>, transport will take place on TCP only if a critical media (eg, neither audio nor video) is found in the session.</p>
<b>RTSPTimeout</b> [value: <i>positive integer</i>]
<p style="text-indent: 5%">
Specifies connection timeout with the server: an RTSP request is considered as failed when the timeout expires.</p>
<b>ForceFirstPort</b> [value: <i>positive integer</i>]
<p style="text-indent: 5%">
Specifies first port for RTP channels. If not set, the default first port used by GPAC is 7040.</p>
<b>NATKeepAlive</b> [value: <i>positive integer</i>]
<p style="text-indent: 5%">
Specifies the maximum inactivity period in milliseconds for RTP sockets. If no data is received after this period, an empty RTP packet will be sent in order to keep any NAT alive. If 0 (default), disables NAT keep-alive packets.</p>
<b>ForceMulticastIP</b> [value: <i>IP4 or IP6 address</i>]
<p style="text-indent: 5%">
Forces the specified multicast address to be used instead of the regular unicast. Note that some servers may not support multicast initiation by the client.</p>
<b>ForceMulticastTTL</b> [value: <i>Positive integer</i>]
<p style="text-indent: 5%">
Indicates the TTL to use when the client initiates the multicast. Default value is 127.</p>
<b>FirstPacketDrop</b> [value: <i>positive integer</i>]
<p style="text-indent: 5%">
Specifies the sequence number of the first RTP packet to be droped - 0 means no packet drop. Used for packet drop simulation tests.</p>
<b>PacketDropFrequency</b> [value: <i>positive integer</i>]
<p style="text-indent: 5%">
Specifies the frequency at which SL packets are droped. If value is 20, one packet every 20 recieved packets will be droped. Used for packet drop simulation tests.</p>
<br/><br/>
<a name="MimeTypes"></a>
<span style="text-decoration: underline;"><b>Section "MimeTypes"</b></span> <i><a href="#Overview">Back to top</a></i>
<p>This section is used to keep MIME types and file associations for GPAC modules.
<br/>The format of the key is:
<br/><span style="text-align: center"><i>mimeType</i>=<b>"</b>fileExt1 filexExt2 .. filexExtN<b>"</b> <b>"</b>MimeType description<b>"</b> ModuleName </span>
<br/>
The description is used for GUI purposes (open file dialogs). You may modify the file extension list to support your own extensions.
MIME Type is always checked when processing a remote ressource (eg http file) in order to load the appropriated modules.
If MIME type is not available, provided extensions are first checked, then all input modules are queried.
</p>
<br/><br/>
<a name="StreamingCache"></a>
<span style="text-decoration: underline;"><b>Section "StreamingCache"</b></span> <i><a href="#Overview">Back to top</a></i>
<p>The "StreamingCache" section of the config file holds all configuration options for the streaming cache. Streaming cache allows for recording of
live sources such as RTP/RTSP sessions and internet radios. This is currently just an experimental feature in GPAC.</p>
<b>RecordDirectory</b> [value: <i>path</i>]
<p style="text-indent: 5%">
Specifies path for recorded files. Cached data is written directly to disk (no re-interleaving or similar processes).
If not specified, the default cache directory (cf <a href="#General">General</a>) is used.</p>
<b>BaseFileName</b> [value: <i>string</i>]
<p style="text-indent: 5%">
Specifies the base name for recorded files. If not present in configuration file, the service name (URL) is used.</p>
<b>KeepExistingFiles</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
Specifies if cached files with same name should be kept or not. If not, an integer number is added to the cached file name, the higest number for the latest file.</p>
<br/><br/>
<a name="SAXLoader"></a>
<span style="text-decoration: underline;"><b>Section "SAXLoader"</b></span> <i><a href="#Overview">Back to top</a></i>
<p>The "SAXLoader" section of the config file holds all configuration options for XML SAX parsing of SVG, XMT and X3D files.</p>
<b>Progressive</b> [value: <i>"yes" "no" "DOM"</i>]
<p style="text-indent: 5%">Specifies XML parsing mode used by different file loaders using the SAX parser.</p>
<ul>
<li><i>"yes"</i>: SAX parsing is used with progressive loading of the document.</li>
<li><i>"no"</i>: SAX parsing is used, document will first be completely downloaded.</li>
<li><i>"DOM"</i>: DOM parsing is used, document will first be completely downloaded. Only supported by libXML2 plugin, otherwise handled as "no".</li>
</ul>
<b>MaxDuration</b> [value <i>positive integer</i>]
<p style="text-indent: 5%">
Specifies the maximum amount of time the SAX parser should spent loading a portion of the document. Only used with SAX Progressive mode</p>
<br/><br/>
<a name="XviD"></a>
<span style="text-decoration: underline;"><b>Section "XviD"</b></span> <i><a href="#Overview">Back to top</a></i>
<p>The "XviD" section of the config file holds all configuration options for the XviD codec.</p>
<b>PostProc</b> [value: <i>"FilmEffect" "Deblock_Y" "Deblock_UV"</i>]
<p style="text-indent: 5%">
Specifies filters to apply when decoding video. The string is a list of filters separated with a space character.</p>
<ul>
<li><i>"FilmEffect"</i>: xvid 1.0.0 filmEffect.</li>
<li><i>"Deblock_Y"</i>: Y plane deblocking filter.</li>
<li><i>"Deblock_UV"</i>: UV plane deblocking filter.</li>
</ul>
<b>Threaded</b> [value <i>"yes" "no"</i>]
<p style="text-indent: 5%">Specifies whether the decoder should run in its own thread or not.</p>
<br/><br/>
<a name="FFMPEG"></a>
<span style="text-decoration: underline;"><b>Section "FFMPEG"</b></span> <i><a href="#Overview">Back to top</a></i>
<p>The "FFMPEG" section of the config file holds all configuration options for the FFMPEG demuxer and decoder.</p>
<b>DataBufferMS</b> [value: <i>positive integer</i>]
<p style="text-indent: 5%">
Specifies the amount of video/audio data (in milliseconds) to be bufferer before starting decoding. For developpers only.</p>
<b>IOBufferSize</b> [value: <i>positive integer</i>]
<p style="text-indent: 5%">
Specifies the size (in bytes) of the buffer used to fecth data from network (http playback only). Default size is 8192 bytes.</p>
<br/><br/>
<a name="ISOReader"></a>
<span style="text-decoration: underline;"><b>Section "ISOReader"</b></span> <i><a href="#Overview">Back to top</a></i>
<p>The "ISOReader" section of the config file holds all configuration options for the ISO Media File demuxer.</p>
<b>IgnoreMPEG-4ForBrands</b> [value: <i>Full 4CC or 4CC pattern (abc* ab*)</i>]
<p style="text-indent: 5%">
Ignores all MPEG-4 systems tracks and IOD for files showing the listed brands in their compatible brand list.</p>
<br/><br/>
<a name="DVB"></a>
<span style="text-decoration: underline;"><b>Section "DVB"</b></span> <i><a href="#Overview">Back to top</a></i>
<p>The "DVB" section of the config file holds all configuration options for DVB playback on GNU/Linux systems.</p>
<b>ChannelsFile</b> [value: <i>Absolute file path</i>]
<p style="text-indent: 5%">
Specifies the DVB channels configuration file as produced by dvbtools' scan util.</p>
<br/><br/>
<a name="DASH"></a>
<span style="text-decoration: underline;"><b>Section "DASH"</b></span> <i><a href="#Overview">Back to top</a></i>
<p>The "DASH" section of the config file holds all configuration options for DASH or HLS/M3U8 playback.</p>
<b>KeepFiles</b> [value: <i>yes, no</i>]
<p style="text-indent: 5%">
Specifies whether downloaded files should not be deleted.</p>
<b>AutoSwitchCount</b> [value: <i>positive integer</i>]
<p style="text-indent: 5%">
For debug purposes, instructs the player to switch representation every N segments. If 0 (default), switching is disabled.</p>
<b>BufferMode</b> [value: <i>segments, minBuffer, none</i>]
<p style="text-indent: 5%">
Selects buffer mode:
<ul>
<li>segments: buffers complete segments as indicated in MPD before handing them to the player.</li>
<li>minBuffer: asks the player to buffer media for the time indicated in the MPD (default mode), but segments are not pre-buffered.</li>
<li>none: uses the player settings for buffering.</li>
</ul>
</p>
<b>DisableSwitching</b> [value: <i>yes, no</i>]
<p style="text-indent: 5%">
Disables automatic adaptation logic. Default is no</p>
<b>MemoryStorage</b> [value: <i>yes, no</i>]
<p style="text-indent: 5%">
Files are only stored in memory and destroyed after playback, no disk IO is used. Default is yes</p>
<b>UseMaxResolution</b> [value: <i>yes, no</i>]
<p style="text-indent: 5%">
Forces the player to set the output video resolution to the max resolution available instead of resizing the window. Default is yes</p>
<b>UseScreenResolution</b> [value: <i>yes, no</i>]
<p style="text-indent: 5%">
Disables all resolutions that are higher than the screen resolution. Default is yes</p>
<b>StartRepresentation</b> [value: <i>minBandwidth, maxBandwidth, minQuality, maxQuality</i>]
<p style="text-indent: 5%">
Instructs the DASH client to start playing the indicated representation before doing any switching. Default is minBandwidth.</p>
<b>InitialTimeshift</b> [value: <i>positive integer </i> ]
<p style="text-indent: 5%">
If between 0 and 100, indicates the percentage of the timeshift buffer when starting playback.<br/>
If more than 100, indicates the number of milliseconds to rewind in the timeshift buffer when starting playback. <br/>
Default is 0 to tune to the live point.</p>
<b>LowLatency</b> [value: <i>always, chunk, no</i>]
<p style="text-indent: 5%">
Sets low-latency mode enabled. In low-latency mode, media data is parsed as soon as possible while segment is being downloaded. Default is no.
If chunk is selected, media data is re-parsed at each HTTP 1.1 chunk end. If always is selected, media data is re-parsed as soon as HTTP data is received.</p>
<b>AllowAbort</b> [value: <i>yes, no</i>]
<p style="text-indent: 5%">
Enables aborts of HTTP transfer when rate gets too low. This may result in a packet drops. Default is no.</p>
<b>UseServerUTC</b> [value: <i>yes, no</i>]
<p style="text-indent: 5%">
Enables using <i>Server-UTC</i> HTTP header to compensate any drift between client and server. Default is yes.</p>
<b>DebugAdaptationSet</b> [value: <i>integer</i>]
<p style="text-indent: 5%">
Plays only the adaptation set indicated by its index in the MPD. If index is negative, all sets are used (default mode).
</p>
<b>SwitchProbeCount</b> [value: <i>unsigned integer</i>]
<p style="text-indent: 5%">
Sets how many segments the client shall wait before switching up bandwidth. If 0, switch will happen as soon as the bandwidth is enough, but this is more prone to network variations.
Default value is 1.
</p>
<br/><br/>
<a name="ALSA"></a>
<span style="text-decoration: underline;"><b>Section "ALSA"</b></span> <i><a href="#Overview">Back to top</a></i>
<p>The "ALSA" section of the config file holds all configuration options of the ALSA audio output module on GNU/Linux systems.</p>
<b>DeviceName</b> [value: <i>string</i>]
<p style="text-indent: 5%">
Specifies the ALSA device to use. Default device is "hw:0,0".</p>
<br/><br/>
<a name="StreamingText"></a>
<span style="text-decoration: underline;"><b>Section "StreamingText"</b></span> <i><a href="#Overview">Back to top</a></i>
<p>The "StreamingText" section of the config file holds all configuration options for the 3GPP/MPEG-4 Streaming Text decoder.</p>
<b>UseTexturing</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
Specifies whether the text shall be drawn using an intermediate texture or not.<<b>OutlineText</b> [value: <i>"yes" "no"</i>]
<p style="text-indent: 5%">
Specifies whether the text shall be drawn with a black thin outline or not.</p>
<br/><br/>
<a name="SHORTCUTS"></a>
<span style="text-decoration: underline;"><b>Section "Shortcuts"</b></span> <i><a href="#Overview">Back to top</a></i>
<p>The "Shortcuts" section of the config file holds all shortcuts in GPAC. You can define a shorcut for an action as:<br>
'action'='keyname' or 'action'='ctrl+keyname' or 'action'='alt+keyname' or "='action'='ctrl+alt+keyname'<br>
Shift is not supported as a key modifier, and case is insensitive.
Currently defined actions are as follows:</p>
<b>Play</b> or <b>Pause</b> <br/>
<b>Stop</b> <br/>
<b>Step</b> <br/>
<b>Exit</b> <br/>
<b>Mute</b> <br/>
<b>VolumeUp</b> <br/>
<b>VolumeDown</b> <br/>
<b>JumpForward</b> <br/>
<b>JumpBackward</b> <br/>
<b>JumpStart</b> <br/>
<b>JumpEnd</b> <br/>
<b>FastForward</b> <br/>
<b>FineForward</b> <br/>
<b>SlowForward</b> <br/>
<b>FastRewind</b> <br/>
<b>FineRewind</b> <br/>
<b>SlowRewind</b> <br/>
<b>Next</b> <br/>
<b>Previous</b> <br/>
<br/><br/>
<a name="DSMCC"></a>
<span style="text-decoration: underline;"><b>Section "DSMCC"</b></span> <i><a href="#Overview">Back to top</a></i>
<p>
The "DSMCC" section of the config file holds the configuration option for the processing of DSMCC data.
</p>
<b>Activated</b> [value: <i>"true"</i> <i>"false"</i>]
<p style="text-indent: 5%">
Specifies if the DSMCC data will be processed (true). It implies creations of directories and files in the temp directory.</p>
<br/><br/>
<a name="OpenHEVC"></a>
<span style="text-decoration: underline;"><b>Section "OpenHEVC"</b></span> <i><a href="#Overview">Back to top</a></i>
<p>
The openHEVC section of the config file holds the configuration option for the OpenHEVC decoder.
</p>
<b>NumThreads</b> [value: unsigned integer]
<p style="text-indent: 5%">
Specifies the number of threads to allocate to the OpenHEVC decoder. Default is the number of detected cores minus one, or one if core detection fails.</p>
<b>ThreadingType</b> [value: <i>frame</i> , <i>wpp</i> , <i>frame+wpp</i> ]
<p style="text-indent: 5%">
Specifies the threading type for the openHEVC decoder. Default is frame (wpp disabled).</p>
<b>CBUnits</b> [value: <i>unsigned integer</i> ]
<p style="text-indent: 5%">
Specifies the number of decoded frames in memory before display. Default value is 4.</p>
<b>PackHFR</b> [value: <i>yes</i>, <i>no</i> ]
<p style="text-indent: 5%">
Packs 4 consecutive frames in a single 4x frame.</p>
<br/><br/>
<a name="DirectFB"></a>
<span style="text-decoration: underline;"><b>Section "DirectFB"</b></span> <i><a href="#Overview">Back to top</a></i>
<p>
The "DirectFB" section of the config file holds the configuration options for the DirectFB output module. You may also want to check the <a href="http://directfb.org/wiki/index.php/Configuring_DirectFB">official documentation</a>.
</p>
<b>DisableAcceleration</b> [value: <i>"yes"</i> <i>"no"</i>]
<p style="text-indent: 5%">
Forces to disable hardware acceleration.</p>
<b>DisableDisplay</b> [value: <i>"yes"</i> <i>"no"</i>]
<p style="text-indent: 5%">
Specifies the DisableDisplay parameter value.</p>
<b>FlipSyncMode</b> [value: <i>"waitsync"</i> <i>"wait"</i> <i>"sync"</i> <i>"swap"</i>]
<p style="text-indent: 5%">
Specifies the flip sync mode.</p>
<b>DisableBlit</b> [value: <i>"yes"</i> <i>"no"</i>]
<p style="text-indent: 5%">
Forces to disable hardware blitting.</p>
<b>WindowMode</b> [value: <i>"X11"</i> <i>"SDL"</i>]
<p style="text-indent: 5%">
Specifies the underlying windowing library.</p>
<br/><br/>
<a name="DektecVideo"></a>
<span style="text-decoration: underline;"><b>Section "DektecVideo"</b></span> <i><a href="#Overview">Back to top</a></i>
<p>
The "DektecVideo" section of the config file holds the configuration options for the Dektec SDI video output module.</a>
</p>
<b>SDIOutput</b> [value: <i>unsigned integer</i>]
<p style="text-indent: 5%">
Specifies the output port of the card. Default value is 1.</p>
</body>
</html>
|