Horde3D

Next-Generation Graphics Engine
It is currently 21.09.2018, 20:49

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 18.08.2009, 14:46 
Offline

Joined: 16.05.2009, 12:43
Posts: 207
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 :)


Top
 Profile  
Reply with quote  
PostPosted: 18.08.2009, 15:39 
Offline

Joined: 22.11.2007, 17:05
Posts: 707
Location: Boston, MA
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 ;)

_________________
Tristam MacDonald - [swiftcoding]


Top
 Profile  
Reply with quote  
PostPosted: 19.08.2009, 04:07 
Offline

Joined: 08.11.2006, 03:10
Posts: 384
Location: Australia
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


Top
 Profile  
Reply with quote  
PostPosted: 19.08.2009, 22:03 
Offline

Joined: 16.05.2009, 12:43
Posts: 207
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.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group