# Why does video conversion take so long? Any tweaks?

**URL:** <https://boards.straightdope.com/t/why-does-video-conversion-take-so-long-any-tweaks/600044>\
**Category:** Factual Questions\
**Created:** [October 18, 2011, 3:50pm UTC](https://boards.straightdope.com/t/why-does-video-conversion-take-so-long-any-tweaks/600044 "2011-10-18T15:50:26Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Dr.Strangelove](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/dr.strangelove/32/6613_2.png) [@Dr.Strangelove](https://boards.straightdope.com/u/Dr.Strangelove)\
**Post date:** [October 19, 2011, 12:47am UTC](https://boards.straightdope.com/t/why-does-video-conversion-take-so-long-any-tweaks/600044/21 "2011-10-19T00:47:07Z")

</div>

> [@Keeve](#):
>
> I would imagine that another part of the complexity concerns the humongous number of pixels they’re working with. YouTube stuff, I imagine, is somewhere between 600_400 pixels and 1280_800 pixels. If Hollywood tried that on a movie theater screen it would look horrendous. Anyone know how many pixels they typically work in?

YouTube supports [4k video](http://www.youtube.com/watch?v=N0m1XmvBey8&list=PL5BF9E09ECEC8F88F&index=1). Not very common, of course, since essentially no display devices support that res.

---

<div class="post-metadata">

**Author:** ![Musicat](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/musicat/32/20189_2.png) [@Musicat](https://boards.straightdope.com/u/Musicat)\
**Post date:** [October 19, 2011, 1:09am UTC](https://boards.straightdope.com/t/why-does-video-conversion-take-so-long-any-tweaks/600044/22 "2011-10-19T01:09:03Z")

</div>

To partially answer **Keeve’s** question, I’ve always heard that 35mm film was equivalent to 2400 x 3600 pixels (=2400DPI), so that kind of digital resolution would approximate traditional, stock movie film. Once the gold standard that digital wanted to emulate, digital should be able to surpass film if the cost can be contained, and it can only get cheaper.

---

<div class="post-metadata">

**Author:** ![psychonaut](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/psychonaut/32/4655_2.png) [@psychonaut](https://boards.straightdope.com/u/psychonaut)\
**Post date:** [October 19, 2011, 6:16am UTC](https://boards.straightdope.com/t/why-does-video-conversion-take-so-long-any-tweaks/600044/23 "2011-10-19T06:16:02Z")

</div>

> [@beowulff](#):
>
> [Digital movies are in 2K or 4K format - 2048 x 1080 or 4096 x 2160](http://en.wikipedia.org/wiki/Digital_cinema)

And even at those resolutions, the image can still look horrendous. Line art and text particularly can come across as jagged; this is particularly noticeable with rolling credits and with some cartoons. Film may have a similar effective resolution, but because it’s analog, pixelization isn’t an issue.

---

<div class="post-metadata">

**Author:** ![psychonaut](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/psychonaut/32/4655_2.png) [@psychonaut](https://boards.straightdope.com/u/psychonaut)\
**Post date:** [October 19, 2011, 6:22am UTC](https://boards.straightdope.com/t/why-does-video-conversion-take-so-long-any-tweaks/600044/24 "2011-10-19T06:22:19Z")

</div>

> [@chorpler](#):
>
> A real RAM disk would be great for saving a video conversion’s output, with the small problem of losing the results if/when the computer shuts off.

The way modern operating systems handle input/output, it’s already similar to a RAM disk. When you write something to disk, the OS actually writes it to a memory cache, and only flushes this cache to the physical media after the cache is full, or after a certain amount of time, or when the system isn’t otherwise busy. This is why, with removable media such as USB hard drives, you need to tell the operating system you want to “unmount” or “safely remove” the hardware before disconnecting it; the OS needs to flush the cache and actually write the data.

---

<div class="post-metadata">

**Author:** ![obbn](https://avatars.discourse-cdn.com/v4/letter/o/d6d6ee/32.png) [@obbn](https://boards.straightdope.com/u/obbn)\
**Post date:** [October 19, 2011, 8:14am UTC](https://boards.straightdope.com/t/why-does-video-conversion-take-so-long-any-tweaks/600044/25 "2011-10-19T08:14:26Z")

</div>

> [@Rhythmdvl](#):
>
> In terms of speeding things up, my boot and application drive is an SSD. I don’t like to put data on it ( **256GB isn’t exactly roomy** ), but if it will speed things up I can certainly allocate some temporary space. Or would a RAM disk be a better idea.

I don’t know why but that quote struck me as really funny. Funny in the fact that I am recalling my first computer with its huge 250mb hard drive. I remember purchasing my first 1gb hard drive. I don’t remember the price right now, but I do remember the uneasy feeling in my stomach as I cut the check. Then again I distinctly remember paying $160 for 4mb of ram in the early '90s.

---

<div class="post-metadata">

**Author:** ![si\_blakely](https://avatars.discourse-cdn.com/v4/letter/s/d9b06d/32.png) [@si\_blakely](https://boards.straightdope.com/u/si_blakely)\
**Post date:** [October 19, 2011, 9:24am UTC](https://boards.straightdope.com/t/why-does-video-conversion-take-so-long-any-tweaks/600044/26 "2011-10-19T09:24:30Z")

</div>

What **Rhythmdvl** is doing is commonly called [transcoding](http://en.wikipedia.org/wiki/Transcoding) - converting one compressed video/audio file format to another. And (as noted) this is a slow process, usually involving multiple passes.

Generally, the original file is fully decompressed to raw, uncompressed video/audio. This process can proceed at faster than realtime, especially if the decompressor can use built-in hardware (i.e CPU or GPU functionality) to accelerate the process. An initial pass over the file may be required to identify key frames (where the image changes substantially so that motion compression cannot be used), and then the file is compressed. Depending on the compression being used, this may also be accelerated by hardware (ie compression cards or GPU). This process is also repeated for audio, and the output wrapped up in a container file. Multithreading on multi-core processors will also increase the speed.

For **Rhythmdvl** with ATI cards, [ATI Avivo](http://en.wikipedia.org/wiki/ATI_Avivo) may be a GPU-accelerated possibility, but it looks like FLV may not be supported. The other options include the opensource products MPlayer/Mencoder or ffmpeg which can use hardware acceleration if you find the correct compiled versions. This option may not be useful on Windows, however.

Si

---

<div class="post-metadata">

**Author:** ![si\_blakely](https://avatars.discourse-cdn.com/v4/letter/s/d9b06d/32.png) [@si\_blakely](https://boards.straightdope.com/u/si_blakely)\
**Post date:** [October 19, 2011, 9:50am UTC](https://boards.straightdope.com/t/why-does-video-conversion-take-so-long-any-tweaks/600044/27 "2011-10-19T09:50:42Z")

</div>

> [@Rhythmdvl](#):
>
> If so, is there any comparison of a modern system (say the one in my first reply) to hardware used to render CGI effects in the 80s or 90s? In, say, fifteen more years of advancing technology, any chance that Crysis XII will look as clean as Toy Story? Or is the scale of distributed computing Pixar uses so vast that a single desktop won’t reach such power for the foreseeable future?

The major difference between Movie CGI and Gaming is [raytracing](http://en.wikipedia.org/wiki/Ray_tracing_(graphics)). This handles multiple lighting, reflections, shadows, textures and caustics in a realistic manner, but is massively intensive computationally. While there has been work on realtime raytracing (I know someone who has worked on this on a PS3), the resolution and framerates are not yet sufficient. This will be the future of games, but the current model (polygon mapping with textures and light maps) will continue for many years.

Another point, while movies may be printed (or shown directly) as 2K or 4K, when rendered, they are almost certainly [antialiased](http://en.wikipedia.org/wiki/Antialiasing) by supersampling (rendering at 2x or 4x the resolution and averaging to the intended resolution). This massively increases the compute requirements.

Si

---

<div class="post-metadata">

**Author:** ![Reply](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/reply/32/15952_2.png) [@Reply](https://boards.straightdope.com/u/Reply)\
**Post date:** [October 19, 2011, 11:26am UTC](https://boards.straightdope.com/t/why-does-video-conversion-take-so-long-any-tweaks/600044/28 "2011-10-19T11:26:09Z")

</div>

@ **Rhythmdvl** , if you have a lot of internet bandwidth, you might consider uploading your video to the cloud to transcode instead. Pay a few bucks and put an entire server farm to work instead of just using your desktop.

There are several dedicated services that do this (sorry, I didn’t like any of the ones I tried, so Google around and find some yourself), or you can set up your own cluster on Amazon EC2 for (likely) the best performance.

> [@Musicat](#):
>
> :rolleyes: As far as a RAM disk vs. SSD, all I’m saying is writing to some kind of non-moving memory is faster than writing to a moving platter. I’m aware of the differences, but as **beowulff** pointed out, video processing is more CPU-bound than I/O -bound. Still, when I am processing video, I see an awful lot of disk I/Os that I sure would like to reduce.

Did that really warrant a rolleyes? They’re different, and as you yourself mentioned, RAM disks are typically faster than SSDs. In a thread about speed, that’s somewhat important… not to mention the whole volatility thing. Conflating the two just isn’t right.

---

<div class="post-metadata">

**Author:** ![Reply](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/reply/32/15952_2.png) [@Reply](https://boards.straightdope.com/u/Reply)\
**Post date:** [October 19, 2011, 11:32am UTC](https://boards.straightdope.com/t/why-does-video-conversion-take-so-long-any-tweaks/600044/29 "2011-10-19T11:32:58Z")

</div>

Also, maybe this is obvious, but videos you upload to YouTube get converted by them automatically, for free. Similar effect to cloud transcoding.

---

<div class="post-metadata">

**Author:** ![psychonaut](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/psychonaut/32/4655_2.png) [@psychonaut](https://boards.straightdope.com/u/psychonaut)\
**Post date:** [October 19, 2011, 12:10pm UTC](https://boards.straightdope.com/t/why-does-video-conversion-take-so-long-any-tweaks/600044/30 "2011-10-19T12:10:17Z")

</div>

> [@Reply](#):
>
> Also, maybe this is obvious, but videos you upload to YouTube get converted by them automatically, for free. Similar effect to cloud transcoding.

They get converted to a proprietary codec in a proprietary container format which isn’t convenient to use offline and isn’t supported by most consumer electronics. Besides, in many cases it will take longer to upload the video to YouTube and wait for it to do the transcoding than for you to just do the transcoding yourself; doing it locally also gives you control over the resolution, bit rate, etc.

---

<div class="post-metadata">

**Author:** ![Reply](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/reply/32/15952_2.png) [@Reply](https://boards.straightdope.com/u/Reply)\
**Post date:** [October 19, 2011, 12:51pm UTC](https://boards.straightdope.com/t/why-does-video-conversion-take-so-long-any-tweaks/600044/31 "2011-10-19T12:51:04Z")

</div>

> [@psychonaut](#):
>
> They get converted to a proprietary codec in a proprietary container format which isn’t convenient to use offline and isn’t supported by most consumer electronics. Besides, in many cases it will take longer to upload the video to YouTube and wait for it to do the transcoding than for you to just do the transcoding yourself; doing it locally also gives you control over the resolution, bit rate, etc.

Well, the OP said his/her most common usage scenario was transcoding to FLV, so I just assumed the video was going online eventually. If that is indeed the case, YouTube is often the best way to do it.

Proprietary or not, YouTube videos can be viewed on pretty much every major PC and mobile operating system. Its videos likely have the best market support, even compared to things like MPEG/H264/MOV whose per-device support (or lack thereof) is dependent on finicky encoding settings.

If you upload a video at its highest resolution, YouTube makes all the lower resolutions (240p/320p/480p, etc.) automatically available without any extra encoding work on your part.

And YouTube is quite reliable, fast, and backed by one of the world’s biggest companies.

So if the video’s going online anyway, YouTube is worth considering. If not, you’re right, YouTube wouldn’t be the best choice.

---

<div class="post-metadata">

**Author:** ![Mahaloth](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/mahaloth/32/1079_2.png) [@Mahaloth](https://boards.straightdope.com/u/Mahaloth)\
**Post date:** [October 19, 2011, 1:02pm UTC](https://boards.straightdope.com/t/why-does-video-conversion-take-so-long-any-tweaks/600044/32 "2011-10-19T13:02:11Z")

</div>

What is the best freeware program you guys know for video conversion? What is the best non-freeware one? I’m curious.

I tend to find that I lose resolution in video conversion, even if I tell the program to maintain the highest resolution.

---

<div class="post-metadata">

**Author:** ![si\_blakely](https://avatars.discourse-cdn.com/v4/letter/s/d9b06d/32.png) [@si\_blakely](https://boards.straightdope.com/u/si_blakely)\
**Post date:** [October 19, 2011, 1:20pm UTC](https://boards.straightdope.com/t/why-does-video-conversion-take-so-long-any-tweaks/600044/33 "2011-10-19T13:20:46Z")

</div>

> [@Mahaloth](#):
>
> What is the best freeware program you guys know for video conversion? What is the best non-freeware one? I’m curious.

I’ve used [SUPER](http://www.erightsoft.com/SUPER.html), which is a GUI front end to [mencoder](http://www.mplayerhq.hu)/ffmpeg. You can use mencoder directly, but be prepared to spend some time figuring out the command line options.

Si

---

<div class="post-metadata">

**Author:** ![JoelUpchurch](https://avatars.discourse-cdn.com/v4/letter/j/f05b48/32.png) [@JoelUpchurch](https://boards.straightdope.com/u/JoelUpchurch)\
**Post date:** [October 19, 2011, 1:38pm UTC](https://boards.straightdope.com/t/why-does-video-conversion-take-so-long-any-tweaks/600044/34 "2011-10-19T13:38:05Z")

</div>

> [@psychonaut](#):
>
> They get converted to a proprietary codec in a proprietary container format which isn’t convenient to use offline and isn’t supported by most consumer electronics. Besides, in many cases it will take longer to upload the video to YouTube and wait for it to do the transcoding than for you to just do the transcoding yourself; doing it locally also gives you control over the resolution, bit rate, etc.

When I upload video to youtube, then I have the option to download it as an mp4 file. Material I uploaded at 720p also downloaded at 720p, but at a lower quality setting I think.

---

<div class="post-metadata">

**Author:** ![Reply](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/reply/32/15952_2.png) [@Reply](https://boards.straightdope.com/u/Reply)\
**Post date:** [October 19, 2011, 2:05pm UTC](https://boards.straightdope.com/t/why-does-video-conversion-take-so-long-any-tweaks/600044/35 "2011-10-19T14:05:39Z")

</div>

> [@Mahaloth](#):
>
> What is the best freeware program you guys know for video conversion? What is the best non-freeware one? I’m curious.
> 
> I tend to find that I lose resolution in video conversion, even if I tell the program to maintain the highest resolution.

I like [HandBrake](http://handbrake.fr/) (free).

---

<div class="post-metadata">

**Author:** ![Doug\_K](https://avatars.discourse-cdn.com/v4/letter/d/b5ac83/32.png) [@Doug\_K](https://boards.straightdope.com/u/Doug_K)\
**Post date:** [October 19, 2011, 3:06pm UTC](https://boards.straightdope.com/t/why-does-video-conversion-take-so-long-any-tweaks/600044/36 "2011-10-19T15:06:01Z")

</div>

> [@Mahaloth](#):
>
> What is the best freeware program you guys know for video conversion? What is the best non-freeware one? I’m curious.
> 
> I tend to find that I lose resolution in video conversion, even if I tell the program to maintain the highest resolution.

If you’re working with compressed formats you’ll always lose resolution-even if you’re just editing and saving in the same format. It gets recompressed each time, throwing away a little more information each time. You’d have to work in an uncompressed format to not lose resolution (which means much larger files).

---

<div class="post-metadata">

**Author:** ![RaftPeople](https://avatars.discourse-cdn.com/v4/letter/r/6f9a4e/32.png) [@RaftPeople](https://boards.straightdope.com/u/RaftPeople)\
**Post date:** [October 19, 2011, 3:17pm UTC](https://boards.straightdope.com/t/why-does-video-conversion-take-so-long-any-tweaks/600044/37 "2011-10-19T15:17:32Z")

</div>

> [@Doug\_K](#):
>
> If you’re working with compressed formats you’ll always lose resolution-…

There are lossy and lossless compression algorithms - so it’s not guaranteed you will lose something.

---

<div class="post-metadata">

**Author:** ![psychonaut](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/psychonaut/32/4655_2.png) [@psychonaut](https://boards.straightdope.com/u/psychonaut)\
**Post date:** [October 19, 2011, 5:45pm UTC](https://boards.straightdope.com/t/why-does-video-conversion-take-so-long-any-tweaks/600044/38 "2011-10-19T17:45:14Z")

</div>

> [@Doug\_K](#):
>
> If you’re working with compressed formats you’ll always lose resolution-even if you’re just editing and saving in the same format. It gets recompressed each time, throwing away a little more information each time. You’d have to work in an uncompressed format to not lose resolution (which means much larger files).

Actually, you won’t lose resolution (i.e., the physical dimensions of the picture won’t change), though if you use a lossy compression algorithm you will lose image quality.

---

<div class="post-metadata">

**Author:** ![mhendo](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/mhendo/32/3159_2.png) [@mhendo](https://boards.straightdope.com/u/mhendo)\
**Post date:** [October 19, 2011, 5:51pm UTC](https://boards.straightdope.com/t/why-does-video-conversion-take-so-long-any-tweaks/600044/39 "2011-10-19T17:51:09Z")

</div>

> [@Doug\_K](#):
>
> If you’re working with compressed formats you’ll always lose resolution…

I admit i’m not an expert in the terminology of video, although i do use Handbrake for a fair bit of video conversion, and i did stay at a Holiday Inn Express last night.

I’m more familiar with still photography, and when photographers use the term “resolution,” they’re generally talking about the dimension of the image in pixels. Using this terminology, re-encoding need not result in any loss of resolution. A 720p (1280x720) video will still be 720p after you’ve compressed it. It might have lost some quality due to the compression, but the resolution will be the same unless you specifically tell your converter to resize the image.

In talking about image quality as a result of compression, photographers are more likely to use terms like quality, compression, artifacts, etc.

Does resolution not mean the same thing in video as it does in still photography?  
ETA: Well, while i was typing all that, **psychonaut** appears to have answered my question.

---

<div class="post-metadata">

**Author:** ![Reply](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/reply/32/15952_2.png) [@Reply](https://boards.straightdope.com/u/Reply)\
**Post date:** [October 19, 2011, 8:11pm UTC](https://boards.straightdope.com/t/why-does-video-conversion-take-so-long-any-tweaks/600044/40 "2011-10-19T20:11:37Z")

</div>

> [@mhendo](#):
>
> I admit i’m not an expert in the terminology of video, although i do use Handbrake for a fair bit of video conversion, and i did stay at a Holiday Inn Express last night.

Ok, I have to ask, how does the Holiday Inn factor in?

[Previous page](https://boards.straightdope.com/t/why-does-video-conversion-take-so-long-any-tweaks/600044.md?page=1)

[Next page](https://boards.straightdope.com/t/why-does-video-conversion-take-so-long-any-tweaks/600044.md?page=3)
