Guest User

mlvfs & mlvfs-indicator

a guest
Aug 15th, 2016
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.59 KB | None | 0 0
  1. MLVFS
  3. Installation
  5. - Copy the mlfvs binary into your $PATH, e.g to /usr/local/bin
  6. - Install FUSE in the manner appropriate for your distribution (e.g. sudo apt-get install libfuse2)
  8. Useage:
  9. mlvfs <mount point> --mlv_dir=<directory with MLV files>
  11. To unmount the filesystem:
  13. fusermount -u <mount point>
  15. NOTE: The webgui does not work in background mode, which is the FUSE default. So to use the webgui, specify the -f switch
  17. To get to the webgui go to http://localhost:8045/
  19. ### Command Line Options
  21. #### FUSE options:
  23. -d -o debug enable debug output (implies -f)
  24. -f foreground operation
  25. -s disable multi-threaded operation
  27. #### MLVFS options:
  29. --port=%s webgui port (default is 8000)
  30. --resolve-naming use DaVinci Resolve / BMD file naming convention (.MLV folders will show up as clips in Resolve)
  31. --cs2x2 2x2 chroma smoothing (to remove focus pixels on certain camera models and other artifacts)
  32. --cs3x3 3x3 chroma smoothing
  33. --cs5x5 5x5 chroma smoothing
  34. --bad-pix hot/cold/bad pixel correction
  35. --really-bad-pix very aggressive bad pixel correction
  36. --stripes fixes vertical banding in highlights (present on some 5D3 and 7D cameras)
  37. --dual-iso-preview preview mode for dual-ISO (very fast, but not very goold quality)
  38. --dual-iso Full-blown dual-ISO conversion (quite slow)
  39. --amaze-edge Dual-ISO interpolation method: use a temporary demosaic step (AMaZE) followed by edge-directed interpolation (default)
  40. --mean23 Dual-ISO interpolation method: average the nearest 2 or 3 pixels of the same color from the Bayer grid (faster)
  41. --no-alias-map disable alias map, used to fix aliasing in deep shadows
  42. --alias-map enable alias map, used to fix aliasing in deep shadows
  43. --prefetch=%d when a particular frame is requested, start processing the next x frames in other threads
  44. --fps=%f override the frame rate in the MLV metadata (for timelapse or slowmo footage)
  46. Use the webgui to modify any of these options while mlvfs is running.
  48. ------------------------------------------------------------------------------------------------------------------------------------------
  50. MLVFS-Indicator
  52. Also under GPLv2, mlv-indicator is a python2 based appindicator, which commands some shell-scripts for providing the needed functionality.
  54. MLVFS-Indicator depends on:
  55. sudo apt-get install python-gobject python-gtk python-appindicator python-xdg zenity (debian package list, you will have to adapt on other distros)
  57. Installation
  59. Put the hidden .mlvfs folder into your home folder. It contains the bash scripts which will be running when you click on something in the indicator. If you don't see it, tell your file browser to show hidden files.
  60. To have it's icons work, put the icons inside of the icons folder to /usr/share/icons/ or $HOME/.local/share/icons
  62. You can then just double-click mlvfs-indicator to launch it, or put it into $PATH, e.g /usr/local/bin
  64. If you happen to use nautilus-actions, there is an action called "mount ALL MLV files in this folder via MLVFS.desktop" which you can import into nautilus-actions (3.0 or higher). it will allow you to mount mlv files via the context menu of nautilus, and will start mlvfs-indicator by doing so.
  66. Useage
  68. After the indicator is loaded, you will have numerous options to deal with mlvfs.
  70. - You can mount and unmount .mlv files. You can choose a directory with .mlv files in it, and mlvfs-indicator will mount all .mlv files in that folder to the desired mountpoint, default is /media/magicLantern. Providing this folder exists, the mountpoint should show up in your file browser. If not, it will be created automatically (you will have to enter your password to do so, as this location needs root privileges to be edited.)
  72. - You also have the possibility to start the webinterface of mlvfs (hardcoded to port 8045 in .mlvfs/magicLanternMount right now)
  73. - You can show mlvfs's commandline options in case you want to experiment with them
  74. - You can change the default mountpoint,
  75. - You can edit the mlvfs mount command directly from the indicator
  76. - You can open the directory of the mountpoint in file-browser and terminal.
  77. - You can go to the mlvfs homepage.
  79. Remember, there are just shell-scripts behind these operations, so its fairly easy to customize them. Also the python code behind the indicator is very easy to customize, too.
Add Comment
Please, Sign In to add comment