Author Topic: MLV App 1.14 - All in one MLV Video Post Processing App [Windows, Mac and Linux]  (Read 1039097 times)

IDA_ML

  • Hero Member
  • *****
  • Posts: 1014
Re: Making a New MLV Processing App! [Windows, Mac and Linux]
« Reply #450 on: October 01, 2017, 10:44:49 PM »
Masc,

At work we have a PC with Win XPx32.  Does it make sense to try the 32-bit version on it?

smasry

  • New to the forum
  • *
  • Posts: 33
Re: Making a New MLV Processing App! [Windows, Mac and Linux]
« Reply #451 on: October 02, 2017, 09:49:56 AM »
Quote
Please try one revision earlier. It seems as the second last commit of bouncyball does not compile. Before that it was working.
https://github.com/ilia3101/MLV-App/commit/1188472ee5eac5f65dc3a8454499b9bd7f36920e
This one can be compiled.

I reverted the checked-out repository to revision 1188472ee5eac5f65dc3a8454499b9bd7f36920e, as well as (separately) deleting the line in the .c file as bouncy ball asks here:

Guys sorry about that, just delete the line to which error's referring. I forgot to delete it after some experimenting. This commit has working full20bit mean32 interpolation mode dual iso processing. Amaze interpolation is not there yet. Will finish it tomorrow I think and gonna add some more widgets to the gui.

Now I get this error:

Code: [Select]
...
clang -mmacosx-version-min=10.10 -O3 -Ofast -m64 main.o video_mlv.o debayer.o amaze_demosaic.o raw_processing.o main_methods.o useful_methods.o background_thread.o matrix.o camera_matrices.o frame_caching.o lj92.o session_methods.o delegate.o mlv_view.o llrawproc.o pixelproc.o stripes.o patternnoise.o hist.o -o "MLV App" -framework Cocoa;
Undefined symbols for architecture x86_64:
  "_diso_get_preview", referenced from:
      _applyLLRawProcObject in llrawproc.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [build] Error 1
cp: MLV App: No such file or directory
Archive:  ../qt/FFmpeg/ffmpegOSX.zip
  inflating: MLV App.app/Contents/Resources/ffmpeg 
   creating: MLV App.app/Contents/Resources/__MACOSX/
  inflating: MLV App.app/Contents/Resources/__MACOSX/._ffmpeg

ilia3101

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 983
Re: Making a New MLV Processing App! [Windows, Mac and Linux]
« Reply #452 on: October 02, 2017, 10:01:10 AM »
Strange, I'll see what's happened when I try to build mlv app on my Mac later.
It does still look like bouncyball's stuff isn't compiling for you :(

@IDA_ML please do try, although I'm not 100% certain XP will even support the binary :D

bouncyball

  • Contributor
  • Hero Member
  • *****
  • Posts: 849
Re: Making a New MLV Processing App! [Windows, Mac and Linux]
« Reply #453 on: October 02, 2017, 11:01:13 AM »
I fixed the error. Delete repository then clone the fresh copy of it and try to compile again.

bouncyball

  • Contributor
  • Hero Member
  • *****
  • Posts: 849
Re: Making a New MLV Processing App! [Windows, Mac and Linux]
« Reply #454 on: October 02, 2017, 11:56:55 AM »
@Ilia3101: Hi man :) it seems you are very busy these days.

smasry

  • New to the forum
  • *
  • Posts: 33
Re: Making a New MLV Processing App! [Windows, Mac and Linux]
« Reply #455 on: October 02, 2017, 01:20:40 PM »
Hi @bouncyball,

I fixed the error. Delete repository then clone the fresh copy of it and try to compile again.

I did this, but sorry to report, it seems to produce the same error.

Code: [Select]
...
clang -mmacosx-version-min=10.10 -O3 -Ofast -m64 main.o video_mlv.o debayer.o amaze_demosaic.o raw_processing.o main_methods.o useful_methods.o background_thread.o matrix.o camera_matrices.o frame_caching.o lj92.o session_methods.o delegate.o mlv_view.o llrawproc.o pixelproc.o stripes.o patternnoise.o hist.o -o "MLV App" -framework Cocoa;
Undefined symbols for architecture x86_64:
  "_diso_get_full20bit", referenced from:
      _applyLLRawProcObject in llrawproc.o
  "_diso_get_preview", referenced from:
      _applyLLRawProcObject in llrawproc.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [build] Error 1
cp: MLV App: No such file or directory
Archive:  ../qt/FFmpeg/ffmpegOSX.zip
  inflating: MLV App.app/Contents/Resources/ffmpeg 
   creating: MLV App.app/Contents/Resources/__MACOSX/
  inflating: MLV App.app/Contents/Resources/__MACOSX/._ffmpeg 

smasry

  • New to the forum
  • *
  • Posts: 33
Re: Making a New MLV Processing App! [Windows, Mac and Linux]
« Reply #456 on: October 02, 2017, 01:51:05 PM »
@bouncyball:

Can I run 'make app' with more verbosity, or with command line arguments to produce output more useful to aid debugging?

Don't stress because of this error, I have a working MLV App on another computer, and am happy using mlv_dump in the meantime.

masc

  • Contributor
  • Hero Member
  • *****
  • Posts: 2007
Re: Making a New MLV Processing App! [Windows, Mac and Linux]
« Reply #457 on: October 02, 2017, 01:54:12 PM »
The error happens because you try to compile the cocoa app. The newest stuff is only working in the Qt version, until Ilia makes some changes to the cocoa makefile. The new implemented files should be added there I think.
5D3.113 | EOSM.202

IDA_ML

  • Hero Member
  • *****
  • Posts: 1014
Re: Making a New MLV Processing App! [Windows, Mac and Linux]
« Reply #458 on: October 02, 2017, 03:36:50 PM »
Ilia3101,

I tried MLVApp (x86) v.08 on a WinXP x32 machine but it will not even start.  Here is what I get:





No luck for me with MLVApp.  Will have to stick with other methods.

smasry

  • New to the forum
  • *
  • Posts: 33
Re: Making a New MLV Processing App! [Windows, Mac and Linux]
« Reply #459 on: October 02, 2017, 04:38:35 PM »
Thanks @masc!

The error happens because you try to compile the cocoa app. The newest stuff is only working in the Qt version, until Ilia makes some changes to the cocoa makefile. The new implemented files should be added there I think.

I guess I rushed ahead of myself, into the 'bleeding edge' even before the documentation has been updated.

Instead, I downloaded release 7b63, and will make do.

I'd still like to test the app, as you develop it, and didn't find macOS (instead of Linux) instructions for building from '/qt' instead of '/cocoa'. When you have a minute, would you mind updating the README with the necessary dependencies, and build instructions?

masc

  • Contributor
  • Hero Member
  • *****
  • Posts: 2007
Re: Making a New MLV Processing App! [Windows, Mac and Linux]
« Reply #460 on: October 02, 2017, 05:01:16 PM »
@smasry: Compiling on OSX:
-unzip ffmpeg in its folder.
-compile and install libpng (is also in the repos) as described in its readme.
-load the .pro in QtCreator
-unchecking Add build library search path to DYLD_LIBRARY_PATH and DYLD_FRAMEWORK_PATH checkbox in my project Run section
-press the "Play" Icon and have fun.
Hope I did not forget anything...
It runs nearly out of the box, so I was to lazy to write a readme... sry ;)
5D3.113 | EOSM.202

masc

  • Contributor
  • Hero Member
  • *****
  • Posts: 2007
Re: Making a New MLV Processing App! [Windows, Mac and Linux]
« Reply #461 on: October 02, 2017, 05:04:29 PM »
Ilia3101,

I tried MLVApp (x86) v.08 on a WinXP x32 machine but it will not even start.  Here is what I get:





No luck for me with MLVApp.  Will have to stick with other methods.
What a shame... I first thought with this error message I can search... but it will only tell us MinGw (our Windows compiler) is not supported on WinXP :(
5D3.113 | EOSM.202

canneloni

  • Freshman
  • **
  • Posts: 97
Re: Making a New MLV Processing App! [Windows, Mac and Linux]
« Reply #462 on: October 02, 2017, 05:53:29 PM »
Would anybody care to explain how i can compile the qt version on Windows using Linux subsytem? I'm fairly new at this and only followed the instruction to compile ML which was great and worked well. I already cloned git repository on my disk but was unable to use make in qt folder since there is no make file (i guess).
100D.100B ; Canon 18-55 STM ; Canon 50 1,8 II ; Canon 75-300 4,0 - 5,6 III ; Sigma 17-50 2,8

masc

  • Contributor
  • Hero Member
  • *****
  • Posts: 2007
Re: Making a New MLV Processing App! [Windows, Mac and Linux]
« Reply #463 on: October 02, 2017, 06:01:03 PM »
I already cloned git repository on my disk but was unable to use make in qt folder since there is no make file (i guess).
I don't know how to compile the exe from Linux. But qmake creates automatically the makefile for a Qt project (.pro file).
5D3.113 | EOSM.202

ilia3101

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 983
Re: Making a New MLV Processing App! [Windows, Mac and Linux]
« Reply #464 on: October 02, 2017, 08:33:45 PM »
Cocoa app compiling is fixed, no GUI access to bouncyball's features though - yet

@bouncyball I'm not that busy, but more than before, I am still working on things (caching, GUI for LLRawProc etc... sessions is going slower). I haven't given up or abandoned it ;)

DeafEyeJedi

  • Hero Member
  • *****
  • Posts: 3411
  • 5D3 | M1 | 7D | 70D | SL1 | M2 | 50D
Re: Making a New MLV Processing App! [Windows, Mac and Linux]
« Reply #465 on: October 02, 2017, 08:40:57 PM »
Great to hear @Ilia3101!  :)
5D3.113 | 5D3.123 | EOSM.203 | 7D.203 | 70D.112 | 100D.101 | EOSM2.* | 50D.109

bouncyball

  • Contributor
  • Hero Member
  • *****
  • Posts: 849
Re: Making a New MLV Processing App! [Windows, Mac and Linux]
« Reply #466 on: October 02, 2017, 09:06:15 PM »
@Ilia3101

I haven't given up or abandoned it ;)
Cool to know!!! :D

canneloni

  • Freshman
  • **
  • Posts: 97
Re: Making a New MLV Processing App! [Windows, Mac and Linux]
« Reply #467 on: October 03, 2017, 09:31:27 AM »
I don't know how to compile the exe from Linux. But qmake creates automatically the makefile for a Qt project (.pro file).

Okay let me rephrase. Whats the best way to compile this for Windows ? The Git page only shows how to do it for cocoa and mac.
100D.100B ; Canon 18-55 STM ; Canon 50 1,8 II ; Canon 75-300 4,0 - 5,6 III ; Sigma 17-50 2,8

bouncyball

  • Contributor
  • Hero Member
  • *****
  • Posts: 849
Re: Making a New MLV Processing App! [Windows, Mac and Linux]
« Reply #468 on: October 03, 2017, 09:45:47 AM »
Okay let me rephrase. Whats the best way to compile this for Windows ? The Git page only shows how to do it for cocoa and mac.
To compile static x64 Windows binary on Linux I'm using MXE. There is all information how to set it up. Also take a look at this thread.

regards
bb

escho

  • Contributor
  • Hero Member
  • *****
  • Posts: 563
Re: Making a New MLV Processing App! [Windows, Mac and Linux]
« Reply #469 on: October 03, 2017, 10:17:28 AM »
Maybe you know, that I have problems, importing files bigger than 4 Gbyte. The app crashes. These files are way to big for uploading somewhere.

So I startet QT Creator in debugging mode with a file with 7,6 GByte. With this file, MLV App always crashes in "frame_cashing.c" Is it possible to run MLV App without cashing for a test? What must I do to disable cashing?
https://sternenkarten.com/
600D, 6D, openSUSE Tumbleweed

masc

  • Contributor
  • Hero Member
  • *****
  • Posts: 2007
Re: Making a New MLV Processing App! [Windows, Mac and Linux]
« Reply #470 on: October 03, 2017, 11:11:27 AM »
Maybe you know, that I have problems, importing files bigger than 4 Gbyte. The app crashes. These files are way to big for uploading somewhere.

So I startet QT Creator in debugging mode with a file with 7,6 GByte. With this file, MLV App always crashes in "frame_cashing.c" Is it possible to run MLV App without cashing for a test? What must I do to disable cashing?
That is strange. Caching is deactivated for the Qt App. In which line does it crash?
5D3.113 | EOSM.202

masc

  • Contributor
  • Hero Member
  • *****
  • Posts: 2007
Re: Making a New MLV Processing App! [Windows, Mac and Linux]
« Reply #471 on: October 03, 2017, 11:14:52 AM »
Okay let me rephrase. Whats the best way to compile this for Windows ? The Git page only shows how to do it for cocoa and mac.
Get QtCreator for Windows. Unzip ffmpeg. Start QtCreator. Open .pro. Click on Play-Icon. Have fun.
5D3.113 | EOSM.202

ilia3101

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 983
Re: Making a New MLV Processing App! [Windows, Mac and Linux]
« Reply #472 on: October 03, 2017, 01:04:21 PM »
Seems everyone wants how to compile Qt app in the read me. I'll put one together this evening (unless masc or bouncyball beat me to it). shouldn't be too hard as I just installed Qt

masc

  • Contributor
  • Hero Member
  • *****
  • Posts: 2007
Re: Making a New MLV Processing App! [Windows, Mac and Linux]
« Reply #473 on: October 03, 2017, 03:19:17 PM »
Seems everyone wants how to compile Qt app in the read me. I'll put one together this evening (unless masc or bouncyball beat me to it). shouldn't be too hard as I just installed Qt
That would be cool! If you need help, let me know... but it is really not hard.
5D3.113 | EOSM.202

bouncyball

  • Contributor
  • Hero Member
  • *****
  • Posts: 849
Re: Making a New MLV Processing App! [Windows, Mac and Linux]
« Reply #474 on: October 03, 2017, 03:49:58 PM »
With this file, MLV App always crashes in "frame_cashing.c" Is it possible to run MLV App without cashing for a test?
Does this MLV pass through other programs? mlv_dump, mlvfs?