Horde3D
http://horde3d.org/forums/

How easily sidetracked am I?
http://horde3d.org/forums/viewtopic.php?f=4&t=890
Page 1 of 1

Author:  zoombapup [ 18.08.2009, 14:46 ]
Post subject:  How easily sidetracked am I?

I was reading a thread on indiegamer.com this morning about doing cutscenes and it reminded me I wanted to have a video capture facility in my engine.

So using Revel and libxvidcore, I am now able to stream movies from my engine. I did a test upload onto youtube to see what thier HD video looks like and to see if they accept XVID encoded videos. Turns out they do!

Here's the vid. Note: Test content, the brains of the characters are only doing an idle wander and the collision system for the ground is being worked on so right now they only walk on a plane (hence penetrating the level).

http://www.youtube.com/watch?v=_jTkpTi12MA

You really need to watch in HD to have any idea of the quality of the encoding. I think its being re-encoded at the youtube end though, because that quality is pretty poor in comparison to the xvid source video. For a start the text in the buttons is almost entirely obscured.

At some point I plan on using libcurl to add an "upload to youtube" option to the game. Should be fun.

Next time I post a vid, it should some of the actual GAME :)

Author:  swiftcoder [ 18.08.2009, 15:39 ]
Post subject:  Re: How easily sidetracked am I?

zoombapup wrote:
You really need to watch in HD to have any idea of the quality of the encoding. I think its being re-encoded at the youtube end though, because that quality is pretty poor in comparison to the xvid source video. For a start the text in the buttons is almost entirely obscured.
To avoid the re-encode and resulting quality issues, you need to make sure that your video is *exactly* 1280x720, *exactly* 24.25 or 30 frames per second, and uses either 128k Mono or 320k Stereo audio encoded with AAC or MP3. As for encoding, Xvid should work almost as well as DivX, and thus slightly worse than H.264.

If even one of those points is slightly off, YouTube will re-encode and lose a bunch of quality ;)

Author:  DarkAngel [ 19.08.2009, 04:07 ]
Post subject:  Re: How easily sidetracked am I?

Cool stuff.

Sounds like you'd be interested in this gamasutra article about YouTube integration via their web APIs:
http://www.gamasutra.com/view/feature/3 ... utube_.php

Author:  zoombapup [ 19.08.2009, 22:03 ]
Post subject:  Re: How easily sidetracked am I?

Yeah, I read that quite a while ago. It is definitely tempting. But youtube munches the video formats pretty badly. I might well add vimeo support though, vimeo seems to only HALF massacre video formats.

I suppose the other option is to add H264/AAC support. Anyone know of a free lib for that? I guess the format is encumbered though, which is why XVID seems so attractive.

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/