[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4787: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4790: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
InsideQC Forums • View topic - Video Capture Enhancements

Video Capture Enhancements

Discuss programming topics for the various GPL'd game engine sources.

Moderator: InsideQC Admins

Re: Video Capture Enhancements

Postby revelator » Wed Jul 18, 2012 8:42 am

Ok read the legal papers and there are two versions.

One the non commercial version which anyone can use but its illegal to sell media encoded with it.
Two the commercial version where you can sell media encoded with it but will have to pay a royalty.

The GPL version is free to use as long as you dont charge money for media encoded with it.
Firefox uses it internally allready to play internet video streams.

So its perfectly safe to use for say quake videos unless someone tries to get a fee for doing it.
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: Video Capture Enhancements

Postby taniwha » Wed Jul 18, 2012 8:55 am

Leave others their otherness.
http://quakeforge.net/
taniwha
 
Posts: 399
Joined: Thu Jan 14, 2010 7:11 am

Re: Video Capture Enhancements

Postby revelator » Wed Jul 18, 2012 9:07 am

mp3 i can understand as they newer opensourced it though some encoders like lame does support it its somewhat of a grayzone though and i wouldnt use it unless i was 100 certain.
on2 (h.264 patent owners) themselfes support the GPL version so i would not be as scared to use it unless i broke the rules put in the GPL license.

if in doubt one could use theora (ogg video codec) or dirac (though many mediaplayers dont support it yet).

Or to get really cocky one could just call the dll and thereby avoiding including any of the code (joequake does so with fmod) bit like we call opengl32 or in directq case d3d39.dll etc.
Might even be a better approach as we could support multiple codecs depending on what we have installed without being in doubt if we broke some law.
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: Video Capture Enhancements

Postby Baker » Wed Jul 18, 2012 9:29 am

Let's just all agree it isn't really GPL but open source of some type and the idea is to let you use the code and if you do something cool, buy a license. And that is nice of them, even if the description of "GPL" is being inaccurately used.

License agreement discussions never end and never entertain. This one has been "ok" so far but let's quit while we're ahead! :D
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Re: Video Capture Enhancements

Postby revelator » Wed Jul 18, 2012 9:33 am

Agree :) can be a bit taxing (phun intentional).
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: Video Capture Enhancements

Postby taniwha » Wed Jul 18, 2012 11:47 am

Ah, good to end with a chuckle :)
Leave others their otherness.
http://quakeforge.net/
taniwha
 
Posts: 399
Joined: Thu Jan 14, 2010 7:11 am

Re: Video Capture Enhancements

Postby Spike » Wed Jul 18, 2012 7:43 pm

gpl2 is more lax than that. if your codec is part of the system or compiler then chunks of the gpl do not apply. 'part of the compiler' is too hard to argue, but windows does come with mp3 decoders, licensed as part of the cost of your windows license.
gpl2 has nothing against patents specifically. using that windows componant allows you to avoid implementing the patented algorithm in your code, while avoiding the gplv2's contageous nature.
(system component allowances are separate from the 'mere amalgomation' terms of the gpl which avoids the issues of linking to questionably-non-separate-work dlls)

of course, linux users are utterly %£*$ed.

then again, as the gplv2 has nothing against patents specifically, those linux users could move to a sane country that doesn't impose patents on software and there would be no restrictions. for them. but now I'm getting in to politics so I'll end this post here.
.
Spike
 
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: Video Capture Enhancements

Postby revelator » Wed Jul 18, 2012 9:15 pm

Allready in one of those countries :) but i feel the pain for those who are not.
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: Video Capture Enhancements

Postby mh » Thu Jul 19, 2012 12:03 am

User avatar
mh
 
Posts: 2292
Joined: Sat Jan 12, 2008 1:38 am

Re: Video Capture Enhancements

Postby Spirit » Thu Jul 19, 2012 7:39 am

Things to consider:

Span recording over re-loads/changelevels in a demo. Do not screw up audio sync there.

Add options to seriously embiggen hud elements and texts.

Make sure gamma levels are used properly to the output even in window mode.

Save the video with the same basename as the demo file.

Be able to write avi bigger than 4GB. Indexed if possible.

Have the option to both skip over pauses/console-moments as well as allow capture of the console too (for tutorials etc).

I capture in lossless avi and then simply use ffmpeg to encode to H264 (libx264 using the slow preset) and mp3 (libmp3lame using 192kbps fixed). This gives great quality and is fast enough and small enough for me: http://www.youtube.com/user/quaddicted

As much as I am against patents and stuff, this is simply the only viable option if you plan to upload your videos to youtube or other hosts that will reencode it. For years I tried with Theora and Webm, thinking that it would be good enough but frankly x264 kicks any encoders ass and since I already made a pact with the devil now (Youtube/Google, Facebook) why bother.

I'd completely drop Xvid/Divx. Surely H264 on a fast profile would be better in any case.
Improve Quaddicted, send me a pull request: https://github.com/SpiritQuaddicted/Quaddicted-reviews
Spirit
 
Posts: 1037
Joined: Sat Nov 20, 2004 9:00 pm

Re: Video Capture Enhancements

Postby Baker » Thu Jul 19, 2012 7:49 am

The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Re: Video Capture Enhancements

Postby qbism » Thu Jul 19, 2012 5:03 pm

Many ways to skin a cat...

I set Xvid quality settings high and record to that rather than lossless. On my machine this is actually faster when doing HD, possibly because hard drive is slow. Xvid file size is much larger to get similar quality of h.264, but Xvid encodes much faster and is easier to edit.

I would prefer not to encode with the gamma, but wouldn't mind this as a feature because it can be set to 1.0 during vid record. I say without gamma because I always remix in a video editor anyway. Avidemux is good for quick cut-and-paste. Have to crank up the contrast and perhaps do some sharpening to keep Youtube from turning Quake vids into blurry mush.
User avatar
qbism
 
Posts: 1236
Joined: Thu Nov 04, 2004 5:51 am

Re: Video Capture Enhancements

Postby Spirit » Thu Jul 19, 2012 5:41 pm

It probably would not be a blurry mess if you used H264. ;)

Capturing with a brighter gamma is lightyears better than changing colors in the video afterwards. This might also contribute to your blurriness.

Not to mention that if you edit the video later on and re-encode it, you seriously lose quality. Even more so with XviD.
Improve Quaddicted, send me a pull request: https://github.com/SpiritQuaddicted/Quaddicted-reviews
Spirit
 
Posts: 1037
Joined: Sat Nov 20, 2004 9:00 pm

Re: Video Capture Enhancements

Postby Baker » Thu Jul 19, 2012 6:54 pm

The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Re: Video Capture Enhancements

Postby qbism » Fri Jul 20, 2012 3:13 am

The blurriness I'm talking about occurs after upload to youtube in Quake's "native" darkishness, when youtube's recompression removes detail from dark areas. But the video quality of Spirit's Quake movies are the best I've seen on Youtube. So it's time to join the dark side although I despise facebook :D

What codec packs are people using? I've been using klite because it plays just about anything with the included media player, but I notice that not all the fourcc codes are available to Quake.
User avatar
qbism
 
Posts: 1236
Joined: Thu Nov 04, 2004 5:51 am

PreviousNext

Return to Engine Programming

Who is online

Users browsing this forum: No registered users and 2 guests