My first Nexuiz Movie

Discuss anything to do with Nexuiz here.

Moderators: Nexuiz Moderators, Moderators

Postby GreEn`mArine » Fri Aug 25, 2006 6:02 pm

yes, you are right that you can't playback a 1280x1024 mp4 clip, but that is the reason why usually such clips aren't released. mp4 clips are mostly 800x600 which is really good enough! It's better than DVD quality, so....

and this "size doesn't matter" is a lie!
IRC quote:
[kojn] I've been coming a bit more recently
[kojn] she took it the dirty way
GreEn`mArine
Forum addon
 
Posts: 1509
Joined: Tue Feb 28, 2006 9:33 pm
Location: Germany

Re: My first movie try

Postby KadaverJack » Fri Aug 25, 2006 6:37 pm

Cinquero wrote:mencoder -audiofile dpvideo010.wav -audio-demuxer 20 -rawaudio channels=2:samplesize=2:rate=48000 dpvideo010.yv12 -demuxer rawvideo -rawvideo w=1280:h=1024:fps=25:format=yv12 -o /tmp/film2.mpg -ovc lavc -lavcopts vcodec=mpeg2video:vhq:vbitrate=8000:aspect=1.33 -oac mp3lame -lameopts cbr:br=112 -of avi -ss 89 -endpos 432

tip: you packed an mpeg stream into an avi container...
http://www.mplayerhq.hu/DOCS/HTML/en/me ... codec.html
KadaverJack
Site admin and forum addon
 
Posts: 1102
Joined: Tue Feb 28, 2006 9:42 pm

Re: My first movie try

Postby Cinquero » Fri Aug 25, 2006 6:48 pm

KadaverJack wrote:tip: you packed an mpeg stream into an avi container...


Uhm, you are right. Now that you say it...
Cinquero
Advanced member
 
Posts: 91
Joined: Wed Jul 19, 2006 11:13 pm

Postby esteel » Fri Aug 25, 2006 9:43 pm

Now the picture quality of this movie is way better. We just need to find a way to combine this with the nice scences in Cuiziniers movie and it would be a really really great thing to have. Though things can still get a bit better by using ultimate.cfg and hope the graphiccard can do the relief mapping stuff. But i found the hdr settings to be a bit high for facing worlds..
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby Cinquero » Fri Aug 25, 2006 9:52 pm

GreEn`mArine wrote:and this "size doesn't matter" is a lie!


Come on! Most people nowadays can get at least 6 MBit (at least here in Germany). The problem for me is rather that the archive.org servers are mostly rather slow (often less than 30kb/s).

esteel wrote:Now the picture quality of this movie is way better. We just need to find a way to combine this with the nice scences in Cuiziniers movie and it would be a really really great thing to have. Though things can still get a bit better by using ultimate.cfg and hope the graphiccard can do the relief mapping stuff. But i found the hdr settings to be a bit high for facing worlds..


What's the problem? ;-)
Cinquero
Advanced member
 
Posts: 91
Joined: Wed Jul 19, 2006 11:13 pm

Postby esteel » Fri Aug 25, 2006 10:30 pm

Its nevertheless nice to see things do not get too big..

Not directly a problem.. lets say Cuizi choose only the best scenes for his movie ;)
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby Cinquero » Fri Aug 25, 2006 10:40 pm

esteel wrote:lets say Cuizi choose only the best scenes for his movie ;)


Well, it was just a first try to get a response on the video quality, not the content quality. :twisted:

Any idea which video editor to use under Linux? kino needs a lot of space and very long import times.
Cinquero
Advanced member
 
Posts: 91
Joined: Wed Jul 19, 2006 11:13 pm

Postby esteel » Fri Aug 25, 2006 11:13 pm

Yeah the video quality was ok though its not yet the highest possible..
Image
I really love the relief mapping.. the floor looks just cool! Uh yeah.. i should have used FSAA, higher resolution and such stuff :P

But sorry i have no idea about video editing :)
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby Cinquero » Sat Aug 26, 2006 4:14 pm

esteel wrote:But sorry i have no idea about video editing :)


I first thought of building support for piping data directly to mplayer into the darkplaces engine, but then realized that this could probably be done by using a simple pipe. Now the next problem is that the DV format, to which mencoder could transform the yv12 output from nexuiz, only allows NTSC or PAL resolutions. ARGH! And it seems that Kino can only handle DV. Why not M-JPEG? That format is probably as simple as DV...

Ok, then I found out about the LiVES video editor for linux. It seems to be capable of handling MJPG or LJPG formats (the latter one improving hard disk space usage by a factor of 2.2+ over raw yv12), but has the disadvantage of converting every single frame into a preview jpeg file when opening the video file. That takes a LOT of time.

The next problem was that the file descriptors for the raw video dump are opened by nexuiz in a non-blocking mode. So, when writing to a pipe ("mknod ~/.nexuiz/data/video/dpvideo001.yv12 p"), the output is truncated -- probably after the first 64kb of every frame or so. Changing the code so that blocking writes are used (please commit that change to the nexuiz codebase in some way, maybe by using a cvar like cl_capturevideo_blocking), solved that problem. My solution is now to pipe raw yv12 video directly via a pipe into mencoder, which then writes the data to an avi using the loss-less LJPG compression.

An example script that creates the pipe node, starts the mencoder and nexuiz demo, and the corresponding ebuild file containing the code changes is available at https://stier.dynu.com/~myportage/games-fps/nexuiz/.

BTW: I have added the nexuiz code to my LXR source code cross referencer at https://stier.dynu.com/~lxr/nexuiz/source/.

Regarding the relief mapping: GeForce Ti4800SE is not OpenGL 2.0 compliant as far as I know... so that feature does not work here. :(

Yet another point: the vertical pixel size should be automatically set using the DPI information from the X org server. Usually, tvtime and other apps need that information, too. To make the nvidia driver work correctly, I had to set "UseEdidDpi" to "FALSE" and adjust the DisplaySize variable in xorg.conf. Many users have a bad display setup if this is not done automatically, because many TFTs have non-square pixels (4:3 format, but 1280x1024, ie. 5:4 resolution).
Cinquero
Advanced member
 
Posts: 91
Joined: Wed Jul 19, 2006 11:13 pm

Postby GreEn`mArine » Sat Aug 26, 2006 5:38 pm

I consider it an art to be able to release superior movie quality movies with a small filesize....

E.g. you can put a 2h movie with fast motion (e.g. "Blade 1", the movie) into a 700mb file with sharp (!) quality and no artifacts.
IRC quote:
[kojn] I've been coming a bit more recently
[kojn] she took it the dirty way
GreEn`mArine
Forum addon
 
Posts: 1509
Joined: Tue Feb 28, 2006 9:33 pm
Location: Germany

PreviousNext

Return to Nexuiz - General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron