[Cin] Update (was: Already half-working? (was: Re: MLRAW))
Andrew Randrianasulu
randrianasulu at gmail.com
Tue Feb 12 16:47:02 CET 2019
hm, apparently green video was noticed while developing this format, there was
sggestion it can be cause by wrong image temperature settings:
------------quote start---------
RenatoPhoto
Moderators
Hero Member
*****Posts: 1509
5DM3 / 7D
Re: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
« Reply #1022 on: December 26, 2013, 10:46:52 PM »
I compiled myself for 5D3 including a "make clean" and make for the new modules.
For some reason my modules do not always get compiled when something new gets
updated.
Tested "as is" with the camera settings as have been saved by g3goo. Great
results all audio is pretty well matched. I get better alignment if I move the
audio forward by 1 frame.
Changed setting to Preview=Hacked and also enabled Mrmory Hack, and card
spanning ON.
Tested with Card spanning ON at 1920x1080 at 29.97 fps and the audio matched
again!
Tested with Card spanning ON cropped video at 1920x1080 at 29.97 and had to
slide audio forward by many frames and then to shrink the audio a bit. After
that it matched.
Tested with Card spanning ON 60 fps at 1600x560 the audio could not be synched
by trimming or stretching or sliding, the audio was there but could not align.
Tested with Card spanning ON Tested 50 fps at 1856x650 the audio could not be
synched by trimming or stretching or sliding, the audio was there but could not
align.
For Post processing I always used MLVBrowseSharp and exported to DNG (with green
cast) then I imported the dng and wav file to Vegas.
Noticed that the green cast on dng is not due to BlackLevels. It appears that
Color Temperature and Tint information is missing. As soon as I set in ACR
Temperature to 5000 and tint to 0 the colors seem appropriate.
------------quote end----
src: https://www.magiclantern.fm/forum/index.php?topic=7122.1000
I also fished out link to specialized open-source player from this thread
https://bitbucket.org/baldand/mlrawviewer/src/e7abaaf4cf9b?at=master
"About
MlRawViewer is a cross-platform viewer for raw video files produced by the Magic
Lantern add-on software for Canon DSLR cameras. (See
http://www.magiclantern.fm/ for more details).
It supports both the original RAW format, and the newer MLV (RAW v2.0) format in
both single and multi-file versions. It can also play CinemaDNG file sets."
not tested it yet (python ..)
https://thndl.com/how-dng-compresses-raw-data-with-lossless-jpeg92.html
https://thndl.com/life-without-artifacts.html
some more info for curious non-coders like me and hopefully also for GG.
---------- Пересланное сообщение ----------
Тема: Fwd: Already half-working? (was: Re: [Cin] MLRAW)
Дата: Вторник 12 февраля 2019
Отправитель: Andrew Randrianasulu <randrianasulu at gmail.com>
Получатель: "Cinelerra.GG" <cin at lists.cinelerra-gg.org>
https://ibin.co/4WjDk0hiCa2W.png
(Cinelerra-GG with ff_LUT3d filter loaded with file from Danne -
https://drive.google.com/file/d/0B4tCJMlOYfiranRiRHhJMTA2Sjg/view?usp=sharing)
but this way it of course slower ..much slower (32-bit Cin-GG, yet to test with
64-bit Cin-GG)
---------- Пересланное сообщение ----------
Тема: Fwd: Already half-working? (was: Re: [Cin] MLRAW)
Дата: Вторник 12 февраля 2019
Отправитель: Andrew Randrianasulu <randrianasulu at gmail.com>
Получатель: "Cinelerra.GG" <cin at lists.cinelerra-gg.org>
upd:
https://www.magiclantern.fm/forum/index.php?topic=18392.0
but I can't see images with LUT filter?
-----------------
Re: FFmpeg-Play with MLV Raw Support
« Reply #6 on: December 11, 2016, 06:39:27 PM »
Here is a little quick test with a 3D correction lut created in DaVinci resolve.
I just played with this manually, no math, could be much better. Command goes
like this.
3D lut download
https://drive.google.com/file/d/0B4tCJMlOYfiranRiRHhJMTA2Sjg/view?usp=sharing
Code: [Select]
FFplay -vf lut3d=drag/3d/lut/here your_file.MLV
With 3D correction lut
Without 3D corerction lut
---------------
another link:
https://lists.ffmpeg.org/pipermail/ffmpeg-user/2017-April/035749.html
also, first email from 2014 thread:
https://lists.ffmpeg.org/pipermail/ffmpeg-user/2014-June/022073.html
---quote----
I want to use open source tools in my workflow for raw video, that doesn't
involve batch processing frame by frame colour grades for video... I think
ffmpeg could do this... I can't be the first person who's been looking at
this.
Looking forward to any feedback you might offer.
John P Santos
Photographer // Owner
GREENBEEMEDIA.COM
------------quote end------------
so, it requires some metadata extracting and .. auto-applying at least one
ffmpeg filter?
---------- Пересланное сообщение ----------
Тема: Already half-working? (was: Re: [Cin] MLRAW)
Дата: Вторник 12 февраля 2019
Отправитель: Andrew Randrianasulu <randrianasulu at gmail.com>
Получатель: "Cinelerra.GG" <cin at lists.cinelerra-gg.org>
Actually, Cin-GG already can open some of those files. But colors are
strange ....
https://ibin.co/4Wiz8GXfP0Yz.png
ffplay says:
ffplay M13-0957.MLV
ffplay version 2.8.11 Copyright (c) 2003-2017 the FFmpeg developers
built with gcc 4.8.5 (GCC)
configuration: --arch=i486 --target-os=linux --prefix=/usr --libdir=/usr/lib --mandir=/usr/man --docdir=/usr/doc/ffmpeg-2.8.11 --enable-gpl --enable-version3 --disable-static --enable-shared --enable-runtime-cpudetect --enable-ffmpeg --enable-ffplay --enable-ffprobe --enable-ffserver --enable-doc --enable-avdevice --enable-avcodec --enable-avformat --enable-avutil --enable-swresample --enable-swscale --enable-postproc --enable-avfilter --enable-avresample --enable-pthreads --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-ladspa --enable-libass --enable-libbluray --disable-libbs2b --disable-libcaca --disable-libcelt --enable-libcdio --disable-libdc1394 --disable-libflite --enable-libfreetype --enable-libfribidi --disable-libgme --enable-libgsm --enable-libiec61883 --disable-libilbc --disable-libkvazaar --disable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --disable-libpulse --disable-libquvi --enable-librtmp --enable-libschroedinger --enable-libsmbclient --enable-libsnappy --disable-libsoxr --enable-libspeex --disable-libssh --enable-libtheora --enable-libtwolame --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxvid --enable-libzvbi --enable-lzma --enable-openal --enable-opengl --enable-sdl --enable-x11grab --enable-zlib --disable-debug
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
[mlv @ 0xf1f004a0] scanning M13-0957.M00q= 0KB sq= 0B f=0/0
Input #0, mlv, from 'M13-0957.MLV':
Metadata:
guid : 0x7cb005420800a612
info : text: My son; take: 1;
shutterValue : 30000
focalLength : 50
focalDist : 138
aperture : 0
stabilizerMode : 14
autofocusMode : 0
flags : 0
lensID : 0
lensName : 28-300mm
wb_mode : 0
kelvin : 5700
wbgain_r : 491
wbgain_g : 1024
wbgain_b : 1024
cameraName : Failed to get properties.
cameraModel : 0
wbs_gm : 0
time : 2013-08-13 09:57:10
isoMode : auto
isoValue : 250
isoAnalog : 0
digitalGain : 0
wbs_ba : 0
Duration: 00:00:07.68, start: 0.000000, bitrate: 699691 kb/s
Stream #0:0: Video: rawvideo (BIT[16] / 0x10544942), bayer_rggb16le,
1920x1288, 25 tbr, 25 tbn, 25 tbc
9.51 M-V: 0.000 fd= 103 aq= 0KB vq= 0KB sq= 0B f=0/0
-------------------
I found similar output via google, back in time it was not working corretcly
https://lists.ffmpeg.org/pipermail/ffmpeg-user/2014-June/022112.html
But then stream with audio fails to sound properly (in Cin-GG):
-----------
ffplay M22-0126.MLV
ffplay version 2.8.11 Copyright (c) 2003-2017 the FFmpeg developers
built with gcc 4.8.5 (GCC)
configuration: --arch=i486 --target-os=linux --prefix=/usr --libdir=/usr/lib --mandir=/usr/man --docdir=/usr/doc/ffmpeg-2.8.11 --enable-gpl --enable-version3 --disable-static --enable-shared --enable-runtime-cpudetect --enable-ffmpeg --enable-ffplay --enable-ffprobe --enable-ffserver --enable-doc --enable-avdevice --enable-avcodec --enable-avformat --enable-avutil --enable-swresample --enable-swscale --enable-postproc --enable-avfilter --enable-avresample --enable-pthreads --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-ladspa --enable-libass --enable-libbluray --disable-libbs2b --disable-libcaca --disable-libcelt --enable-libcdio --disable-libdc1394 --disable-libflite --enable-libfreetype --enable-libfribidi --disable-libgme --enable-libgsm --enable-libiec61883 --disable-libilbc --disable-libkvazaar --disable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --disable-libpulse --disable-libquvi --enable-librtmp --enable-libschroedinger --enable-libsmbclient --enable-libsnappy --disable-libsoxr --enable-libspeex --disable-libssh --enable-libtheora --enable-libtwolame --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxvid --enable-libzvbi --enable-lzma --enable-openal --enable-opengl --enable-sdl --enable-x11grab --enable-zlib --disable-debug
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
Ignoring attempt to set invalid timebase 1/0 for st:1 0B f=0/0
Input #0, mlv, from 'M22-0126.MLV':
Metadata:
guid : 0x996039816d1694c2
picStyleName : Auto
lensName : EF50mm f/1.8 II
digitalGain : 0
isoMode : auto
isoValue : 220
isoAnalog : 0
shutterValue : 29994
focalLength : 50
focalDist : 0
aperture : 180
stabilizerMode : 0
autofocusMode : 3
flags : 0
lensID : 29
cameraName : Canon EOS 5D Mark III
cameraModel : 2147484293
cameraSerial : 110091F150
wb_mode : 0
kelvin : 6500
wbgain_r : 128
wbgain_g : 1024
wbgain_b : 1024
wbs_gm : 0
wbs_ba : 0
picStyleId : 135
contrast : 0
sharpness : 3
saturation : 0
colortone : 0
time : 2013-12-22 01:26:18
Duration: 00:00:05.67, start: 0.000000, bitrate: 452809 kb/s
Stream #0:0: Video: rawvideo (BIT[16] / 0x10544942), bayer_rggb16le,
1536x864, 23.98 tbr, 23.98 tbn, 23.98 tbc
Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels,
s16, 1411 kb/s
Seek to 54% ( 0:00:02) of total duration ( 0:00:05) B f=0/0
ALSA lib pcm.c:8424:(snd_pcm_recover) underrun occurred 0B f=0/0
also, image dimensions not autodetected properly .... (I just loaded file via
Open dialog)
---------- Пересланное сообщение ----------
Тема: Re: [Cin] MLRAW
Дата: Вторник 12 февраля 2019
Отправитель: Andrew Randrianasulu <randrianasulu at gmail.com>
Получатель: "Cinelerra.GG" <cin at lists.cinelerra-gg.org>
В сообщении от Sunday 10 February 2019 22:28:55 Andrea paz написал(а):
> Hi Andrew, Thank you for the news. Can I put the link back on the
> forum? It could also be of interest to occasional visitors.
upd:
while reading forum found link to test files, they are still there, I hope
(watched preview for already converted into avi 5 sec clip)
https://drive.google.com/drive/folders/0BwQ2MOkAZTFHb3lmaTMzUV9uMWc
-------------------------------------------------------
-------------------------------------------------------
-------------------------------------------------------
-------------------------------------------------------
More information about the Cin
mailing list