Author Topic: The CinemaDNG Discussion (raw2cdng)  (Read 555073 times)

dmilligan

  • Developer
  • Hero Member
  • *****
  • Posts: 3164
  • 60Da / 1100D / EOSM
Re: The CinemaDNG Discussion (raw2cdng)
« Reply #1375 on: May 16, 2017, 01:29:44 PM »
This app uses WPF, you won't be able to use it on a Mac.

spe42

  • New to the forum
  • *
  • Posts: 20
  • 5dmiii
Re: The CinemaDNG Discussion (raw2cdng)
« Reply #1376 on: May 17, 2017, 12:43:51 AM »
This app uses WPF, you won't be able to use it on a Mac.
So, at the mono project website (http://www.mono-project.com/docs/gui/wpf/) it says:
Quote
Silverlight implement a subset of the WPF APIs and is available on Windows, MacOS X and through our own open source effort Moonlight it is available on Linux and other Unix systems.

Silverlight does not have all the capabilities of WPF, but both technologies are converging API-wise.
I found a tutorial online, seemingly, about how to get silverlight working in wine (https://www.youtube.com/watch?v=C3q9ECt1rAg), will that work?
the wrong man for thhe wrong job

dmilligan

  • Developer
  • Hero Member
  • *****
  • Posts: 3164
  • 60Da / 1100D / EOSM
Re: The CinemaDNG Discussion (raw2cdng)
« Reply #1377 on: May 17, 2017, 02:50:14 AM »
Quote
will that work?
Sure, if you want to port this app from WPF to Silverlight (probably not trivial).

spe42

  • New to the forum
  • *
  • Posts: 20
  • 5dmiii
Re: The CinemaDNG Discussion (raw2cdng)
« Reply #1378 on: May 17, 2017, 11:37:22 PM »
Ok. So again, bearing in mind I don't really know what I'm doing or what to look for, I am willing to give it a shot
(unless someone else who knows what they're doing wants to).
Here's what I've found so far:
WPF–Silverlight compatibility: https://msdn.microsoft.com/en-us/library/cc903925(v=VS.95).aspx
Some porting speculations: http://stackoverflow.com/questions/2948770/convert-wpf-application-to-silverlight
I also found out that Wine has up to ver. 4.0 of the .net framework bundled with the .dmg. There are more recent versions which I can download and install into my copy of wine via winehq, but I don't know what's necessary and what is not.
I also just found what seems, albeit from my ignorant perspective, to be a good resource for this exact process:
https://www.codeproject.com/Articles/111356/Porting-from-WPF-to-Silverlight-The-Missing-Pieces
And then, I also found something about this on microsoft's website: https://blogs.msdn.microsoft.com/silverlight_sdk/2007/04/30/converting-a-wpfe-application-to-a-silverlight-scripting-application/
Any pointers?
the wrong man for thhe wrong job

dmilligan

  • Developer
  • Hero Member
  • *****
  • Posts: 3164
  • 60Da / 1100D / EOSM
Re: The CinemaDNG Discussion (raw2cdng)
« Reply #1379 on: May 19, 2017, 01:27:15 AM »
Why are you so bent on getting this app to run on mac when there are a plethora of alternatives that already run on mac and actually support more of the very latest features (like lossless compression)?

If you really want to port this app to Mac, I would recommend first decoupling the MLV processing code from the UI specific stuff and into its own assembly. Such an assembly should have minimal dependencies and therefore would run directly under mono or .net core. Then you can re-write the UI to be able to support only Silverlight stuff, while you're at it I would highly recommend adopting the MVVM design pattern (which is really how WPF was intended to be used). Finally you can eliminate the WPF specific code, and re-implement all of that functionality using only stuff available in Silverlight.

spe42

  • New to the forum
  • *
  • Posts: 20
  • 5dmiii
Re: The CinemaDNG Discussion (raw2cdng)
« Reply #1380 on: May 19, 2017, 11:40:37 AM »
My friend just told me that cdngs and dng files are virtually the same, metadata notwithstanding. It was simply a fool's ignorant whim :) (meaning myself)
the wrong man for thhe wrong job

Danne

  • Hero Member
  • *****
  • Posts: 2871
Re: The CinemaDNG Discussion (raw2cdng)
« Reply #1381 on: May 19, 2017, 11:54:11 AM »
Mlvfs, cr2hdr.app and mlv_dump for steroids produces cdng files.
However I wouldn't mind you porting chmees fine tool to mac so be my guest :).

DeafEyeJedi

  • Hero Member
  • *****
  • Posts: 2899
  • 5D3 / M1 / 7D / 70D / SL1
Re: The CinemaDNG Discussion (raw2cdng)
« Reply #1382 on: May 19, 2017, 07:01:45 PM »
However I wouldn't mind you porting chmees fine tool to mac so be my guest :).

Just make it happen already @spec42!  :)
5D3.113 • 5D3.123 • EOSM.203 • 7D.203 • 70D.112 • 100D.101

ariaelf

  • Freshman
  • **
  • Posts: 66
Re: The CinemaDNG Discussion (raw2cdng)
« Reply #1383 on: May 24, 2017, 07:30:30 PM »


I am getting non-stop crashes from raw2cdng, which was working fine before...  here is a screenshot and cut & page of the problem signature. Ideas? Suggestions? Alternatives?

In full production mode and pulling my hair out...  :-[

https://ibb.co/iKpOfv

Problem signature:
  Problem Event Name:   CLR20r3
  Problem Signature 01:   raw2cdng.exe
  Problem Signature 02:   1.7.9.0
  Problem Signature 03:   585a6be9
  Problem Signature 04:   mscorlib
  Problem Signature 05:   4.0.30319.34209
  Problem Signature 06:   534894cc
  Problem Signature 07:   4527
  Problem Signature 08:   23b
  Problem Signature 09:   System.IO.IOException
  OS Version:   6.1.7601.2.1.0.256.48
  Locale ID:   1033
  Additional Information 1:   0a9e
  Additional Information 2:   0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:   0a9e
  Additional Information 4:   0a9e372d3b4ad19135b953a78882e789

Kharak

  • Hero Member
  • *****
  • Posts: 582
Re: The CinemaDNG Discussion (raw2cdng)
« Reply #1384 on: May 24, 2017, 09:20:23 PM »
remove and reinstall.

Try different version.

For me 1.7.5 just works and fast too.

CCleaner registry cleaner once got me out of a pickle with DNG's being none viewable and MLRawViewer did not start.

Good luck!
once you go raw you never go back

chmee

  • Hero Member
  • *****
  • Posts: 1029
  • raw2cdng
Re: The CinemaDNG Discussion (raw2cdng)
« Reply #1385 on: May 24, 2017, 10:00:40 PM »
IO-Exception will be sort of
* Pathnaming or Filenaming is confusing (resulting file not found)
* Destination has ran out of space :)

raw2cdng doesnt write data into the registry. Often it helped erasing the raw2cdng.settings.json in /Users/[user]/AppData/roaming

Surin Dmitriy

  • New to the forum
  • *
  • Posts: 28
Re: The CinemaDNG Discussion (raw2cdng)
« Reply #1386 on: May 25, 2017, 02:27:34 AM »
How about first black frame issue? Do you find the problem?
5D3