1324 lines
39 KiB
INI
1324 lines
39 KiB
INI
io-media-config {
|
||
|
||
#############################
|
||
# global options #
|
||
#############################
|
||
|
||
global-options {
|
||
num-threads = 10
|
||
}
|
||
|
||
#############################
|
||
# cinemo module #
|
||
#############################
|
||
|
||
module-options {
|
||
|
||
# module name
|
||
#
|
||
# Name of the module to which these options apply.
|
||
# DO NOT CHANGE!!
|
||
#
|
||
module = "cinemo"
|
||
|
||
# utf8hook
|
||
#
|
||
# Specify the DLL or shared library to perform customized string
|
||
# character conversions. Used for metadata parsing. The DLL is
|
||
# accessed with dlopen() so specify either the full path, or the
|
||
# DLL must be located on LD_LIBRARY_PATH.
|
||
#
|
||
utf8hook = "libmm_icu46_qdb.so"
|
||
|
||
# cinemo-version
|
||
#
|
||
# Must be corresponding to the current used io-media-cinemo version.
|
||
#
|
||
cinemo-version = "1.65.19"
|
||
|
||
# http-timeout
|
||
#
|
||
# Specify a global timeout value, in milliseconds, after which
|
||
# opening "http://" URL file operations will fail.
|
||
#
|
||
# The following io-media-cinemo functions are affected:
|
||
# iom_attach_input()
|
||
# iom_get_track_info()
|
||
#
|
||
# Range: [0, 300000] (zero means infinite)
|
||
#
|
||
http-timeout = 0
|
||
|
||
# http-proxy
|
||
#
|
||
# Specify the proxy server and port number for MMS, HTTP and FTP
|
||
# connections, e.g. streaming radio.
|
||
#
|
||
# For example, "192.168.1.200:8080".
|
||
#
|
||
http-proxy = ""
|
||
|
||
# http-low-level-timeout
|
||
#
|
||
# Specify a timeout, in milliseconds, after which io-media-cinemo
|
||
# will post a CINEMO_HTTP_CONNECTION_TIMEOUT event and abort the attempt
|
||
# to connect to a server. If set to 0, no eventual low-level retry
|
||
# mechanism will be started, only the global "http-timeout" will then
|
||
# abort the connection attempt.
|
||
#
|
||
# Range: [0, 300000] (zero means infinite)
|
||
#
|
||
http-low-level-timeout = 5000
|
||
|
||
# http-low-level-retries
|
||
#
|
||
# Specify the number of retries, which will be started if the first
|
||
# connection attempt failed.
|
||
#
|
||
# Range: [0, 100] (zero means no retry)
|
||
#
|
||
http-low-level-retries = 3
|
||
|
||
# http-retry-delay
|
||
#
|
||
# Specify a delay, in milliseconds, io-media-cinemo will wait after an
|
||
# unsuccessful connection attempt before starting another connection
|
||
# attempt. If set to 0, there will be no delay between retries.
|
||
#
|
||
# Note, this option only affects io-media-cinemo's behaviour if
|
||
# "http-low-level-retries" is configured > 0.
|
||
#
|
||
# Range: [0, 300000] (zero means no delay)
|
||
#
|
||
http-retry-delay = 3000
|
||
|
||
# http-waiting-for-data-timeout
|
||
#
|
||
# Specify a timeout, in milliseconds, after which io-media-cinemo will
|
||
# post a CINEMO_HTTP_READ_TIMEOUT event, disconnect and try to
|
||
# reconnect to the server. This option only has a meaning if the
|
||
# connection is already established, but the server doesn't deliver any
|
||
# data.
|
||
#
|
||
# Range: [0, 300000] (zero means infinite)
|
||
#
|
||
http-waiting-for-data-timeout = 5000
|
||
|
||
# http-sourceport-range
|
||
#
|
||
# Specify the source port range which will be used for Internet
|
||
# connections. If not set, the usage of source ports will not be
|
||
# restricted, random ports (depending on OS) will be used.
|
||
#
|
||
# For example, "63000-63050"
|
||
#
|
||
http-sourceport-range = ""
|
||
|
||
# http-max-redirects
|
||
#
|
||
# Specify the maximum number of redirections allowed. If max. number
|
||
# of redirections has been exceeded, CINEMO_IOM_ERROR_REDIRECTION will
|
||
# be posted and HTTP playback will be stopped.
|
||
#
|
||
# Range [-1, 1000] (-1 means infinite redirections)
|
||
#
|
||
http-max-redirects = 0
|
||
|
||
# http-cache-size
|
||
#
|
||
# Specify the internal cache size, in KB, when reading from MMS,
|
||
# HTTP or FTP connections. A large cache will minimize the number
|
||
# of reconnections required to support seeking within the file.
|
||
#
|
||
# Range: [0, 65536] (zero disables the cache)
|
||
#
|
||
http-cache-size = 1024
|
||
|
||
# file-timeout
|
||
#
|
||
# Specify a global timeout value, in milliseconds, after which
|
||
# opening file operations will fail. This value should in general
|
||
# be large, to support opening files on CD or DVD.
|
||
#
|
||
# The following io-media-cinemo functions are affected:
|
||
# iom_attach_input()
|
||
# iom_get_track_info()
|
||
#
|
||
# Range: [0, 300000] (zero means infinite)
|
||
#
|
||
file-timeout = 25000
|
||
|
||
# download-file-timeout
|
||
#
|
||
# Specify a timeout value, in milliseconds, after which
|
||
# opening "Online Entertainment" (download:// protocol or magic string "]^@[")
|
||
# file operations will fail.
|
||
#
|
||
# The following io-media-cinemo functions are affected:
|
||
# iom_attach_input()
|
||
# iom_get_track_info()
|
||
#
|
||
# Range: [0, 300000] (zero means infinite)
|
||
#
|
||
download-file-timeout = 5000
|
||
|
||
# file-dump-folder
|
||
#
|
||
# Specify a folder for saving streamed data for debugging purposes.
|
||
# Only supported for DMB at the moment.
|
||
#
|
||
# For example, "/fs/sda0/dump"
|
||
#
|
||
file-dump-folder = ""
|
||
|
||
# file-write-cache-size
|
||
#
|
||
# Specify the internal cache size, in KB, after which data is written to
|
||
# a file. This option affects Cinemo writing processes with the exception
|
||
# of writing a speex encoded file.
|
||
#
|
||
# Range: [4, 64]
|
||
#
|
||
file-write-cache-size = 64
|
||
|
||
# file-speex-write-cache-size
|
||
#
|
||
# Specify the internal cache size, in KB, after which data is written to
|
||
# a file. This option only affects Cinemo writing processes when writing
|
||
# a speex encoded file.
|
||
#
|
||
# Range: [1, 64]
|
||
#
|
||
file-speex-write-cache-size = 8
|
||
|
||
# dma-typed-memory-namespace
|
||
#
|
||
# This namespace will be used to allocate typed memory for DMA
|
||
# transfers (only supported for CD/DVD media). If the option is empty,
|
||
# DMA will be disabled. The default namespace should only be changed in
|
||
# consultation with Martin Binner (HAR).
|
||
#
|
||
dma-typed-memory-namespace = "/dev/tymem/ram/dma"
|
||
|
||
# video-enable
|
||
#
|
||
# Boolean flag to enable video playback for all files. If video
|
||
# is disabled, video decoder and renderer resources will NOT be
|
||
# allocated. All files will still play, but only audio streams,
|
||
# if enabled, will be decoded and rendered.
|
||
#
|
||
# Range: 0 or 1
|
||
#
|
||
video-enable = 1
|
||
|
||
# video-hardware-decode
|
||
#
|
||
# Boolean flag to enable video hardware acceleration features.
|
||
# Note, hardware acceleration on QNX requires the io-msvdx
|
||
# resource manager to be running, and of course the video stream
|
||
# must be supported by the decoding hardware. If this is not the
|
||
# case, or hardware decoding is disabled, then Cinemo will
|
||
# fallback to software decoding, with a corresponding increase
|
||
# in CPU usage.
|
||
#
|
||
# Range: 0 or 1
|
||
#
|
||
video-hardware-decode = 1
|
||
|
||
# video-hardware-deinterlace
|
||
#
|
||
# Boolean flag to enable video hardware deinterlacing. This
|
||
# option is only applicable to interlaced video content,
|
||
# progressive streams will not be de-interlaced. Note, there is
|
||
# no software fallback if the hardware is disabled.
|
||
#
|
||
# Range: 0 or 1
|
||
#
|
||
video-hardware-deinterlace = 1
|
||
|
||
# video-deinterlace-mode-dmb
|
||
#
|
||
# Specify the deinterlacing mode for DMB playback. Option only applies
|
||
# if video-hardware-deinterlace is configured to 1.
|
||
#
|
||
# Range: 0 to 2
|
||
# 0 = Discard
|
||
# 1 = Weave
|
||
# 2 = BOB
|
||
#
|
||
video-deinterlace-mode-dmb = 1
|
||
|
||
# video-deinterlace-mode-default
|
||
#
|
||
# Specify the deinterlacing mode for all video sources except DMB
|
||
# playback. Option only applies if video-hardware-deinterlace is
|
||
# configured to 1.
|
||
#
|
||
# Range: 0 to 2
|
||
# 0 = Discard
|
||
# 1 = Weave
|
||
# 2 = BOB
|
||
#
|
||
video-deinterlace-mode-default = 0
|
||
|
||
# video-hardware-mix
|
||
#
|
||
# Boolean flag to enable video hardware mixing of subpicture,
|
||
# overlays, etc. This option is not applicable to and will have no
|
||
# affect on QNX systems.
|
||
#
|
||
# Range: 0 or 1
|
||
#
|
||
video-hardware-mix = 1
|
||
|
||
# video-aspect-ratio
|
||
#
|
||
# Specify the aspect ratio mode for displaying video in a target
|
||
# video rectangle, must be one of:
|
||
#
|
||
# "Preserve" - preserves the original aspect ratio, black
|
||
# borders may be drawn on the left/right or top/bottom of
|
||
# the display rectangle.
|
||
#
|
||
# "Crop" - Preserves the original aspect ratio, and increase
|
||
# the video rectangle size so that black borders are no
|
||
# longer visible. Regions of video which consequently fall
|
||
# outside of the display rectangle are cropped.
|
||
#
|
||
# "Stretch" - Ignore the original aspect ratio, and scale
|
||
# video to exactly fit the display rectangle.
|
||
#
|
||
# "Native" - Use native resolution aligned to left-top corner
|
||
# only downscale when doesn't fit in display rectangle
|
||
#
|
||
# Range: enumerated type:
|
||
# -> "Preserve"
|
||
# -> "Crop"
|
||
# -> "Stretch"
|
||
# -> "Native"
|
||
#
|
||
video-aspect-ratio = "Stretch"
|
||
|
||
# video-frame-drop-threshold
|
||
#
|
||
# Specify the threshold time, in milliseconds, after which video
|
||
# frames decoded later will be dropped (or some other quality
|
||
# control method will be activated, depending on what is appropriate
|
||
# for the decoding video stream).
|
||
#
|
||
# Typically a larger threshold value should be specified, since
|
||
# some jitter is expected, and the perceptible effects of quality
|
||
# control may be more severe than displaying late frames.
|
||
#
|
||
# Range: 0 to 1000
|
||
#
|
||
video-frame-drop-threshold = 50
|
||
|
||
# video-delay-ms
|
||
#
|
||
# Specify how much the video should be delayed by
|
||
# the renderer, in milliseconds. Negative value means
|
||
# rendering ahead of time.
|
||
#
|
||
# Range: -100000 to 100000
|
||
#
|
||
video-delay-ms = 0
|
||
|
||
# video-max-h264-level
|
||
#
|
||
# Specify the maximum h.264 level supported. Media files with higher
|
||
# level are stopped with IOM_ERROR_RESOURCE_UNAVAILABLE error number and
|
||
# CINEMO_IOM_ERROR_MAX_H264_LEVEL error value.
|
||
#
|
||
video-max-h264-level = "4.1"
|
||
|
||
# video-max-resolution
|
||
#
|
||
# Specify the maximum video resolution supported. Media files with larger
|
||
# resolution (x OR y) are stopped with IOM_ERROR_RESOURCE_UNAVAILABLE error
|
||
# number and CINEMO_IOM_ERROR_MAX_RESOLUTION error value. The resolution specified
|
||
# must be a multiple of 16, as Cinemo needs to allocate memory for 16x16 blocks. To
|
||
# allow playback of full HD content, configure at least "1920 x 1088".
|
||
#
|
||
# Format: width x height
|
||
#
|
||
video-max-resolution = "1920 x 1088"
|
||
|
||
# video-default-dest-rectangle
|
||
#
|
||
# Specify the default destination rectangle when
|
||
# io-media set_video_properties() is not called
|
||
#
|
||
# Format: left,top,right,bottom coordinates
|
||
#
|
||
# EVO Specific
|
||
# video-default-dest-rectangle = "0,0,800,480"
|
||
|
||
# video-default-output-id
|
||
#
|
||
# Specify the default output profile to use when attach_output()
|
||
# is not called with "display://video-output-id=X" (see below)
|
||
# Use -1 for not allocating video output until attach_output()
|
||
# is called.
|
||
#
|
||
# Range: integer
|
||
#
|
||
video-default-output-id = 0
|
||
|
||
# video-output
|
||
#
|
||
# Section to define video output profiles. The profile is selected by
|
||
# calling attach_output() with "display://video-output-id=X", where X
|
||
# is equal to the "video-output-id" below.
|
||
#
|
||
# video-output-id
|
||
#
|
||
# Unique identifier for the output profile.
|
||
#
|
||
# video-output-aspect-x:
|
||
# video-output-aspect-y:
|
||
#
|
||
# Specify the display profile physical pixel aspect ratio.
|
||
#
|
||
# video-window-id:
|
||
# video-subpicture-window-id:
|
||
#
|
||
# Specify the window id(s) to use for rendering video and
|
||
# subpicture overlays. The values specified here are passed as is
|
||
# to the following function:
|
||
#
|
||
# screen_set_window_property_cv(SCREEN_PROPERTY_ID_STRING)
|
||
#
|
||
# If shared windows are used, the value contains main window and
|
||
# shared window ids as a comma separated list.
|
||
#
|
||
# display:
|
||
#
|
||
# Specify the display id(s) to use for rendering video and
|
||
# subpicture overlays. The values specified here are passed as is
|
||
# to the following function:
|
||
#
|
||
# screen_set_window_property_pv(SCREEN_PROPERTY_DISPLAY)
|
||
#
|
||
# If shared windows are used, the value contains id of first and
|
||
# second display as a comma separated list.
|
||
#
|
||
video-output {
|
||
video-output-id = 0
|
||
video-output-aspect-x = 1
|
||
video-output-aspect-y = 1
|
||
video-window-id = 0
|
||
video-subpicture-window-id = 1054
|
||
display = 1
|
||
}
|
||
video-output {
|
||
video-output-id = 1
|
||
video-output-aspect-x = 1
|
||
video-output-aspect-y = 1
|
||
video-window-id = 1
|
||
video-subpicture-window-id = 1058
|
||
display = 1
|
||
}
|
||
|
||
# audio-enable
|
||
#
|
||
# Boolean flag to enable audio playback for all files. If audio
|
||
# is disabled, audio decoder and renderer resources will NOT be
|
||
# allocated. All files will still play, but only video streams,
|
||
# if enabled, will be decoded and rendered.
|
||
#
|
||
# Range: 0 or 1
|
||
#
|
||
audio-enable = 1
|
||
|
||
# audio-enable-lossless-codecs
|
||
#
|
||
# Specify if playback of lossless audio codes is enabled or not. The
|
||
# only audio codec which is affected by this option is DTS-HD MA.
|
||
# If this option is set to 0, playback of any video/audio file
|
||
# containing DTS-HD MA will fail with IOM_ERROR_RESOURCE_UNAVAILABLE
|
||
# error number and CINEMO_IOM_ERROR_LOSSLESS_AUDIO_CODEC error value.
|
||
# If the option is set to 1, only the lossy part of a DTS-HD MA audio
|
||
# stream will be played. This setting can be used to cap the io-nme
|
||
# memory consumption.
|
||
# If the option is set to 2, DTS-HD MA is allowed to be played, including
|
||
# the lossless part.
|
||
#
|
||
# Range: 0 to 2
|
||
# -> 0 = DTS-HD MA decoding not allowed at all (return error code)
|
||
# -> 1 = only lossy part of DTS-HD MA is decoded (saves memory)
|
||
# -> 2 = DTS-HD MA is completely decoded (highest memory consumption)
|
||
#
|
||
audio-enable-lossless-codecs = 1
|
||
|
||
# audio-device-id
|
||
#
|
||
# Specify the audio device name for rendering audio.
|
||
#
|
||
# Note, this value is not used by io-media-cinemo, since the
|
||
# output audio device is always explicitly attached by MME before
|
||
# playback, using iom_attach_output().
|
||
#
|
||
audio-device-id = "/dev/io-amp/input_stereo_0"
|
||
|
||
# audio-device-latency
|
||
#
|
||
# Specify the size, in milliseconds, of audio device output
|
||
# buffers. In general this value should be as small as possible,
|
||
# since all audio operations, e.g. pause, will be delayed by
|
||
# this latency. However, care must be taken that the size is not
|
||
# too small, since each audio buffer requires some CPU work, and
|
||
# and audio drop-outs may occur.
|
||
#
|
||
# For small latency values, it may help to increase the thread
|
||
# priority of the audio device thread (see below).
|
||
#
|
||
# Range: 10 to 1000 (milliseconds)
|
||
#
|
||
audio-device-latency = 50
|
||
|
||
# audio-livestream-latency
|
||
#
|
||
# Specify the size, in milliseconds, of the audio prebuffer for
|
||
# livestreams (Miracast). This value must be larger than
|
||
# "audio-device-latency".
|
||
#
|
||
# Range: 50 to 10000 (milliseconds)
|
||
#
|
||
audio-livestream-latency = 250
|
||
|
||
# audio-mhl-latency
|
||
#
|
||
# Specify the size, in milliseconds, of the audio prebuffer for
|
||
# MHL playback. This value must be larger than
|
||
# "audio-device-latency".
|
||
#
|
||
# Range: 50 to 10000 (milliseconds)
|
||
#
|
||
audio-mhl-latency = 100
|
||
# audio-mhl-device-latency
|
||
#
|
||
# Specify the size, in milliseconds, of audio device output
|
||
# buffers only for MHL use case. In general this value should
|
||
# be as small as possible, since all audio operations, e.g. pause,
|
||
# will be delayed by this latency. However, care must be taken that
|
||
# the size is not too small, since each audio buffer requires some
|
||
# CPU work, and audio drop-outs may occur.
|
||
#
|
||
# For small latency values, it may help to increase the thread
|
||
# priority of the audio device thread (see below).
|
||
#
|
||
# Range: 10 to 10000 (milliseconds)
|
||
#
|
||
audio-mhl-device-latency = 50
|
||
|
||
# audio-mhl-resample-quality
|
||
#
|
||
# Specify the MHL audio resampling quality, applicable only when it
|
||
# is required to resample audio before sending to the audio device,
|
||
# see "audio-device-samplerate" option. Cinemo provides a number
|
||
# of algorithms for audio re-sampling:
|
||
#
|
||
# "High" - band-limited interpolation is used, which provides
|
||
# great results at the expense of CPU usage.
|
||
#
|
||
# "Normal" - linear interpolation is used, which may be subject
|
||
# to aliasing in some circumstances.
|
||
#
|
||
# "Low" - linear interpolation (less quality than "Normal" is used,
|
||
# which may be subject to aliasing in some circumstances.
|
||
#
|
||
# Range: enumerated type:
|
||
# -> "High"
|
||
# -> "Normal"
|
||
# -> "Low"
|
||
#
|
||
audio-mhl-resample-quality = "Normal"
|
||
|
||
# audio-device-samplerate
|
||
#
|
||
# Specify the audio device sampling rate, in units of samples
|
||
# per second. All rendered audio will be re-sampled to the value
|
||
# specified here, before sending to the audio device.
|
||
#
|
||
# Note, care should be taken that the audio device can support
|
||
# the specified rate. Some versions of A2I, for example, are fixed
|
||
# to operate at 44100 Hz.
|
||
#
|
||
# If the sample rate is specified as zero, then the audio device
|
||
# is assumed to be capable of DYNAMIC sampling rate changes - in
|
||
# this case, the sampling rate delivered to the audio device is
|
||
# the same as originally encoded in the audio stream, i.e. with no
|
||
# re-sampling applied.
|
||
#
|
||
# Range: 0 to 192000 (Hz)
|
||
#NBT Specific
|
||
audio-device-samplerate = 44100
|
||
|
||
# audio-device-channels
|
||
#
|
||
# Specify the audio device channel configuration. All rendered
|
||
# audio will be re-mixed (either upmix or downmix) to the channel
|
||
# configuration specified here.
|
||
#
|
||
# Note, care should be taken that the audio device can support
|
||
# the specified channel configuration. Some versions of A2I, for
|
||
# example, are fixed to operate in stereo.
|
||
#
|
||
# If the channel configuration is unspecified, then the audio
|
||
# device is assumed to be capable of DYNAMIC channel changes - in
|
||
# this case, the channels delivered to the audio device are
|
||
# the same as originally encoded in the audio stream, i.e. with no
|
||
# re-mixing applied.
|
||
#
|
||
# This configuration option does NOT apply audio devices which
|
||
# only support stereo, e.g. devio-ampinput_stereo_0.
|
||
#
|
||
# Range: enumerated type:
|
||
# -> "Unspecified"
|
||
# -> "Mono"
|
||
# -> "Stereo"
|
||
# -> "L-C-R"
|
||
# -> "L-C-R-CS"
|
||
# -> "L-C-R-LS-RS"
|
||
# -> "5.1"
|
||
# -> "6.1"
|
||
# -> "7.1"
|
||
#
|
||
#NBT Specific: Default is Unspecified.
|
||
audio-device-channels = "Unspecified"
|
||
# audio-device-clockrate
|
||
#
|
||
# Specify the audio device clock rate, in units of samples
|
||
# per second. Some audio devices like A2I have their fixed
|
||
# internal clock rate which is used for position calculations.
|
||
# This rate can be different from the source samplerate.
|
||
#
|
||
# Range: 0 to 192000 (Hz)
|
||
#
|
||
audio-device-clockrate = 44100
|
||
|
||
# audio-device-stereo-downmix
|
||
#
|
||
# Specify if an additional stereo downmix should be output by the
|
||
# audio device. If enabled, the number of channels output will be
|
||
# increased by two, with the downmix in the first two channels, the
|
||
# original non-mixed output in the remaining channels.
|
||
#
|
||
# This configuration option does NOT apply audio devices which
|
||
# only support stereo, e.g. devio-ampinput_stereo_0.
|
||
#
|
||
# Range: enumerated type:
|
||
# -> "Off"
|
||
# -> "Enabled"
|
||
#
|
||
audio-device-stereo-downmix = "Enabled"
|
||
|
||
# audio-volume
|
||
#
|
||
# Specify the audio volume. All rendered audio will be attenuated
|
||
# by the specified value, before sending to the audio device. If the
|
||
# volume is set to the maximum, no attenuation will take place.
|
||
#
|
||
# Range: 0 to 100
|
||
#
|
||
audio-volume = 100
|
||
|
||
# audio-volume-ramp-ms
|
||
# audio-volume-mute-ms
|
||
#
|
||
# Specify the audio volume ramp duration, in milliseconds. Volume
|
||
# ramp will attenuate PCM samples (in upward direction) when starting
|
||
# playback, recovering from underflow condition, or recovering from
|
||
# gaps in the audio due to e.g. bitstream corruption. Volume mute will
|
||
# attenuate samples (in downward direction) if gaps in the audio are
|
||
# detected due to e.g. bitstream corruption.
|
||
#
|
||
# Zero values will disable the volume ramp or mute slope.
|
||
#
|
||
# Range: 0 to 1000
|
||
#
|
||
audio-volume-ramp-ms = 200
|
||
audio-volume-mute-ms = 50
|
||
|
||
# audio-drift-threshold-ms
|
||
#
|
||
# Specify the threshold, in milliseconds, after which audio drift
|
||
# will be compensated for. Audio drift may occur for a number of
|
||
# reasons, for example, if the audio device clock runs at a slightly
|
||
# different rate to the CPU clock. In this case, the drift is
|
||
# compensated for by adjusting the CPU clock, thus advancing or
|
||
# delaying the video to maintain synchronization.
|
||
#
|
||
# The drift threshold should be set greater than zero, since some
|
||
# clock jitter is expected, but should be less than the point at
|
||
# which audio/video drift becomes perceptible. Typically one video
|
||
# frame has a duration of 40-50ms.
|
||
#
|
||
# If the drift theshold is set to zero, audio drift compensation
|
||
# will be disabled.
|
||
#
|
||
# Range: 0 to 1000
|
||
#
|
||
audio-drift-threshold-ms = 50
|
||
|
||
# audio-jitter-threshold-ms
|
||
#
|
||
# Specify the threshold, in milliseconds, after which jitter in
|
||
# audio timestamps will be compensated. Audio timestamp jitter may
|
||
# occur if the source audio timestamps are not or cannot be generated
|
||
# accurately (as for example with some AVI-files). In this case the jitter
|
||
# will be compensated for in the resulting decompressed audio stream by
|
||
# adding silence in case of gaps or by removing samples in case of overlap.
|
||
# The jitter threshold should be set to a value greater than the expected
|
||
# timestamp jitter, but less than the point when audio/video drift becomes
|
||
# perceptible. A value of zero will disable audio jitter compensation
|
||
#
|
||
# Range: 0 to 1000
|
||
#
|
||
audio-jitter-threshold-ms = 50
|
||
|
||
# audio-gap-fillmode
|
||
#
|
||
# Specifies how audio gaps (up to one second in duration) are treated. Either
|
||
# there is fade-down to silence and fade-up when there is more data (Silence),
|
||
# or the last "audio-volume-mute-ms" from before the gap are repeated (Repeat)
|
||
#
|
||
# Range: enumerated type:
|
||
# -> "Silence"
|
||
# -> "Repeat"
|
||
#
|
||
audio-gap-fillmode = "Silence"
|
||
|
||
# audio-delay-ms
|
||
#
|
||
# Specify how much audio should be delayed by
|
||
# the renderer, in milliseconds. Negative value means
|
||
# rendering ahead of time.
|
||
#
|
||
# Range: -100000 to 100000
|
||
#
|
||
audio-delay-ms = 0
|
||
|
||
# audio-resample-quality
|
||
#
|
||
# Specify the audio resampling quality, applicable only when it
|
||
# is required to resample audio before sending to the audio device,
|
||
# see "audio-device-samplerate" option. Cinemo provides a number
|
||
# of algorithms for audio re-sampling:
|
||
#
|
||
# "High" - band-limited interpolation is used, which provides
|
||
# great results at the expense of CPU usage.
|
||
#
|
||
# "Normal" - linear interpolation is used, which may be subject
|
||
# to aliasing in some circumstances.
|
||
#
|
||
# "Low" - linear interpolation (less quality than "Normal" is used,
|
||
# which may be subject to aliasing in some circumstances.
|
||
#
|
||
# Range: enumerated type:
|
||
# -> "High"
|
||
# -> "Normal"
|
||
# -> "Low"
|
||
audio-resample-quality = "Normal"
|
||
|
||
# audio-remix-moviemode
|
||
#
|
||
# Specify whether a 3dB gain should be applied to the center
|
||
# channel, applicable only when re-mixing audio to a channel
|
||
# configuration specified in "audio-device-channels", and only if
|
||
# the channel configuration includes a center channel.
|
||
#
|
||
# Range: enumerated type:
|
||
# -> "On"
|
||
# -> "Off"
|
||
#
|
||
audio-remix-moviemode = "Off"
|
||
|
||
# audio-timestretch-quality
|
||
#
|
||
# Specify the quality of the algorithm used to perform audio
|
||
# time-stretch, for fast or slow forward play speeds.
|
||
#
|
||
# Range: enumerated type:
|
||
# -> "MickyMouse" - linear resample (pitch is not preserved)
|
||
# -> "Fast" - fast timestretch (preserves pitch)
|
||
# -> "Best" - high quality timestretch (preserves pitch)
|
||
#
|
||
audio-timestretch-quality = "Best"
|
||
|
||
# audio-speex-encoder-config
|
||
#
|
||
# Specify various Speex encoder settings as a URL parameter string.
|
||
# Supported settings:
|
||
# bitrate – Set the bitrate in kbps (used with disabled VBR).
|
||
# abr – Set the average bitrate in kbps (used with enabled VBR).
|
||
# quality – Quality used in VBR mode (Range: 0 - 10, Default Value: 4)
|
||
# complexity – Complexity used for encoding (trade off between quality and CPU load)
|
||
# (Range: 1 - 10, Default Value: 2)
|
||
# wideband – Enable wideband mode (Range: 0 or 1, Default Value: 1)
|
||
# vbr – Encode using variable bitrates (VBR) (Range: 0 or 1, Default Value: 0)
|
||
# dtx – Enable Speex discontinuous transmission (DTX) which reduces the data rate for
|
||
# periods of silence or stationary background noise (Range: 0 or 1, Default Value: 0)
|
||
# plc – Tune the Speex packet loss concealment (PLC) which optimizes encoding for a
|
||
# certain percentage of packet loss. (Range: 0 - 100, Default Value: 0)
|
||
#
|
||
# Example: “?bitrate=40&dtx=1”
|
||
#
|
||
audio-speex-encoder-config = "?wideband=1&quality=4&complexity=4"
|
||
|
||
|
||
# audio-http-prefetch-buffer-ms
|
||
#
|
||
# Specify the prefetch audio buffer size, in milliseconds in case of
|
||
# HTTP playback.
|
||
# Cinemo will first start playback when the configured amount of PCM
|
||
# data is buffered. A smaller value will speed up starting of playback,
|
||
# but also enhances the chance of audio underruns during start of
|
||
# playback. A larger value delays the start of playback.
|
||
# The memory Cinemo needs to allocate for buffering PCM data depends on
|
||
# the configured value.
|
||
#
|
||
# Range: 100 to 10000
|
||
#
|
||
audio-http-prefetch-buffer-ms = 1000
|
||
|
||
# audio-a2dp-prefetch-buffer-ms
|
||
#
|
||
# Specify the prefetch audio buffer size, in milliseconds, in case of
|
||
# A2DP playback. Can be used to optimize the "time-to-live" duration.
|
||
# A smaller value will speed up starting of A2DP playback, but also
|
||
# enhances the chance of audio underruns during start of playback.
|
||
#
|
||
# Range: 100 to 2000
|
||
#
|
||
audio-a2dp-prefetch-buffer-ms = 300
|
||
|
||
# audio-a2dp-max-drift-correction
|
||
#
|
||
# Specify the maximum value for clock drift correction in case of A2DP
|
||
# playback. For BT devices with a too fast/slow internal clock, the
|
||
# playback graph's speed can be dynamically adjusted up/down to
|
||
# 1000 +/- the configured value.
|
||
#
|
||
# Range: 10 to 100 (10 means 1% adjustment)
|
||
#
|
||
audio-a2dp-max-drift-correction = 50
|
||
|
||
# speed-trick-ms
|
||
#
|
||
# Specify the audio block size, in milliseconds, used for fast
|
||
# forward or backward play ("trick play"). This is applicable
|
||
# only when the play speed is negative, or greater than the speed
|
||
# specified by the "speed-mute" option.
|
||
#
|
||
# During trick play, the play speed is achieved by playing
|
||
# short blocks of the audio stream at normal speed (1x), then
|
||
# skipping to the next block, which will be some distance
|
||
# proportional to the block size and the play speed. The size
|
||
# of the audio block is specified here.
|
||
#
|
||
# Range: 50 to 60000
|
||
#
|
||
speed-trick-ms = 1000
|
||
|
||
# speed-time-events-ms
|
||
#
|
||
# Specify the time, in milliseconds, between IOM_EV_TIME event
|
||
# notifications which are posted to MME.
|
||
#
|
||
# Note, this value is not typically used by io-media, since
|
||
# the time event interval will be overridden by MME when it calls
|
||
# the iom_set_time_notification() function.
|
||
#
|
||
# A zero value will disable IOM_EV_TIME notifications.
|
||
#
|
||
# Range: 0 to 60000
|
||
#
|
||
speed-time-events-ms = 1000
|
||
|
||
# speed-status-events-ms
|
||
#
|
||
# Specify the time, in milliseconds, between CINEMO_EVENT_STATUS
|
||
# notifications which are posted to MME.
|
||
#
|
||
# Range: 0 to 60000
|
||
#
|
||
speed-status-events-ms = 1000
|
||
|
||
# speed-mute
|
||
#
|
||
# Specify the play speed, in units of 1000, after which audio
|
||
# time-stretch will be disabled. In this case, either audio will
|
||
# be muted, or "trick play" mode will be entered (see
|
||
# speed-trick-ms option above), whichever is appropriate for
|
||
# the current track.
|
||
#
|
||
# Range: 1000 to 60000
|
||
#
|
||
speed-mute = 3000
|
||
|
||
# gapless-enable-formatchange
|
||
#
|
||
# Enable gapless playback of ALL files, even if the audio or video
|
||
# stream format changes. If disabled, iom_attach_input() returns
|
||
# CINEMO_IOM_ERROR_FORMAT_CHANGE error code on attempting to queue tracks
|
||
# with different audio or video stream format.
|
||
#
|
||
# Range: 0 or 1
|
||
#
|
||
gapless-enable-formatchange = 0
|
||
|
||
# gapless-spinup-ms
|
||
#
|
||
# Specify the time, in milliseconds, before the end of a track that
|
||
# IOM_EV_INPUT_EOF should be posted.
|
||
#
|
||
# In order to achieve seamless gapless playback within a track session,
|
||
# the time specified here should be sufficient to allow the next track
|
||
# to be opened and queued for playback before the current track has
|
||
# entirely finished (including the time it may take to spin-up CD/DVD
|
||
# media if this is where the next track is located).
|
||
#
|
||
# Range: 0 to 60000
|
||
#
|
||
gapless-spinup-ms = 8000
|
||
|
||
# plugins
|
||
#
|
||
# Specify plugin modules used by Cinemo for various platform
|
||
# specific tasks, e.g. audio and video decode.
|
||
#
|
||
# Note, this does not include specification of various
|
||
# filesystem and navigator plugins, which are identified in
|
||
# the "cinemo_classes.xml" file.
|
||
#
|
||
# plugin-video - video decoder
|
||
# plugin-audio - audio decoder
|
||
# plugin-subpicture - subpicture decoder
|
||
# plugin-video-device - video device
|
||
# plugin-video-renderer - video renderer
|
||
# plugin-audio-device - audio device
|
||
# plugin-audio-renderer - audio renderer
|
||
#
|
||
plugin-video = "NmeVideo"
|
||
plugin-audio = "NmeAudio"
|
||
plugin-subpicture = "NmeSubtitle"
|
||
plugin-video-device = "NmeDeviceScreen"
|
||
plugin-video-renderer = "NmeVmr"
|
||
plugin-audio-device = "NmeDeviceA2IClient"
|
||
plugin-audio-renderer = "NmeAudioRenderer"
|
||
|
||
# plugin-unload-delay
|
||
#
|
||
# Specify the delay, in seconds, after which an unused plugin library
|
||
# will be unloaded from memory. Zero means that automatic plugin unloading
|
||
# is disabled.
|
||
#
|
||
# Range: 0 to 3600
|
||
#
|
||
# plugin-unload-delay = 10 Need to revert this after cinemo gives the fix
|
||
# Temporary EVO specific change
|
||
|
||
plugin-unload-delay = 0
|
||
|
||
# ATAPI time-outs
|
||
#
|
||
# Specify the ATAPI device timeout value in seconds for each of
|
||
# three cases - CD playback, CD ripping and DVD playback.
|
||
#
|
||
# Range: 0 to 60
|
||
#
|
||
cd-playback-device-timeout = 4
|
||
cd-rip-device-timeout = 20
|
||
dvd-playback-device-timeout = 4
|
||
|
||
# ATAPI retries
|
||
#
|
||
# Specify the ATAPI device retries, when a read error occurs, for
|
||
# each of three cases.
|
||
#
|
||
# Range: 0 to 99
|
||
#
|
||
cd-playback-device-retries = 15
|
||
cd-rip-device-retries = 15
|
||
dvd-playback-device-retries = 15
|
||
|
||
# ATAPI read size
|
||
#
|
||
# Specify the number of sectors in a single ATAPI read operation
|
||
# for each of three cases.
|
||
#
|
||
# Range: 1 to 75
|
||
#
|
||
cd-playback-read-size = 16
|
||
cd-rip-read-size = 16
|
||
dvd-playback-read-size = 16
|
||
|
||
# ATAPI skip-on-error
|
||
#
|
||
# Specify the number of sectors (or seconds in case of DVD playback)
|
||
# to skip, after a read error occurs, and all retries failed.
|
||
#
|
||
# Note, after skipping the specified number of sectors or seconds, if
|
||
# another read error occurs, the skip size will be doubled, and
|
||
# so on, until the end of the track is reached. If the skip
|
||
# size is set to zero, then skipping is disabled, and playback
|
||
# or ripping will stop after the first error.
|
||
#
|
||
# Range: 0 to 4500
|
||
#
|
||
cd-playback-skip-on-error = 75
|
||
cd-rip-skip-on-error = 0
|
||
dvd-playback-skip-on-error = 1
|
||
|
||
# dvd-playback-max-read-errors
|
||
#
|
||
# Specify the maximum number of continuous allowed read errors.
|
||
# This option only affects the read error handling if
|
||
# dvd-playback-skip-on-error is set to something non-zero.
|
||
# If the max. number of errors is reached, io-media-cinemo will stop
|
||
# DVD playback with a IOM_ERROR_READ error.
|
||
# If the limit is set to zero, playback won't be stopped before the end
|
||
# of track is reached.
|
||
#
|
||
# Range: 0 to 10000
|
||
#
|
||
dvd-playback-max-read-errors = 3
|
||
|
||
# dvd-css-key
|
||
#
|
||
# Obfuscated DVD CSS key.
|
||
# If no key is configured or the key is wrong, Cinemo will fall back
|
||
# to Cinemo's own CSS key.
|
||
#
|
||
dvd-css-key = ""
|
||
|
||
# dvd-audio-language
|
||
# dvd-subpicture-language
|
||
# dvd-menu-language
|
||
#
|
||
# Specify the default audio, subpicture and menu languages for
|
||
# DVD playback, in ISO-636 format, e.g. "en".
|
||
#
|
||
dvd-audio-language = "en"
|
||
dvd-subpicture-language = "en"
|
||
dvd-menu-language = "en"
|
||
|
||
# dvd-parental-country
|
||
#
|
||
# Specify the parental country code for DVD playback, in ISO-636
|
||
# format, e.g. "en".
|
||
#
|
||
dvd-parental-country = "en"
|
||
|
||
# dvd-parental-level
|
||
#
|
||
# Specify the parental level for DVD playback.
|
||
#
|
||
# Range: 1 to 8
|
||
#
|
||
dvd-parental-level = 8
|
||
|
||
# dvd-parental-level-change
|
||
#
|
||
# Boolean flag to enable the dynamic change of parental level, as
|
||
# defined in the DVD specifications.
|
||
#
|
||
# Range: 0 or 1
|
||
#
|
||
dvd-parental-level-change = 1
|
||
|
||
# dvd-enforce_puops
|
||
#
|
||
# Boolean flag to enable the enforcement of DVD prohibited
|
||
# operations (DVD P-UOPs). Note, it may be illegal to disable
|
||
# this option, P-UOPs should always be enforced.
|
||
#
|
||
# Range: 0 or 1
|
||
#
|
||
dvd-enforce_puops = 1
|
||
|
||
# dvd-player-region-code
|
||
#
|
||
# Specify the region code of this DVD player.
|
||
#
|
||
# Range: 1 to 6
|
||
#
|
||
dvd-player-region-code = 2
|
||
|
||
# dvd-enable-xml-generation
|
||
#
|
||
# Boolean flag to enable writing available dvd text information to an
|
||
# XML formatted string. This string can be obtained via MME's
|
||
# ExtendedMetadata key/value mechanism. Key for this string is
|
||
# "dvd_text".
|
||
#
|
||
# Range: 0 or 1
|
||
#
|
||
dvd-enable-xml-generation = 0
|
||
|
||
# dmb-n
|
||
# dmb-p
|
||
# dmb-k
|
||
#
|
||
# Parameters for DMB emergency mute. If "n" errors (or audio gaps) occur
|
||
# in a period "p" milliseconds, then enter emergency mute state, and remain
|
||
# muted until no error has occured for "k" milliseconds.
|
||
#
|
||
# Any parameter set to zero will disable emergency mute.
|
||
#
|
||
# Mute and de-mute curves are set independently with "audio-volume-mute-ms"
|
||
# and "audio-volume-ramp-ms" options above. The curves are always applied,
|
||
# regardless if emergency mute is enabled or not, if an audio decoding error
|
||
# results in an audio gap (which is itself a brief mute).
|
||
#
|
||
dmb-n = 0
|
||
dmb-p = 500
|
||
dmb-k = 2500
|
||
|
||
# subtitle-font-path
|
||
#
|
||
# Specify the true-type subtitle font path, for rendering of
|
||
# external subtitles. If unspecified or NULL, a built-in unicode
|
||
# font will be used instead.
|
||
#
|
||
subtitle-font-path = ""
|
||
|
||
# subtitle-font-color
|
||
# subtitle-font-outline-color
|
||
#
|
||
# Specify the color, in "R,G,B,A" format, for renderering
|
||
# external subtitles.
|
||
#
|
||
subtitle-font-color = "255,255,255,255"
|
||
subtitle-font-outline-color = "0,0,0,255"
|
||
|
||
# subtitle-font-size
|
||
# subtitle-font-outline-width
|
||
#
|
||
# Specify the font size for renderering external subtitles.
|
||
#
|
||
subtitle-font-size = 20
|
||
subtitle-font-outline-width = 2
|
||
|
||
# subtitle-italic
|
||
# subtitle-bold
|
||
# subtitle-underline
|
||
#
|
||
# Boolean flags for rendering external subtitles.
|
||
#
|
||
subtitle-italic = 0
|
||
subtitle-bold = 0
|
||
subtitle-underline = 0
|
||
|
||
# subtitle-align-horz
|
||
# subtitle-align-vert
|
||
#
|
||
# Specify horizontal and vertical alignment for external subtitle
|
||
# renderering, should be one of the following:
|
||
#
|
||
# subtitle-align-horz:
|
||
# -> "Off"
|
||
# -> "Left"
|
||
# -> "Center"
|
||
# -> "Right"
|
||
#
|
||
# subtitle-align-vert:
|
||
# -> "Off"
|
||
# -> "Top"
|
||
# -> "Center"
|
||
# -> "Bottom"
|
||
#
|
||
subtitle-align-horz = "Center"
|
||
subtitle-align-vert = "Bottom"
|
||
|
||
# subtitle-fade-in
|
||
# subtitle-fade-out
|
||
#
|
||
# Specify the time in milliseconds for external subtitle fade
|
||
# in and out effects. A zero value here disables fade effects.
|
||
#
|
||
subtitle-fade-in = 0
|
||
subtitle-fade-out = 0
|
||
|
||
# subtitle-width
|
||
# subtitle-height
|
||
#
|
||
# Specify the width and height, in pixels, of the external subtitle
|
||
# overlay surface.
|
||
#
|
||
subtitle-width = 800
|
||
subtitle-height = 480
|
||
|
||
# master-enable
|
||
#
|
||
# Boolean flag to enable transmitting of stream data from master to
|
||
# slave. When enabled, it will be possible to attach e.g. MOST or TCP
|
||
# output devices by means of io-media-cinemo iom_attach_output().
|
||
#
|
||
# Range: 0 or 1
|
||
#
|
||
master-enable = 1
|
||
|
||
# master-enable-audio
|
||
#
|
||
# Boolean flag to enable transmitting of audio streams, requires
|
||
# also "master-enable" flag to be set.
|
||
#
|
||
# Range: 0 or 1
|
||
#
|
||
master-enable-audio = 0
|
||
|
||
|
||
# master-min-tx-packets
|
||
# master-max-tx-packets
|
||
# master-min-feedback-packets
|
||
# master-max-feedback-packets
|
||
#
|
||
# Specify the minimum and maximum number of TS packets which may
|
||
# be transferred in one operation. If minimum and maximum values are
|
||
# the same, then all transfers are of a fixed size.
|
||
#
|
||
# Range: 1 to 1024
|
||
#
|
||
master-min-tx-packets = 1
|
||
master-max-tx-packets = 7
|
||
master-min-feedback-packets = 1
|
||
master-max-feedback-packets = 7
|
||
|
||
|
||
# master-delay-ms
|
||
#
|
||
# Specify the maximum network delay, in milliseconds, between the
|
||
# master and all clients.
|
||
#
|
||
# Range: 0 to 1000
|
||
#
|
||
master-delay-ms = 125
|
||
|
||
# master-clock-sync-ms
|
||
#
|
||
# Specify the interval, in milliseconds, between clock synchronization
|
||
# attempts. Each sync requires the difference between master and slave
|
||
# clocks to be be determined, and may, depending on the network protocol,
|
||
# involve the transmitting and receiving of multiple network packets.
|
||
#
|
||
# Range: 0 to 3600000 (zero to disable)
|
||
#
|
||
master-clock-sync-ms = 5000
|
||
|
||
# thread priorities
|
||
#
|
||
# Specify QNX priorities for various thread categories.
|
||
#
|
||
# The default values give high priority to audio and video device
|
||
# threads, since the user experience will suffer significantly if
|
||
# audio or video samples are not rendered on time.
|
||
#
|
||
# Prefetch threads should be highest priority, since they spend
|
||
# most of their time in WAIT state, but should respond quickly when
|
||
# data is available. Experience shows that data may be lost (e.g.
|
||
# from MOST buffers) if not read as soon as available.
|
||
#
|
||
# Encoding threads are normally expected to run in the background
|
||
# at lower priority than e.g. playback threads.
|
||
#
|
||
thread-prio-audio-device = 14
|
||
thread-prio-video-device = 14
|
||
thread-prio-encoding = 10
|
||
thread-prio-playback = 10
|
||
thread-prio-prefetch = 60
|
||
|
||
# buffer sizes
|
||
#
|
||
# Specify buffer sizes, in kbytes, for all navigators. These values
|
||
# should only be changed after consultation with Cinemo.
|
||
#
|
||
# The "buffer-stream-prefetch-kb" option applies to navigators which
|
||
# prefetch live stream data, these include DMB and Cinemo slave
|
||
# navigators. In these navigators, to avoid data loss, MOST or UDP
|
||
# stream data is read and buffered as fast as possible by dedicated
|
||
# prefetch threads.
|
||
#
|
||
buffer-stream-kb = 4096
|
||
buffer-stream-prefetch-kb = 1024
|
||
|
||
# metadata-max-size
|
||
#
|
||
# Specify the maximum size, in bytes, of a single metadata item,
|
||
# including strings, cover art, etc. Metadata items of size larger
|
||
# than this will be ignored.
|
||
#
|
||
metadata-max-size = 1572864
|
||
|
||
# metadata-enable-images
|
||
#
|
||
# Boolean flag to enable image metadata, cover art, etc.
|
||
#
|
||
# Range: 0 or 1
|
||
#
|
||
metadata-enable-images = 1
|
||
|
||
# metadata-enable-snapshots
|
||
#
|
||
# Boolean flag to enable "snapshot" images returned in io-media
|
||
# iom_get_track_info() calls.
|
||
#
|
||
# If enabled, a snapshot image will always be added to the track
|
||
# information for currently playing tracks containing video. The
|
||
# snapshot is captured in iom_load_image().
|
||
#
|
||
# Range: 0 or 1
|
||
#
|
||
metadata-enable-snapshots = 1
|
||
}
|
||
|
||
#############################
|
||
# dvdnavigator graph #
|
||
#############################
|
||
|
||
graph-options {
|
||
|
||
graph = "dvdnavigator"
|
||
}
|
||
|
||
#############################
|
||
# trackplayer graph #
|
||
#############################
|
||
|
||
graph-options {
|
||
|
||
graph = "trackplayer"
|
||
}
|
||
|
||
#############################
|
||
# cdtrackplayer graph #
|
||
#############################
|
||
|
||
graph-options {
|
||
|
||
graph = "cdtrackplayer"
|
||
}
|
||
|
||
#############################
|
||
# dvdtrackplayer graph #
|
||
#############################
|
||
|
||
graph-options {
|
||
|
||
graph = "dvdtrackplayer"
|
||
}
|
||
|
||
#############################
|
||
# trackcopier graph #
|
||
#############################
|
||
|
||
graph-options {
|
||
|
||
graph = "trackcopier"
|
||
}
|
||
|
||
|
||
}
|