<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mw.ludd.net/w/index.php?action=history&amp;feed=atom&amp;title=Draft%3AElixir%2FBite-sized_video_transcoder</id>
	<title>Draft:Elixir/Bite-sized video transcoder - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mw.ludd.net/w/index.php?action=history&amp;feed=atom&amp;title=Draft%3AElixir%2FBite-sized_video_transcoder"/>
	<link rel="alternate" type="text/html" href="https://mw.ludd.net/w/index.php?title=Draft:Elixir/Bite-sized_video_transcoder&amp;action=history"/>
	<updated>2026-08-10T12:33:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.0-alpha</generator>
	<entry>
		<id>https://mw.ludd.net/w/index.php?title=Draft:Elixir/Bite-sized_video_transcoder&amp;diff=27&amp;oldid=prev</id>
		<title>Adamw: Adamw moved page Elixir/Bite-sized video transcoder to Draft:Elixir/Bite-sized video transcoder</title>
		<link rel="alternate" type="text/html" href="https://mw.ludd.net/w/index.php?title=Draft:Elixir/Bite-sized_video_transcoder&amp;diff=27&amp;oldid=prev"/>
		<updated>2022-09-13T08:25:15Z</updated>

		<summary type="html">&lt;p&gt;Adamw moved page &lt;a href=&quot;/wiki/Elixir/Bite-sized_video_transcoder&quot; class=&quot;mw-redirect&quot; title=&quot;Elixir/Bite-sized video transcoder&quot;&gt;Elixir/Bite-sized video transcoder&lt;/a&gt; to &lt;a href=&quot;/wiki/Draft:Elixir/Bite-sized_video_transcoder&quot; title=&quot;Draft:Elixir/Bite-sized video transcoder&quot;&gt;Draft:Elixir/Bite-sized video transcoder&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:25, 13 September 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key testwiki-mediawiki-:diff:1.41:old-25:rev-27 --&gt;
&lt;/table&gt;</summary>
		<author><name>Adamw</name></author>
	</entry>
	<entry>
		<id>https://mw.ludd.net/w/index.php?title=Draft:Elixir/Bite-sized_video_transcoder&amp;diff=25&amp;oldid=prev</id>
		<title>Adamw: Adamw moved page Bite-sized video transcoder to Elixir/Bite-sized video transcoder</title>
		<link rel="alternate" type="text/html" href="https://mw.ludd.net/w/index.php?title=Draft:Elixir/Bite-sized_video_transcoder&amp;diff=25&amp;oldid=prev"/>
		<updated>2022-09-13T08:25:01Z</updated>

		<summary type="html">&lt;p&gt;Adamw moved page &lt;a href=&quot;/wiki/Bite-sized_video_transcoder&quot; class=&quot;mw-redirect&quot; title=&quot;Bite-sized video transcoder&quot;&gt;Bite-sized video transcoder&lt;/a&gt; to &lt;a href=&quot;/wiki/Elixir/Bite-sized_video_transcoder&quot; class=&quot;mw-redirect&quot; title=&quot;Elixir/Bite-sized video transcoder&quot;&gt;Elixir/Bite-sized video transcoder&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:25, 13 September 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key testwiki-mediawiki-:diff:1.41:old-22:rev-25 --&gt;
&lt;/table&gt;</summary>
		<author><name>Adamw</name></author>
	</entry>
	<entry>
		<id>https://mw.ludd.net/w/index.php?title=Draft:Elixir/Bite-sized_video_transcoder&amp;diff=22&amp;oldid=prev</id>
		<title>Adamw: add references section</title>
		<link rel="alternate" type="text/html" href="https://mw.ludd.net/w/index.php?title=Draft:Elixir/Bite-sized_video_transcoder&amp;diff=22&amp;oldid=prev"/>
		<updated>2022-09-11T21:04:26Z</updated>

		<summary type="html">&lt;p&gt;add references section&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:04, 11 September 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l33&quot;&gt;Line 33:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 33:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;TBD: explore.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;TBD: explore.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== References ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;references /&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key testwiki-mediawiki-:diff:1.41:old-21:rev-22:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Adamw</name></author>
	</entry>
	<entry>
		<id>https://mw.ludd.net/w/index.php?title=Draft:Elixir/Bite-sized_video_transcoder&amp;diff=21&amp;oldid=prev</id>
		<title>Adamw: First, unconvincing draft.</title>
		<link rel="alternate" type="text/html" href="https://mw.ludd.net/w/index.php?title=Draft:Elixir/Bite-sized_video_transcoder&amp;diff=21&amp;oldid=prev"/>
		<updated>2022-09-11T21:04:02Z</updated>

		<summary type="html">&lt;p&gt;First, unconvincing draft.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Background ==&lt;br /&gt;
Video files take up a surprising amount of disk space, so they&amp;#039;re almost always compressed in storage, and while being streamed over the Internet.  In many cases you&amp;#039;ll need to change the type of compression, generally known as [[W:transcoding|transcoding]], for example because video is stored in a high-efficiency, modern format but you want to provide it in a less efficient, more compatible, older format.  This process of changing compression takes even more disk space and loads of processing time.&lt;br /&gt;
&lt;br /&gt;
Choosing the compression parameters requires several advanced graduate degrees or you&amp;#039;ll end up with a huge and blurry mess.&lt;br /&gt;
&lt;br /&gt;
== A single use-case ==&lt;br /&gt;
Narrowing down to look at just one use for transcoding, Wikimedia Commons asks that uploaders use open and royalty-free formats,&amp;lt;ref&amp;gt;https://commons.wikimedia.org/wiki/Commons:Video#Video_formats&amp;lt;/ref&amp;gt; which is great unless your video is already stored in a patent-encumbered format like .mp4 or .mov file, the sad story for most of us.&lt;br /&gt;
&lt;br /&gt;
There are options!&amp;lt;ref&amp;gt;https://commons.wikimedia.org/wiki/Help:Converting_video&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem statement ==&lt;br /&gt;
Once a long time ago, I used the &amp;quot;easy&amp;quot; method, which involves uploading your video to the [https://video2commons.toolforge.org/ Video2commons] website.  It&amp;#039;s an amazing service to provide when it works...  Like I was saying, I uploaded one hour of video, waited a full day, and found that the job had failed.  I emailed some people, felt sad, and tried the upload again.  It worked, a day later.&lt;br /&gt;
&lt;br /&gt;
The more exciting method is to download a transcoder such as Handbrake, empty your trash can, and put some tea next to your laptop fan to warm up. &lt;br /&gt;
&lt;br /&gt;
== Why did it fail? ==&lt;br /&gt;
My anecdote is a decade old, and the emails were sent from a company account which I can no longer access, so rather than piecing together my faulty memories I&amp;#039;ll just make wild guesses.  Maybe a disk filled up, or my upload was truncated, or some safety rule kicked my job for taking too long.  Either way, this might be a programming thing that could be improved.  Halfway-processed jobs should be restartable.&lt;br /&gt;
&lt;br /&gt;
== Does it scale? ==&lt;br /&gt;
The cloud solution is a bit scary: if my transcoding took a day, what about all the other people trying to convert their videos?  There has to be some limit, beyond which we&amp;#039;re either waiting or rejected.  It&amp;#039;s also possible that the limit is set so high that the mob of people trying to upload videos to Wikimedia Commons can all be helped.&lt;br /&gt;
&lt;br /&gt;
System load graphs for the live Video2common service can be viewed publicly,&amp;lt;ref&amp;gt;[https://grafana-labs.wikimedia.org/d/000000059/cloud-vps-project-board?orgId=1&amp;amp;var-project=video&amp;amp;var-server=All&amp;amp;from=1662706247305&amp;amp;to=1662769637708 https://grafana-labs.wikimedia.org/d/000000059/cloud-vps-project-board?var-project=video&amp;amp;var-server=All]&amp;lt;/ref&amp;gt; but they&amp;#039;re a bit of an enigma.  It looks like it receives lots of small jobs, and is only occasionally used for longer videos.  It&amp;#039;s rare to see two long jobs overlapping.&amp;lt;ref&amp;gt;Here&amp;#039;s an example where [https://grafana-labs.wikimedia.org/d/000000059/cloud-vps-project-board?orgId=1&amp;amp;var-project=video&amp;amp;var-server=All&amp;amp;from=1662706247305&amp;amp;to=1662769637708 two jobs overlap].&amp;lt;/ref&amp;gt;  The usual pattern is that one user uploads many videos in a batch,&amp;lt;ref&amp;gt;https://commons.wikimedia.org/w/index.php?hidebots=1&amp;amp;translations=filter&amp;amp;hidecategorization=1&amp;amp;hideWikibase=1&amp;amp;tagfilter=OAuth+CID%3A+394&amp;amp;limit=500&amp;amp;days=30&amp;amp;title=Special:RecentChanges&amp;amp;urlversion=2&amp;lt;/ref&amp;gt; and then hours might pass until the next user jumps on.&lt;br /&gt;
&lt;br /&gt;
== Reality check: don&amp;#039;t use the cloud ==&lt;br /&gt;
I arrogantly imagined that I would write a &amp;quot;better&amp;quot; cloud thing which wouldn&amp;#039;t fail so surprisingly, but I forgot to question the cloud concept itself.  Before considering the questions, or actually programming or reading more about the existing tools, I called my friend T——, who knows video.  She explained that normal people just use Handbrake, and more importantly, it&amp;#039;s irresponsibly inefficient to upload video and download it again, especially if you&amp;#039;re starting with a larger, raw format.&lt;br /&gt;
&lt;br /&gt;
I was happy to end the exploration there, for a few months at least...&lt;br /&gt;
&lt;br /&gt;
== Hybrid client-server ==&lt;br /&gt;
What if the same or similar code could be run on a remote server, or locally on the user&amp;#039;s computer?  Then scaling might be accomplished by using the local machine when possible.&lt;br /&gt;
&lt;br /&gt;
The cloud&amp;#039;s strengths of ease-of-use would combine with the efficiency advantages of running locally.&lt;br /&gt;
&lt;br /&gt;
TBD: explore.&lt;/div&gt;</summary>
		<author><name>Adamw</name></author>
	</entry>
</feed>