QuoteCould you please change the .pro file like this
Yeah, works.
except the fact its qmake-qt5 on ubuntu
Etiquette, expectations, entitlement...
@autoexec_bin | #magiclantern | Discord | Reddit | Server issues
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuoteCould you please change the .pro file like this
prefix=./
#! /bin/bash
export APPDIR="$(dirname "$(readlink -f "$0")")" #get the path inside the appimage
export LD_LIBRARY_PATH=lib:LD_LIBRARY_PATH #set libray path
export QT_PLUGIN_PATH=plugins:QT_PLUGIN_PATH #setting this explicitly as well, just for safety
export QT_QPA_PLATFORMTHEME="fusion" #set theme path (does not work so far)
cd $APPDIR
./MLVApp -style=fusion
sudo apt-get install libqt5multimedia5
for now..
QuoteJust one note: it's almost 2 times bigger (~43mb) then it would be as statically linked binary (~24mb).Thats because its bundled with ffmpeg static binary, which is about 14mb with upx compression applied, without it, the AppImage would have around 30mb.
QuoteBut anyway I think in this form it could be released as Linux version.
./linuxdeployqt m/MLVApp -appimage -bundle-non-qt-libs -verbose=2
[Desktop Entry]
Type=Application
Name=MLVApp
Exec=MLVApp
Icon=MLVApp
QuoteThank you, but it's gonna make more sense if you make the binary static.
qt5-qmake MLVApp.pro
make
sudo apt-get install build-essential python-opengl python-numpy python-dev python2.7-dev python-tk python-pyaudio git
wget http://openartisthq.org/magiclantern/python-scandir_0.9-1_amd64.deb
sudo dpkg -i python-scandir_0.9-1_amd64.deb
git clone https://bitbucket.org/baldand/mlrawviewer.git
git pull
, (you don't have to run this now) you will be able to update your code to the newest version in git. So every time you want the newest version, just do a git pull , and you have the newest code. cd mlrawviewer
wget http://openartisthq.org/magiclantern/libglfw.so.3
wget http://openartisthq.org/magiclantern/libglfw.so.3.1
python setup.py build
cp build/lib.linux-*/bitunpack.so .
chmod +x mlrawviewer.py
chmod +x Viewer.py.py
./Viewer.py
./mlrawviewer.py
ln -s Viewer.py ~/Desktop
git pull
will give you instantly the newest version of the code, and if you take this tutorial and make a script out of this (basically just writing everything into a text file), have a symlink / shortcut / alias to that script to run it from e.g. Desktop, you will always have the newest version available - and baldand can do what he's best in.QuoteThe playback will be faster if you build the included bitunpack module.
QuoteGreat job, chmee! Now if only I could make it work under Wine.here you go: http://pastebin.com/SUHCXm8X
Quote[linux, wine] do you have some info for me?
QuoteI dont have any Linux based pc here..In terms of developing, I guess you don't have to...
Quote
cr2hdr should work out of the box:
In terminal enter:sudo apt-get install build-essential
hg clone -r unified https://bitbucket.org/hudson/magic-lantern
cd magic-lantern/modules/dual_iso
make cr2hdr
sudo cp cr2hdr /usr/local/bin
QuoteBut if there is demand for just CinemaDNG playbackThere is.... but does that mean I cannot (right now) play back a folder with ( non-cinema) DNG's that I converted with mlv_dump or raw2dng?
QuoteDirectories containing "CinemaDNG" sequences can be played the same as RAW and MLV filesand how do I specify that? best would be if it would work when I give the path to one DNG and also if I give the path to the surrounding folder
Quote./mlrawviewer.py ../Canon_5D_Mark_III_Magic_Lantern_Raw_Video_files/does that mean it generates a .mov for playing back the DNG's?
MlRawViewer v1.0.3 alpha
(c) Andrew Baldwin & contributors 2013
Using GLUT instead of GLFW. Some features may be disabled.
outfilename for CDNG: ../Canon_5D_Mark_III_Magic_Lantern_Raw_Video_files.MOV
Opening CinemaDNG ../Canon_5D_Mark_III_Magic_Lantern_Raw_Video_files/
Could not open file ../Canon_5D_Mark_III_Magic_Lantern_Raw_Video_files/. Error:51044
QuoteUsing GLUT instead of GLFW. Some features may be disabled.what am I missing there? I just have glfw2 (libglfw.so.2.6) in ubuntu 12.04...,even 14.04 just has 2.7.2-1 would that be also sufficient?
QuoteA MLV "converter" that provides a virtual file system of converted data 'on the fly' using Filesystem in Userspace (FUSE). It allows you to "mount" an MLV file(s) which shows up as a directory of converted CDNGs. The data for these CDNGs is provided 'on the fly' by MLFVS as the data is being requested by whatever raw editor or post processing software you are using. It's fast and efficient, and allows for real-time playback.
QuoteAdvantages
- You don't have to convert first, you more or less "instantly" have "converted" DNGs
- You don't have to choose between keeping the original MLVs or converted DNGs or doubling disk usage to keep both.
- There's no need for a GUI, there already is one provided by the OS (i.e. the OS's file browser).
- Possible to vary the quality, pre-processing, bit depth, etc, of the DNGs on the fly, via webinterface.
QuoteFeatures
-Bash script, based on mlv_dump, raw2dng, mlv2badpixels.sh
-Uses mlv/raw files as arguments
-Create image sequences/movies in EXR, DPX, Prores
-Develop specific frame range easily, making MLRawViewer an ideal companion
-Complete control over RAW development: Highlight reconstruction, demosaicing, color space, chroma smoothing, white balance...
-100% colormanaged, output gamma/gamut (including Cineon, S-Log3, DCI-P3, Rec709...), no quality loss from sensor --> output
-Create/use darkframe subtraction, temporal denoising, wavelet denoising for noise reduction
-Multithreaded
-HDR Dual ISO processing
-Easy bad pixel removal
-Autom. applies lossless compression
-Option to create jpg/mp4 proxies
-Apply ffmpeg-supported filters
-Optional Auto White Balance
-Sound is available as a .wav file
-Metadata dumped from MLV or DNG files to settings.txt or terminal
-Config file interface lets you automate all, saving time
documentation: convmlv -h, pdf
Usage (excerpt)
-i: output full-quality EXR sequence
-m: output high-quality Prores 4444 file
-p 3: generate proxies both JPG seq, H.264 video.
-C: local config file
-s %: denotes proxy scale, in %
-b: seamlessly removes focus pixels, mlv2badpixels.sh.
-k: keep DNGs
-d 3: hq AHD demosaicing
-g 0: Standard Gamma
-G 2: Rec.709 Gamut
-o ./output: One folder per converted file, each containing all materials
All options must go before the MLV/RAW files.
QuoteFeatures
-Free and Open Source!
-Fast (The main goal), Fast playback as well.
-Develop your raw video files like in Adobe Camera Raw (Exposure, Temperature, Tint, Saturation, Dark Strength, Dark Range, Light Strength, Light range, Lighten, Highlight reconstruction)
-Gamma curves: Tonemapping, Alexa Log-C, Cineon Log, Sony S-Log3
-Correct ML Raw files issues (Focus dots, Bad Pixel, Chroma Smooth, Pattern noise, Vertical Stripes, Deflicker target)
-Histogram/WaveformMonitor/Zebras
-Support for Lossless compressed MLV
-Support for 10/12 bit
-Batch export
-ProRes (and other formats) export (Prores 4444, 422 Proxy, 422 LT, 422 HQ, 422, uncompressed AVI so far)
Linux compile howto
ubuntu 16.04 with kubuntu packports ppa activated, so qt 5.6.1:sudo apt-get install libpng16-dev qtmultimedia5-dev qt5-qmake qtbase5-dev libz-dev
I had to change line 22 of MainWindow.cpp to:
#include <libpng16/png.h>
and line 55 of MLVApp.pro to:
linux-g++*: LIBS += -L/usr/local/lib/ -lz -lpng16
then the ususal:qt5-qmake MLVApp.pro
make
ffmpeg binary must be in the same directory as MLVApp for working export.
Quotesupports RAW MLV in both single and multi-file versions, sound playback from MLV_SND audio, external WAV, playback of directories containing sequences of "CinemaDNG" .DNG files; BSD-style license.
Features
RAW, MLV and CinemaDNG playback in real-time (if you have fast file read and modest GPU), single and multi-file
Progress bar and timestamp overlay. Click to jump in file
Pause playback: SPACE key or play/pause icon.
Toggle fullscreen and windowed mode: TAB key or fullscreen icon
Jump to next/previous RAW or MLV files in same directory as current file using O/P keys.
Drag a RAW/MLV/DNG file onto the window to view that file. Drag a WAV file to play with the current video.
Step forward and backward through frames by one second (LEFT/RIGHT cursor keys) or one frame (,/. keys) while playing or paused
Brightness control while playing: UP/DOWN cursor keys. Or click/drag in brightness box.
Fast GPU Bilinear demosaicing for playback
High-quality (but slow) CPU demosaicing (AMaZE) when paused or enabled (Q key)
Export current marked range with audio: E key or red button.
Choose export folder: W key.
Choose MOV (ProRes) or DNG sequence as export type using D key.
White Balance adjustments. Keys: 1=WhiteFluoro,2=Daylight,3=Cloudy,0=None, 4/7=Red down/up, 5/8=Green down/up, 6/9=Blue down/up. Or click/drag in Red/Blue box.
sRGB colour output
sRGB or Rec.709 gamma, global (HDR) tone mapping, Linear mapping, Log mapping toggle "T" key or mapping icon
Drop-frame+audio and non-drop-frame modes. Toggle "F" key
Slide audio sync -0.5,-0.05,+0.05,+0.5 seconds with V/B/N/M keys.
Mark IN/OUT, Jump to PREV/NEXT mark with J/K and H/L keys.
Loop or one play mode: I key or loop icon.
Exit viewer: ESC key
1D and 3D LUTs can be used.
Keyboard shortcuts
Quote
Usage:
./mlrawviewer.py [<path_to_ML_RAW_or_MLV_base_file>] [<wav_file_to_play_along_with_video>] [<output_file_name_for_encoding>] (if no argument given, a file-open dialog pops up)
QuoteFeatures:
-open Source, Visual Basic
-Correction, Curves, Filters
-Encode to h264, ProRes, DNxHD, FFVH, JPEG, PNG, TIFF, CinemaDNG, DNG
-HDR Processing
-Dual-ISO(in progress)
-Focus Dots suppression
-Vertical Stripes suppression
-Horizontal noise reducing
-Apply 3DLut: .cube, .3dl
-Color Spaces: Linear, sRGB, AdobeRGB, ClogC, CanonLogC, AlexaLogC, REDLog, BMDFilm, Cineon, REC709, SLog, SLog2, SLog3, SLogF35, Panasonic V-Log,...
-Multithreading
-Demosaic with different algorithms.
-Group\Global editing
-Cache frames almost like AE. 1.5GB Limit.
-Process MLV and RAW Files
-.M00,M01,Mxx.. Files
-.R00,R01,Rxx.. Files
-Process Huge files.
-Process some broken files.
-Video Import
-Audio Support
-16bit precessing
-measuring tools: Histogram, Waveform, RGBParade, RGB Balance
Quoteusage:
./raw2dng file.raw [prefix]
=> will create prefix000000.dng, prefix0000001.dng and so on.
Quote
mlv_dump
- used for debugging and converting .mlv files
- can dump .mlv to legacy .raw files + .wav files
- can dump .mlv to CinemaDNG + .wav
- can compress and decompress frames using LZMA
- convert bit depth (any depth in range from 1 to 16 bits)
Quotecompression:
you can get a data reduction of ~60% with 12 bit files.
down-converting to 8 bits gives you about 90% data reduction.
this feature is for archiving your footage.
converting back to e.g. legacy raw doesn't need any parameters - it will decompress and convert transparently without any additional parameter.
Quotea _very_ simple and hackish MLV viewer to check your footage
will read uncompressed MLV files and display the frames with a few frames per second.
Quote
Increases dynamic range by sampling the sensor at two different ISOs, switching ISO for every other line pair. This trick cleans up shadow noise, resulting in a dynamic range improvement of around 3 stops, at the cost of reduced vertical resolution, aliasing and moire.
Works for both raw photos (CR2) and raw videos (DNG sequences). You need to postprocess these files with a tool called cr2hdr.
After postprocessing, you will get a DNG that looks like a dark ISO 100 shot, but you can bring the exposure back up and be delighted by how little noise is present in those recovered shadows.
Quote
Usage:
LC_ALL=C cr2hdr *.CR2
Page created in 0.174 seconds with 13 queries.