GMERLIN_PLAYER(1)
NAME
gmerlin_player - Commandline Multimedia player
SYNOPSIS
gmerlin_player [options] gml...
DESCRIPTION
Commandline Multimedia player
OPTIONS
- -oa <audio_output_options>
- Set audio output options
p=option[{suboptions}] - Supported options: oa_alsa oa_pulse oa_jack oa_oss oa_esd
- Default: oa_alsa
- Audio output plugin
- Suboptions for p=oa_alsa
card=<string>Supported strings: default hw:0,0 hw:0,1Default: defaultCardsurround40=[1|0] (default: 1)Enable 4.0 SurroundUse the surround 4.0 (aka quadrophonic) devicesurround41=[1|0] (default: 1)Enable 4.1 SurroundUse the surround 4.1 devicesurround50=[1|0] (default: 1)Enable 5.0 SurroundUse the surround 5.0 devicesurround51=[1|0] (default: 1)Enable 5.1 SurroundUse the surround 5.1 deviceuser_device=<string>User deviceEnter a custom device to use for playback. Leave empty to use the settings abovebuffer_time=<number> (10..10000, default: 1000)Buffer timeSet the buffer time (in milliseconds). Larger values improve playback performance on slow systems under load. Smaller values decrease the latency of the volume control. - Suboptions for p=oa_jack
connect_ports=[1|0] (default: 1)Connect portsAutoconnect ports - Suboptions for p=oa_oss
multichannel_mode=<string>Supported strings: none multidev creativeDefault: noneMultichannel Modedevice=<string> (Default: /dev/dsp)Deviceuse_rear_device=[1|0] (default: 0)Use Rear Devicerear_device=<string> (Default: /dev/dsp1)Rear Deviceuse_center_lfe_device=[1|0] (default: 0)Use Center/LFE Devicecenter_lfe_device=<string> (Default: /dev/dsp2)Center/LFE Device - Suboptions for p=oa_esd
esd_host=<string>Host (empty: local) - -ov <video_output_options>
Set video output options
p=option[{suboptions}]Supported options: ov_x11Default: ov_x11Video output pluginSuboptions for p=ov_x11
auto_resize=[1|0] (default: 1)Auto resize windowdisable_xscreensaver_normal=[1|0] (default: 0)Disable Screensaver for normal playbackdisable_xscreensaver_fullscreen=[1|0] (default: 1)Disable Screensaver for fullscreen playbackforce_hw_scale=[1|0] (default: 1)Force hardware scalingUse hardware scaling even if it involves more CPU intensive pixelformat conversionsbackground_color=<r>,<g>,<b> (default: 0.000,0.000,0.000)<r>, <g> and <b> are in the range 0.0..1.0Background colorSpecify the background color for videos with alpha channel. This is only used by the OpenGL driver.scale_mode=<string>Supported strings: auto nearest bilinear quadratic cubic_bspline cubic_mitchell cubic_catmull sinc_lanczosDefault: autoScale modeChoose scaling method. Auto means to choose based on the conversion quality. Nearest is fastest, Sinc with Lanczos window is slowest.scale_order=<number> (4..1000, default: 4)Scale orderOrder for sinc scalingscale_quality=<number> (1..5, default: 2)Scale qualityScale qualityw=<string>Window ID - -i <input_plugin>
Set and configure input plugin
p=option[{suboptions}]Supported options: i_avdec i_cdaudio i_dvd i_vcd i_singlepic_stills i_lqt i_edl i_singlepic i_mikmod i_gmerlerraDefault: i_avdecinput pluginSuboptions for p=i_avdec
audio_dynrange=[1|0] (default: 1)Dynamic range controlEnable dynamic range control for codecs, which support this (currently only A52 and DTS).pp=<number> (0.00..1.00, default: 0.20)Postprocessing levelSet postprocessing (to remove compression artifacts). 0 means no postprocessing, 1 means maximum postprocessing.shrink=<number> (0..3, default: 0)Shrink factorThis enables downscaling of images while decoding. Currently only supported for JPEG-2000.vdpau=[1|0] (default: 1)Use vdpauUse VDPAUconnect_timeout=<number> (0..2000000, default: 5000)Connect timeout (milliseconds)read_timeout=<number> (0..2000000, default: 5000)Read timeout (milliseconds)network_buffer_size=<number> (1..1000, default: 32)Network buffer size (kB)network_bandwidth=<string>Supported strings: 14400 19200 28800 33600 34400 57600 115200 262200 393200 524300 1500000 10500000Default: 524300Bandwidthhttp_shoutcast_metadata=[1|0] (default: 1)Enable shoutcast title streaminghttp_use_proxy=[1|0] (default: 0)Use proxyhttp_proxy_host=<string>Proxy hosthttp_proxy_port=<number> (1..65535, default: 80)Proxy porthttp_proxy_auth=[1|0] (default: 0)Proxy needs authenticationhttp_proxy_user=<string>Proxy usernamehttp_proxy_pass=<string>Proxy passwordrtp_try_tcp=[1|0] (default: 0)Try RTP over TCPUse this if your filewall blocks all UDP traffic. Not all servers support TCPrtp_port_base=<number> (0..65530, default: 0)Port base for RTPPort base for RTP over UDP. Values of 1024 or smaller enable random ports (recommended for RTSP aware firewalls). Values larger than 1024 define the base port. 2 consecutive ports are used for each A/V stream, these must be accessable through the firewall. Odd values are rounded to the next even value.ftp_anonymous=[1|0] (default: 1)Login as anonymousftp_anonymous_password=<string> (Default: gates@nanosoft.com)Anonymous ftp passwordseek_subtitles=<string>Supported strings: never video alwaysDefault: neverSeek external subtitlesIf the input is a regular file, gmerlin_avdecoder can scan the directory for matching subtitle files. For a file movie.mpg, possible subtitle files are e.g. movie_english.srt, movie_german.srt. The rule is, that the first part of the filename of the subtitle file must be equal to the movie filename up to the extension. Furthermore, the subtitle filename must have an extension supported by any of the subtitle readers. Subtitle seeking can be disabled, enabled for video files or enabled for all files.default_subtitle_encoding=<string> (Default: LATIN1)Default subtitle encodingThis sets the default encoding for text subtitles,when the original encoding is unknown. It must be a character set namerecognized by iconv. Type 'iconv -l' at the commandline for a list of supported encodings.sample_accuracy=<string>Supported strings: never always when_necessaryDefault: neverSample accurateTry sample accurate seeking. For most formats, this is not necessary, since normal seeking works fine. Some formats are only seekable in sample accurate mode. Choose "When necessary" to enable seeking for most formats with the smallest overhead.cache_time=<number> (default: 500)Cache time (milliseconds)If building an index takes longer than the specified time, it will be cached.cache_size=<number> (default: 20)Cache size (Megabytes)Set the maximum total size of the cache directory.dv_datetime=[1|0] (default: 0)Export date and time as timecodes for DVSuboptions for p=i_cdaudio
trackname_template=<string> (Default: %p - %t)Trackname templateTemplate for track name generation from metadata %p: Artist %a: Album %g: Genre %t: Track name %<d>n: Track number (d = number of digits, 1-9) %y: Year %c: Commentuse_cdtext=[1|0] (default: 1)Use CD-TextTry to get CD metadata from CD-Textuse_local=[1|0] (default: 1)Use locally saved metadataWhenever we obtain CD metadata from the internet, we save them into $HOME/.gmerlin/cdaudio_metadata. If you got wrong metadata for a CD, disabling this option will retrieve the metadata again and overwrite the saved data.use_musicbrainz=[1|0] (default: 1)Use Musicbrainzmusicbrainz_host=<string> (Default: mm.musicbrainz.org)Servermusicbrainz_port=<number> (1..65535, default: 80)Portmusicbrainz_proxy_host=<string>ProxyProxy server (leave empty for direct connection)musicbrainz_proxy_port=<number> (1..65535, default: 80)Proxy portProxy portuse_cddb=[1|0] (default: 1)Use Cddbcddb_host=<string> (Default: freedb.org)Servercddb_port=<number> (1..65535, default: 80)Portcddb_path=<string> (Default: /~cddb/cddb.cgi)Pathcddb_proxy_host=<string>ProxyProxy server (leave empty for direct connection)cddb_proxy_port=<number> (1..65535, default: 80)Proxy portProxy portcddb_proxy_user=<string>Proxy usernameUser name for proxy (leave empty for poxies, which don't require authentication)cddb_proxy_pass=<string>Proxy passwordPassword for proxycddb_timeout=<number> (0..1000, default: 10)TimeoutTimeout (in seconds) for connections to the CDDB servercdparanoia_speed=<string>Supported strings: Auto 4 8 16 32Default: AutoSpeedcdparanoia_max_retries=<number> (0..200, default: 20)Maximum retriesMaximum number of retries, 0 = infinitecdparanoia_disable_paranoia=[1|0] (default: 0)Disable paranoiaDisable all data verification and correction features.cdparanoia_disable_extra_paranoia=[1|0] (default: 0)Disable extra paranoiaDisables intra-read data verification; only overlap checking atread boundaries is performed. It can wedge if errors occur in the attempted overlap area. Not recommended.Suboptions for p=i_dvd
audio_dynrange=[1|0] (default: 1)Dynamic range controlEnable dynamic range control for codecs, which support this (currently only A52 and DTS).Suboptions for p=i_singlepic_stills
display_time={[[HH:]MM:]SS} (default: 0:00)Seconds can be fractional (i.e. with decimal point) Display timeTime to pass until the next track will be selected. 0 means infinite.Suboptions for p=i_lqt
ac={option[{suboptions}][:option[{suboptions}]...]}Supported options: ima4 rawaudio twos ulaw sowt alaw in24 in32 fl32 fl64 lpcm faad2 ffmpeg_mp3 ffmpeg_mp2 ffmpeg_ac3 ffmpeg_qdm2 ffmpeg_alac ffmpeg_adpcm_ms ffmpeg_ima_adpcm_wav vorbis vorbis_qtAudio CodecsSort and configure audio codecsvc={option[{suboptions}][:option[{suboptions}]...]}Supported options: rtjpeg raw v308 v408 v410 yuv2 yuv4 yv12 2vuy v210 schroedinger png ffmpeg_mpg1 ffmpeg_mpg4 ffmpeg_msmpeg4v1 ffmpeg_msmpeg4v2 ffmpeg_msmpeg4v3 ffmpeg_msmpeg4v3_wmp ffmpeg_h263_dec ffmpeg_h263 ffmpeg_h264 ffmpeg_i263 ffmpeg_svq1 ffmpeg_svq3 ffmpeg_mjpg ffmpeg_mjpegb ffmpeg_TGA ffmpeg_TIFF ffmpeg_8BPS ffmpeg_indeo ffmpeg_rpza ffmpeg_smc ffmpeg_cinepak ffmpeg_cyuv ffmpeg_rle ffmpeg_wrle ffmpeg_dv_ntsc ffmpeg_dv_pal ffmpeg_dv_avi ffmpeg_dv50_pal ffmpeg_dv50_ntsc ffmpeg_dvcprohd ffmpeg_ffvhuff ffmpeg_ffv1 ffmpeg_dnxhd jpeg mjpa ffmpeg_imxVideo CodecsSort and configure video codecsSuboptions for ffmpeg_mpg1
ff_flag_gray=[1|0] (default: 0)Grayscale modeSuboptions for ffmpeg_mpg4
ff_flag_gray=[1|0] (default: 0)Grayscale modeSuboptions for ffmpeg_msmpeg4v1
ff_flag_gray=[1|0] (default: 0)Grayscale modeSuboptions for ffmpeg_msmpeg4v2
ff_flag_gray=[1|0] (default: 0)Grayscale modeSuboptions for ffmpeg_msmpeg4v3
ff_flag_gray=[1|0] (default: 0)Grayscale modeSuboptions for ffmpeg_msmpeg4v3_wmp
ff_flag_gray=[1|0] (default: 0)Grayscale modeSuboptions for ffmpeg_h263_dec
ff_flag_gray=[1|0] (default: 0)Grayscale modeSuboptions for ffmpeg_h263
ff_flag_gray=[1|0] (default: 0)Grayscale modeSuboptions for ffmpeg_h264
ff_flag_gray=[1|0] (default: 0)Grayscale modeSuboptions for ffmpeg_i263
ff_flag_gray=[1|0] (default: 0)Grayscale modeSuboptions for ffmpeg_svq1
ff_flag_gray=[1|0] (default: 0)Grayscale modeSuboptions for ffmpeg_svq3
ff_flag_gray=[1|0] (default: 0)Grayscale modeSuboptions for ffmpeg_mjpg
ff_flag_gray=[1|0] (default: 0)Grayscale modeSuboptions for ffmpeg_indeo
ff_flag_gray=[1|0] (default: 0)Grayscale modeSuboptions for ffmpeg_cinepak
ff_flag_gray=[1|0] (default: 0)Grayscale modeSuboptions for ffmpeg_cyuv
ff_flag_gray=[1|0] (default: 0)Grayscale modeSuboptions for ffmpeg_dv_ntsc
ff_flag_gray=[1|0] (default: 0)Grayscale modeSuboptions for ffmpeg_dv_pal
ff_flag_gray=[1|0] (default: 0)Grayscale modeSuboptions for ffmpeg_dv_avi
ff_flag_gray=[1|0] (default: 0)Grayscale modeSuboptions for ffmpeg_dv50_pal
ff_flag_gray=[1|0] (default: 0)Grayscale modeSuboptions for ffmpeg_dv50_ntsc
ff_flag_gray=[1|0] (default: 0)Grayscale modeSuboptions for ffmpeg_dvcprohd
ff_flag_gray=[1|0] (default: 0)Grayscale modeSuboptions for ffmpeg_ffvhuff
ff_flag_gray=[1|0] (default: 0)Grayscale modeSuboptions for ffmpeg_ffv1
ff_flag_gray=[1|0] (default: 0)Grayscale modeSuboptions for ffmpeg_dnxhd
ff_flag_gray=[1|0] (default: 0)Grayscale modeSuboptions for ffmpeg_imx
ff_flag_gray=[1|0] (default: 0)Grayscale modeSuboptions for p=i_singlepic
timescale=<number> (1..100000, default: 25)Timescaleframe_duration=<number> (1..100000, default: 1)Frame durationSuboptions for p=i_mikmod
output=<string>Supported strings: mono8 stereo8 mono16 stereo16Default: stereo16Output formatmixing_frequency=<number> (4000..60000, default: 44100)Sampleratehidden=[1|0] (default: 0)Look for hidden patterns in modulesur=[1|0] (default: 0)Use surround mixingfade=[1|0] (default: 0)Force volume fade at the end of moduleinterpol=[1|0] (default: 0)Use interpolate mixingSuboptions for p=i_gmerlerra
render_quality=[1|0] (default: 1)Render quality-aud <audio_options>
Set audio processing options
sampleformat=<string>Supported strings: none 8 16 32 f dDefault: noneForce sampleformatForce a sampleformat to be used for processing. None means to take the input format.q=<number> (1..5, default: 2)Conversion QualitySet the conversion quality for format conversions. Lower quality means more speed. Values above 3 enable slow high quality calculations.dither_mode=<string>Supported strings: auto none rect tri shapedDefault: autoDither modeDither mode. Auto means to use the quality level. Subsequent options are ordered by increasing quality (i.e. decreasing speed).fixed_samplerate=[1|0] (default: 0)Fixed samplerateIf disabled, the output samplerate is taken from the source. If enabled, the samplerate you specify below us used.samplerate=<number> (8000..192000, default: 44100)SamplerateSamplerateresample_mode=<string>Supported strings: auto zoh linear sinc_fast sinc_medium sinc_bestDefault: autoResample modeResample mode. Auto means to use the quality level. Subsequent options are ordered by increasing quality (i.e. decreasing speed).fixed_channel_setup=[1|0] (default: 0)Fixed channel setupIf disabled, the output channel configuration is taken from the source. If enabled, the setup you specify below us used.num_front_channels=<number> (1..5, default: 2)Front channelsnum_rear_channels=<number> (0..3, default: 0)Rear channelsnum_lfe_channels=[1|0] (default: 0)LFEfront_to_rear=<string>Supported strings: mute copy diffDefault: copyFront to rear modeMix mode when the output format has rear channels, but the source doesn't.stereo_to_mono=<string>Supported strings: left right mixDefault: mixStereo to mono modeMix mode when downmixing Stereo to Mono.-vid <video_options>
Set video processing options
q=<number> (1..5, default: 2)Conversion QualitySet the conversion quality for format conversions. Lower quality means more speed. Values above 3 enable slow high quality calculations.alpha_mode=<string>Supported strings: ignore blend_colorDefault: ignoreAlpha modeThis option is used if the source has an alpha (=transparency) channel, but the output supports no transparency. Either, the transparency is ignored, or the background color you specify below is blended in.background_color=<r>,<g>,<b> (default: 0.000,0.000,0.000)<r>, <g> and <b> are in the range 0.0..1.0Background colorBackground color to use, when alpha mode above is "Blend background color".sm=[1|0] (default: 0)Resample chromaAlways perform chroma resampling if chroma subsampling factors or chroma placements are different. Usually, this is only done for qualities above 3.still_framerate=<number> (1.00..100.00, default: 10.00)Still image framerateSet framerate with which still images will be redisplayed periodicallythreads=<number> (1..1024, default: 1)Number of threadsThreads to launch for processing operations. Changing this requires program restart-inopt <input_options>
Set generic input options
still_framerate=<number> (0..100, default: 10)Still image repitition rateWhen showing still images, gmerlin repeats them periodically to make realtime filter tweaking work.sync_offset=<number> (-1000..1000, default: 0)Sync offset [ms]Use this for playing buggy files, which have a constant offset between audio and video. Use positive values if the video is ahead of audio-osd <osd_options>
Set OSD options
enable_osd=[1|0] (default: 1)Enable OSDfont_size=<number> (12.00..100.00, default: 30.00)SizeSpecify fontsize for OSD. The value you enter, is for an image width of 640. For other widths, the value will be scaledcolor=<r>,<g>,<b>,<a> (default: 1.000,1.000,1.000,1.000)<r>, <g>, <b> and <a> are in the range 0.0..1.0Foreground colorborder_color=<r>,<g>,<b> (default: 0.000,0.000,0.000)<r>, <g> and <b> are in the range 0.0..1.0Border colorborder_width=<number> (0.00..10.00, default: 2.00)Border widthjustify_h=<string>Supported strings: center left rightDefault: centerHorizontal justifyjustify_v=<string>Supported strings: center top bottomDefault: centerVertical justifyborder_left=<number> (0..65535, default: 10)Left borderDistance from the left text border to the image borderborder_right=<number> (0..65535, default: 10)Right borderDistance from the right text border to the image borderborder_top=<number> (0..65535, default: 10)Top borderDistance from the top text border to the image borderborder_bottom=<number> (0..65535, default: 10)Bottom borderDistance from the bottom text border to the image borderduration=<number> (0..10000, default: 2000)Duration (milliseconds)-nt
Disable time display-vol <volume>
Set volume in dB (max: 0.0)-v level
Set verbosity level (0..4)-tracks <track_spec>
<track_spec> can be a ranges mixed with comma separated tracks
GENERIC OPTIONS
The following generic options are available for all gmerlin applications
- -help
- Print this help message and exit
- -help-man
Print this help message as a manual page and exit- -help-texi
Print this help message in texinfo format and exit- -version
Print version info and exit
FILES
- ~/.gmerlin/plugins.xml
- Cache of the plugin registry (shared by all applicatons)
- ~/.gmerlin/generic/config.xml
Default plugin parameters are read from there. Use gmerlin_plugincfg to change them.