VODServer can be invoked using a URL like http://vodserver:port/service name?service parameters. VODServer bundles several predefined services, following are example invocations:
The channel service allows you to define a static mapping of channel names to service invocations. Please see the Channels page for information on configuring your own channels. Using channels instead of a direct service invocation provides several advantages:
Play a local video
Play a remote video by providing the direct video stream URL. The video stream URL must be supported by ffmpeg as input URL. This means that for mms-streams, you will need to use the mmsh:// prefix. See the ffmpeg documentation for more information about supported URL types.
Play a video using the given RTMP parameters. Every parameter is optional, although of course you need to supply the correct set of parameters for a given video stream. These parameters are passed directly to rtmpdump to load the video stream. Please see the rtmpdump documentation for more information.
This will parse the contents of http://somehost/link/to/page/containing/video, trying to find a video stream. For example, it will try to extract rtsp, mms or rtmp-based video streams.
Special service for the site iLive.to
Special service for the site kanalia.eu
Plays a short video showing 'Welcome to VODServer' for testing purposes
Shut down VODServer. The confirmation value (for security purposes) can be configured in vodserver-service-shutdown.xml
By default, VODServer performs only limited logging. You can however get detailed logs for specific service invocations by including the debug=1 request parameter in your VODServer request. For example: http://vodserver:port/service?debug=1&input=... For each request that includes this parameter, two new log files will be created. One log file contains the details while executing the request, whereas the other log file contains the command output (assuming there were no errors while executing the parameter builders or the command).
You can also configure VODServer to perform detailed logging for all requests by setting a system property on start-up:
java -Ddebug=1 -jar VODServer.jar
Please note that detailed logs can grow quite large, and the detailed logs will not be automatically cleaned up. As such, using detailed logging is not recommended for production use.