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

garry23

  • Contributor
  • Hero Member
  • *****
  • Posts: 2228
@cmh and others pushing this along

Many thanks: just downloaded and I'm up and running.

Of course, I've got to understand the interface, but just did a transcode input test with four random images and it worked :-)

My 'only' need at the moment is to then 'merge' those images via a mean or median statistic. But I can see how to do that at the moment  :-[

Once again: thanks for this tool.

Cheers

Garry

masc

  • Contributor
  • Hero Member
  • *****
  • Posts: 2125
@garry23: you can't select between mean or median. It is just mathematically averaged ( (a+b)/2 ).
5D3.113 | EOSM.202

garry23

  • Contributor
  • Hero Member
  • *****
  • Posts: 2228
@masc

Sorry I should have been clearer.

Having transcoded, say, 4 cr2s into MLV App, ie I see four ‘frames’, how do I now simply export these four images into a single tiff, say, either with mean or median statistics?

Cheers

Garry

masc

  • Contributor
  • Hero Member
  • *****
  • Posts: 2125
The only way to get an averaged frame is to export a MLV file with this settings:

Then reimport this MLV and export e.g. as TIFF or DNG or...

Short example with a ~200 frames MLV:
5D3.113 | EOSM.202

garry23

  • Contributor
  • Hero Member
  • *****
  • Posts: 2228
@masc

Many thanks for the insight.

I'll play around and see what I get  ;)

Hopefully I won't need to ask for help again...or too often  ;D

Cheers

Garry

garry23

  • Contributor
  • Hero Member
  • *****
  • Posts: 2228
Ok I'm inpatient and an idiot!!!!

All I get when I export is a load of individual frames.

I don't get a single mlv of the averaged images: which is what I thought I would get.

As I say, I'm stupid and I don't do video  :o

Cheers

Garry

cmh

  • Contributor
  • Member
  • *****
  • Posts: 138
@garry23
Quote from: masc
all frames MUST have the same resolution (just a note if they don't have, when creating a MLV before with different pictures).

I thought that it should be mentioned.

garry23

  • Contributor
  • Hero Member
  • *****
  • Posts: 2228
@cmh

Yes understood and they are, ie I’m just taking three random cr2s without any post processing and transcoding into the App.

I see the three images.

Select the averaged setting and mlv.

But then what to create the averaged effect I’m after.

Sorry for being stupid.

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7740
Upload your three cr2 files or mlv sequence here.

cmh

  • Contributor
  • Member
  • *****
  • Posts: 138
@cmh
But then what to create the averaged effect I’m after.

I'll make a quick video just for you. Give me a sec...

masc

  • Contributor
  • Hero Member
  • *****
  • Posts: 2125
@garry23:
- import your MLV with individual frames
- setup the export settings: "MLV" and "Averaged Frame"
- export (File -> Export Selected Clips) (ah... and select it before in the session viewer)
- import the exported file
5D3.113 | EOSM.202

cmh

  • Contributor
  • Member
  • *****
  • Posts: 138

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7740
Nice that you included mlv_dump averaging. Just ran anamorphic full sensor readout(eosm) at iso 1600 and full range shutter and averaged 45 frames(not using raw2mlv in this example):
crop(one frame)


crop(averaged frames)




garry23

  • Contributor
  • Hero Member
  • *****
  • Posts: 2228
@cmh

Quote
@garry23, here it is:

Many thanks for taking the trouble to show me where I was going wrong.

Looking forward to doing some experimenting.

Cheers

Garry

cmh

  • Contributor
  • Member
  • *****
  • Posts: 138
You're welcome.

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7740
That´s cool, dcraw version. Tested it @cmh(where did your links go?)?

Here´s another averaging example 114 frames iso 1600 full sensor readout(Mr Hannes got a new friend):






Cropped and averaged


Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7740
Also. Asked masc about adding tblend averaging(ffmpeg) straight from mlv and it´s in. FFmpeg averaging is handling different exposures way better than mlv_dump averaging. So compile and then choose TIFF as codec, then averaging and the whole mlv will be baked into one tiff file. Really cool.
EDIT: Seems the tiff averagin only averages the first two files. Needs some more investigating.

cmh

  • Contributor
  • Member
  • *****
  • Posts: 138
That´s cool, dcraw version. Tested it @cmh(where did your links go?)?

I thought that it was off topic and decided to remove them since it concerns another software, another camera brand and another raw format.
The hardware pixel shift feature in and of itself is gimmicky but the point was that on RawTherapee's side, the creation of a mask to remove motion artifacts is a simple but briliant idea.

bouncyball

  • Contributor
  • Hero Member
  • *****
  • Posts: 850
Hello guys!

I can admit I can see tremendous progress(es) all around :D

br
bb

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7740
ffmpeg tmix filter added to average a bunch of frames:
https://ffmpeg.org/ffmpeg-filters.html#tmix
Maximum 128 to be exact. masc implemented this today.

What differs from mlv_dump averaging? Try exposure shifts like in the example and you´re in for some nice pink clipping but this is not the case with the tmix filter. Well, probably different methods but still. Good to have both.

So select codec "TIFF" than average:


Here are my files(cr2 wrapped into one mlv. Courtesy Ilia3101 raw2mlv):










After averaging above frames out comes a 100mb tif file:


Slight curve added in photoshop:


Great stuff!

masc

  • Contributor
  • Hero Member
  • *****
  • Posts: 2125
Great example, Danne! Thanks for your idea to integrate that!

I hope it also works on Linux and Windows. Can't try here.
5D3.113 | EOSM.202

cmh

  • Contributor
  • Member
  • *****
  • Posts: 138
Works fine on Windows, I'll try on Fedora later.

2blackbar

  • Hero Member
  • *****
  • Posts: 517
That is super cool

cmh

  • Contributor
  • Member
  • *****
  • Posts: 138
It's working on Linux too:


Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7740
Nice!