Magic Lantern Forum

Using Magic Lantern => Raw Video => Raw Video Postprocessing => Topic started by: sgofferj on February 09, 2015, 12:37:16 PM

Title: MLRawViewer can't export
Post by: sgofferj on February 09, 2015, 12:37:16 PM
Hi,

I'm trying to export with MLRawViewer. When I try to export to MOV, I get a 185b small MOV-file and MLRawViewer stops at 0.14%.

Console:
sgofferj@enterprise:~/baldand-mlrawviewer-e7abaaf4cf9b$ ./mlrawviewer.py
MlRawViewer v1.4.3
(c) Andrew Baldwin & contributors 2013-2014
Using GLUT instead of GLFW. Some features may be disabled.
Traceback (most recent call last):
  File "/home/sgofferj/baldand-mlrawviewer-e7abaaf4cf9b/GLCompute.py", line 391, in <module>
    from GLComputeGLFW import GLComputee7abaaf4cf9b
  File "/home/sgofferj/baldand-mlrawviewer-e7abaaf4cf9b/GLComputeGLFW.py", line 44, in <module>
    import glfw
  File "/home/sgofferj/baldand-mlrawviewer-e7abaaf4cf9b/glfw.py", line 352, in <module>
    glfwGetVersionString            = _glfw.glfwGetVersionString
  File "/usr/lib/python2.7/ctypes/__init__.py", line 378, in __getattr__
    func = self.__getitem__(name)
  File "/usr/lib/python2.7/ctypes/__init__.py", line 383, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/lib/libglfw.so.2: undefined symbol: glfwGetVersionString
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
jack_client_new: deprecated
Cannot connect to server socket err = No such file or directorye7abaaf4cf9b
Cannot connect to server request channel
jack server is not running or cannot be started
jack_client_new: deprecated
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
Loading '/media/sgofferj/EOS_DIGITAL/DCIM/100CANON/M09-1216.RAW'
/media/sgofferj/EOS_DIGITAL/DCIM/100CANON/M09-1216.WAV /media/sgofferj/EOS_DIGITAL/DCIM/100CANON/M09-1216.WAV
None
MOV export to '/home/sgofferj/M09-1216_000004' started
ffmpeg config (no audio): -f mov -vf vflip -vcodec prores_ks -profile:v 4 -alpha_bits 0 -vendor ap4h -q:v 0 %s.MOV
Encoder args: ['ffmpeg', '-f', 'rawvideo', '-pix_fmt', 'rgb48', '-s', '1280x720', '-r', '25.000', '-i', '-', '-an', '-f', 'mov', '-vf', 'vflip', '-vcodec', 'prores_ks', '-profile:v', '4', '-alpha_bits', '0', '-vendor', 'ap4h', '-q:v', '0', '-r', '25.000', '/home/sgofferj/M09-1216_000004.MOV']
freeglut (./mlrawviewer.py): glutSetWindow(): window ID 2 not found!


When I try to export to DNG, I get this:
sgofferj@enterprise:~/baldand-mlrawviewer-e7abaaf4cf9b$ ./mlrawviewer.py
MlRawViewer v1.4.3
(c) Andrew Baldwin & contributors 2013-2014
Using GLUT instead of GLFW. Some features may be disabled.
Traceback (most recent call last):
  File "/home/sgofferj/baldand-mlrawviewer-e7abaaf4cf9b/GLCompute.py", line 391, in <module>
    from GLComputeGLFW import GLCompute
  File "/home/sgofferj/baldand-mlrawviewer-e7abaaf4cf9b/GLComputeGLFW.py", line 44, in <module>
    import glfw
  File "/home/sgofferj/baldand-mlrawviewer-e7abaaf4cf9b/glfw.py", line 352, in <module>
    glfwGetVersionString            = _glfw.glfwGetVersionString
  File "/usr/lib/python2.7/ctypes/__init__.py", line 378, in __getattr__
    func = self.__getitem__(name)
  File "/usr/lib/python2.7/ctypes/__init__.py", line 383, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/lib/libglfw.so.2: undefined symbol: glfwGetVersionString
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
jack_client_new: deprecated
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
jack_client_new: deprecated
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
Loading '/media/sgofferj/EOS_DIGITAL/DCIM/100CANON/M09-1216.RAW'
/media/sgofferj/EOS_DIGITAL/DCIM/100CANON/M09-1216.WAV /media/sgofferj/EOS_DIGITAL/DCIM/100CANON/M09-1216.WAV
None
DNG export to '/home/sgofferj/M09-1216_DNG_000002/M09-1216' started
Traceback (most recent call last):
  File "/home/sgofferj/baldand-mlrawviewer-e7abaaf4cf9b/ExportQueue.py", line 417, in doExportDng
    self.processExportDng(jobindex,args)
  File "/home/sgofferj/baldand-mlrawviewer-e7abaaf4cf9b/ExportQueue.py", line 493, in processExportDng
    self.setDngHeader(r,d,bits,f,rgbl,ljpeg,date)
  File "/home/sgofferj/baldand-mlrawviewer-e7abaaf4cf9b/ExportQueue.py", line 343, in setDngHeader
    atm(e,DNG.Tag.CameraSerialNumber,r.bodySerialNumber()+"\0")
AttributeError: 'MLRAW' object has no attribute 'bodySerialNumber'


Using current git snapshot e7abaaf4cf9b on kUbuntu 14.04 LTS 64bit
Title: Re: MLRawViewer can't export
Post by: sgofferj on February 24, 2015, 03:18:09 PM
I guess 2 weeks is an OK time to wait before upping the thread...? :)
Title: Re: MLRawViewer can't export
Post by: DeafEyeJedi on February 25, 2015, 03:40:35 PM
Which MLRV version are you using?
Title: Re: MLRawViewer can't export
Post by: sgofferj on February 25, 2015, 06:58:21 PM
1.4.3 git e7abaaf4cf9b?
Title: MLRawViewer can't export
Post by: DeafEyeJedi on February 25, 2015, 07:15:30 PM
Try deleting .MDX files and try again?

If not -- please read here (http://www.magiclantern.fm/forum/index.php?topic=9560.1350here).
Title: Re: MLRawViewer can't export
Post by: sgofferj on February 25, 2015, 07:44:35 PM
Deleting the MDX files didn't do anything.
Otherwise, I can't use any other release because there's no Linux releases in the Download section. I can only can download the repo and then call the python setup script...
Title: Re: MLRawViewer can't export
Post by: DeafEyeJedi on February 25, 2015, 08:07:17 PM
Sorry -- didn't realize you trying this on Linux.
Title: Re: MLRawViewer can't export
Post by: revast on March 18, 2015, 12:15:26 PM
you can try my version, its older, but should work http://openartisthq.org/magiclantern/mlrawviewer2014.03.13_64bit.tar.gz
Title: Re: MLRawViewer can't export
Post by: sgofferj on March 20, 2015, 08:01:13 AM
Jup, works, thanks :)