http://jttechonline.com

JT Tech Services & Support Desk

Back to the forum index
Linear

Universal Media Server - NEAT Syntax define (Scripting and Programming Editing/Tips)

by gisgrabber, Saturday, December 21, 2013, 11:54 (1427 days ago)
edited by JTaylor, Tuesday, August 26, 2014, 08:58

Each of the "Supported" lines contains the following parameters separated by spaces or tabs:

f: Regular expression to match the format of a file as parsed by the MediaInfo library (see the list above). This parameter is mandatory. Be careful when matching everything with ".+"; the renderer must be able to handle all formats.

v: Regular expression to match the video codec of the file as parsed by
the MediaInfo library (see the list above).

a: Regular expression to match the audio codec of the file as parsed by
the MediaInfo library (see the list above).

m: The MIME type to send to the renderer. Use of this parameter is
strongly recommended. If it is not set, an estimated value will be assigned.

n: The maximum number of audio channels used in the file as parsed by the MediaInfo library.

s: The maximum audio sample frequency used in the file as parsed by
the MediaInfo library, specified in Hertz.

b: The maximum audio bit rate used in the file as parsed by the
MediaInfo library, specified in bits per second.

w: The maximum video width used in the file as parsed by the MediaInfo
library, specified in pixels.

h: The maximum video height used in the file as parsed by the MediaInfo
library, specified in pixels.

qpel: Quarter pixel codec setting in the file as parsed by the MediaInfo
library.

gmc: The number of global motion compensation warp points in the file as
parsed by the MediaInfo library.

gop:static Forces transcoding for mpeg video coded with GOP=variable format which is not supported by some renderers
--------------------------------------------------------------------------------------
SUPPORTED MEDIA FORMATS:
This section defines which media formats are supported by this renderer. If a file is supported and its mediainfo indicates that it falls within the capabilities of this renderer, UMS will stream the file to the renderer. All other files will be transcoded to the format specified in "TranscodeVideo" or "TranscodeAudio" before being sent to the renderer. Each format that the renderer supports should result in a "Supported" line that defines the capabilities of the renderer. When MediaInfo = true, media files are parsed and their properties are matched against all "Supported" lines. If a value for a specific property cannot be parsed, that property is assumed to match. The order of the "Supported" lines matters: when multiple lines match, the first match is used. The media parser and this configuration file will recognize the following formats and codecs. Use lower case names only. Regular expressions are supported.
aac (Advanced Audio Codec - Low Complexity)
aac-he (Advanced Audio Codec - High Efficiency)
ac3 (Audio Coding 3)
aiff (AIFF)
alac (Apple Lossless)
ape (Monkey's Audio)
atrac (Atrac)
avi (AVI container)
bmp (Bitmap)
divx (DivX Video)
dts (Digital Theater Systems)
dtshd (Digital Theater Systems)
dv (Digital Video)
eac3 (Extended AC3)
flac (Free Lossless Audio Codec)
flv (Flash Video)
gif (GIF)
h264 (H.264)
jpg (JPEG)
lpcm (Linear PCM)
mjpeg (M-JPEG)
mkv (Matroska)
mov (Quicktime container, Apple)
mp3 (MPEG Audio Layer 3)
mp4 (ISOM/MPEG4 container, or MPEG4 codec)
mpa (MPEG Audio)
mpc (MusePack)
mpeg1 (Codec used in VCD)
mpeg2 (Codec used in DVD Videos and HDTV)
mpegps (MPEG presentation stream, used in DVD Videos, VCDs, etc.)
mpegts (MPEG transport stream, used in sat TV, Blu-ray discs (BDAV) etc.)
ogg (Ogg Vorbis)
png (PNG)
ra (Real Audio)
rm (Real Media, RMVB)
tiff (TIFF)
truehd (TrueHD)
vc1 (VC-1)
wavpac (WavPack)
wav (WAVE file)
wma (Windows Media Audio)
wmv (Windows Media Video, tag also used for asf files)
und (Undetermined, if the parser did not recognize one of above)
--------------------------------------------------------------------------------------
SUPPORTED VIDEO SYNTAX EXAMPLES:
Supported = f:mpegps v:mpeg1|mpeg2|mp4|h264 a:ac3|lpcm m:video/mpeg
Supported = f:mpegts v:mpeg1|mpeg2|mp4|h264 a:ac3|lpcm|mpa m:video/mpeg
Supported = f:avi|divx v:mp4|divx|mjpeg a:mp3|lpcm|mpa|ac3 m:video/x-divx gmc:0
Supported = f:mp4 v:mp4|h264 a:ac3 m:video/mp4
Supported = f:mp4 v:mp4|h264 a:aac m:video/mp4 n:2
Supported = f:wmv v:wmv|vc1 a:wma m:video/x-ms-wmv n:2

SUPPORTED AUDIO SYNTAX EXAMPLES:
Supported = f:wav a:dts n:6 s:48000 m:audio/wav
Supported = f:wav a:lpcm n:6 s:48000 m:audio/l16
Supported = f:wav n:2 s:48000 m:audio/wav
Supported = f:mp3 n:2 m:audio/mpeg
Supported = f:aac a:(?!alac).+ n:2 m:audio/x-m4a
Supported = f:wma n:2 m:audio/x-ms-wma
Supported = f:atrac n:2 m:audio/x-oma
Supported = f:lpcm a:lpcm n:6 s:48000 m:audio/l16

SUPPORTED IMAGE SYNTAX EXAMPLES:
Supported = f:jpg m:image/jpeg
Supported = f:png m:image/png
Supported = f:gif m:image/gif
Supported = f:tiff m:image/tiff
SupportedSubtitlesType: Comma-separated list of text-based subtitle formats supported by the renderer.

SUPPORTED FORMATS:File extension
# SUBRIP .srt
# ASS .ass or.ssa
# TEXT .txt
# MICRODVD .sub
# E.g. "SupportedSubtitlesType = SUBRIP,ASS,MICRODVD"
# SupportedSubtitlesType =
# UseClosedCaption: Some renderers use the "sec:CaptionInfoEx" parameter to
stream external subtitles.
Supported subtitles are defined in SupportedSubtitlesType.
Default value is false.
UseClosedCaption = :-D

Tags:
video format, video streaming, dlna, encoding, ums, transcoding

  2073 views
RSS Feed of thread
214 Postings in 99 Threads, 2 registered users, 1 users online (0 registered, 1 guests)
Forum time: 2017-11-17, 22:52
RSS Postings  RSS Threads | Contact
powered & hosted by JT Tech Servers