FFhistory: zeal and passion

January 7th, 2023

Before moving to people who have contributed greatly to the functionality of the project let’s talk about the two people who have made an extremely large impact on the perceived image of FFmpeg. Of course I’m talking about Diego Biurrun (the passionate one) and Carl Eugen Hoyos (the zealot).
Read the rest of this entry »

FFhistory: early contributors

January 5th, 2023

There are still many prominent people worth separate posts but for now I’d like to give a shout-out to the various developers (mostly coming from MPlayer) who worked on FFmpeg before 2006. Why 2006? This was a time when the project started participating in Summer of Code program that drew some students in. Plus 2005-2006 was the time when a lot of video hosting sites were found (a couple of them even surviving to this day) and you can guess what technology they started to use…

So here’s the list and remember: if somebody is not listed here that means he is likely to appear in some other post. I’ll try to add some description of the work but in many cases if I have nothing to say assume it’s “provided bugfixes, tried to improve things and so on”.
Read the rest of this entry »

FFhistory: Michael Niedermayer

January 3rd, 2023

And now is finally the time when we should discuss the man who made FFmpeg into what it is today: large, successful and toxic mess. The man who was the project leader for a long time and definitely-not-project-leader since. Of course I’m talking about Michael Niedermayer.

Read the rest of this entry »

FFhistory: hosting and admins

January 1st, 2023

As I mentioned in the prologue, not so long after FFmpeg went public it was spotted by MPlayer which offered developers, hosting and after a while the project was fully migrated from from SourceForge to mplayerhq.hu.

So the people responsible for hosting and administration of the server played a very important role in FFhistory. Here are the people I can think of:

  • Árpi (Árpád Gereöffy, the creator of MPlayer);
  • Diego Biurrun;
  • Reimar Doeffinger;
  • Janne Grunau (mostly a co-admin in libav times);
  • Dr. Attila Kinali;
  • Michael Niedermayer (has to do it since the times FFmpeg went independent);
  • Måns Rullgård (he’s also responsible for hosting almost all of non-x86 FATE machines and overall FATE infrastructure).

IIRC the hosting story went like this: at first Árpi was hosting and administrating everything, then he retired leaving the server in care of Biurrun-Kinali-Rullgâ triumvirate. The provider switched from a Hungarian one which owned favours to Árpi to a Swiss one that owned favours to Dr. Kinali. After the split FFmpeg had to search for a new hosting as the admins stayed with libav, so for a while Árpi managed to provide it. Eventually though he could not do it any longer and some Bulgarian ISP stepped in and the server is managed by another group of ex-MPlayer developers. Additionally Git hosting for FFmpeg is provided by VideoLAN (somewhat because of the split and fight for the project name).

Most of these people have contributed to the project more in various other roles so I’ll talk only about the two of them—Árpi and Attila.
Read the rest of this entry »

Ukrainian Christmas

January 1st, 2023

Ukraine has a long and tumultuous history and there are actually four different dates which essentially serve for Christmas celebration:

  • December 19—Saint Nicholas Day (Julian calender). Instead of putting presents into socks later, St. Nicholas sneaks them under pillows while children are sleeping. Very popular in the Western Ukraine;
  • December 25—Christmas by Gregorian calender. Not that popular but it’s slowly gaining popularity thanks to the actions of russia;
  • January 7—Christmas by Julian calender. Traditional for the Eastern Orthodox Christian Church (though many people would gladly celebrate it on both dates);
  • and the 1st of January—the date selected by Soviet Union to replace Christmas celebrations with something secular. But now it’s getting a very different meaning…

In the year 1909 on the very first day of January a boy was born in a small Ukrainian village (then under Austro-Hungarian rule). He has not managed to do enough yet his deeds made him a religious figure, feared in russia and (mostly for that reason) praised in Ukraine. Of course I’m talking about Stepan Bandera.

His biography can be condensed to this: he was born in a Ukrainian priest family with a history of cultural and political activism, so it was natural for him to join political movements that were fighting for the independence of Ukraine; later he became an important member of the Organisation of the Ukrainian Nationalists. After the internal disagreements OUN was split into two wings named after their leaders—Melnyk and Bandera. Bandera’s OUN was also called OUN-R(evolutionary) since they believed that Ukrainian independence can be won only through war (as 2022 demonstrated, they were right). In order to achieve that goal OUN-B cooperated with National-Socialistic Germany against International-Socialistic USSR and on the 30th of June 1941 they tried to declare the restoration of Ukrainian state. Germans tolerated puppet states on Yugoslavian territory but not here, so many of the Ukrainian activists were arrested and put to prisons—including Stepan Bandera himself who was at the same concentration camp as Andriy Melnyk. Couple of years later he was released in hope that he could be useful in fighting against USSR. He remained in Germany and was involved in political activism until the assassination by a KGB agent in 1954.

So what was his main contribution that made him immortal? Making OUN-R into an organisation that formed Ukrainian Insurgent Army and fought against Soviet occupation until late 1950s. Of course Soviet propaganda made them all into arch-enemies and in this way preserved his name for the future generations. Similarly Ukrainians started to perceive the same things as something good and accepted this new Bandera identity.

I called Stepan Bandera a religious figure because most of the people who use his name have no idea who he really was, what he has done (beside abstract “fought for Ukrainian independence”) or what his views are. russians fling Banderite as an insult at anybody speaking Ukrainian (which should be a giveaway for their chauvinism already), some still believe he’s alive (so how is this not a religion?). But if you look at his actual views (or what is passed for them), you’ll see that they were adopted in USSR and russia (single-party state with the leading role of one nation) but not Ukraine (actually even back in the 1940s Ukrainian Insurgent Army ditched them already). Now throw in the fact that his birthday in still a state holiday in russia and you’ll see a religion in forming.

Слава Україні! Героям слава!

FFhistory: Fabrice Bellard

December 30th, 2022

The first time I encountered his work was (then unknowingly to me) when I found out that INSTALL.EXE from Sierra quest was packed with LZEXE. And a couple of years later while looking at all the packages some Mandrake Linux distribution I’d encountered a package called ffmpeg that could transcode various newer formats (it was also the time when I got a first DiXV 3 movie rip and the only players I had could play MPEG-1 at best). And I’d kept encountering his name in random places…
Read the rest of this entry »

FFhistory: prologue

December 26th, 2022

Before talking about people in history of FFmpeg and libav it’s worth making an outline of the whole history. After all, personal histories are related to the global events in the project.

As you know, FFmpeg was started by Fabrice Bellard under a pseudonym Gerard Lantau exactly twenty two years ago. Why a pseudonym? Probably because back in the day it was too easy to get sued by patent holders but I may be wrong. Initially it was hosted on SourceForge (which had an affectionate nickname SourceForget thanks for the various outages and failures it had) but after several years it moved to a different hosting (somebody said that after the move the traffic to SourceForge dropped by third).

And thus the era of FFmpeg in MPlayer began (it ended for good rather recently when after different perturbations Árpi could not provide hosting and some Bulgarian provider stepped in). And it was not just hosting, there were some MPlayer-specific code hacks inside (starting from fastmemcpy to libpostproc). More importantly, MPlayer has provided a lot of developers that have been playing a very important role since—like Carl Eugen Hoyos or Michael Niedermayer. The latter became the project leader as FFabrice stopped contributing actively in 2005 or so, he had other awesome projects to work at.

I consider the time of about 2003-2009 the golden age of FFmpeg: new developers, new features, fast growth and so on. Some people drifted in because they wanted to fix some encoding or decoding problem Summer of Code program participation started in 2006, so various students came in and usually left (very few stayed).

Then the consequences of fame started to sink in: FFmpeg became a recognized solution used in the enterprise so more developers were coming with patches to support various enterprise stuff (like broadcasting-specific containers) and disagreements with the project management style were rising (like migrating to Git, having regular releases instead of sticking at 0.4.9pre1 and—the unthinkable—throwing out some outdated features). So the split happened and after the period of initial confusion libav was born.

The following period was a war of FFmpeg against libav, no points for guessing which project won it (I think mostly to the efforts of Carl Eugen, hence I call the project of this period CEmpeg). But in the course of it changed a lot in order to win more popularity with the Linux distributions (and to be able to merge changes from libav).

Yet this was the beginning of its end. As I said before, now the development is mostly bugfixes and updates for various wrappers (both for hardware and software codecs) plus filters (do we really need another gstreamer?). A certain Jean-Baptiste from VideoLAN project undertook a valiant effort to reform FFmpeg by introducing a clearer structure for resolving technical arguments and tried to finally get proper funding from those large companies using the software but so far jbmpeg seems like a mostly failed effort to me, both from the financial and the organisational point of view.


Now with all this context it should be easier for me to talk about the roles of individual developers and other people whose work was important for the project (like compn or Piotr Bandurski) as they would fit somewhere on the timeline and not act in vacuum.

End of history

December 25th, 2022

So libav.org is no more (and probably nobody has noticed that). From what I heard the server was essentially a dead weight so the provider (who hosted it for free) did not want to keep it running for nothing. And with this the story of Libav ends for good. And while FFmpeg/MNmpeg/CEmpeg/jbmpeg (the naming should become clearer in the course of the following posts) seems to have active development, it’s essentially dead too. Remember, dinosaurs went extinct not because of a single catastrophic even but because they’ve been phased out gradually for their inability to adapt. Originally FFmpeg was one of the tools to support popular formats in opensource (but who remembers libquicktime or avifile nowadays?), slowly becoming the tool and then turning less and less relevant as the multimedia zoo of formats people care about shrunk down to essentially two families (MPEG and Xiph+Baidu), video decoding and encoding being done in hardware and newer codecs supported in jbmpeg not natively but in the wrappers.

This seems to me as a good point to start a series of posts about different people in FFmpeg and Libav history and their impact on it, both good and bad. It may be not complete or unbiased but it should serve at least as a starting point for those curious enough and show it was not just Fabrice Bellard and Michael Niedermayer responsible for the greatness of the project but there were many others as well—and they all had various deficiencies that affected the project in a bad way too. To give an example, how many of you remember the close ties between MPlayer and FFmpeg? How many of you remember such names as Alex Beregszaszi or Justin Ruggles? How many of you know which of three Mikes of the project reverse engineered Windows Media Video 8, which one contributed just small patches and which one is responsible for the test system?

So while I’m still remembering at least some of these details, I should write it down before it’s lost to the winds of time.

What does it matter?

December 23rd, 2022

This question is a translation of russian “какая разница?” (which literally means “what is the difference?” or “is there a difference at all?”) but it has two appalling meanings in russian.

The legend says that after russian empire occupied Western Ukraine (probably in XVIII century), some Ukrainian representatives came to the official governing the region and asked for giving Ukrainian language a higher status, for example make official announcements in Ukrainian. The governor asked them if they understand russian language and after they said yes he asked what does it matter then which language to speak. Since those times the question is used as a marker of russian chauvinism (and of course a narrative that russians push): why should local languages and culture matter if the colonised nations understand russian?

The other meaning is for the everyday use. In this case it means “this thing is trivial and not worth discussing, so let’s forget about it”. Of course it’s often used to evade the blame or at least an inconvenient question as in “—Who broke the window? —What does it matter, we should think about replacing it.”

So why I’m writing about it? A third meaning to the phrase seems to appear and it does not serve their agenda this time. I follow the news related to the war and a good deal of them are about russian officials making inane claims, saying outright lies and spitting completely unscientific bullshit. And usually their newer statements contradict previous ones so you either need to have the memory of a goldfish or be well-trained in doublethink to believe them. So what does it matter what they say? After all this time the only thing that should be taken into account is their actions and what they said should interest only the judges at the future tribunal.

X is outside politics

December 17th, 2022

Yesterday russia had another missile strike on Ukrainian territory, leaving some cities without electricity, heating and water for a day. As expected from a terrorist state. But here I’d like to talk about all those spineless people and organisations that keep supporting russia indirectly by not expelling it because “X is outside politics”.

Nowadays the phrase “X is outside politics” where X is arts, sport, video games or whatever is mainly used as an excuse to do nothing against entities using that thing exactly in political reasons. Kinda like it is made to be outside politics by some natural force and nothing can change it—instead of keeping it outside politics. It is like saying that gas and oil are outside politics and ignoring all the conflicts that have happened in order to control its sources and transport let alone russian blackmail attempts where they drop prices and increase shipped volumes for their allies (like Hungary) and cut it off for the countries not agreeing to their political demands (like Poland or Ukraine).

And yet there are people claiming that other things are outside politics so you should not e.g. boycott russian art just because russians have started genocidal war and in their majority approves it (even if they don’t want to fight in it themselves).

Art

People forget that back in the day creating art was a long and costly process, so works of art were usually commissioned by wealthy people directly (or created to suit their taste in hope the potential patron will reward the creator for dedicating such work in his honour). Of course that meant that such works were often created in a biased way to either flatter the person or to push the favourable narrative. And the creator usually could spin own views into the book (a classic example: La Divina Commedia is famous not only for synthesising various beliefs on afterlife into a single system but also for its author’s views on his political opponents, some being placed in Hell already while they were still alive during the writing of the book).

Now take into account that the state can manipulate the works of art in its own interests—encourage art on a certain theme (like the various scenes from happy lives of Soviet workers and peasants), outlaw and destroy art that does not conform to certain criteria (there are many countries where mentioning LGBT+ themes is outlawed and when such laws are passed a lot of previously “outside politics” works become criminal offences). The work of art may be an abstract thing, but its creator is a human person that lives in a society and has to obey the rules (or suffer the consequences) let alone subtler filter bubbles created by the state (for example, there has nothing happened on 5th of June 1989 at Tiananmen Square, most of Lenin’s comrades were unpersons and Oceania has always been at war with Eastasia). And of course nothing prevents the state from taking those works of art and repurposing them later, giving new context and meaning (as I said previously, almost every russian symbol, starting with the country name itself, is stolen from elsewhere).

Ballet and gymnastics

One would wonder how such rather abstract forms of arts can serve political purposes. Like with sports (which is discussed below), it can be used as propaganda for outside usually pretending on peacefulness (“look, such refined people can’t be bad”) and for inside to unite the people behind something (“look, our performers are recognized in the whole world, we’re the greatest nation”).

Soviet Union used ballet for such purposes to the point that it got a memetic status (“…and as for ballet, we’re better at it than the rest of the planet”). North Korea has a mass gymnastics show called Arirang which is for impressing people how large North Korean collectives act like one person.

Dramatic art and literature

This is probably the most obvious example but Italian and European Commission officials do not understand it.

As mentioned above, plays and books are often written with some explicit political goals (even if they’re a good reading after all those centuries like Jonathan Swift’s), some works simply comprise political views of their authors even if it’s not the main objective (sometimes it’s just a passing remark on a group of people the author dislikes, but it’s still there). And of course the work can be repurposed later.

Soviet Union initially tried to push for the internationalism, the brotherhood of all people and so on, but after the attempts to expand have mostly failed (some countries were conquered but not the whole of Europe or Asia let alone Americas) they switched to the old rhetoric equalling USSR to a new russian empire (i.e. bringing civilisation to the outskirts, being the guide who knows the way to the future and other bullshit) while condemning it (for having a czar and not Polutburo as the ruler). This means that most of pre-1917 russian classics could be used not just to demonstrate how bad was life for a common peasant (alluding it has improved greatly under Soviets) but also the old rhetoric about empire, its strength and defeating the enemies could be used almost verbatim as well. And new works had to conform the so-called party line (the current outlook on the internal and external politics) otherwise it would not be published.

Now let’s look at the other parent of modern russia. Beside creating some of the best propaganda pieces, Nazi Germany has repurposed a lot of past art to its goals. The famous Deutschlandlied (the one that starts with words “Germany, Germany above all, above everything in the world”) was created in times of disunited German kingdoms, duchies and counties and the idea was that they all should unite to one single Germany instead of having petty squabbles between each others—and you know how those words are perceived after 1939. Richard Wagner created his operas because he was interested in the German past and writing epic music with no connection to the modern days (beside maybe some jabs at critics) and that’s why the Bavarian fairytale king supported him—but you know how his music was used in 1930 and what associations it brings now. One of the books by Strugatsky brothers contains the following passage about Nietzsche: “He was a great poet but he was very unlucky with the fans.” And indeed, Friedrich Nietzsche wrote his philosophical works about individual men, how they should cope with the unwelcoming world and strive to become better—so when his idea of superhuman (in moral sense) were adopted by Nazis they still remained outside politics, didn’t they?

Video games

Video games are a work of art too (even if not all) and in many cases they tell a story and have a setting. So some games may push a certain narrative by having a “proper” version of history, “properly” behaving parties and so on. For example, Company of Heroes 2 had hostile reception in russia because you could commit the same atrocities with Soviet soldiers as in real life (like in East Prussia) and in russia they believe that there were no such things (the same way as they don’t want to hear about Bucha or Izyum now).

And considering how russian dictatorship controls all mass media, do you think they won’t try to “convince” game studios (with both money and threats of criminal prosecution) that they should make more “patriotic” games?

Sport

The Olympic games were initially conceived as apolitical competitions (that’s why Greek city-states even stopped fighting during the games). When they were revived in 1896, they tried to preserve the spirit—and then 1936 Summer Olympics happened.

Nazi Germany saw it as an opportunity to demonstrate its power and superiority of its people. In a sense it was the first modern Olympics and not just for the technical details: initially it was a competition between individuals for the sake of promoting sports and chivalrous rivalry. Afterwards it became a canonical show-off for a hosting country and it was state-sponsored teams taking part and not amateurs who trained at their own expense.

Consider the following: in the last decades hosting an Olympics (or often any other large sports event) does not bring profit to the hosting country (especially considering how the objects that had to be built to conform to the newer IOC standards are too large for any domestic use afterwards and have to be either demolished or maintained without a meaningful return). So the hosting country should be a wealthy country willing to throw away money for what? For prestige and show-off. That’s why nowadays large sports events happen in countries with dubious reputation (like Temporary Occupied West Taiwan, Qatar, russia or South Africa).

And you should remember the doping scandal for 2014 Winter Olympics—if the government used its state security in order to organise mass cheating at doping, do you think it hadn’t treated winning at the games as political goal?

There’s another fun fact: for both russia and Temporary Occupied West Taiwan the majority of males in their teams are not merely people training at the state expense, they are also on active military duty. There may be many possible explanations but some state politics is involved there as well.

So you may see all those sports events as apolitical but certain countries do not—and they act accordingly.

Conclusions

I hope it’s clear by now that “X is outside politics” is merely a suggestion and not an inherent property. Something stays outside politics only as long as no party is using it for some political purposes.

In my previous lengthy rant I described how I moved away from russian culture even if I’d been exposed to it long and extensively. For other people, who did not grow up in russian colonies unlike me, it should be even easier.

Similarly, still admitting russians to international competitions of any kind is allowing them to keep spreading their narratives both inside and outside the country (at least russia has thought in advance and bought enough people in various sports committees to keep allowing them even if not under their own flag).

And if you’re still asking why—believing russian narratives is exactly what made this war so horrible, long and devastating (and sadly not for russia). And it enables other parties (like Temporary Occupied West Taiwan) to influence your decisions as well. After all, convincing your enemy that he’s lost already is a victory indeed.