Question: I'm trying to get the two separate pieces of text onto the same line on the grid, I want the words to wrap around inside the constraints of the grid (or a css border). At the moment the output is the text is not wrapping. Whats missing?

```
<h2 class="text" class="grid_6">Best cheese I've ever tasted!</h2>
<h2 class="text" class="grid_6">Cannot wait to place our next order!</h2>

```

CSS

```
.text {
    word-wrap:break-word;
    display:inline;
}

```

Answer: 
**Update Q4 2017**. Since my original answer GPU-based encoding has become widely available. If you have a modern [NVIDIA video card and can compile ffmpeg](https://developer.nvidia.com/ffmpeg) then you should be good to go.
Thanks to [Dmytro Dzyubak](https://stackoverflow.com/users/2510628/dmytro-dzyubak) for pointing out the [FFmpeg docs](https://trac.ffmpeg.org/wiki/HWAccelIntro) stating that indeed "CPU based encoding generally produces better quality than GPU based encoding."

--

GPU based encoding is specific to a codec/GPU computing standard (CUDA, OpenCL) so you would need to specify what are you using in your case. ffmpeg is amongst other things a wrapper for popular codecs like x264 and VP8 for video.

Using x264 all attempts so far have produced mixed results at best. Nothing that could be passed on to production has come to see the light of day.

Main concept offers an SDK that can be used for H264 GPU based encoding. You can read here for [more information](http://www.mainconcept.com/products/sdks/gpu-acceleration.html). I have not seen the price tag for their SDK but it could be expensive I guess.

Depending on the codec you use you are better off tweaking the encoding settings to trade off quality for speed. On a side note CPU based encoding tends to produce better quality than GPU based encoding.
If you're using an NVidia GPU this might be helpful:

<https://developer.nvidia.com/nvidia-codec-libraries>