Use the this simple perl script to mor or less format the output of 'veejay -u ' into something readable in a browser: ( veejay -u | perl thisscript.pl > vims.html )

#!/usr/bin/perl
use warnings;
use strict;

my $font = "<font face=\"arial\" size=3>";

print("<html><body>\n");
while(<>){
	chomp();
	if(/(I:)(.+)/){
		my $line = $2;
		if($line =~ (/(\sVIMS selector\s)(\d\d\d)(.+)/)){
			$line = "</ul><b>$font$2 </b>$3</font><ul>";
		}
		else{

			$line =~ (/(\s+)(.+)/);
			$line = "<li>$2</li>";
		}
		print($line, "\n");
	}
}
print("</html></body>\n");

001 'Increment index of Effect List'

  • FORMAT: '%d', where:
  • Argument 0 is Step size

002 'Decrement index of Effect List'

  • FORMAT: '%d', where:
  • Argument 0 is Step size

003 'Put selected effect in Effect List to current sample and current entry'

004 'Print current settings'

  • FORMAT: '%d', where:
  • Argument 0 is Sample or Stream ID (depends on playmode, 0=current playing)

005 'GUI: Get a list of all tracks (unadvised!)'

010 'Play forward'

011 'Play backward'

012 'Play stop'

013 'Skip N frames forward'

  • FORMAT: '%d', where:
  • Argument 0 is Number of frames

014 'Skip N frames backward'

  • FORMAT: '%d', where:
  • Argument 0 is Number of frames

015 'Skip N seconds forward'

  • FORMAT: '%d', where:
  • Argument 0 is Number of seconds

016 'Skip N seconds backward'

  • FORMAT: '%d', where:
  • Argument 0 is Number of seconds

017 'Go to starting position'

018 'Go to ending position'

019 'Set current frame number'

  • FORMAT: '%d', where:
  • Argument 0 is Frame number

020 'Change trickplay speed'

  • FORMAT: '%d', where:
  • Argument 0 is Frame step

021 'Change frameduplication'

  • FORMAT: '%d', where:
  • Argument 0 is Frame repeat

022 'Start built-in UDP mcast server (YUV planar)'

023 'Stop built-in UDP mcast server'

040 '(OUT) Write video output to (special) file in yuv4mpeg format'

  • FORMAT: '%s', where:
  • Argument 0 is Filename

041 '(OUT) Stop writing video output to yuv4mpeg file'

042 'TCP: Send a frame to a connected veejay client'

045 'OUT: Start writing video output to a vloopback device'

  • FORMAT: '%d', where:
  • Argument 0 is Vloopback pipe number

046 'OUT: Stop writing to vloopback device'

050 'Paste frames from buffer at frame into edit descision list'

  • FORMAT: '%d', where:
  • Argument 0 is EDL position

051 'Copy frames from edit descision list to buffer'

  • FORMAT: '%d %d', where:
  • Argument 0 is EDL start position
  • Argument 1 is EDL end position

052 'Delete frames from editlist (no undo!)'

  • FORMAT: '%d %d', where:
  • Argument 0 is EDL start position
  • Argument 1 is EDL end position

053 'Crop frames from edit descision list to buffer'

  • FORMAT: '%d %d', where:
  • Argument 0 is EDL start position
  • Argument 1 is EDL end position

054 'Cut frames from edit descision list to buffer'

  • FORMAT: '%d %d', where:
  • Argument 0 is EDL start position
  • Argument 1 is EDL end position

055 'Add video file to edit descision list'

  • FORMAT: '%s', where:
  • Argument 0 is Filename

056 'GUI: Append a file to the plain EDL and create a new sample (unadvised!)'

  • FORMAT: '%d %s', where:
  • Argument 0 is existing or new ID
  • Argument 1 is Filename

058 'Save (selection of) edit descision list to new file'

  • FORMAT: '%d %d %s', where:
  • Argument 0 is EDL start position (0=start position)
  • Argument 1 is EDL end position (0=end position)
  • Argument 2 is Filename

059 'Load edit descision list from file'

  • FORMAT: '%s', where:
  • Argument 0 is Filename

080 'Execute VIMS bundle'

  • FORMAT: '%d', where:
  • Argument 0 is Bundle ID

081 'Delete a VIMS bundle'

  • FORMAT: '%d', where:
  • Argument 0 is Bundle ID

082 'Add a new bundle to the event list'

  • FORMAT: '%d %s', where:
  • Argument 0 is Bundle ID (0=new, 1=overwrite existing)
  • Argument 1 is VIMS text

083 'Attach/Detach a Key to VIMS Event'

  • FORMAT: '%d %d %d %s', where:
  • Argument 0 is VIMS ID
  • Argument 1 is SDL Key symbol
  • Argument 2 is SDL Key modifier (0=none,1=alt,2=ctrl,3=shift)
  • Argument 3 is VIMS message

084 'Veejay load action file'

  • FORMAT: '%s', where:
  • Argument 0 is Filename

085 'Veejay save action file'

  • FORMAT: '%d %s', where:
  • Argument 0 is Mode (0=only Bundles,1=save edl/sample list)
  • Argument 1 is Filename

086 'Capture Effect Chain to a new Bundle'

100 'Create a new sample'

  • FORMAT: '%d %d', where:
  • Argument 0 is Starting position
  • Argument 1 is Ending position

101 'Select and play sample'

  • FORMAT: '%d', where:
  • Argument 0 is Sample ID (0=current playing, -1=last created, > 0 = Sample ID)

102 'Change looptype of sample'

  • FORMAT: '%d %d', where:
  • Argument 0 is Sample ID (0=current playing, -1=last created, > 0 = Sample ID)
  • Argument 1 is Looptype (0=None,1=Normal,2=Pingpong)

103 'Change title of sample'

  • FORMAT: '%d %s', where:
  • Argument 0 is Sample ID (0=current playing, -1=last created, > 0 = Sample ID)
  • Argument 1 is Title

104 'Change playback speed of sample'

  • FORMAT: '%d %d', where:
  • Argument 0 is Sample ID (0=current playing, -1=last created, > 0 = Sample ID)
  • Argument 1 is Speed (0=pause, > 0 and < (end-start)

105 'Change start position of sample'

  • FORMAT: '%d %d', where:
  • Argument 0 is Sample ID (0=current playing, -1=last created, > 0 = Sample ID)
  • Argument 1 is Frame number

106 'Change end position of sample'

  • FORMAT: '%d %d', where:
  • Argument 0 is Sample ID (0=current playing, -1=last created, > 0 = Sample ID)
  • Argument 1 is Frame number

107 'Change frame repeat for this sample'

  • FORMAT: '%d %d', where:
  • Argument 0 is Sample ID (0=current playing, -1=last created, > 0 = Sample ID)
  • Argument 1 is Frame repeat

108 'Set in point in sample'

  • FORMAT: '%d %d', where:
  • Argument 0 is Sample ID (0=current playing, -1=last created, > 0 = Sample ID)
  • Argument 1 is Position

109 'Set out point in sample'

  • FORMAT: '%d %d', where:
  • Argument 0 is Sample ID (0=current playing, -1=last created, > 0 = Sample ID)
  • Argument 1 is Position

110 'Set in and out points in sample'

  • FORMAT: '%d %d %d', where:
  • Argument 0 is Sample ID (0=current playing, -1=last created, > 0 = Sample ID)
  • Argument 1 is Starting position
  • Argument 2 is Ending position

111 'Clear in and out points'

  • FORMAT: '%d', where:
  • Argument 0 is Sample ID (0=current playing, -1=last created, > 0 = Sample ID)

112 'Enable effect chain of sample'

  • FORMAT: '%d', where:
  • Argument 0 is Sample ID (0=current playing, -1=last created, > 0 = Sample ID)

113 'Disable effect chain of sample'

  • FORMAT: '%d', where:
  • Argument 0 is Sample ID (0=current playing, -1=last created, > 0 = Sample ID)

120 'Delete sample'

  • FORMAT: '%d', where:
  • Argument 0 is Sample ID >= 1

121 'Delete all samples (caution!)'

125 'Load samples from file'

  • FORMAT: '%s', where:
  • Argument 0 is Filename

126 'Save samples to file'

  • FORMAT: '%s', where:
  • Argument 0 is Filename

127 'Copy sample to new'

  • FORMAT: '%d', where:
  • Argument 0 is Sample ID (0=current playing, -1=last created, > 0 = Sample ID)

130 'Start recording from sample'

  • FORMAT: '%d %d', where:
  • Argument 0 is Number of frames (0=sample duration)
  • Argument 1 is Auto Play (0=disable, 1=enable)

131 'Stop recording from this sample'

143 'Set sample's starting and ending position'

  • FORMAT: '%d %d %d', where:
  • Argument 0 is Sample ID (0=current playing, -1=last created, > 0 = Sample ID)
  • Argument 1 is Starting position
  • Argument 2 is Ending position

144 'Switch between loop types'

  • FORMAT: '%d %d', where:
  • Argument 0 is Sample ID (0=current playing, -1=last created, > 0 = Sample ID)
  • Argument 1 is Looptype (0=None, 1=Normal, 2=Pingpong)

150 'Store current frame as starting position of new sample'

151 'Store current frame as ending position of a new sample ( and commit )'

201 'Select and play stream'

  • FORMAT: '%d', where:
  • Argument 0 is Stream ID >= 1

202 'Change RGB color of solid stream'

  • FORMAT: '%d %d %d %d', where:
  • Argument 0 is Stream ID (-1=last created, > 0 = Stream ID)
  • Argument 1 is Red
  • Argument 2 is Green
  • Argument 3 is Blue

203 'Change title of stream'

  • FORMAT: '%d %s', where:
  • Argument 0 is Stream ID (-1=last created, > 0 = Stream ID)
  • Argument 1 is Title

207 'Set brightness value for Video4linux stream'

  • FORMAT: '%d %d', where:
  • Argument 0 is Stream ID (-1=last created, > 0 = Stream ID)
  • Argument 1 is Value 0-65535

208 'Set constrast value for Video4linux stream'

  • FORMAT: '%d %d', where:
  • Argument 0 is Stream ID (-1=last created, > 0 = Stream ID)
  • Argument 1 is Value 0-65535

207 'Set hue value for Video4linux stream'

  • FORMAT: '%d %d', where:
  • Argument 0 is Stream ID (-1=last created, > 0 = Stream ID)
  • Argument 1 is Value 0-65535

210 'Set color value for Video4linux stream'

  • FORMAT: '%d %d', where:
  • Argument 0 is Stream ID (-1=last created, > 0 = Stream ID)
  • Argument 1 is Value 0-65535

211 'Set white balance value for Video4linux stream'

  • FORMAT: '%d %d', where:
  • Argument 0 is Stream ID (-1=last created, > 0 = Stream ID)
  • Argument 1 is Value 0-65535

212 'Set ficticious stream length'

  • FORMAT: '%d', where:
  • Argument 0 is Number of frames

213 'Disable effect chain of stream'

  • FORMAT: '%d', where:
  • Argument 0 is Stream ID (-1=last created, > 0 = Stream ID)

220 'Delete stream'

  • FORMAT: '%d', where:
  • Argument 0 is Stream ID >= 1

228 'Start offline recording from stream'

  • FORMAT: '%d %d %d', where:
  • Argument 0 is Stream ID (-1=last created, > 0 = Stream ID)
  • Argument 1 is Number of frames
  • Argument 2 is Auto Play (0=disable,1=enable)

229 'Stop offline recording from this stream'

230 'Start recording from stream'

  • FORMAT: '%d %d', where:
  • Argument 0 is Number of frames
  • Argument 1 is Auto Play (0=disable,1=enable)

231 'Stop recording from this stream'

  • FORMAT: '%d %d', where:

240 'Open video4linux device as new input stream'

  • FORMAT: '%d %d', where:
  • Argument 0 is Device Number (0=/dev/video0,1=/dev/video1, ... )
  • Argument 1 is Channel Number (0=TV,1=composite,2=svideo)

241 'Open dv1394 device as new input stream'

  • FORMAT: '%d', where:
  • Argument 0 is Channel number

242 'Solid RGB color fill as new input stream'

  • FORMAT: '%d %d %d', where:
  • Argument 0 is Red
  • Argument 1 is Green
  • Argument 2 is Blue

243 'Open yuv4mpeg (special) file as new input stream'

  • FORMAT: '%s', where:
  • Argument 0 is Filename

244 'Open input file as new input stream using FFmpeg'

  • FORMAT: '%s', where:
  • Argument 0 is Filename

245 'Open TCP veejay connection (peer to peer, raw data) as new input stream'

  • FORMAT: '%d %s', where:
  • Argument 0 is Port number
  • Argument 1 is Hostname or IP address

246 'Open UDP multicast as new input stream'

  • FORMAT: '%d %s', where:
  • Argument 0 is Port Number
  • Argument 1 is Multicast Address

247 'Open image from file as new input stream'

  • FORMAT: '%s', where:
  • Argument 0 is Filename

254 'Suspend Veejay (caution!)'

300 'Set audio volume'

  • FORMAT: '%d', where:
  • Argument 0 is Volume 0-100

301 'Enable / Disable Fullscreen video output'

  • FORMAT: '%d', where:
  • Argument 0 is On = 1, Off=0

302 'Set codec to use for recording (global setting)'

  • FORMAT: '%s', where:
  • Argument 0 is Codec name (use 'x' to see list)

303 'Change playback mode'

  • FORMAT: '%d', where:
  • Argument 0 is Playback (2=plain,1=stream,0=sample)

305 'Switch between sample and stream playback'

307 'Disable audio playback'

308 'Set current sample bank'

  • FORMAT: '%d', where:
  • Argument 0 is Bank number

309 'Play stream or sample slot (depends on current playmode)'

  • FORMAT: '%d', where:
  • Argument 0 is Slot number

315 'Start sample randomizer'

  • FORMAT: '%d', where:
  • Argument 0 is Mode (0=Random duration, 1=Sample duration)

316 'Stop sample randomizer'

320 'Start recording now and play when finished'

321 'Stop recording'

322 'Start recording'

323 'Change between box or triangle filter for sampling purposes'

324 'Bezerk mode toggle '

325 'More/Less verbosive console output'

326 '(OUT) Resize SDL video window'

  • FORMAT: '%d %d %d %d', where:
  • Argument 0 is Width
  • Argument 1 is Height
  • Argument 2 is X offset
  • Argument 3 is Y offset

327 'Change playback mode'

  • FORMAT: '%d', where:
  • Argument 0 is Playback mode (0=sample,1=stream,2=plain)

328 'Play sample / stream'

  • FORMAT: '%d %d', where:
  • Argument 0 is Sample or Stream ID (0=current playing, -1=last created, > 0 = ID)
  • Argument 1 is Source type (0=sample,1=stream)

329 'Change YUV <-> RGB conversion (unadvised)'

  • FORMAT: '%d', where:
  • Argument 0 is Mode (0=GIMP,1=CCIR701,2=broken)

330 'Save output frame to file'

  • FORMAT: '%d %d %s', where:
  • Argument 0 is Width
  • Argument 1 is Height
  • Argument 2 is Filename

001 'GUI: Get preview image (raw RGB24)'

  • FORMAT: '%d %d', where:
  • Argument 0 is Width
  • Argument 1 is Height

350 'Increment current Channel ID on selected chain entry'

  • FORMAT: '%d', where:
  • Argument 0 is Increment vale

351 'Decrement current Channel ID on selected chain entry'

  • FORMAT: '%d', where:
  • Argument 0 is Increment value

352 'Enable or disable Effect Chain for ALL samples or streams'

  • FORMAT: '%d', where:
  • Argument 0 is On = 1, Off= 0

353 'Enable Effect Chain'

354 'Disable Effect Chain'

355 'Reset Effect Chain'

  • FORMAT: '%d', where:
  • Argument 0 is Sample or Stream ID (0=current playing, -1=last created, > 0 = ID)

356 'Fade in effect chain'

  • FORMAT: '%d %d', where:
  • Argument 0 is Sample or Stream ID (0=current playing, -1=last created, > 0 = ID)
  • Argument 1 is Duration in frames

357 'Fade out effet chain'

  • FORMAT: '%d %d', where:
  • Argument 0 is Sample or Stream ID (0=current playing, -1=last created, > 0 = ID)
  • Argument 1 is Duration in frames

358 'GUI: Get effect chain'

  • FORMAT: '%d', where:
  • Argument 0 is Sample or Stream ID (0=current playing, -1=last created, > 0 = ID)

359 'Set Chain Index'

  • FORMAT: '%d', where:
  • Argument 0 is Index value

360 'Add effect to chain entry with default values'

  • FORMAT: '%d %d %d', where:
  • Argument 0 is Sample or Stream ID (0=current playing, -1=last created, > 0 = ID)
  • Argument 1 is Chain Index (-1=current)
  • Argument 2 is Effect ID

361 'Preset effect on chain entry'

  • FORMAT: '%d %d %d %d %d %d %d %d %d %d %d', where:
  • Argument 0 is Sample or Stream ID (0=current playing, -1=last created, > 0 = ID)
  • Argument 1 is Chain Index (-1=current
  • Argument 2 is Effect ID
  • Argument 3 is Parameter 0
  • Argument 4 is Parameter 1
  • Argument 5 is Parameter 2
  • Argument 6 is Parameter 3
  • Argument 7 is Parameter 4
  • Argument 8 is Parameter 5
  • Argument 9 is Parameter 6
  • Argument 10 is Parameter 7

362 'Set a parameter value'

  • FORMAT: '%d %d %d %d', where:
  • Argument 0 is Sample or Stream ID (0=current playing, -1=last created, > 0 = ID)
  • Argument 1 is Chain Index (-1=current)
  • Argument 2 is Parameter number
  • Argument 3 is Value

363 'Enable effect on chain index'

  • FORMAT: '%d %d', where:
  • Argument 0 is Sample or Stream ID (0=current playing, -1=last created, > 0 = ID)
  • Argument 1 is Chain Index (-1=current)

364 'Disable effect on chain index'

  • FORMAT: '%d %d', where:
  • Argument 0 is Sample or Stream ID (0=current playing, -1=last created, > 0 = ID)
  • Argument 1 is Chain Index (-1=current)

365 'Reset effect to default'

  • FORMAT: '%d %d', where:
  • Argument 0 is Sample or Stream ID (0=current playing, -1=last created, > 0 = ID)
  • Argument 1 is Chain Index (-1=current)

366 'Set mixing channel'

  • FORMAT: '%d %d %d', where:
  • Argument 0 is Sample or Stream ID (0=current playing, -1=last created, > 0 = ID)
  • Argument 1 is Chain Index (-1=current)
  • Argument 2 is Sample ID

367 'Set mixing source type'

  • FORMAT: '%d %d %d', where:
  • Argument 0 is Sample or Stream ID (0=current playing, -1=last created, > 0 = ID)
  • Argument 1 is Chain Index (-1=current)
  • Argument 2 is Source Type (0=sample,1=stream)

368 'Set mixing channel and source type'

  • FORMAT: '%d %d %d %d', where:
  • Argument 0 is Sample or Stream ID (0=current playing, -1=last created, > 0 = ID)
  • Argument 1 is Chain Index (-1=current)
  • Argument 2 is Source Type (0=sample,1=stream)
  • Argument 3 is Sample or Stream ID

369 'Reset chain index'

  • FORMAT: '%d %d', where:
  • Argument 0 is Sample or Stream ID (0=current playing, -1=last created, > 0 = ID)
  • Argument 1 is Chain Index (-1=current)

370 'Set opacity of Effect Chain'

  • FORMAT: '%d %d', where:
  • Argument 0 is Sample or Stream ID (0=current playing, -1=last created, > 0 = ID)
  • Argument 1 is Opacity value [0-255]

371 'Decrement current FX chain entry'

  • FORMAT: '%d', where:
  • Argument 0 is Decrement value

372 'Increment current FX chain entry'

  • FORMAT: '%d', where:
  • Argument 0 is Increment value

373 'Change source type of a chain entry'

  • FORMAT: '%d %d', where:
  • Argument 0 is Chain entry
  • Argument 1 is Source type (0=Sample, 1=Stream)

374 'Increment current value of a parameter'

  • FORMAT: '%d %d', where:
  • Argument 0 is Parameter number
  • Argument 1 is Step size

375 'Decrement current value of a parameter'

  • FORMAT: '%d %d', where:
  • Argument 0 is Parameter number
  • Argument 1 is Step size

376 'Enable / disable Effect Chain'

377 'Enable / disable effect on current entry'

  • FORMAT: '%d %d', where:

400 'GUI: Get video information details'

401 'GUI: Get all effects'

402 'GUI: Get EDL'

403 'GUI: Get all bundles'

405 'GUI: Get a list of all streams (unadvised!)'

  • FORMAT: '%d', where:
  • Argument 0 is stream offset

408 'GUI: Get a list of all samples (unadvised!)'

  • FORMAT: '%d', where:
  • Argument 0 is sample offset

409 'GUI: Get video4linux properties'

  • FORMAT: '%d', where:
  • Argument 0 is Stream ID (-1=last created, > 0 = Stream ID)

410 'GUI: Get effect chain index details'

  • FORMAT: '%d %d', where:
  • Argument 0 is Sample or Stream ID (0=current playing, -1=last created, > 0 = ID)
  • Argument 1 is Chain Index

411 'GUI: Get all VIMS events'

412 'GUI: Get console output'

413 'GUI: Get sample or stream information (unadivsed!)'

  • FORMAT: '%d %d', where:
  • Argument 0 is Sample or Stream ID (0=current playing, -1=last created, > 0 = ID)
  • Argument 1 is Source Type (0=sample,1=stream)

414 'GUI: Get sample options'

  • FORMAT: '%d %d', where:
  • Argument 0 is Sample or Stream ID (0=current playing, -1=last created, > 0 = ID)
  • Argument 1 is Source Type (0=sample,1=stream)

600 'Quit Veejay (caution!)'

600 'End sessions with veejay'

  • Veejay OSC
  • When using strings, set it *always* as the first argument
  • Below follow all effects in Veejay,
  • Effect numbers starting with 2xx are effects that use
  • *two* sources (by default a copy of itself)
  • Use the channel/source commands to select another sample/stream
  • to mix with.