Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - baldand

#326
Quote from: naturalsound on February 25, 2014, 10:00:53 PM
Hi baldand,

I've seen a lot of changes in your bitbucket repo since 1.0.4. Do you have any plans to compile a new build in near future?

Yes.

Quote from: pilgrim on February 25, 2014, 10:54:20 PM
Hi baldand !
It will be nice if moving to 64 bit or with the GUI even if not perfect, I am ready to give feed back or close my mouth  :-X   or even still 32 bit but fix the last bug.

A better GUI will be the next major improvement. It is already implemented in bitbucket.
But is there some reason why you need a 64bit build for Windows? The program is not so memory hungry that it would benefit much, and performance is mostly depending on your GPU.

I hope to make a 1.1.0 binary release for Mac and Windows during next week with the code that is in bitbucket now. I have problems with the Mac build though, so I need to work out those first.

Main features:
- Progress bar can be clicked to jump in the file
- Clickable icons for play/pause, fullscreen, quality, colour mapping, drop frames
- Brightness control
- Colour balance control

Bug fixes:
- Next/prev file (O/P) should be more robust and not mix up the audio
- Audio can be shifted freely for resyncing
#327
Quote from: llirik on February 21, 2014, 08:29:07 PM
not working. i don't know terminal too well though, so may be missing obvious steps.

is there a guide anywhere on how to do this? getting the wav out of the .MLV is easy enough (tho its one at a time... no batch options?)... but i still need the DNGs, instead of a prores file.

Hold on, are you trying to play DNGs, or extract DNGs from your MLV?

MlRawViewer can play CDNG (though it's not well integrated on Mac yet). It can't yet extract them but there are other tools that can - mainly mlv_dump.
#328
Quote from: llirik on February 21, 2014, 01:58:39 PM
How would I do this on the mac?

Open a terminal, and go into the /Applications folder, and from there into the MlRawViewer.app directory to find the mlrawviewer binary (it's in a subdirectory).

Then launch it with (replacing the path names...):

./mlrawviewer /path/to/CDNG/directory /optional/path/to/audio.wav

(In case the paths have spaces in, put quotes around them, e.g. "/path/to/dir with spaces/")
#329
Raw Video Postprocessing / Re: Salvaging Pink Crazy DNGs
February 20, 2014, 05:08:22 PM
I have a python script that attempts to extract usable .RAW files from this kind of corrupted/recovered partial RAW files.

You can get it here, but you'll need a python runtime to run it (built in on mac, get from http://www.python.org/ for windows).

Script: https://bitbucket.org/baldand/mlrawviewer/raw/master/tools/rawcover.py

Do:

python rawcover.py <dir_containing_raw_files_or_one_raw_file> [<dir_for_recovered_raw_file>]

It will recover everything it can find, including sometimes partial frames that have been chopped in half.

Good luck!
#330
Quote from: awesnap on February 18, 2014, 05:38:44 PM
..But the process from actually seeing if my raw edits are good enough, to the point where I use them in final edits takes YEARS.

Although it can't yet help you with the speed of full grading and editing, you could try MlRawViewer for previewing MLV files straight off the camera without needing to convert them. That might help you when selecting which files to take through the full process.

See http://www.magiclantern.fm/forum/index.php?topic=9560.0

#331
Quote from: dubzeebass on February 17, 2014, 11:16:54 PM
My issue with that is that I lose the ability to apply LUTs and grade the raw footage. Do we have any programs that will output from MLV/RAW using the Amaze algorithm into DNG?

This would be possible to add to MlRawViewer. It still doesn't have any DNG output yet although most of the low level code for that has already been written. Linear DNG (after demosaicing with AMaZE) should be feasible to add as an alternative to normal raw DNGs, though I have no idea how well Linear DNGs are handled in tools like Resolve.

I added it to the enhancement list: https://bitbucket.org/baldand/mlrawviewer/issue/24/encode-dngs
#332
Quote from: naturalsound on February 16, 2014, 04:34:07 PM
This happens after closing the viewer (clicking the red cross on Windows or using ESC-key). When I afterwards drop another MLV onto the .exe the window appears, but is black. RAM usage increases and after about 10sec mlrawviewer closes.
If I drop the file again, it will be played without problems.

I noticed when I double click the .exe between each MLV (of course producing an error in the log) the next MLV I drop will be played without issues.
Surprisingly the black window problem does not create an entry inside the error log.
This happens on an ATI MobilityRadeon Maybe the OpenCL / OpenGL is not shut down cleanly??

Hard to know what's happening here. Can you check with the Windows task manager if the task has really shut down after the first time you closed it?

Might be worth trying to update your OpenGL/graphics card drivers if that's in any way possible.
#333
Quote from: Markus on February 12, 2014, 05:29:11 AM
aace: I did actually look for that on the first page. And now that you say It's there I still cant find it? Am i blind or is the shortcut for fullscreen missing?

Good find, thanks! I added a "TAB for fullscreen" line now to the top post.

BTW there is also now a freenode IRC channel for questions: #mlrawviewer
#334
Quote from: Markus on February 11, 2014, 08:17:31 PM
Extremly good viewer! I'm only missing a Fullscreen mode. You can maximize the window but fullscreen would be nicer. I would vote for Ctrl+f to toggle as in resolve   :D.

/Cheers!

Pressing TAB key should toggle between full and windowed mode on all platforms.

On Mac, there is also the Fullscreen icon at the top right of the window frame which might work better.
#335
Quote from: 1% on February 05, 2014, 06:23:02 PM
I guess GUI will do wonders here for doing it in batch... The videos are coming out 4:4:4 and keying nicely. Decided to nudge after I pick whichever takes I want, i think its only a few frames difference. Its much slower than raw2cineform but the results are de-bayered correctly. Would be cool if the amazed frames could be sent to cineform since they're taking forever to implement any decent debayer.

Are you using Windows? I had to disable multithreaded AMaZE on Windows as it was crashing on Win8 (doh). On Linux it should use all cores and be a bit faster.
In a later version I'll try to do multithreaded CPU demosaic in a cross-platform friendly way so all platforms go a bit faster.

For me, something like AMaZE seems to be essential to get reasonable looking results in non-crop mode on anything but 5d3.

(At first glance, cineform doesn't really look like an option for integration since it's a commercial codec, and raw2gpcf only takes .RAW as input. But maybe I'm wrong?).
#336
Quote from: 1% on February 05, 2014, 06:32:24 AM
Does encoding start from where you press E? I'm trying to save time and dump out to pro-res, but want to tweak sync/wb first. Just pause it and seek around?

Yes, that's how it should be working right now. Pause with SPACE, skip with LEFT/RIGHT, nudge with COMMA(,)/PERIOD(.), then press E again to start encode from there. Press E again to stop, or leave it alone and it will encode to the end of the file.

Encoding is done with what you see (plus some extra bits your monitor can't display), so tweak the white balance with number keys, brightness with UP/DOWN and pick the mapping with T (Log, Linear or Global tone map).
#337
Quote from: arrinkiiii on February 03, 2014, 09:33:00 PM
Hi, i have try the last version and it open some window and then it close, almost you can't see it...

@arrinkiiii - that looks like a problem with OpenGL on your PC. Was an earlier version of MlRawViewer working for you on the same system? Has your system changed in any way since then? What version of Windows are you using?

@tonybeccar - I see 2 problems. One is related to the new audio playback functionality. Then later you have an opengl memory problem (possible after using Next/Previous buttons many times).
Can you describe what you see when opening the program. Does the window close immediately or does it show the first frame for a few seconds while indexing, then close? Is the disk with the videos full or read-only?
#338
Quote from: PTRush on January 29, 2014, 04:42:58 PM
Sorry if this is a dumb question, but here goes- can I export mlv's to cinema dng's with sound on my Mac? Can't seem to find the answer anywhere.
Thanks for the great app!!!

The DNGs produced by mlv_dump should be *almost* Cinema DNGs - at least they have the CinemaDNG FrameRate tag and Resolve/AE are able to open them as sequences. mlv_dump will create a WAV file from the MLV, but I'm not sure if that combination quite qualifies counts as a "CinemaDNG with sound".

Anyway, in theory mlrawviewer should be able to play that combination, though you probably need to launch it from the command line giving the directory for the DNGs followed by the full path to the WAV file.
#339
Quote from: Kharak on January 30, 2014, 05:50:31 PM
On version 1.0.2 I could choose RAW/MLV files to open default with MLRawViewer, but on 1.0.4 I have to drag and drop each file and next/prev does not work.

You should be able to configure Windows to open mlrawviewer by default for any .RAW or .MLV files.

Try right clicking on a file, and choose "Open with..." to bring up the association options.
#340
Quote from: mario1000 on January 31, 2014, 04:56:22 PM
So the FPS number is interpreted as 29.776 instead of 21 fps. Have you got any ideas about how to fix this?

How did you set the frame rate? Did you use the "exact framerate" FPS override option, or something else?
Which camera, and how recent is your software?

If you record with "exact framerate", does it still report the wrong framerate?

At least on 7D I am able to record with 21 fps and the correct rate is reported. My guess is that the rate is recorded wrongly in the MLV file for some reason.
#341
Quote from: tonybeccar on January 28, 2014, 08:32:58 PM
I've been using the 1.0.4 in windows.. and when I open an MLV file, sometimes it opens fine, but other times the program opens and closes in a second, quitting, the audio file is created. When I go again, there it is fine! Here is a log:

Thanks for the log. I think I have an idea what's going wrong (with the wav handling).

Quote from: tonybeccar on January 28, 2014, 08:32:58 PM
Would it be too much trouble to add a bar with controls? Or maybe that the overlay progressbar shows then the mouse is over the window? Or a key shortcut to hide and unhide it? When shooting 2.35:1, the video is not too tall, and the bar covers a good amount of the frame!

A proper UI (and browser) is high on the list of things to do next. See the issue list and please vote up ones you'd like to see tackled sooner: https://bitbucket.org/baldand/mlrawviewer/issues?status=new&status=open

Quote from: tonybeccar on January 28, 2014, 08:32:58 PM
Also, the repeat function.. can it be disabled??

I think it could be made optional, probably later with a persistant setting.

Quote from: tonybeccar on January 28, 2014, 08:32:58 PM
Another.. would it be too much trouble for the program to delete the .wav file after we close it? It happens that if you have a neat folder structure with MLV files, some will have wav files and some won't..

You don't think it's at all useful that the embedded sound data is extracted to a WAV? Again though, this could be made an option.

Quote from: tonybeccar on January 28, 2014, 08:32:58 PM
And last but not least.. in windows, do I have command line options? As I have my batch converter.. maybe those can be useful for comunicating with your program..

There are 3 command line args. First is the name of the video (or CinemaDNG directory). Second [optional] is the name of an external wav file to use if there is no embedded wav (if you have an external recorder like I do). Third is the base name to use for an exported file. At the moment there are no more args, e.g. to launch with certain settings or modes. But feel free to suggest some that you might like to have available either here or on the issues list above.
#342
Quote from: ifleeter on January 25, 2014, 06:02:22 PM
During a shoot, before I knew what I was doing with RAW. I deleted the .R00 files thinking they weren't needed. I tried to use a similar .R00 file from another shot and merge it to the RAW file that has a missing .R00 file, but that didn't work. Doing that made the two different shots combine. If any developer could help me out that'd be great. The shots are very important and I'm willing to pay for services. There are no pink frames, the video just cuts out because it was a long take and the .R00 file is gone.

Thanks in advance to anyone who can help. There more than likely is no fix possible but crossing my fingers and hoping there is.

The .R00 files contain the later frames from the shot (and the footer data needed to decode both the .R00 and it's companion .RAW file). If you deleted them, then carried on using the disk until it was full, the frames in the R00 have been overwritten. If you deleted them and then did nothing else with the disk, you may be able to recover some of the content with a recovery tool as Walter suggested.

In case you get something out, but it is short, you may be able to use my rawcover.py python script to recover the frames from the RAW/R00 parts that you do have. For instance, it may be able to recover all the frames from a RAW file that is missing its R00.

https://bitbucket.org/baldand/mlrawviewer/raw/e979451367780525c8d1df27c9678b6c2d65b952/tools/rawcover.py
#343
Quote from: Midphase on January 24, 2014, 08:08:57 PM
Can't seem to figure out how to playback CDNG sequences. If I drag the first file on top of the app, the app doesn't recognize it and the Mac Finder simply thinks I want to move or copy my CDNG file to a new folder.

Yes, I found out today that might need a bit more work on Mac since it doesn't have ".DNG" in its app info. I'll fix that in the next release. After that you should be able to select one of the DNGs and do "Open with" MlRawViewer.

For now you would have to use the command line to run the mlrawviewer binary inside the app directory and give it the CDNG directory as an argument. Sorry!
#344
Quote from: timbytheriver on January 24, 2014, 12:22:07 PM
– After indexing, the audio plays a few seconds (5s or so) then drops out while the image stream continues to play. Is this correct, or just my slow mac? (Toggling Drop frame works as intended)
What CPU and GPU you have? How long is the WAV file that is created - is that full length?

Quote from: timbytheriver on January 24, 2014, 12:22:07 PM
– When Encoding (E) to a folder I am getting: myfile.mov, myfile.wav, and an extra timestamped .wav myfile_10.54.24.wav Is this expected behaviour?
– Also when encoding I randomly / sometimes get a myfile.mov.wav of a few bytes that doesn't open – but no completed movie. I then have to delete all files and start again.

Not exactly. When encoding, another wav is created for exactly the length and sync. That's the one in the non-working case it seems....Not sure what's going on there. Is it totally random or connected to the clip?
#345
Quote from: katerlouis on January 24, 2014, 03:54:03 PM
Question: next / prev uses MY finder order or simply alphabetic?
This info is useful because we think of renaming the clips according to whats in there so I may end up ordering them by creation date for some reason-

Currently alphabetic. That's good for RAW or MLV files copied straight from the camera. If you rename to include date, make sure you do it something like YYYY_MM_DD_HH_SS with zero filling.
#346
Quote from: Midphase on January 24, 2014, 08:31:02 AM
One of the things I wish is that the app would open when you double-click on it on the Mac and perhaps display a window where files can be dragged on as opposed to dragging the file on the app icon itself.

It would be extra awesome if, say I dragged 5 .raw files in the app, and it played them back sequentially. This would be extremely handy for reviewing takes.

At least basic drag&drop support would be good, but I've had some toolkit challenges trying to get that to work on any platform, so not sure if it's doable.

Have you tried the new O/P keys to go to previous/next file in the same dir? If your takes are sequential files then that should achieve something similar.

(Eventually however, there should be an integrated browser view for this kind of thing. And a proper UI instead of keyboard commands only.)
#347
Quote from: Danne on January 24, 2014, 12:39:38 AM
update*
changing from .mlv to the next clip (O,P buttons) results in the next clip keeping the first played clips name. This results in merging the audio from the first file to the next file being exported. For now I have to close down the app and restart to get the names from the files played in the app. GOing from .RAW won,t let me change to the next clip at all.
Mac os X 10.9, 5d mark 3

Thanks, I will see if I can reproduce that.

Quote from: ouuzi on January 24, 2014, 12:43:54 AM
1)When you try to convert to log ,the shadows get a pattern noise.Needs fine-tuning.Let me know if I can help.

There's no pattern noise processing so far. I agree something is needed, mainly for the vertical stripes. I would be happy to get a good sample file from you to test with.

Quote from: ouuzi on January 24, 2014, 12:43:54 AM
2)When you try to export from a later frame it does not create a file and goes to loop.

I'll see if I can reproduce. Was this with or without sound, MLV or RAW?

Quote from: ouuzi on January 24, 2014, 12:43:54 AM
Also I would like to mention that highlight recovery looks very good.

It's still quite simple, mainly filling in green from red/blue if that exceeds the white level in the file. It seems to get rid of the worst magenta skies, but it can also cause some visible banding if there is a gradient so it probably needs more work.

Quote from: g3gg0 on January 24, 2014, 01:22:20 AM
btw - can you try to honor the MLVI videoClass field?
...
currently the player crashes when you try to play a compressed video file.
i would just show an error message telling that the video format isnt supported.

Good point. I will make sure this is handled more gracefully. I'll also will see if I can get it to play back those LZMA and delta encoded files, but I'm not sure if real time playback will be feasible.

I have some ideas for an alternate MLV frame compression algorithm which would allow real time compression (e.g. when importing from a CF card) and decompression (for real time playback). Would be interested to hear your thoughts e.g. if I would try to contribute support for something like that to mlv_dump. See https://bitbucket.org/baldand/mlrawviewer/issue/29/fast-de-compression-of-mlv-files
#348
MlRawViewer 1.0.4 alpha for Win/Mac now available

I've made new MlRawViewer binary 1.0.4 alpha releases for win32 (Win7+) and OS X (10.7+). See the top post of the thread for links and updated info -> http://www.magiclantern.fm/forum/index.php?topic=9560.msg91165#msg91165

New headline features vs previous binary releases:

  • Sound support, either embedded in MLV files or external wav files (using command line arg only). Playback and encoding to ProRes
  • Drop frame real time playback mode (needed for audio playback). "D" key to toggle.
  • CinemaDNG playback -> Give directory name or first DNG file
  • Log output -> Use "T" key to toggle between Tone mapping, Log and Linear
  • Manual RGB level control with keys 4-9
  • Highlight recovery (should fix magenta sky)
  • FPS now set in encoded ProRes files.
  • Next/Previous file navigation using O/P keys. No need to close and reopen program. (Thanks for that idea @katerlouis!)
  • Mac window gets a working red close icon + working fullscreen icon (due to GLFW backend)
  • Should work properly on Win8 now (not verified)
Please give feedback and bug reports either to this thread, or the bitbucket isues list: https://bitbucket.org/baldand/mlrawviewer/issues
#349
Raw Video Postprocessing / Re: I .r00 the day
January 23, 2014, 08:54:46 PM
Save it to a file called "rawcover.py"
Download python for windows from http://www.python.org/download/releases/2.7.6/
Open a command prompt window (cmd.exe)
Run it like this:

c:\directory\where\you\installed\python.exe c:\directory\containing\rawcover.py c:\directory\containing\file.r00

(replacing the \directory\...\ parts with the actual paths on your system).
#350
Raw Video Postprocessing / Re: I .r00 the day
January 23, 2014, 07:40:12 PM
AFAIK you shouldn't need to join them as most tools should treat the 2 files as a single extended file (at least that's what MlRawViewer does).

Anyway, if you don't have any luck with any other tools, you can try my "rawcover.py" python script (it has no dependencies) which can extract raw files from some kinds of corruption.

https://bitbucket.org/baldand/mlrawviewer/src/cf89cf66a2f25260b2466d3e424ff9bfdf995c15/tools/rawcover.py