Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Difference between revisions of "MPRecorder"

From FlightGear wiki
Jump to: navigation, search
(Created page with "{{Infobox Software | title = MPRecorder | logo = | image = | alt = | developedby = Markus ...")
 
m (MPRecorder example video: Fixed video)
Line 20: Line 20:
 
This is an example video of a landing in St. Barths using MPRecorder to record other views. I am usually not making videos so this is far away from being perfect, but I think you can get an impression.
 
This is an example video of a landing in St. Barths using MPRecorder to record other views. I am usually not making videos so this is far away from being perfect, but I think you can get an impression.
  
{{#ev:youtube|FCgBhIgjOmo|600|Flightgear MPRecorder example video at St. Barths}}
+
{{#ev:youtube|FCgBhIgjOmo|600|auto|Flightgear MPRecorder example video at St. Barths}}
  
 
== Features ==
 
== Features ==

Revision as of 04:31, 18 April 2014

MPRecorder
Developed by Markus Pargmann
Initial release 0.1
Latest release 0.1
Written in Python 3
OS All with python3 support (only tested on linux)
Development status Active
License GNU General Public License
Website


MPRecorder is a tool to record and replay multiplayer activities, including chat and all aircraft properties that are transferred in multiplayer. In difference to the integrated flightgear replay support, you can record and replay multiple aircrafts. Also the standard recording quality is most times much higher (10 updates per second). You can use any view you want for video recording, because all replays are in multiplayer, so you can use normal aircrafts while replaying a flight.

MPRecorder example video

This is an example video of a landing in St. Barths using MPRecorder to record other views. I am usually not making videos so this is far away from being perfect, but I think you can get an impression.

EmbedVideo was given an illegal value for the alignment parameter "auto". Valid values are "left", "center", or "right".

Features

  • Record/Replay multiple flights at the same time
  • Record multiplayer activity within 100nm
  • Each pilot recording stored in <USER_HOME>/.fgfsrec
  • Replays in multiplayer (You can use UFO to record or watch the flight)
  • Replay multiple recordings at the same time
  • low/high quality replays

Record

Simple command to record at an airport:

./recorder.py -c rec record --lat 18.040707 --lon -63.110125

Replay

Simple command to replay a single recorded flight:

./recorder.py -c alfo replay ~/.fgfsrec/2012_06_24_10_05_alfo

Replay starting at second 42:

./recorder.py -c alfo replay --at 42 ~/.fgfsrec/2012_06_24_10_05_alfo

Replay a complete multiplayer event (All recordings in one directory) while preserving the start times of each recorded flight:

./recorder.py -c alfo replay ~/.fgfsrec/

Replay of multiple recordings starting at the same time:

./recorder.py -c alfo replay ~/.fgfsrec/2012_06_24_10_05_alfo ~/.fgfsrec/2012_06_24_10_00_alfo

Replay of multiple recordings, the second replay starts after 10 seconds:

./recorder.py -c alfo replay ~/.fgfsrec/2012_06_24_10_05_alfo ~/.fgfsrec/2012_06_24_10_00_alfo:10

Help

% ./recorder.py --help
usage: recorder.py [-h] [-s SERVER] -c CALLSIGN {record,replay} ...

positional arguments:
  {record,replay}       To record flights
    record              Record the activities at a given position
    replay              Replay one or more files in multiplayer

optional arguments:
  -h, --help            show this help message and exit
  -s SERVER, --server SERVER
                        SERVER the recorder should use
  -c CALLSIGN, --callsign CALLSIGN
                        Callsign for the recorder. In replay mode this is used
                        as prefix for the id of the replay
% ./recorder.py record --help
usage: recorder.py record [-h] --lon LON --lat LAT

optional arguments:
  -h, --help  show this help message and exit
  --lon LON
  --lat LAT
% ./recorder.py replay --help
usage: recorder.py replay [-h] [-a STARTTIME] [-d]
                          PATH[:STARTTIME] [PATH[:STARTTIME] ...]

positional arguments:
  PATH[:STARTTIME]      Path to a file or directory with replays combined with
                        an optional relative start time in seconds for all
                        recordings found at that path.

optional arguments:
  -h, --help            show this help message and exit
  -a STARTTIME, --at STARTTIME
                        Start the replay at second x
  -d, --hq              High quality replay. This can lead to lagging when
                        replaying big multiplayer events.