Author Topic: MlRawViewer 1.3.3 (CDNG/MLV/RAW Viewer & Encoder, Linux/Mac/Win)  (Read 1030561 times)

daycon

  • Just arrived
  • *
  • Posts: 1
Re: MlRawViewer 1.3.3 (CDNG/MLV/RAW Viewer & Encoder, Linux/Mac/Win)
« Reply #1800 on: November 01, 2017, 09:59:14 AM »
I am unable to render out to either prores or dng, has there been a fix for this?

running mac sierra 10.12.5

hwdbk

  • New to the forum
  • *
  • Posts: 15
Re: MlRawViewer 1.3.3 (CDNG/MLV/RAW Viewer & Encoder, Linux/Mac/Win)
« Reply #1801 on: November 03, 2017, 06:24:55 PM »
@Rob: what you're experiencing is what I can reproduce ON LINUX. So far, I've been able to pinpoint it to stdin for the ffmpeg process not coming through. I (sort of) ruled out ffmpeg itself because the problem (stalling output) occurs with ffmpeg 2.7 as well with ffmpeg 3.3. So it must have to do with the Popen stdin piping or the thread that feeds (writes to) stdin of ffmpeg. In fact, if I fake ffmpeg with a script, I can see that no data comes in at all on stdin. Any suggestions are welcome because I am not familiar with Pyton Popen.

@daycon: MOV rendering should work on Mac OS (it does for several users, not just me), read the posts, but not for Linux, it seems. DNG rendering should work if you use the latest commit; in the first commit it didn't, sorry. I fixed it by writing 16-bit DNGs, that seems to work. If I have time I will look at this issue.

Thanks.

Kharak

  • Hero Member
  • *****
  • Posts: 722
Re: MlRawViewer 1.3.3 (CDNG/MLV/RAW Viewer & Encoder, Linux/Mac/Win)
« Reply #1802 on: November 03, 2017, 06:47:58 PM »
And here is hoping for PC being able to just play MLV's :)
once you go raw you never go back

Danne

  • Hero Member
  • *****
  • Posts: 3611
Re: MlRawViewer 1.3.3 (CDNG/MLV/RAW Viewer & Encoder, Linux/Mac/Win)
« Reply #1803 on: November 03, 2017, 06:57:31 PM »
Kharak. You should dig into compiling this one :). Not sure where to start and I got one way working on one of my macs. Spent way too many hours with this ;)

Kharak

  • Hero Member
  • *****
  • Posts: 722
Re: MlRawViewer 1.3.3 (CDNG/MLV/RAW Viewer & Encoder, Linux/Mac/Win)
« Reply #1804 on: November 03, 2017, 10:37:19 PM »
I am scared of the word "compile". I know that it is not exactly programming, but I know nothing of the sorts.

And i have so little time on my hand. The older one gets, the less time is on ones hands.

I will look in to that tread that is somewhere on the forum, that i think a1ex made for newbies compiling or something like that.
once you go raw you never go back

hwdbk

  • New to the forum
  • *
  • Posts: 15
Re: MlRawViewer 1.3.3 (CDNG/MLV/RAW Viewer & Encoder, Linux/Mac/Win)
« Reply #1805 on: November 21, 2017, 08:34:27 AM »
On the .MOV export not working (MacOS X) from a built version of  MlRawViewer, I found the following glitch: if ffmpeg is updated on your machine (I use MacPorts), the old binary copied into the MlRawViewer.app/Contents/MacOS/ffmpeg path for some reason no longer works. In mlrawviewer.log I get
Code: [Select]
Traceback (most recent call last):
  File "ExportQueue.py", line 796, in stdoutWriter
IOError: [Errno 32] Broken pipe
repeated 11 times. The export process stops after showing 0.00% for a couple of seconds. I think this means that the dynamic libraries and ffmpeg executable somehow go together, and also that a distributed version of the MlRawViewer.app with ffmpeg inside not necessarily works.
This problem is not related (I think) to the 'ffmpeg doesn't get data' problem where the export process stops at a couple of percent and then stalls.
The saga continues...

MikePeralta

  • New to the forum
  • *
  • Posts: 3
Re: MlRawViewer 1.3.3 (CDNG/MLV/RAW Viewer & Encoder, Linux/Mac/Win)
« Reply #1806 on: December 01, 2017, 01:58:07 PM »
Are there any other programs that can read or transcode MLV files? I've just installed and get the following exception:

Code: [Select]
Traceback (most recent call last):
  File "/home/mike/Downloads/magic lantern/baldand-mlrawviewer-e7abaaf4cf9b/GLComputeGLFW.py", line 315, in __draw
    self.onDraw(w,h)
  File "/home/mike/Downloads/magic lantern/baldand-mlrawviewer-e7abaaf4cf9b/Viewer.py", line 374, in onDraw
    self.renderScenes()
  File "/home/mike/Downloads/magic lantern/baldand-mlrawviewer-e7abaaf4cf9b/GLComputeGLFW.py", line 265, in renderScenes
    s.prepareToRender()
  File "/home/mike/Downloads/magic lantern/baldand-mlrawviewer-e7abaaf4cf9b/Display.py", line 447, in prepareToRender
    self.iconBackground.rectangle(80,height,rgba=(0.0,0.0,0.0,0.25))
  File "/home/mike/Downloads/magic lantern/baldand-mlrawviewer-e7abaaf4cf9b/GLComputeUI.py", line 295, in rectangle
    self.setVab(vertices)
  File "/home/mike/Downloads/magic lantern/baldand-mlrawviewer-e7abaaf4cf9b/GLComputeUI.py", line 289, in setVab
    self.svbo.update(vertices,self.svbobase)
  File "/home/mike/Downloads/magic lantern/baldand-mlrawviewer-e7abaaf4cf9b/GLComputeUI.py", line 90, in update
    self.vbo[ow:(ow+len(data))] = data
  File "/usr/lib/python2.7/dist-packages/OpenGL/arrays/vbo.py", line 262, in __setitem__
    size = ArrayDatatype.arrayByteCount( self.data[0] )
  File "/usr/lib/python2.7/dist-packages/OpenGL/arrays/arraydatatype.py", line 184, in arrayByteCount
    return cls.getHandler(value).arrayByteCount( value )
  File "/usr/lib/python2.7/dist-packages/OpenGL/arrays/arraydatatype.py", line 53, in __call__
    typ.__module__, type.__name__, repr(value)[:50]
TypeError: No array-type handler for type numpy.type (value: 0.0) registered

flostro

  • New to the forum
  • *
  • Posts: 14
  • 5D Mark III
Re: MlRawViewer 1.3.3 (CDNG/MLV/RAW Viewer & Encoder, Linux/Mac/Win)
« Reply #1807 on: December 14, 2017, 10:15:30 AM »
Great to see MlrawViewer is still being worked on. Is there a Windows Release with the added functionality on the horizon?

gigilyer

  • Just arrived
  • *
  • Posts: 2
Re: MlRawViewer 1.3.3 (CDNG/MLV/RAW Viewer & Encoder, Linux/Mac/Win)
« Reply #1808 on: December 22, 2017, 06:50:51 PM »
Can someone please help me figure out how to remove this band (or lines or whatever) on my footage? My files render into DNG sequences and videos just fine but these lines are not removed throught out the process. I have seen other people use mlrawviewer and produce videos without these lines or horizontal bands. PLEASE I NEED YOUR HELP


hwdbk

  • New to the forum
  • *
  • Posts: 15
Re: MlRawViewer 1.3.3 (CDNG/MLV/RAW Viewer & Encoder, Linux/Mac/Win)
« Reply #1809 on: January 05, 2018, 10:09:42 AM »
Are there any other programs that can read or transcode MLV files? I've just installed and get the following exception:

Code: [Select]
Traceback (most recent call last):
  File "/home/mike/Downloads/magic lantern/baldand-mlrawviewer-e7abaaf4cf9b/GLComputeGLFW.py", line 315, in __draw
    self.onDraw(w,h)
  File "/home/mike/Downloads/magic lantern/baldand-mlrawviewer-e7abaaf4cf9b/Viewer.py", line 374, in onDraw
    self.renderScenes()
  File "/home/mike/Downloads/magic lantern/baldand-mlrawviewer-e7abaaf4cf9b/GLComputeGLFW.py", line 265, in renderScenes
    s.prepareToRender()
  File "/home/mike/Downloads/magic lantern/baldand-mlrawviewer-e7abaaf4cf9b/Display.py", line 447, in prepareToRender
    self.iconBackground.rectangle(80,height,rgba=(0.0,0.0,0.0,0.25))
  File "/home/mike/Downloads/magic lantern/baldand-mlrawviewer-e7abaaf4cf9b/GLComputeUI.py", line 295, in rectangle
    self.setVab(vertices)
  File "/home/mike/Downloads/magic lantern/baldand-mlrawviewer-e7abaaf4cf9b/GLComputeUI.py", line 289, in setVab
    self.svbo.update(vertices,self.svbobase)
  File "/home/mike/Downloads/magic lantern/baldand-mlrawviewer-e7abaaf4cf9b/GLComputeUI.py", line 90, in update
    self.vbo[ow:(ow+len(data))] = data
  File "/usr/lib/python2.7/dist-packages/OpenGL/arrays/vbo.py", line 262, in __setitem__
    size = ArrayDatatype.arrayByteCount( self.data[0] )
  File "/usr/lib/python2.7/dist-packages/OpenGL/arrays/arraydatatype.py", line 184, in arrayByteCount
    return cls.getHandler(value).arrayByteCount( value )
  File "/usr/lib/python2.7/dist-packages/OpenGL/arrays/arraydatatype.py", line 53, in __call__
    typ.__module__, type.__name__, repr(value)[:50]
TypeError: No array-type handler for type numpy.type (value: 0.0) registered

It looks to me that the numerical math library numpy is not installed properly on your system.
Try sudo pip install numpy or take a look at https://scipy.org/install.html

I would also recommend to no longer use the baldand release, but the latest from
https://bitbucket.org/hwdbk/mlrawviewer/branches/
which is
https://bitbucket.org/hwdbk/mlrawviewer/branch/fix_focus_pixels

Cheers, Henk

hwdbk

  • New to the forum
  • *
  • Posts: 15
Re: MlRawViewer 1.3.3 (CDNG/MLV/RAW Viewer & Encoder, Linux/Mac/Win)
« Reply #1810 on: January 05, 2018, 10:12:07 AM »
Can someone please help me figure out how to remove this band (or lines or whatever) on my footage? My files render into DNG sequences and videos just fine but these lines are not removed throught out the process. I have seen other people use mlrawviewer and produce videos without these lines or horizontal bands. PLEASE I NEED YOUR HELP



This looks like a Dual-ISO shot. I don't think MlRawViewer handles Dual-ISO in a special way, so you'd need to postprocess the DNGs yourself, or use alternative tools like mlv_dump directly.

hwdbk

  • New to the forum
  • *
  • Posts: 15
Re: MlRawViewer 1.3.3 (CDNG/MLV/RAW Viewer & Encoder, Linux/Mac/Win)
« Reply #1811 on: January 05, 2018, 10:13:47 AM »
Great to see MlrawViewer is still being worked on. Is there a Windows Release with the added functionality on the horizon?
I am in no position to maintain the windows build due to lack of expertise, but you're welcome to give it a try :-)
The latest sources are found in
https://bitbucket.org/hwdbk/mlrawviewer/branch/fix_focus_pixels