Author Topic: mlv_dump on steroids  (Read 69824 times)

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7741
Re: mlv_dump on steroids
« Reply #175 on: January 17, 2018, 04:00:58 PM »
The one where you got batch_mlv_in-out from. Try pasting in search.

DeafEyeJedi

  • Hero Member
  • *****
  • Posts: 3413
  • 5D3 | M1 | 7D | 70D | SL1 | M2 | 50D
Re: mlv_dump on steroids
« Reply #176 on: January 17, 2018, 05:41:08 PM »
MLV App dont have this darkframe feature right?

Not at this moment, but... ;)

Dude... don't be such a tease!!!  :P
5D3.113 | 5D3.123 | EOSM.203 | 7D.203 | 70D.112 | 100D.101 | EOSM2.* | 50D.109

bouncyball

  • Contributor
  • Hero Member
  • *****
  • Posts: 850
Re: mlv_dump on steroids
« Reply #177 on: January 17, 2018, 06:48:25 PM »
Dude... don't be such a tease!!!  :P
All right, all right! I won't be... until... :P

JADURCA

  • Member
  • ***
  • Posts: 145
Re: mlv_dump on steroids
« Reply #178 on: January 17, 2018, 08:03:55 PM »
C'mon don't play with our feelings  ;D

tajino

  • New to the forum
  • *
  • Posts: 27
Re: mlv_dump on steroids
« Reply #179 on: April 26, 2018, 11:01:23 PM »
Is there any way I could save only odd or even frames out from an input MLV file and output that into a new MLV file?

I need to do this to save some space of redundant duplicated frames of some MLV written by mlv_rec.mo that wrote duplicated frames in 1fps frame override mode in 1x crop on 5D2.

I tried -f switch but that only allows input of frame or frame range, not comma delimited frame numbers, -f 0,2,4,6,8 for example.

Any ideas would be appreciated. Thanks!

bouncyball

  • Contributor
  • Hero Member
  • *****
  • Posts: 850
Re: mlv_dump on steroids
« Reply #180 on: April 27, 2018, 01:30:21 PM »
Yeah... unfortunately this is not supported by mlv_dump directly (MLV -> MLV).

What's wrong with exporting DNGs and just picking the needed ones?

tajino

  • New to the forum
  • *
  • Posts: 27
Re: mlv_dump on steroids
« Reply #181 on: April 27, 2018, 05:42:24 PM »
Yeah... unfortunately this is not supported by mlv_dump directly (MLV -> MLV).

What's wrong with exporting DNGs and just picking the needed ones?

Nothing wrong with it, that's what I did. It is just that I would usually keep the source MLV, just in case in I need to re-dump the MLV with a newer/better mlv_dump with improved vertical banding removal, etc. maybe who knows.


bouncyball

  • Contributor
  • Hero Member
  • *****
  • Posts: 850
Re: mlv_dump on steroids
« Reply #182 on: April 27, 2018, 07:17:14 PM »
I understand your point.

But IMHO the better way to fix this with mlv_rec.mo to not duplicate frames when fps = 1. Implementing something like even or odd only frame saving is not that hard but barely widely usable, despite duplicates can turn out be like: 01010111010100 (given that 0 and 1 are frames) this requires picking not only odd/even frames and will be even more work for developer :).

regards
bb

tajino

  • New to the forum
  • *
  • Posts: 27
Re: mlv_dump on steroids
« Reply #183 on: April 27, 2018, 09:18:19 PM »
How about -f "frameslist.csv" ?
make the -f switch when referencing a user generated .csv to only include those frames listed in it.


bouncyball

  • Contributor
  • Hero Member
  • *****
  • Posts: 850
Re: mlv_dump on steroids
« Reply #184 on: April 29, 2018, 08:19:06 PM »
This should be done in the mlv_dump code not in the code I added, so maybe you will try to ask g3gg0 b/c this proggie is his exclusive child ;)

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3190
Re: mlv_dump on steroids
« Reply #185 on: April 29, 2018, 09:00:54 PM »
this proggie is his exclusive child ;)

not correct ;)
accepting pull requests if they fit in cleanly.
and such addition sounds if it can be done in a clean way.
Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: paypal@g3gg0.de
ONLY donate for things we have done, not for things you expect!

bouncyball

  • Contributor
  • Hero Member
  • *****
  • Posts: 850
Re: mlv_dump on steroids
« Reply #186 on: April 30, 2018, 11:30:08 AM »
not correct ;)
Well... right ;). Sorry about being too lazy.

@g3gg0: BTW could this be done with mlv_dump's LUA scripting feature?

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3190
Re: mlv_dump on steroids
« Reply #187 on: April 30, 2018, 01:02:56 PM »
yeah good point. could be done, have to check this.
maybe we have to add a callback but no big issue.
Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: paypal@g3gg0.de
ONLY donate for things we have done, not for things you expect!

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7741
Re: mlv_dump on steroids
« Reply #188 on: April 30, 2018, 01:15:00 PM »
I like this  :)

tajino

  • New to the forum
  • *
  • Posts: 27
Re: mlv_dump on steroids
« Reply #189 on: May 01, 2018, 12:15:26 AM »
Thanks bouncyball & g3gg0  :D looking forward to the feature addition.

reddeercity

  • Contributor
  • Hero Member
  • *****
  • Posts: 2307
Re: mlv_dump on steroids
« Reply #190 on: June 02, 2018, 06:00:59 AM »
Not sure if this is the right place , getting a
Code: [Select]
Win32 Expceptionsdebugging it in Microsoft Visual Basic 2015
Code: [Select]
Exception thrown at 0x7548A04C (msvcrt.dll) in mlv_dump.exe: 0xC0000005: Access violation reading location 0x02D31000.
Unhandled exception at 0x7548A04C (msvcrt.dll) in mlv_dump.exe: 0xC0000005: Access violation reading location 0x02D31000.
mlv_dump.exe (downloaded today) from Branch: crop_rec_4k on
the https://builds.magiclantern.fm/experiments.html page -- running win7 pro ,

in call stacks this
Code: [Select]
> msvcrt.dll!___ascii_strnicmp()
  ntdll.dll!77acfaea()
  [Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]
seems this line in the disassembly
Code: [Select]
7548A04C 66 0F 6F 4E 10       movdqa      xmm1,xmmword ptr [esi+10h]
most of this is over my head but i thought it my be useful for others.
No sure if it's just my test .mlv that's the problem , wondering if any one else has had a   "Win32 Expceptions"

bouncyball

  • Contributor
  • Hero Member
  • *****
  • Posts: 850
Re: mlv_dump on steroids
« Reply #191 on: June 02, 2018, 12:26:18 PM »
Is that exception happens when just running the binary or if you specify some switched to do some job?

Please post exact CLI command and exact MLV you used.