[FFmpeg-user] New MLV video format bayer_rggb16le and conversion to yuv444p or rgb48le pixel formats.
John P Santos
jpsantos at greenbeemedia.com
Tue Jun 24 19:11:44 CEST 2014
Oh okay, I'll include each of the contents of the pastebins here.
ffmpeg MLV (Magic Lantern Raw) to ProRes fail
$ nice ffmpeg -i DCIM/100CANON/M16-1742.MLV -c:v prores -threads 3
test-1742-ffmpeg-prores-720p24-`date +%Y%m%d%H%M%S`.mov
ffmpeg version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers
built on Jun 16 2014 19:15:15 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configuration: --enable-gpl --enable-nonfree --enable-version3
--enable-dxva2 --enable-vaapi --enable-vda --enable-vdpau --enable-bzlib
--enable-frei0r --enable-gnutls --enable-libdc1394 --enable-libfaac
--enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopencv
--enable-libopenjpeg --enable-libpulse --enable-librtmp
--enable-libschroedinger --enable-libspeex --enable-libtheora
--enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
--enable-libvpx --enable-libwavpack --enable-libx264 --enable-libxvid
--enable-openssl --enable-x11grab --enable-zlib
libavutil 52. 89.100 / 52. 89.100
libavcodec 55. 67.100 / 55. 67.100
libavformat 55. 43.100 / 55. 43.100
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 8.100 / 4. 8.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
[mlv @ 0x2e1ecc0] unsupported tag BKUP, size 20
Last message repeated 51 times
Input #0, mlv, from 'DCIM/100CANON/M16-1742.MLV':
Metadata:
guid : 0x3c16e3af8b3bef25
lensID : 198
picStyleName : Faithful
isoValue : 100
wbs_ba : 0
isoMode : manual
isoAnalog : 72
digitalGain : 0
time : 2014-06-16 17:42:58
focalLength : 50
focalDist : 0
aperture : 140
stabilizerMode : 0
autofocusMode : 0
flags : 0x0
cameraName : Canon EOS 6D
cameraModel : 0x80000302
cameraSerial : 1C6F379DB2
lensName : EF50mm f/1.4 USM
wb_mode : 9
kelvin : 5500
wbgain_r : 496
wbgain_g : 1024
wbgain_b : 616
wbs_gm : 0
picStyleId : 133
contrast : 0
sharpness : 0
saturation : 0
colortone : 0
shutterValue : 3027
Duration: 00:00:11.39, start: 0.000000, bitrate: 310252 kb/s
Stream #0:0: Video: rawvideo (BIT[16] / 0x10544942), bayer_rggb16le,
1280x720, 23.97 tbr, 23.97 tbn, 23.97 tbc
[swscaler @ 0x2e4da80] unsupported bayer conversion
Assertion 0 failed at libswscale/swscale_unscaled.c:1655
Aborted (core dumped)
------------------------
ffmpeg MLV (Magic Lantern Raw) to huffyuv (saved in rgb24)
$ ffmpeg -i DCIM/100CANON/M16-1754.MLV -an -c:v huffyuv test-1754-`date
+%Y%m%d%H%M%S`.mkv
ffmpeg version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers
built on Jun 16 2014 19:15:15 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configuration: --enable-gpl --enable-nonfree --enable-version3
--enable-dxva2 --enable-vaapi --enable-vda --enable-vdpau --enable-bzlib
--enable-frei0r --enable-gnutls --enable-libdc1394 --enable-libfaac
--enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopencv
--enable-libopenjpeg --enable-libpulse --enable-librtmp
--enable-libschroedinger --enable-libspeex --enable-libtheora
--enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
--enable-libvpx --enable-libwavpack --enable-libx264 --enable-libxvid
--enable-openssl --enable-x11grab --enable-zlib
libavutil 52. 89.100 / 52. 89.100
libavcodec 55. 67.100 / 55. 67.100
libavformat 55. 43.100 / 55. 43.100
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 8.100 / 4. 8.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
[mlv @ 0x2fc4d20] unsupported tag BKUP, size 20
Last message repeated 18 times
Input #0, mlv, from 'DCIM/100CANON/M16-1754.MLV':
Metadata:
guid : 0x227f91c4955ff14e
info : take: 2;
picStyleName : Faithful
isoAnalog : 96
isoValue : 640
isoMode : manual
time : 2014-06-16 17:54:09
digitalGain : -3
focalLength : 50
focalDist : 0
aperture : 1600
stabilizerMode : 0
autofocusMode : 0
flags : 0x0
lensID : 198
lensName : EF50mm f/1.4 USM
cameraName : Canon EOS 6D
cameraModel : 0x80000302
cameraSerial : 1C6F379DB2
wb_mode : 9
kelvin : 5500
wbgain_r : 496
wbgain_g : 1024
wbgain_b : 616
wbs_gm : 0
wbs_ba : 0
picStyleId : 133
contrast : 0
sharpness : 0
saturation : 0
colortone : 0
shutterValue : 7806
Duration: 00:00:06.38, start: 0.000000, bitrate: 310253 kb/s
Stream #0:0: Video: rawvideo (BIT[16] / 0x10544942), bayer_rggb16le,
1280x720, 23.97 tbr, 23.97 tbn, 23.97 tbc
[huffyuv @ 0x2fc2560] using huffyuv 2.2.0 or newer interlacing flag
[huffyuv @ 0x2ff41a0] using huffyuv 2.2.0 or newer interlacing flag
[huffyuv @ 0x2ff4900] using huffyuv 2.2.0 or newer interlacing flag
[huffyuv @ 0x2fc8f40] using huffyuv 2.2.0 or newer interlacing flag
Output #0, matroska, to 'test-1754-20140616230804.mkv':
Metadata:
guid : 0x227f91c4955ff14e
info : take: 2;
picStyleName : Faithful
isoAnalog : 96
isoValue : 640
isoMode : manual
time : 2014-06-16 17:54:09
digitalGain : -3
focalLength : 50
focalDist : 0
aperture : 1600
stabilizerMode : 0
autofocusMode : 0
flags : 0x0
lensID : 198
lensName : EF50mm f/1.4 USM
cameraName : Canon EOS 6D
cameraModel : 0x80000302
cameraSerial : 1C6F379DB2
wb_mode : 9
kelvin : 5500
wbgain_r : 496
wbgain_g : 1024
wbgain_b : 616
wbs_gm : 0
wbs_ba : 0
picStyleId : 133
contrast : 0
sharpness : 0
saturation : 0
colortone : 0
shutterValue : 7806
encoder : Lavf55.43.100
Stream #0:0: Video: huffyuv (HFYU / 0x55594648), rgb24, 1280x720,
q=2-31, 200 kb/s, 23.97 fps, 1k tbn, 23.97 tbc
Metadata:
encoder : Lavc55.67.100 huffyuv
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> huffyuv (huffyuv))
Press [q] to stop, [?] for help
frame= 153 fps= 33 q=0.0 Lsize= 212580kB time=00:00:06.38
bitrate=272827.4kbits/s
video:212572kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.003841%
------------------------------
ffmpeg MLV (Magic Lantern Raw) to r210 fail.
$ ffmpeg -i DCIM/100CANON/M16-1754.MLV -an -c:v r210 -s hd720 -pix_fmt
rgb48le test-ffmpeg-r210-1754-`date +%Y%m%d%H%M%S`.mkv
ffmpeg version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers
built on Jun 16 2014 19:15:15 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configuration: --enable-gpl --enable-nonfree --enable-version3
--enable-dxva2 --enable-vaapi --enable-vda --enable-vdpau --enable-bzlib
--enable-frei0r --enable-gnutls --enable-libdc1394 --enable-libfaac
--enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopencv
--enable-libopenjpeg --enable-libpulse --enable-librtmp
--enable-libschroedinger --enable-libspeex --enable-libtheora
--enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
--enable-libvpx --enable-libwavpack --enable-libx264 --enable-libxvid
--enable-openssl --enable-x11grab --enable-zlib
libavutil 52. 89.100 / 52. 89.100
libavcodec 55. 67.100 / 55. 67.100
libavformat 55. 43.100 / 55. 43.100
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 8.100 / 4. 8.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
[mlv @ 0x26e5d00] unsupported tag BKUP, size 20
Last message repeated 18 times
Input #0, mlv, from 'DCIM/100CANON/M16-1754.MLV':
Metadata:
guid : 0x227f91c4955ff14e
info : take: 2;
picStyleName : Faithful
isoAnalog : 96
isoValue : 640
isoMode : manual
time : 2014-06-16 17:54:09
digitalGain : -3
focalLength : 50
focalDist : 0
aperture : 1600
stabilizerMode : 0
autofocusMode : 0
flags : 0x0
lensID : 198
lensName : EF50mm f/1.4 USM
cameraName : Canon EOS 6D
cameraModel : 0x80000302
cameraSerial : 1C6F379DB2
wb_mode : 9
kelvin : 5500
wbgain_r : 496
wbgain_g : 1024
wbgain_b : 616
wbs_gm : 0
wbs_ba : 0
picStyleId : 133
contrast : 0
sharpness : 0
saturation : 0
colortone : 0
shutterValue : 7806
Duration: 00:00:06.38, start: 0.000000, bitrate: 310253 kb/s
Stream #0:0: Video: rawvideo (BIT[16] / 0x10544942), bayer_rggb16le,
1280x720, 23.97 tbr, 23.97 tbn, 23.97 tbc
[swscaler @ 0x26f5160] full chroma interpolation for destination format
'rgb48le' not yet implemented
[swscaler @ 0x26f5160] unsupported bayer conversion
Assertion 0 failed at libswscale/swscale_unscaled.c:1655
Aborted (core dumped)
John P Santos
Photographer // Owner
GREENBEEMEDIA.COM
On Thu, Jun 19, 2014 at 6:39 AM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> John P Santos <jpsantos <at> greenbeemedia.com> writes:
>
> > I'd like to convert a recently recorded .MLV video
> > recorded with the Magic Lantern mod to a ProRes format.
> >
> > When I attempt to I get the following error:
>
> Please provide your failing command line and the
> complete, uncut console output here on the
> mailing list, please do not use external
> resources, they may disappear.
>
> Carl Eugen
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
More information about the ffmpeg-user
mailing list