Author Topic: FFMPEG now officially supports Magic Lantern Video  (Read 53305 times)

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3154
FFMPEG now officially supports Magic Lantern Video
« on: April 22, 2014, 01:06:42 AM »
two days ago a patch was committed to ffmpeg official source code database that
adds support for our Magic Lantern Video (MLV) format produced by mlv_rec.

how it came to this?
the FFMPEG team applied for Google Summer of Code (GSoC) for raw bayer support in their libraries.
i talked to peter and suggested him to look at our video format as some open source raw video format that is free of any royalities.
so they could continue to improve their raw support with already existing footage in this simple video file format.

peter then started to implement the format reader within only a few days :)
the nightly build of ffmpeg already can play .mlv videos using ffplay, just the coloring isnt finished yet.

the commit is here

a big thank you to Peter Ross and Michael Niedermayer for making this happen :)

Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: paypal@g3gg0.de
ONLY donate for things we have done, not for things you expect!

chmee

  • Contributor
  • Hero Member
  • *****
  • Posts: 1031
  • raw2cdng
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #1 on: April 22, 2014, 01:41:16 AM »
what great news!!! OMG! so, in the next time all fmpeg-based-players (fi vlc..) will play MLV - this is so freaky. converting will be easy as well. omg omg omg.

painya

  • Senior
  • ****
  • Posts: 321
  • 6d 50d 550d 5dc
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #2 on: April 22, 2014, 02:05:04 AM »
what great news!!! OMG! so, in the next time all fmpeg-based-players (fi vlc..) will play MLV - this is so freaky. converting will be easy as well. omg omg omg.
Sorry I'm not as technically advanced as all y'all. What does this mean for converting? A better and faster debayer program? Thanks.
Good footage doesn't make a story any better.

dmilligan

  • Developer
  • Hero Member
  • *****
  • Posts: 3218
  • 60Da / 1100D / EOSM
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #3 on: April 22, 2014, 03:19:10 AM »
very awesome!  :D

Sorry I'm not as technically advanced as all y'all. What does this mean for converting? A better and faster debayer program? Thanks.

It means that a library that is widely used by a number of programs that do video will have native support for MLV. Which means any of the programs that use that library will defacto have support for MLV. Which means that you will be able to playback MLV files with any of these already existing programs. Almost all open source video applications use this library (called ffmpeg).

It doesn't really say anything about speed or performance (it could be better or could be worse, that's not the point), it just means that there will be widespread, generic support for the MLV file format amongst open source software applications.

ItsMeLenny

  • Hero Member
  • *****
  • Posts: 926
  • 550D
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #4 on: April 22, 2014, 03:45:31 AM »
What algorithm does it use to debayer? Or would that be then left up to the program using ffmpeg to debayer it?

Also, does this work with the .raw format?

painya

  • Senior
  • ****
  • Posts: 321
  • 6d 50d 550d 5dc
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #5 on: April 22, 2014, 03:56:58 AM »
very awesome!  :D

It means that a library that is widely used by a number of programs that do video will have native support for MLV. Which means any of the programs that use that library will defacto have support for MLV. Which means that you will be able to playback MLV files with any of these already existing programs. Almost all open source video applications use this library (called ffmpeg).

It doesn't really say anything about speed or performance (it could be better or could be worse, that's not the point), it just means that there will be widespread, generic support for the MLV file format amongst open source software applications.
That's great news! Will this possibly lead to MLV being supported by adobe down the road? Or would this development not pressure Adobe enough to do that due to the ties between canon and adobe?
Good footage doesn't make a story any better.

Audionut

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3584
  • Blunt and to the point
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #6 on: April 22, 2014, 05:12:05 AM »
Excellent news.

baldand

  • Contributor
  • Senior
  • *****
  • Posts: 408
  • 7D, Developer of MlRawViewer
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #7 on: April 22, 2014, 06:56:26 AM »
That's really great news. I'm looking forward to seeing how this develops.

I tried a static nightly build of ffmpeg on Linux (http://johnvansickle.com/ffmpeg/builds/ffmpeg-git-20140421-64bit-static.tar.bz2) but it didn't quite work for me in conversion mode.

./ffmpeg -i M12-1630.MLV test.mp4
...
(all metadata shown correctly)
...
    Stream #0:0: Video: rawvideo (BIT[16] / 0x10544942), bayer_rggb16le, 1728x972, 25 tbr, 25 tbn, 25 tbc
[swscaler @ 0x40470c0] unsupported bayer conversion
Assertion 0 failed at libswscale/swscale_unscaled.c:1655
Aborted (core dumped)

tin2tin

  • Member
  • ***
  • Posts: 157
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #8 on: April 22, 2014, 08:14:25 AM »
@g3gg0 - I'm so happy for you, that your efforts with the MLV format now are paying off. This will be the major push of MLV into all opensource editors and converters out there. Congrats!!!

ItsMeLenny

  • Hero Member
  • *****
  • Posts: 926
  • 550D
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #9 on: April 22, 2014, 08:31:06 AM »
That's really great news. I'm looking forward to seeing how this develops.

I tried a static nightly build of ffmpeg on Linux (http://johnvansickle.com/ffmpeg/builds/ffmpeg-git-20140421-64bit-static.tar.bz2) but it didn't quite work for me in conversion mode.

./ffmpeg -i M12-1630.MLV test.mp4
...
(all metadata shown correctly)
...
    Stream #0:0: Video: rawvideo (BIT[16] / 0x10544942), bayer_rggb16le, 1728x972, 25 tbr, 25 tbn, 25 tbc
[swscaler @ 0x40470c0] unsupported bayer conversion
Assertion 0 failed at libswscale/swscale_unscaled.c:1655
Aborted (core dumped)

I got the same with some .MLV files, but not with other .MLV files

tonybeccar

  • Senior
  • ****
  • Posts: 319
  • 7D
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #10 on: April 22, 2014, 08:57:06 AM »
WOW!!!!! I want to scream!! No, I already did!!!  ;D

DavidSh

  • Member
  • ***
  • Posts: 141
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #11 on: April 22, 2014, 09:42:23 AM »
Great News!
600D | 5D3 | macOS Sierra | http://www.GentleDogMovie.com

nachordez

  • New to the forum
  • *
  • Posts: 31
  • EOS 600D
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #12 on: April 22, 2014, 10:01:08 AM »
Absolutely great!
EOS 600D  /  OpenSuse 13.1

EXIV

  • New to the forum
  • *
  • Posts: 29
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #13 on: April 22, 2014, 11:02:51 AM »
That's great!

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3154
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #14 on: April 22, 2014, 11:41:44 AM »
if you have some misbehavior, please upload the .mlv somewhere and help the ffmpeg guys fixing that. :)
Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: paypal@g3gg0.de
ONLY donate for things we have done, not for things you expect!

Jakobmen

  • Member
  • ***
  • Posts: 122
  • Canon 5D3
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #15 on: April 22, 2014, 02:16:41 PM »
 :D :D :D :D :D amazing!
Canon 5D3

andy kh

  • Hero Member
  • *****
  • Posts: 523
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #16 on: April 22, 2014, 02:37:29 PM »
great
5D Mark III - 70D

premini

  • New to the forum
  • *
  • Posts: 30
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #17 on: April 22, 2014, 06:43:22 PM »
Can i now convert MLV to Prores 4444 in a less painfull way and IN Windows? This is CRAYZEEEE

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3154
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #18 on: April 22, 2014, 07:20:20 PM »
Can i now convert MLV to Prores 4444 in a less painfull way and IN Windows? This is CRAYZEEEE
no, not yet. but ffmpeg is developing towards a raw-video compatible library.
if it will end in some ready-to-publish raw converter, of if it will get a simple and effective converter for proxy files,
or just a good footage viewer - time will show.

yet this is a good sign and we all hope it will result in helpful tools :)
Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: paypal@g3gg0.de
ONLY donate for things we have done, not for things you expect!

budafilms

  • Hero Member
  • *****
  • Posts: 711
  • 5D Mark a1ex
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #19 on: April 23, 2014, 06:19:01 AM »
work on mac?

tin2tin

  • Member
  • ***
  • Posts: 157
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #20 on: April 23, 2014, 07:01:44 AM »
I tried a static nightly build of ffmpeg on Linux (http://johnvansickle.com/ffmpeg/builds/ffmpeg-git-20140421-64bit-static.tar.bz2) but it didn't quite work for me in conversion mode.

./ffmpeg -i M12-1630.MLV test.mp4
...
(all metadata shown correctly)
...
    Stream #0:0: Video: rawvideo (BIT[16] / 0x10544942), bayer_rggb16le, 1728x972, 25 tbr, 25 tbn, 25 tbc
[swscaler @ 0x40470c0] unsupported bayer conversion
Assertion 0 failed at libswscale/swscale_unscaled.c:1655
Aborted (core dumped)

I'm getting the same error/behaviour with this file on Windows with ffmpeg 32-bit(static 21/4 & 23/4): http://we.tl/k21F8TAVEc

Great to see ffplay actually playing the mlv tough the colors are off and dead-pixels are visible.  :)

meditant

  • New to the forum
  • *
  • Posts: 42
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #21 on: April 23, 2014, 10:38:28 AM »
Fantastic the MLV RAW video format begin to be implemented on many tools, it's just the beginning...

Very good work !

jose_ugs

  • Member
  • ***
  • Posts: 243
  • 5DM3
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #22 on: April 23, 2014, 12:56:33 PM »
Damn! Been away for a few days and now this one! Hell of a "Welcome back"! You guys rock, recognition right there!!!

rainless

  • Member
  • ***
  • Posts: 152
  • Don't Leave Without Pictures
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #23 on: April 23, 2014, 07:44:00 PM »
Deliriously happy about this.

Great job!
The Gear - Canon 5D Mark II, Yongnuo 565EX flash, PhotoSel 3mx3m backdrop stand with 3mx3m muslin backdrops. Elinchrom D-Lite 4 it studio lights, some big-ass 110cm reflector. Unlimited German Models

pilgrim

  • New to the forum
  • *
  • Posts: 49
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #24 on: April 24, 2014, 12:04:36 AM »
Big and happy news  :) :) :)
Lightworks (one of the very good editing program and free, and use by many Hollywood movies like Mission Impossible 4, King's Speech, etc) use ffmpeg also, which make them possible to edit many format directly without necessary MPEG Intra. I try to edit directly H264 from the camera or ProRes nicely.
So maybe soon we will edit MLV file on timeline. Of course, the hardware will be very demanding but with the mode OFFLINE first editing and switch to ONLINE on final editing that will be sweet.
A big leap  :) :) :)

piloui

  • New to the forum
  • *
  • Posts: 19
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #25 on: April 24, 2014, 12:13:21 AM »
Yeah, MLV and ML are becoming a reference !
Does this mean native support in software like adobe suite ? No dng extraction and no intermediate conversion would be a huge time gain !


Malex

  • Freshman
  • **
  • Posts: 93
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #26 on: April 24, 2014, 12:42:34 AM »
Bravo! Nice move! Playing .mlv with vlc sounds cool, can't wait.

Does this mean native support in software like adobe suite ?
Nope it doesn't mean that, we all are considered a little group of hackers by Canon and Adobe, there will be no support for mlv in Adobe's softwares, except from 3th party plugin maker maybe. If one day they do support .mlv I'll give away my 5DIII!
My only hope is better Cdng support for Premiere & Speedgrade in the next update.

painya

  • Senior
  • ****
  • Posts: 321
  • 6d 50d 550d 5dc
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #27 on: April 24, 2014, 01:27:22 AM »
Bravo! Nice move! Playing .mlv with vlc sounds cool, can't wait.
Nope it doesn't mean that, we all are considered a little group of hackers by Canon and Adobe, there will be no support for mlv in Adobe's softwares, except from 3th party plugin maker maybe. If one day they do support .mlv I'll give away my 5DIII!
My only hope is better Cdng support for Premiere & Speedgrade in the next update.
Makes sense, I'd love to see an ffmpeg powered plug in.
Good footage doesn't make a story any better.

chmee

  • Contributor
  • Hero Member
  • *****
  • Posts: 1031
  • raw2cdng
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #28 on: April 24, 2014, 09:04:49 AM »
ffmpeg is called in german a "eierlegende Wollmilchsau" (jack of all trades device?!) - but its not that fast, it can provide a importer/wrapper for premiere. No, i dont see any real advantages for the adobe-world, the next update will give us some prove, if adobe does a good job in cdng-things. (i believe in that)

Toffifee

  • Member
  • ***
  • Posts: 104
  • 5D Mark III Happy tester
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #29 on: April 25, 2014, 02:08:16 PM »
Awesome news!

PTRush

  • New to the forum
  • *
  • Posts: 6
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #30 on: April 25, 2014, 04:40:24 PM »
Imagine a converter that would transcode to R3D. Now that would be golden!!!

Toffifee

  • Member
  • ***
  • Posts: 104
  • 5D Mark III Happy tester
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #31 on: April 26, 2014, 03:10:38 AM »
I thought R3D is copy right protected by Red?

Midphase

  • Hero Member
  • *****
  • Posts: 712
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #32 on: April 26, 2014, 05:48:02 AM »
R3D is a variant of JPEG2000, but yes, it is protected and RED is notoriously litigious.

meditant

  • New to the forum
  • *
  • Posts: 42
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #33 on: May 09, 2014, 04:14:28 PM »
Where can i find a compiled version for mac os x with mlv support, i try somes ffmpeg for mac os x but none can decode mlv ?

Best regards

ch_d

  • Freshman
  • **
  • Posts: 99
  • 5D MII
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #34 on: May 17, 2014, 02:06:18 PM »
Where can i find a compiled version for mac os x with mlv support, i try somes ffmpeg for mac os x but none can decode mlv ?

Best regards

+1
5D MII

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3154
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #35 on: May 17, 2014, 02:21:08 PM »
the nightly build of ffmpeg already can play .mlv videos using ffplay

if there are no nightlies for osx, then you should either compile it yourself or wait.
as it isnt finished yet, its just for developers/experienced users anyway.
Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: paypal@g3gg0.de
ONLY donate for things we have done, not for things you expect!

Toffifee

  • Member
  • ***
  • Posts: 104
  • 5D Mark III Happy tester
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #36 on: May 17, 2014, 07:42:52 PM »
This will eventually creep it's way into VLC, correct?

budafilms

  • Hero Member
  • *****
  • Posts: 711
  • 5D Mark a1ex
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #37 on: May 17, 2014, 08:04:46 PM »
Creep is a song of Radiohead.

tin2tin

  • Member
  • ***
  • Posts: 157
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #38 on: June 16, 2014, 05:38:41 AM »
Any news on the MLV implementation in ffmpeg?

tin2tin

  • Member
  • ***
  • Posts: 157
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #39 on: September 27, 2014, 12:34:27 AM »
Apparently not much has happened since the initial implementation back in April:
https://git.videolan.org/?p=ffmpeg.git&a=search&h=HEAD&st=commit&s=mlv

AWPStar

  • Senior
  • ****
  • Posts: 411
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #40 on: October 21, 2014, 06:55:36 PM »
Got APPCRASH in ffmpeg. win 7 64. Any builds with any date, 64 and 32 bits. FFPlay is working fine.
MLVProducer. p.s. sorry for my bad english.

escho

  • Contributor
  • Hero Member
  • *****
  • Posts: 561
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #41 on: November 02, 2014, 11:18:29 AM »
Just for info:
I updated the ffmpeg-version to 2.3.3. and tried it with MLV.
- ffplay plays the MLV
- ffmpeg decodes MLV to avi (for example)
Both, ffmpeg and ffplay- output is very dark, maybe I must try to use the EQ-filter.
Edgar
https://sternenkarten.com/
600D, 6D, openSUSE Tumbleweed

gnarr

  • New to the forum
  • *
  • Posts: 44
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #42 on: November 11, 2014, 07:32:57 PM »
it's the same for me, but it only outputs the first few frames and then loops them. The sound sometimes plays on, but usually it loops with the video. It's all dark and clearly not working right.

AWPStar

  • Senior
  • ****
  • Posts: 411
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #43 on: February 25, 2015, 07:16:05 PM »
Did ffmpeg guys some steps to improve quality? i remember it was pretty cheep.
MLVProducer. p.s. sorry for my bad english.

domasa

  • Freshman
  • **
  • Posts: 98
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #44 on: May 30, 2015, 01:32:33 AM »
How can I play *.raw video from 5D2 (not *.mlv)?

This does not work:
Code: [Select]
ffplay.exe -f rawvideo -video_size 1792x1008 -framerate 25 video.raw(Source: https://www.ffmpeg.org/ffmpeg-formats.html#rawvideo)

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3154
Re: FFMPEG now officially supports Magic Lantern Video
« Reply #45 on: May 30, 2015, 09:42:37 AM »
it only has rudimentary support for MLV
Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: paypal@g3gg0.de
ONLY donate for things we have done, not for things you expect!