lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lynx-dev] Launch Viewer_Media HOWTO


From: pfourier
Subject: [Lynx-dev] Launch Viewer_Media HOWTO
Date: Thu, 12 Jul 2012 12:55:14 -0500 (CDT)

Re: MPlayer with Lynx
    Lynx version : 2.8.8dev.12 (win32)
    My system : windows XP

 ATT: Lynx Support

 I have been using MPlayer with Arachne.

 Could this be possible with Lynx?  

The docs indicate an external image viewer and
video player can be launched, but what would be
the correct SYNTAX e.g.,Mplayer?
~~~~~~~~~

.h2 SUFFIX_ORDER
# With SUFFIX_ORDER the precedence of suffix mappings can be changed.
# Two kinds of settings are recognized:
#
# PRECEDENCE_OTHER or PRECEDENCE_HERE
# Suffix mappings can come from four sources: (1) SUFFIX rules
# given here - see below, (2) built-in defaults (HTInit.c), and the
# (3) GLOBAL_EXTENSION_MAP and (4) PERSONAL_EXTENSION_MAP files.
# The order of precedence is normally as listed: (1) has the
# *lowest*, (4) has the *highest* precedence if there are conflicts.
# In other words, SUFFIX mappings here are overridden by conflicting
# ones elsewhere. This default ordering is called PRECEDENCE_OTHER.
# With PRECEDENCE_HERE, the order becomes (2) (3) (4) (1), i.e.
# mappings here override others made elsewhere.
#
# NO_BUILTIN
# This disables all built-in default rules. In other words, (2) in the
# list above is skipped. Some recognition for compressed files (".gz",
# ".Z") is still hardwired. A mapping for some basic types, at least
# for text/html is probably necessary to get a usable configuration,
# it can be given in a SUFFIX rule below or an extension map file.
# Both kinds of settings can be combined, separated by comma as in
# SUFFIX_ORDER:PRECEDENCE_HERE,NO_BUILTIN
# Note: Using PRECEDENCE_HERE has only an effect on SUFFIX rules that follow.
# Moreover, if GLOBAL_EXTENSION_MAP or PERSONAL_EXTENSION_MAP
directives
# are used, they should come *before* a SUFFIX_ORDER:PRECEDENCE_HERE.
#
#SUFFIX_ORDER:PRECEDENCE_OTHER
.h2 SUFFIX
# The SUFFIX definition takes the form of:
#
# SUFFIX:<file extension>:<mime type>:<encoding>:<quality>:<description>
#
# All fields after <mime type> are optional (including the separators
# if no more fields follow).
#
# <file extension> trailing end of file name. This need not strictly
# be a file extension as understood by the OS, a dot
# has to be given explicitly if it is indented, for
# some uses one could even match full filenames here.
# In addition, two forms are special: "*.*" and "*"
# refer to the defaults for otherwise unmatched files
# (the first for filenames with a dot somewhere in
# the name, the second without), these are currently
# mapped to text/plain in the (HTInit.c) built-in code.
# Lynx compares the file-extensions ignoring case.
#
# <mime type> a MIME content type. It can also contain a charset
# parameter, see example below. This should be given in
# all lowercase, use <description> for more fancy labels.
# It can be left empty if an HTTP style encoding is given.
#
# Fields in addition to the usual ones are
#
# <encoding> either a mail style trivial encoding (7bit, 8bit, binary)
# which could be used on some systems to determine how to
# open local files (currently it isn't), and is used to
# determine transfer mode for some FTP URLs; or a HTTP style
# content encoding (gzip (equivalent to x-gzip), compress)
#
# <quality> a floating point quality factor, usually between 0.0 and 1.0
# currently unused in most situations.
#
# <description> text that can appear in FTP directory listings, and in
# local directory listings (see LIST_FORMAT, code %t)
#
# For instance the following definition maps the
# extension ".gif" to the mime type "image/gif"
.ex
# SUFFIX:.gif:image/gif
#
# The following can be used if you have a convention to label
# HTML files in some character set that differs from your local
# default (see also ASSUME_LOCAL_CHARSET) with a different
# extension, here ".html-u8". It also demonstrates use of the
# description field, note extra separators for omitted fields:
.ex
# SUFFIX:.html-u8:text/html;charset=utf-8:::UTF-8 HTML
#
# The following shows how a suffix can indicate a combination
# of MIME type and compression method. (The ending ".ps.gz" should
# already be recognized by default; the form below could be used on
# systems that don't allow more than one dot in filenames.)
.ex
# SUFFIX:.ps_gz:application/postscript:gzip::gzip'd Postscript
#
# The following is meant to match a full filename (but can match
# any file ending in "core", so be careful):
.ex
# SUFFIX:core:application/x-core-file
#
# file suffixes are case INsensitive!
#
# The suffix definitions listed here in the default lynx.cfg file are
# similar to those normally established via src/HTInit.c. You can change
# the defaults by editing that file or disable them, or via the global or
# personal mime.types files at run time (except for the additional fields).
# Assignments made here are overridden by entries in those files
# unless preceded with a SUFFIX_ORDER:PRECEDENCE_HERE.
#
.ex 29
#SUFFIX:.snd:audio/basic
#SUFFIX:.gif:image/gif
#SUFFIX:.rgb:image/x-rgb
#SUFFIX:.png:image/png
#SUFFIX:.xbm:image/x-xbitmap
#SUFFIX:.tiff:image/tiff
#SUFFIX:.jpg:image/jpeg
#SUFFIX:.jpeg:image/jpeg
#SUFFIX:.mpg:video/mpeg
#SUFFIX:.mpeg:video/mpeg
#SUFFIX:.mov:video/quicktime

~~~~~~~~~~~~
 Sincerely,
 L
 ~~~~~~~~~~~
http://www.glennmcc.org/arachne/

http://www.ausreg.com/arachne/

 ARACHNE 'MIME.CFG'
 audio/mpeg3     MP3|@call aramplay.bat $1
 audio/ogg       OGG|@call aramplay.bat $1
 audio/x-mpeg3   MP3|@call aramplay.bat $1
 audio/x-ms-wma  WMA|@call aramplay.bat $1
 audio/x-ms-wmv  WMV|@call aramplay.bat $1
 audio/x-scpls   PLS|@call arampls.bat $1
 audio/x-vorbis  OGG|@call aramplay.bat $1
 video/flv       FLV|@call aramplay.bat $1
 video/mp4       MP4|@call aramplay.bat $1
 video/mpg       MPG|@call aramplay.bat $1
 video/msvideo   AVI|@call aramplay.bat $1
 video/ogg       OGV|@call aramplay.bat $1
 video/wmv       WMV|@call aramplay.bat $1
 video/x-flv     FLV|@call aramplay.bat $1
 video/x-mpeg    MPG|@call aramplay.bat $1
 video/x-ms-wmv  WMV|@call aramplay.bat $1

 ARAMPLAY.BAT:
 @echo off
 set MPLAYER_HOME=c:\super\mencoder\mplayer
 @c:\super\mencoder\mplayer.exe -cache 32768 -cache-min 50 -vo directx -v -ao , 
-vfm ffmpeg -framedrop -zoom -vsync %1 %2 %3 %4 %5 %6 %7 %8 > NUL
 set MPLAYER_HOME=

Media demo links:
http://glennmcc.dyndns.org/my-stuff/audio/
http://glennmcc.dyndns.org/my-stuff/music/
http://glennmcc.dyndns.org/my-stuff/videos/
http://glennmcc.dyndns.org/images/
*************




reply via email to

[Prev in Thread] Current Thread [Next in Thread]