# Portal Done Pro

**URL:** <https://forums.sourceruns.org/t/portal-done-pro/1726>\
**Category:** Other Source Games and Mods\
**Created:** [May 16, 2010, 10:19am UTC](https://forums.sourceruns.org/t/portal-done-pro/1726 "2010-05-16T10:19:45Z")\
**Posts on this page:** 20\
**Page:** 4

<div class="post-metadata">

**Author:** ![DemonStrate](https://b-cdn.sourceruns.org/user_avatar/forums.sourceruns.org/demonstrate/32/10_2.png) [@DemonStrate](https://forums.sourceruns.org/u/DemonStrate)\
**Post date:** [July 12, 2010, 1:42am UTC](https://forums.sourceruns.org/t/portal-done-pro/1726/61 "2010-07-12T01:42:38Z")

</div>

> [@Djon](#):
>
> The current Portal XQ video is merely perfect I’d say, didn’t you do it?  
> Use host\_framerate to control the framerate, and here are the informations about the HL2DQ video:
> 
> Bit rate: 5 000 Kbps  
> Width : 852 pixels  
> Height: 480 pixels  
> Frame rate: 30.000 fps
> 
> I guess you’ll go with 720p, thus 4k bitrate is a minimum, if the video is more or less 20 minutes, then you could go with 15k bitrate (the current one is 13k), which should result in a half-dvd size video (2240 MB).  
> Keep in mind that if you use x264, it’s way more efficient than before (HL2DQ used svn466, now it’s 1666).

I don’t know what Portal XQ video you are referring to. Anyway, how do I add different encoders to the list that I have available when I’m using startmovie? Doing it uncompressed only works if the file does not need to exceed 4 gigs. This won’t work if I want my videos at 60 fps, because I will always exceed 4 gigs using uncompressed (no encoding). I want to add the encoding option I use in VirtualDub (i use ffdshow to encode currently). How do I do that?

---

<div class="post-metadata">

**Author:** ![Cameron\_D](https://b-cdn.sourceruns.org/user_avatar/forums.sourceruns.org/cameron_d/32/251_2.png) [@Cameron\_D](https://forums.sourceruns.org/u/Cameron_D)\
**Post date:** [July 12, 2010, 2:11am UTC](https://forums.sourceruns.org/t/portal-done-pro/1726/62 "2010-07-12T02:11:25Z")

</div>

I just use the raw TGA stream, then jump into adobe premiere and merge the image stream and sound and then export as h.264 encoded AVI (Best quality:file size ratio), although at 720p each FRAME is ~3-4mb).

Use host\_framerate to force the frame rate.

EDIT: After re-reading that, it sounds all complicated technological blab 😑

EDIT EDIT: You’ll probably end up using the direct to avi output, if so, use this codec:  
[http://www.free-codecs.com/download/x264\_video\_codec.htm](http://www.free-codecs.com/download/x264_video_codec.htm)

---

<div class="post-metadata">

**Author:** ![TYPICAL](https://b-cdn.sourceruns.org/letter_avatar_proxy/v4/letter/t/dfb087/32.png) [@TYPICAL](https://forums.sourceruns.org/u/TYPICAL)\
**Post date:** [July 12, 2010, 8:38am UTC](https://forums.sourceruns.org/t/portal-done-pro/1726/63 "2010-07-12T08:38:01Z")

</div>

> I don't know what Portal XQ video you are referring to.

He’s probably talking about your first Portal speed run.

---

<div class="post-metadata">

**Author:** ![DemonStrate](https://b-cdn.sourceruns.org/user_avatar/forums.sourceruns.org/demonstrate/32/10_2.png) [@DemonStrate](https://forums.sourceruns.org/u/DemonStrate)\
**Post date:** [July 12, 2010, 10:07am UTC](https://forums.sourceruns.org/t/portal-done-pro/1726/64 "2010-07-12T10:07:24Z")

</div>

> [@Cameron:D](#):
>
> EDIT EDIT: You’ll probably end up using the direct to avi output, if so, use this codec:  
> [http://www.free-codecs.com/download/x264\_video\_codec.htm](http://www.free-codecs.com/download/x264_video_codec.htm)

I’m still not understanding how the drop down list that appears when you do the “startmovie NAME avi” is populated. Where does it get the codecs that are available?

Edit: This one…

---

<div class="post-metadata">

**Author:** ![Cameron\_D](https://b-cdn.sourceruns.org/user_avatar/forums.sourceruns.org/cameron_d/32/251_2.png) [@Cameron\_D](https://forums.sourceruns.org/u/Cameron_D)\
**Post date:** [July 12, 2010, 11:09am UTC](https://forums.sourceruns.org/t/portal-done-pro/1726/65 "2010-07-12T11:09:16Z")

</div>

Ummmmmmm… No idea 😕

It only shows like 5 codecs for me, and I have heaps more than that installed.

---

<div class="post-metadata">

**Author:** ![Djon](https://b-cdn.sourceruns.org/letter_avatar_proxy/v4/letter/d/bc79bd/32.png) [@Djon](https://forums.sourceruns.org/u/Djon)\
**Post date:** [July 12, 2010, 11:50am UTC](https://forums.sourceruns.org/t/portal-done-pro/1726/66 "2010-07-12T11:50:51Z")

</div>

([http://speeddemosarchive.com/demo.pl?Portal\_PC\_1427](http://speeddemosarchive.com/demo.pl?Portal_PC_1427))  
You really (really) do not want to use a codec a this step. If you want a clean video, you have to use proper tools for each task.  
You can either use startmovie with TGA, which is long but will be the best quality, or consider Fraps, which will be faster, easier, and with the same quality at the end.  
Next, append the files with a little editing or something in Vegas for example and render it uncompressed.  
Then, when you will have the final video, you could use an encoding tool to make something awesome.

Hmm in fact there is another solution for step one, use HuffYUV ([http://www.free-codecs.com/download/HuffYUV.htm](http://www.free-codecs.com/download/HuffYUV.htm)) which is a lossless codec. x264 does it too but it’s a bit more complicated.  
To add it to your system’s codec list, once you have downloaded the file, right-click on huffyuv.ini, then “install”.  
It has a few options but there aren’t that important if I reckon correcly.

---

<div class="post-metadata">

**Author:** ![doxliy](https://b-cdn.sourceruns.org/letter_avatar_proxy/v4/letter/d/8dc957/32.png) [@doxliy](https://forums.sourceruns.org/u/doxliy)\
**Post date:** [July 12, 2010, 4:07pm UTC](https://forums.sourceruns.org/t/portal-done-pro/1726/67 "2010-07-12T16:07:44Z")

</div>

Hey! Maybe the I was making HL2EP1DQ vid way will help you.

1. demos -\> TGA frames, with in-game startmovie command
2. TGA freames -\> AVI vids, one for each segment, 60fps vids encoded with Huffyuf lossless codec in VirtualDub
3. Huffyuv AVI vids -\> one big Huffyuv AVI vid (final), joined with VirtualDub, it was about 140GBs
4. one big Huffyuv AVI -\> one big x264 lossless AVI vid, it’s 40GBs and for some reason I’m still keeping it =)
5. one big x264 lossless AVI -\> x264 vids in several qualities - IQ, HQ, etc

I’m pretty sure that all pre-final encodes should be done with lossless codecs to keep the best quality until final vid is done. I prefer Huffyuv codec since it very fast and compress well, and x264 lossless for keeping final vid, because it copresses VERY well, but slow as shit.  
Also sound should be in uncompressed WAV, making MP3 or AAC at very final stage.

GL ! =)

---

<div class="post-metadata">

**Author:** ![DemonStrate](https://b-cdn.sourceruns.org/user_avatar/forums.sourceruns.org/demonstrate/32/10_2.png) [@DemonStrate](https://forums.sourceruns.org/u/DemonStrate)\
**Post date:** [July 14, 2010, 11:35pm UTC](https://forums.sourceruns.org/t/portal-done-pro/1726/68 "2010-07-14T23:35:01Z")

</div>

I just ordered my new computer…

[http://secure.newegg.com/WishList/PublicWishDetail.aspx?WishListNumber=13345905](http://secure.newegg.com/WishList/PublicWishDetail.aspx?WishListNumber=13345905)

I had to get the video card from SuperBiiz because it’s out of stock almost everywhere else. I will probably do the encode on that computer. For now, I’ll experiment on this one. I should have a quality test video up within a few days.

---

<div class="post-metadata">

**Author:** ![TYPICAL](https://b-cdn.sourceruns.org/letter_avatar_proxy/v4/letter/t/dfb087/32.png) [@TYPICAL](https://forums.sourceruns.org/u/TYPICAL)\
**Post date:** [July 15, 2010, 12:41am UTC](https://forums.sourceruns.org/t/portal-done-pro/1726/69 "2010-07-15T00:41:43Z")

</div>

One of the best things about this run is that the actual content of the speedrun will fit onto youtube in one video. 😛

---

<div class="post-metadata">

**Author:** ![Cameron\_D](https://b-cdn.sourceruns.org/user_avatar/forums.sourceruns.org/cameron_d/32/251_2.png) [@Cameron\_D](https://forums.sourceruns.org/u/Cameron_D)\
**Post date:** [July 15, 2010, 10:20am UTC](https://forums.sourceruns.org/t/portal-done-pro/1726/70 "2010-07-15T10:20:19Z")

</div>

Did you want someone elso to export it? I could do it in 1080p if you wanted.

---

<div class="post-metadata">

**Author:** ![DemonStrate](https://b-cdn.sourceruns.org/user_avatar/forums.sourceruns.org/demonstrate/32/10_2.png) [@DemonStrate](https://forums.sourceruns.org/u/DemonStrate)\
**Post date:** [July 16, 2010, 11:42am UTC](https://forums.sourceruns.org/t/portal-done-pro/1726/71 "2010-07-16T11:42:22Z")

</div>

> [@Cameron:D](#):
>
> Did you want someone elso to export it? I could do it in 1080p if you wanted.

You don’t have the game… I’m assuming. Its Portal Build 3740. I’m going to upload it at some point, but I’d rather learn how to encode this stuff myself… for the future (hint hint).

---

<div class="post-metadata">

**Author:** ![Cameron\_D](https://b-cdn.sourceruns.org/user_avatar/forums.sourceruns.org/cameron_d/32/251_2.png) [@Cameron\_D](https://forums.sourceruns.org/u/Cameron_D)\
**Post date:** [July 16, 2010, 1:43pm UTC](https://forums.sourceruns.org/t/portal-done-pro/1726/72 "2010-07-16T13:43:45Z")

</div>

My external hdd has a fairly old build on it, but fair enough - learning is good 😉

---

<div class="post-metadata">

**Author:** ![igge](https://b-cdn.sourceruns.org/letter_avatar_proxy/v4/letter/i/3d9bf3/32.png) [@igge](https://forums.sourceruns.org/u/igge)\
**Post date:** [July 16, 2010, 3:20pm UTC](https://forums.sourceruns.org/t/portal-done-pro/1726/73 "2010-07-16T15:20:13Z")

</div>

> [@Cameron:D](#):
>
> Did you want someone elso to export it? I could do it in 1080p if you wanted.

Speaking of this, is there any way to “cheat” the computer into thinking you have a bigger screen than you actually have?

---

<div class="post-metadata">

**Author:** ![Centaurium](https://b-cdn.sourceruns.org/user_avatar/forums.sourceruns.org/centaurium/32/206_2.png) [@Centaurium](https://forums.sourceruns.org/u/Centaurium)\
**Post date:** [July 16, 2010, 3:24pm UTC](https://forums.sourceruns.org/t/portal-done-pro/1726/74 "2010-07-16T15:24:48Z")

</div>

You could try fooling around with ManyCam

---

<div class="post-metadata">

**Author:** ![Cameron\_D](https://b-cdn.sourceruns.org/user_avatar/forums.sourceruns.org/cameron_d/32/251_2.png) [@Cameron\_D](https://forums.sourceruns.org/u/Cameron_D)\
**Post date:** [July 16, 2010, 10:44pm UTC](https://forums.sourceruns.org/t/portal-done-pro/1726/75 "2010-07-16T22:44:04Z")

</div>

You could start the game in windowed mode with the -w and -h parameters to force a certain screen reso, but the parts that are off the edge of the screen may not render (they might just be black)

---

<div class="post-metadata">

**Author:** ![igge](https://b-cdn.sourceruns.org/letter_avatar_proxy/v4/letter/i/3d9bf3/32.png) [@igge](https://forums.sourceruns.org/u/igge)\
**Post date:** [July 17, 2010, 1:24am UTC](https://forums.sourceruns.org/t/portal-done-pro/1726/76 "2010-07-17T01:24:25Z")

</div>

> [@Cameron:D](#):
>
> You could start the game in windowed mode with the -w and -h parameters to force a certain screen reso, but the parts that are off the edge of the screen may not render (they might just be black)

Tried it, didn’t work. :I

But seriously, this feels like something that shouldn’t be hard to do at all.

---

<div class="post-metadata">

**Author:** ![DemonStrate](https://b-cdn.sourceruns.org/user_avatar/forums.sourceruns.org/demonstrate/32/10_2.png) [@DemonStrate](https://forums.sourceruns.org/u/DemonStrate)\
**Post date:** [August 11, 2010, 12:28am UTC](https://forums.sourceruns.org/t/portal-done-pro/1726/77 "2010-08-11T00:28:23Z")

</div>

Portal Done Pro is coming…

Here is a quality test I am uploading just to see how it looks on YouTube:

Here is a link to the direct AVI. It is Xvid encoded and 170 megs:  
[http://www.filefront.com/17191040/Portal-Done-Pro---Quality-Test---Chamber-8.avi/](http://www.filefront.com/17191040/Portal-Done-Pro---Quality-Test---Chamber-8.avi/)

---

<div class="post-metadata">

**Author:** ![igge](https://b-cdn.sourceruns.org/letter_avatar_proxy/v4/letter/i/3d9bf3/32.png) [@igge](https://forums.sourceruns.org/u/igge)\
**Post date:** [August 11, 2010, 12:59am UTC](https://forums.sourceruns.org/t/portal-done-pro/1726/78 "2010-08-11T00:59:47Z")

</div>

I’m so looking forward to this. I’m also looking forward to the audio commentary.

---

<div class="post-metadata">

**Author:** ![Centaurium](https://b-cdn.sourceruns.org/user_avatar/forums.sourceruns.org/centaurium/32/206_2.png) [@Centaurium](https://forums.sourceruns.org/u/Centaurium)\
**Post date:** [August 11, 2010, 1:10am UTC](https://forums.sourceruns.org/t/portal-done-pro/1726/79 "2010-08-11T01:10:17Z")

</div>

OMG HURRY UP.

---

<div class="post-metadata">

**Author:** ![Cameron\_D](https://b-cdn.sourceruns.org/user_avatar/forums.sourceruns.org/cameron_d/32/251_2.png) [@Cameron\_D](https://forums.sourceruns.org/u/Cameron_D)\
**Post date:** [August 11, 2010, 7:56am UTC](https://forums.sourceruns.org/t/portal-done-pro/1726/80 "2010-08-11T07:56:27Z")

</div>

170mb for a 20 second video? The 5 min video I uploaded to Youtube was onlt 250mb 😑 (at 1080p too).

What video editing program do you have? With Premiere its easy to convert from the stream of individual frames, don’t know about other programs though. You could probably achieve better qualiy:filesize ratio that way, as opposed to directly exporting from the engine as avi.

[Previous page](https://forums.sourceruns.org/t/portal-done-pro/1726.md?page=3)

[Next page](https://forums.sourceruns.org/t/portal-done-pro/1726.md?page=5)
