FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
FF...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
Ho...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
Ho...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
At...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
At...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
JP...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
FF...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
FF...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
FF...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
FF...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
FF...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
FF...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
FF...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
FF...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
FF...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
FU...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
FU...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
FU...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
Ch...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
Ch...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
Fr...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
Fr...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
Fr...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
Fr...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
Fr...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
Fr...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
Fr...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
FF...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
FF...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
So...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
Ro...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
Ro...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
Ro...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
Le...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
Th...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
FF...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
Th...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
- ...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
Ab...
FFmpeg’s FFV1
lossless video
codec
Peter
Bubestinger
Intro
FUD
Challenges
FS Super Powers
Romance
Conclusions
Happy End
Li...
Upcoming SlideShare
Loading in …5
×

Peter Bubestinger - A Free Software success story

677 views

Published on

FFmpeg’s FFV1 lossless video codec: A Free Software success story

Published in: Technology
1 Comment
1 Like
Statistics
Notes
  • What does it take to create a 3rd party codec for Final Cut Pro? Unless Apple actively prevents that (either due to technical or financial obstacles), I would say that this is key to making FFv1 a success.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total views
677
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
13
Comments
1
Likes
1
Embeds 0
No embeds

No notes for slide

Peter Bubestinger - A Free Software success story

  1. 1. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End FFmpeg’s FFV1 lossless video codec A Free Software success story Peter Bubestinger 09. May, 2015 1 / 40
  2. 2. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End How did all this begin. . . ? 2 / 40
  3. 3. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End How did all this begin. . . ? We needed something that works. . . 3 / 40
  4. 4. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End At the end of 2009 Who is “we”? The Austrian National A/V Archive (¨Osterreichische Mediathek) a wanted to digitize video for long-term preservation. a http://www.mediathek.at/ For audio it’s clear: Format is uncompressed(=lossless) PCM (WAV). We just applied the same requirements to video. But uncompressed was not an option (too huge!) 4 / 40
  5. 5. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End At the end of 2009 So how do others archive video professionally? The situation we found: Majority uses lossy codecs: IMX, ProRes, MPEG-2, MPEG-4 Industry proposed format: JPEG2000-lossless/PCM in MXF One existing product: FrontPorch Digital ”Samma” Issues with: Access, interoperabilty and transcoding of produced files (Even between different versions of same vendor) 5 / 40
  6. 6. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End JPEG2000 A jack-of-all-trades video codec The industry proposed format: Official ISO standard (lossy and lossless) Very few, but “maybe-compatible” implementations. (Except for ”libopenjpeg” all are proprietary) Industry focus on “lossy” mode Required special hardware for realtime with SD (Imagine HD-and-beyond...) Very small userbase Very few transcoder options: expensive, limited and slow Difficult to open/use/transcode the videos. Even now. 6 / 40
  7. 7. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End FFV1 Something that works. . . ? What we found “on the street”: Similar compression to JPEG2000-lossless. Faster than JPEG2000-lossless. Only lossless. By design. Reference implementation as Free Software. Included in any application using FFmpeg by default. 7 / 40
  8. 8. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End FFV1 Almost perfect. Almost. . . FFV1’s properties in 2009: Marked as “experimental” Only single-threading No bit-error tolerance/awareness Not standardized or documented Not known at all by professionals in A/V industry Even worse: It originated in the “Open Source community”. Yikes! 8 / 40
  9. 9. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End FFV1 Almost perfect. Almost. . . So the Mediathek got active: Marked as “experimental”: Contacting developer: He simply forgot to remove that remark :) 9 / 40
  10. 10. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End FFV1 Almost perfect. Almost. . . So the Mediathek got active: Marked as “experimental”: Contacting developer: He simply forgot to remove that remark :) Only single-threading: We funded improvement 10 / 40
  11. 11. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End FFV1 Almost perfect. Almost. . . So the Mediathek got active: Marked as “experimental”: Contacting developer: He simply forgot to remove that remark :) Only single-threading: We funded improvement No bit-error tolerance/awareness: We funded improvement 11 / 40
  12. 12. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End FFV1 Almost perfect. Almost. . . So the Mediathek got active: Marked as “experimental”: Contacting developer: He simply forgot to remove that remark :) Only single-threading: We funded improvement No bit-error tolerance/awareness: We funded improvement Not standardized or documented: Funded work in progress. . . (PREFORMA/MediaArea/IETF) 12 / 40
  13. 13. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End FFV1 Almost perfect. Almost. . . So the Mediathek got active: Marked as “experimental”: Contacting developer: He simply forgot to remove that remark :) Only single-threading: We funded improvement No bit-error tolerance/awareness: We funded improvement Not standardized or documented: Funded work in progress. . . (PREFORMA/MediaArea/IETF) It originated in the “Open Source community”: Actually, that’s a feature :) 13 / 40
  14. 14. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End FFV1 as preservation codec Are we alone. . . ? Of course, we had fears, uncertainties and doubts ourselves. . . So, here’s what we did: Double checked FFV1’s long-term sustainability Tested its implementation. Big time! Documented its usage Organized and funded improvement Started using it in-house 14 / 40
  15. 15. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End FFV1 So we “outed” ourselves and told others. . . What we encountered was: Fear, Uncertainty and Doubt. . . 15 / 40
  16. 16. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End FUD Fear, Uncertainty and Doubt. Fear: Can it be any good if no professionals are using it yet? Is it really mathematically lossless? Will I be able to open it in the future? Will we be alone when we use it? 16 / 40
  17. 17. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End FUD Fear, Uncertainty and Doubt. Uncertainty: Why didn’t the “big players” pick it up? It’s not an official standard. Which applications support it - now and in the future? OpenSource is nice Freeware, but what about its quality? 17 / 40
  18. 18. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End FUD Fear, Uncertainty and Doubt. Doubt: Open Source community can’t come up with something as-good-as, or even better than “The Industry”. Most production- and broadcasting facilities do lossy (IMX, ProRes, etc) - or use JPEG2000-lossless. “If it’s free, it can’t be any good” It’s too cheap. We want the expensive/limited stuff! 18 / 40
  19. 19. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End Challenges Perception and politics: Image and “word on the street” more important for decision-makers than technical proof/properties. Any proprietary solution preferred if professional, big institutions use it - even if “problematic”. Preservability “promised” by paper more important than “guaranteed” by Free Software licensing. Preferred to have companies behind it. “Nobody ever got fired for buying IBM” 19 / 40
  20. 20. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End Challenges The FFmpeg/LibAV fork: FFV1 originated as in FFmpeg, invented by its project leader ”Michael Niedermayer”. Slight ”stress” between these 2 projects. Support of new versions of FFV1 in LibAV? Disastrous if FFmpeg/LibAV had been proprietary competitors. 20 / 40
  21. 21. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End Free Software Giving super-powers to ordinary human beings since 1989! Classical user perception: Use as-is and wait/hope for vendor to implement things. . . The “4 Freedoms”: to use, study, share and improve: Picked up FFV1, nourished and charished it: Mediathek using FFV1.1 for preservation/production since 2011 FFV1.3 released in August 2013 Solved our problem = Result is free for everyone else to use! Collaboration rather than competition FFV1: Another proof what Free Software makes possible 21 / 40
  22. 22. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End Free Software Giving super-powers to ordinary human beings since 1989! Incredibly effective use of resources: Now anyone is able to digitize and archive video at same (or better) quality, previously only available to large-budget institutions. A handful of decentralized developers created a solution matching or outperforming a million-dollar industry. Pay for what you actually need. No business investment overhead. Now, lossless video playback/editing possible on off-the-shelf consumer PC hardware. 22 / 40
  23. 23. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End Free Software 4 freedoms = virtual immortality Free Software guarantees access and preservability: No forced format obsolescence Preserving actual source code of tools used to open/create formats = archiving schematics and parts of recording/replayer unit. (Interoperability) issues can be fixed. No black-box reverse-engineering + workarounds necessary. Tech-internals and development transparent and accountable 23 / 40
  24. 24. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End Free Software 4 freedoms = virtual immortality Even if source won’t compile “as-is” in the future, making it work is possible without artificial restrictions. Access/transcode formats: Regardless of user-base size or market interests. 24 / 40
  25. 25. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End Free Software 4 freedoms = virtual immortality Even if source won’t compile “as-is” in the future, making it work is possible without artificial restrictions. Access/transcode formats: Regardless of user-base size or market interests. Even with “Unknown Future Technology 3000 TM ” 25 / 40
  26. 26. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End Free Software 4 freedoms = virtual immortality Even if source won’t compile “as-is” in the future, making it work is possible without artificial restrictions. Access/transcode formats: Regardless of user-base size or market interests. Even with “Unknown Future Technology 3000 TM ” Or alien hardware ;) 26 / 40
  27. 27. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End Free Software 4 freedoms = virtual immortality Even if source won’t compile “as-is” in the future, making it work is possible without artificial restrictions. Access/transcode formats: Regardless of user-base size or market interests. Even with “Unknown Future Technology 3000 TM ” Or alien hardware ;) Or just other CPU-architectures, compilers or programming languages. 27 / 40
  28. 28. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End FFV1 success story How Free Software made this possible To name just a few: Without the “4 freedoms”, using FFV1 for preservation would be a no-go. Improvements and usage possible without artificial restrictions. No vendor dependence. Free choice of (local) developers. Automatically supported by other applications using Free Software libraries (FFmpeg, LibAV) Adaptations to local environment possible. . . . and many more! 28 / 40
  29. 29. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End FFV1 success story How Free Software made this possible To name just a few: Without the “4 freedoms”, using FFV1 for preservation would be a no-go. Improvements and usage possible without artificial restrictions. No vendor dependence. Free choice of (local) developers. Automatically supported by other applications using Free Software libraries (FFmpeg, LibAV) Adaptations to local environment possible. . . . and many more! btw: Even proprietary vendors can benefit from that. 29 / 40
  30. 30. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End So far, so good. . . But: Where’s the romance? 30 / 40
  31. 31. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End Romantic aspects Just like in the good old days. . . Developers are proud of their work: Personal engagement in supporting and improving their creation. Creating solutions for people, rather than “the market”. You can talk with the actual persons creating the product. It makes using and dealing with software products more personal. Professional, handmade quality 31 / 40
  32. 32. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End Romantic aspects Just like in the good old days. . . Developers are proud of their work: Personal engagement in supporting and improving their creation. Creating solutions for people, rather than “the market”. You can talk with the actual persons creating the product. It makes using and dealing with software products more personal. Professional, handmade quality Well, I’d say that’s pretty romantic ;) 32 / 40
  33. 33. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End Romantic aspects Open collaboration rather than competition Innovation powered by humans, rather than faceless corporations. Who made lossless video as awesome as it is now: Michael Niedermayer Hermann Lewetz Dave Rice Carl-Eugen Hoyos J´erˆome Martinez Luca Barbato Georg Lippitsch Christophe Kummer Christoph Gerstbauer and others of course. . . 33 / 40
  34. 34. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End Lessons learned 34 / 40
  35. 35. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End Things we’ve learned That also apply to other Free Software solutions User perception is of great importance: Graphical UI tools / Fear of commandline Noone wants to be “The First” Layout/sexyness of a website is important: Cheap looking website = impression of low quality product Documentation: “Use the force, read the source” equals “No documentation” Ease of access (Make a huge ”Download!” button :)) Option of support and setup as paid service. Public funding: Commercially focused innovation preferred. 35 / 40
  36. 36. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End FFmpeg’s FFV1 lossless video codec A Free Software success story Success of FFV1 contributed to: Improved image of Free Software (Open Source) for professional use-cases. Increased awareness of benefits of Free Software. Increased sensibility for vendor lock-in. Less FUD when choosing Free and Open solutions. And many more. . . 36 / 40
  37. 37. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End This is just one example. . . The role of the FSFE The FSFE is enabling others to do the same, by: . . . decreasing FUD regarding Free Software. . . . encouraging others to develop and use Free Software. . . . talking to decision makers. . . . providing legal advice. . . . promoting importance of Free Software & Open Formats. . . . etc. 37 / 40
  38. 38. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End - Fin - 38 / 40
  39. 39. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End About FSFE The “Free Software Foundation Europe” is an independent, non-profit organisation which is actively supporting Free Software mainly in Europe, but also worldwide. In order to secure fair and equal access for anyone to the information-society, it is important that everyone has the freedom to use, study, share and improve software. FSFE’s goal is, to improve the understanding and support for Free Software by being getting active in public, politics and laws. www.fsfeurope.org 39 / 40
  40. 40. FFmpeg’s FFV1 lossless video codec Peter Bubestinger Intro FUD Challenges FS Super Powers Romance Conclusions Happy End License Thanks a lot for your attention! This presentation is available under a Free license: Some rights reserved... Creative Commons Attribution Share-Alike (CC-BY-SA) . . . so, you can use, study, share and improve this presentation, if you want to ;) 40 / 40

×