Controlling Xine with Perl script


 
Thread Tools Search this Thread
Top Forums Programming Controlling Xine with Perl script
# 1  
Old 07-29-2010
Controlling Xine with Perl script

Hello,

I want to write a Perl script that is able to control the playback of files in xine.
I read about the xine library for perl, Video::xine, but thats not what I want...
I just want a little code that sends , for exemple, a signal to xine to pause playback, continue playback etc.

It would be possible to use little pieces of Shell scripts, but it would be much better if I can make it with Perl...

Thanks in advance Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

1 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

PERL:controlling serial ports ?

Is it possible to write a perl program to controll the serial port? e.g. What iam trying to do, for a challenge is create a box with two lights. red and green, connect to a serial port and have a perl program to give me the options to turn on the red light or green light. Is this possilbe, can... (1 Reply)
Discussion started by: perleo
1 Replies
Login or Register to Ask a Question
AAXINE(1)						      General Commands Manual							 AAXINE(1)

NAME
aaxine - an ASCII art video player SYNOPSIS
aaxine [aalib-options] [-A<audio-driver>] [-a<audio-channel>] [-R<rec-by>] [MRL...] DESCRIPTION
This manual page explains the aaxine program. Aaxine, is an aalib based frontend for libxine, a versatile video/multimedia player. aaxine is for those who don't have a high end video card, but just want to watch DVDs on their good old vt100 ;-) Like xine, aaxine plays MPEG system (audio and video) streams, mpeg elementary streams (e.g. .mp3 or .mpv files), avi files (using win32 codecs or ffmpeg), (S)VCDs, DVDs and many more. In short, anything that's supported by xine-lib. OPTIONS
The program follows usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options are included below. For a complete description, see README and FAQ in /usr/share/doc/xine-ui or on the xine home page. -h, --help Show summary of options and available output drivers (plugins). A big bunch of these options is provided by aalib. Please refer to your aalib documentation for those! The remaining options, labelled AAXINE options: when listed with "aaxine --help", are explained here. -A, --audio-driver <drv> Use given audio driver. Available drivers can be listed with "aaxine --help" -a, --audio-channel <num> Use given audio channel. Channels are sequentially numbered from 0 for first audio track. -R, --recognize-by [option] Determine the method used to recognize stream type. Possible options are: `default': by content, then by extension, `revert': by extension, then by content, `content': only by content, `extension': only by extension. If -R is given without an additional option, `revert' is selected. MRLs MRLs are similar to URLs in your web browser. They describe the media to read from. valid MRLs may be plain file names or one of the fol- lowing: file:<path> fifo:<path> stdin:/ dvd:/<title>.<part> vcd:/<tracknumber> tcp://<host>:<port> rtp://<host>:<port> udp://<host>:<port> mms://<host>... http://<host>... cdda://<tracknumber> Several MRLs may be specified in order to play a number of consecutive streams. Additional input plugins will provide additional MRL types. The ones listed above are available with stock libxine... After a delimiting # you can add several stream parameters: novideo video will be ignored noaudio audio will be ignored nospu subpictures will be ignored demux:<demux name> specify the demux plugin to use volume:<level> set audio volume compression:<level> set audio dynamic range compression <config entry>:<config value> assign a new value to any config entry CONTROL KEYS
Many features can be controlled by pressing control keys. The Key bindings are: <RETURN> / R Play <SPACE> / P Pause 0 Jump to start of current stream 1 .. 9 Jump to 10%..90% of current stream <PgUp> Jump to previous stream in playlist <PgDown> Jump to next stream in playlist + Select next audio channel (may take up to a few seconds to take effect) - Select prev audio channel Q Exit. BUGS
none, of course ;-) Well, there are surely a few of those. You can probably best ask for support (and report bugs) on our mailing list at <xine-user@lists.sf.net>. SEE ALSO
xine(1), http://www.xine-project.org/, <http://www.xine-project.org/> http://aa-project.sf.net/aalib, <http://aa-project.sourceforge.net/aalib/> xine-lib(3) AUTHOR
Siggi Langauf for the xine project. COPYRIGHT
Copyright (C) 2001 The xine project The xine project August 29, 2001 AAXINE(1)