Ideas for .dem to .flv Conversion

Discuss anything to do with Nexuiz here.

Moderators: Nexuiz Moderators, Moderators

Ideas for .dem to .flv Conversion

Postby BennyDacks » Fri Nov 13, 2009 10:36 am

I know someone has to have tried this before. Perhaps someone has already done it?

I'm thinking the process could go something like this:

- .dem is uploaded to server with fast enough video card to render the game at 640x480 ultra settings
- avi is then encoded to flv with ffmpeg, screenshot extracted
- package is then uploaded to youtube and cross-posted on websites x,y,z containing player info, stats from the demo, anything else relevant

other ideas:
- auto-link to map download of demo you're watching
- auto-link to clan/player's website based on tags in name checked against a known list of registered clans
- .dem / flv available for download
- upload a mp3 for a soundtrack
- simple time-stamp based editing to cut out best parts for rendering ie: Clip 1: 2:30, End: 3:34 | Clip2 Start: 4:40, End 5:10

Anyone have any thoughts on this?
http://nexuizclans.com
BennyDacks
Member
 
Posts: 19
Joined: Fri Oct 16, 2009 8:04 pm
Location: Los Angeles, CA

Re: Ideas for .dem to .flv Conversion

Postby merlijn » Fri Nov 13, 2009 10:55 am

BennyDacks wrote:I know someone has to have tried this before. Perhaps someone has already done it?


What? Converting to videos has been done for ages, and FLV is likely to be one of the worst formats ever to store video in. This is why there is OGV support directly in Nexuiz, so it isn't even needed to re-encode it.

BennyDacks wrote:I'm thinking the process could go something like this:

- .dem is uploaded to server with fast enough video card to render the game at 640x480 ultra settings
- avi is then encoded to flv with ffmpeg, screenshot extracted
- package is then uploaded to youtube and cross-posted on websites x,y,z containing player info, stats from the demo, anything else relevant


ANY machine is able to convert a demo to a movie in Ultra settings, it will just take a bit longer as it get's less FPS. And why upload this? The Nexuiz server can do this just fine using serverside demos, or clients can do this after they finished playing.

To be able to use serverside demos you might want to check out the demo tools in /misc/tools/, this allows cutting in demos and only capturing a small portion to a video.

Again - use OGV format, it allows you to upload this directly on a webhost like omploader.org. This saves a needless re-encode step and does not depend on clients having proprietary flash junk installed.

BennyDacks wrote:other ideas:
- auto-link to map download of demo you're watching
- auto-link to clan/player's website based on tags in name checked against a known list of registered clans
- .dem / flv available for download
- upload a mp3 for a soundtrack
- simple time-stamp based editing to cut out best parts for rendering ie: Clip 1: 2:30, End: 3:34 | Clip2 Start: 4:40, End 5:10

Anyone have any thoughts on this?


This all sounds reasonable, and the last bit can be done using the demotc.pl in /misc/tools/.
Before posting a reply, please read about the bikeshed
merlijn
Advanced member
 
Posts: 84
Joined: Tue Oct 21, 2008 10:18 am

Postby FraNcoTirAdoR » Fri Nov 13, 2009 11:37 am

Why the heck would you want to encode it to flv before youtubeing? Btw in my experience when you upload flv to youtube it will result decreased quality (really strange).
Image
FraNcoTirAdoR
Alien trapper
 
Posts: 288
Joined: Tue Mar 04, 2008 10:25 am
Location: near the nex

Postby BennyDacks » Fri Nov 13, 2009 2:44 pm

FraNcoTirAdoR wrote:Why the heck would you want to encode it to flv before youtubeing? Btw in my experience when you upload flv to youtube it will result decreased quality (really strange).


Good point, I didn't think of that. I thought FLV was more of a standard than an obstacle since almost everyone has flash...

merlijn wrote:What? Converting to videos has been done for ages, and FLV is likely to be one of the worst formats ever to store video in. This is why there is OGV support directly in Nexuiz, so it isn't even needed to re-encode it.


Never heard of OGV... I'll check it out!

I guess its time to brush up on my Perl =]

Thanks for the input merlijn and FraNcoTirAdoR!
http://nexuizclans.com
BennyDacks
Member
 
Posts: 19
Joined: Fri Oct 16, 2009 8:04 pm
Location: Los Angeles, CA

Postby paperclips » Fri Nov 13, 2009 3:18 pm

the only (I guess) reason for (re)encoding in anything other than ogv and that would be h264 for utilization of hardware accelerated video as with VDPAU

(For smooth HD on ubuntu use Nvidia Vdpau Team, PPA ).

Look here for encoding/recording of demos and related matters.
[Want to develop? Look HERE]. Image Image Gif sauce.
paperclips
Alien trapper
 
Posts: 346
Joined: Mon Jan 12, 2009 10:27 am
Location: internets

Postby BennyDacks » Sat Nov 28, 2009 9:01 pm

hmm... thanks papercips ill check it out. some good info in that thread.
http://nexuizclans.com
BennyDacks
Member
 
Posts: 19
Joined: Fri Oct 16, 2009 8:04 pm
Location: Los Angeles, CA


Return to Nexuiz - General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron