Author Topic: Switch for macOS Sierra/Linux (former cr2hdr.app)  (Read 36253 times)

Danne

  • Hero Member
  • *****
  • Posts: 3390
Re: Switch for macOS Sierra/Linux (former cr2hdr.app)
« Reply #325 on: October 11, 2017, 09:15:42 PM »
Thanks. Been through those links but never had the time to dig in. If you have some knowledge in this field I'd be happy to assist you explaining what's going on in Switch. Could start porting mlv_dump for instance.

DeafEyeJedi

  • Hero Member
  • *****
  • Posts: 3031
  • 5D3 / M1 / 7D / 70D / SL1
Switch for macOS Sierra/Linux (former cr2hdr.app)
« Reply #326 on: October 11, 2017, 09:51:57 PM »
Thanks. Been through those links but never had the time to dig in. If you have some knowledge in this field I'd be happy to assist you explaining what's going on in Switch. Could start porting mlv_dump for instance.

I'd be happy to help contribute this project in getting @Danne's scripting work into a GUI wrapper.

I'm with you on this one @Lars Steenhoff!
5D3.113 • 5D3.123 • EOSM.203 • 7D.203 • 70D.112 • 100D.101

Lars Steenhoff

  • Senior
  • ****
  • Posts: 276
Re: Switch for macOS Sierra/Linux (former cr2hdr.app)
« Reply #327 on: October 11, 2017, 11:05:01 PM »
Video
https://www.youtube.com/watch?v=pJwvPtD4vRI

Slides
http://macadmins.psu.edu/files/2017/07/psumac2017-141-Bringing-bash-to-Xcode-1kc5g1b.pdf

I found a simple tutorial for adding bash scripts in Xcode

I don't wan't spam the thread with GUI stuff, I just think this might be a good way to start working on in Xcode.
@DeafEyeJedi Do you have Xcode installed?
@Danne Do you think you could set up a Switch GUI repo in git where we can work on an Xcode project together.

Danne

  • Hero Member
  • *****
  • Posts: 3390
Re: Switch for macOS Sierra/Linux (former cr2hdr.app)
« Reply #328 on: October 11, 2017, 11:22:24 PM »
Wow, looks good. Thanks. Don´t worry about spamming. Just put in any info you find on this.
I create a repository on bitbucket right? Same as git? Will check some more tomorrow, but seems interesting enough.

DeafEyeJedi

  • Hero Member
  • *****
  • Posts: 3031
  • 5D3 / M1 / 7D / 70D / SL1
Re: Switch for macOS Sierra/Linux (former cr2hdr.app)
« Reply #329 on: October 12, 2017, 12:17:40 AM »
@DeafEyeJedi Do you have Xcode installed?

Yes, I do.
5D3.113 • 5D3.123 • EOSM.203 • 7D.203 • 70D.112 • 100D.101

Lars Steenhoff

  • Senior
  • ****
  • Posts: 276
Re: Switch for macOS Sierra/Linux (former cr2hdr.app)
« Reply #330 on: October 12, 2017, 12:34:55 AM »
Nice!

We will set up a repo for hosting the project and we can start connecting scripts and adding layout ideas.
The only thing we need to find out is if we can interface with the scripts from Xcode.

I'm playing around in Xcode, following the tutorial.


DeafEyeJedi

  • Hero Member
  • *****
  • Posts: 3031
  • 5D3 / M1 / 7D / 70D / SL1
Re: Switch for macOS Sierra/Linux (former cr2hdr.app)
« Reply #331 on: October 12, 2017, 12:39:04 AM »
What a great start already. Loving how the foundation layout looks from Xcode!  8)

Will need to read up some more on the tutorial. Thanks for jump starting on this @Lars Steenhoff!
5D3.113 • 5D3.123 • EOSM.203 • 7D.203 • 70D.112 • 100D.101

dfort

  • Hero Member
  • *****
  • Posts: 1974
Re: Switch for macOS Sierra/Linux (former cr2hdr.app)
« Reply #332 on: October 12, 2017, 12:40:27 AM »
How about setting up the repository on Bitbucket. That's where Magic Lantern and Switch live. Makes it easier when submitting pull requests.

https://bitbucket.org/hudson/magic-lantern

https://bitbucket.org/Dannephoto/switch
EOSM.202 EOSM.203 EOSM2.103 700D.115 5D3.*

Teamsleepkid

  • Member
  • ***
  • Posts: 172
Re: Switch for macOS Sierra/Linux (former cr2hdr.app)
« Reply #333 on: October 12, 2017, 12:53:54 AM »
that looks seriously nice. easy to use. really great.
EOS M

Lars Steenhoff

  • Senior
  • ****
  • Posts: 276
Re: Switch for macOS Sierra/Linux (former cr2hdr.app)
« Reply #334 on: October 12, 2017, 12:54:26 AM »
@Dfort. Yes on bitbucket
@Danne you can set up a repo on bitbucket and I will make a commit

Danne

  • Hero Member
  • *****
  • Posts: 3390

Danne

  • Hero Member
  • *****
  • Posts: 3390
Re: Switch for macOS Sierra/Linux (former cr2hdr.app)
« Reply #336 on: October 12, 2017, 09:55:21 AM »
I created a project in mercurial. Will this work Lars? I also added you to the project. You should be able to put up stuff immediately. Please have a look.
You seem to have gotten fast into this workflow around xcode and it already looks very promising. Feel free to start off any way you like. Personally I would start my focus on building the functions for mlv_dump and get those working before adding other stuff but that´s only my opinion.

Sidenote:
Nothing against cinelog but it is not included in Switch which is gpl open source based.


Lars Steenhoff

  • Senior
  • ****
  • Posts: 276
Re: Switch for macOS Sierra/Linux (former cr2hdr.app)
« Reply #337 on: October 12, 2017, 10:15:16 AM »
Yes great, I will add the xcode project.
I was just playing with the Gui elements in xcode, Your right, now its time to setup a first real case.
As for cinelog, I would imagine we can support a user folder with luts. So we don't include cinelog in the build.

Danne

  • Hero Member
  • *****
  • Posts: 3390
Re: Switch for macOS Sierra/Linux (former cr2hdr.app)
« Reply #338 on: October 12, 2017, 10:30:05 AM »
Nice.
I include some logs inside Switch. They are converted to 3D luts which in no way is optimal for 1D logs. Unfortunately ffmpeg can´t work with 1D luts so it´s a workaround.
Looking forward to whatever pops up into this project. Will help and dig in as much as I can...

Lars Steenhoff

  • Senior
  • ****
  • Posts: 276
Re: Switch for macOS Sierra/Linux (former cr2hdr.app)
« Reply #339 on: October 12, 2017, 11:36:36 AM »
I created a branch develop and added the code project there

You can open the project in Xcode with Switch.xcodeproj
and press play to see the first version.

Right now it's just the GUI layout and the app icon.
The layout is in progress.

The script AppDelegate.applescript is the one that can interact with the bash scripts.


Danne

  • Hero Member
  • *****
  • Posts: 3390
Re: Switch for macOS Sierra/Linux (former cr2hdr.app)
« Reply #340 on: October 12, 2017, 12:25:57 PM »
Great Lars. Inspiring. Like your SwitchIcon. Will dive in tonight. Working...

DeafEyeJedi

  • Hero Member
  • *****
  • Posts: 3031
  • 5D3 / M1 / 7D / 70D / SL1
Re: Switch for macOS Sierra/Linux (former cr2hdr.app)
« Reply #341 on: October 12, 2017, 06:45:09 PM »
Indeed it is inspiring. Here's how it looks running Switch.xcodeproj via Xcode for those who are curious.

http://vimeo.com/237937004

5D3.113 • 5D3.123 • EOSM.203 • 7D.203 • 70D.112 • 100D.101

Ilia3101

  • Member
  • ***
  • Posts: 222
Re: Switch for macOS Sierra/Linux (former cr2hdr.app)
« Reply #342 on: October 12, 2017, 06:48:57 PM »
Good work! looks really functional and pretty!!!

I have a thing for GUIs :D

I guess this won't come to Linux though :(
5D2

IDA_ML

  • Freshman
  • **
  • Posts: 76
Re: Switch for macOS Sierra/Linux (former cr2hdr.app)
« Reply #343 on: October 12, 2017, 07:13:19 PM »
DeafEyeJedi,

I cannot see it.  It's an embedded video, isn't it?  Could you please post a link to it?  Thank you.

Danne

  • Hero Member
  • *****
  • Posts: 3390
Re: Switch for macOS Sierra/Linux (former cr2hdr.app)
« Reply #344 on: October 12, 2017, 07:29:22 PM »

IDA_ML

  • Freshman
  • **
  • Posts: 76
Re: Switch for macOS Sierra/Linux (former cr2hdr.app)
« Reply #345 on: October 12, 2017, 07:50:32 PM »
Thank you so much, Danne!  I will be looking forward to a Win x64 version.  I wish I could help but I have no coding skills whatsoever!

Keep up the good work, guys!

OlRivrRat

  • Senior
  • ****
  • Posts: 255
Re: Switch for macOS Sierra/Linux (former cr2hdr.app)
« Reply #346 on: October 12, 2017, 08:01:34 PM »
   While I also am a big fan of GUIs, I would like to pose this observational warning.

GUI Builders, in what I would guess to be an attempt to make things Neat & Tidy, can

end up Hiding Functionality Behind Doors/Pull Downs.

   Even though I'm Not a savvy Terminal User, I Really Like the Simplicity of Switches

present iteration in that all the Major Functionality Choices are Upfront & Visible in the

Main Menu. Thus I'm hoping that the GUI will contain a similar Main Menu.

         Huge applauds for this effort.
ORR~DeanB  ~~  80D-ML  &  SL1+ML  &  5D2+ML  &  5DC+ML  &  70D+ML.111B(DEAD)

Danne

  • Hero Member
  • *****
  • Posts: 3390
Re: Switch for macOS Sierra/Linux (former cr2hdr.app)
« Reply #347 on: October 12, 2017, 08:07:02 PM »
Great to hear Olivrat. My exact intention with Switch.
With that said I welcome the initiative to build a nice gui here and who knows. Might be even faster than terminal ;)

togg

  • Senior
  • ****
  • Posts: 279
Re: Switch for macOS Sierra/Linux (former cr2hdr.app)
« Reply #348 on: October 17, 2017, 09:01:50 AM »
Just saw of the GUI, very nice. Will be easier to spot what doesn't make sense flow wise. Within this new GUI vibe maybe it should be fixed the ambiguity about "vertical stripes" etc etc

OlRivrRat

  • Senior
  • ****
  • Posts: 255
Re: Switch for macOS Sierra/Linux (former cr2hdr.app)
« Reply #349 on: October 17, 2017, 05:05:05 PM »
       Will the GUI be Put Up in the 1st Post when ready for use?
ORR~DeanB  ~~  80D-ML  &  SL1+ML  &  5D2+ML  &  5DC+ML  &  70D+ML.111B(DEAD)