Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > New and alternative video codecs

Reply
 
Thread Tools Search this Thread Display Modes
Old 25th June 2010, 10:22   #1  |  Link
AlekseiV
Registered User
 
Join Date: Jan 2010
Posts: 92
Fast inter-frame lossless codecs?

Think this is the right section.

What are my options for a fast inter-frame codec? I'm recording short snippets losslessly of an online game (Transformice) which has some areas with high motion and a whole lot with none. Inter-frame coding should give a huge benefit for it, but I don't know any codecs that do this.

Screenshot example here.

Anybody know of any?
AlekseiV is offline   Reply With Quote
Old 25th June 2010, 10:24   #2  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
x264 on a fast preset (e.g. ultrafast) should be fast enough.
Dark Shikari is offline   Reply With Quote
Old 25th June 2010, 10:30   #3  |  Link
AlekseiV
Registered User
 
Join Date: Jan 2010
Posts: 92
I'm using a VfW build of x264, actually, but unfortunately it's in YV12 which causes noticeable degradation, especially since I'm upscaling later. (If I don't, YouTube does some bizarre resizing that makes the quality awful.)
AlekseiV is offline   Reply With Quote
Old 25th June 2010, 10:36   #4  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Quote:
Originally Posted by AlekseiV View Post
I'm using a VfW build of x264, actually, but unfortunately it's in YV12 which causes noticeable degradation, especially since I'm upscaling later. (If I don't, YouTube does some bizarre resizing that makes the quality awful.)
You should say that you need a specific colorspace then. In which case you're probably screwed, because I don't know of any lossless interframe codec that isn't YUV. Hell, the only lossless interframe codecs I know of are x264, Snow, and Dirac.
Dark Shikari is offline   Reply With Quote
Old 25th June 2010, 12:13   #5  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,988
Capture using HuffYUV or whatever to keep the RGB. Keep in mind, It's all going to be converted to YV12 eventually if you're going to YouTube!

That sample YouTube clip you linked to doesn't look too bad to me in 480p mode. You're using a free video host, keep in mind

Since your sample image is 800x600, I can only assume your game can only render in 4x3, correct? If so, you can still get an "HD" stream out of YouTube. Here's how.

1) Capture at 1024x768, or ideally 960x720 if you can
2) Use an AviSynth script like this:
Code:
AVISource("cap.avi") #assuming your capture is RGB, right?

Spline36Resize(960,720) #Make it 4x3 720p if it isn't already

ConvertToYV12(matrix="rec709") # YV12 using TV range rec709 colors, standard for HD

AddBorders(160,0,160,0) # Matte it, tricking YouTube into thinking the clip is vanilla 720p
Encode this with x264 using high quality settings (low CRF number, maybe 16-18), using the slowest settings you can stand. Then you will have a nicely juiced 1280x720 H.264 mezzanine file you can keep or push up to YouTube.

Of course, if you're just trying to save space on your capture files I'm not being terribly helpful!!!!

Derek
__________________
These are all my personal statements, not those of my employer :)
Blue_MiSfit is offline   Reply With Quote
Old 25th June 2010, 13:57   #6  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,480
FWIW, there exist also Camstudio (1.0) and MotionPNG (both for VfW). The gzip compression of Camstudio is slow, MotionPNG with P-frames is even slower. But I have no idea if YouTube "understands" them...
Midzuki is offline   Reply With Quote
Old 26th June 2010, 01:09   #7  |  Link
dr.schanker
Registered User
 
dr.schanker's Avatar
 
Join Date: Feb 2002
Location: Berlin, Germany
Posts: 23
MSU Screen Capture Lossless Codec
http://forum.doom9.org/showthread.php?t=109258
dr.schanker is offline   Reply With Quote
Old 26th June 2010, 13:18   #8  |  Link
Leeloo Minaļ
Registered User
 
Join Date: Nov 2007
Posts: 50
Prefer Camstudio over MSU Screen Capture codec, Camstudio is one of the fastest (in LZO compression mode) screen capture codecs.

MSU offers the best compression rate... at the cost of speed, it is more interesting for archiving.
Leeloo Minaļ is offline   Reply With Quote
Old 28th June 2010, 08:23   #9  |  Link
pandy
Registered User
 
Join Date: Mar 2006
Posts: 1,049
There is Lossless JPEG (ffdshow)
pandy is offline   Reply With Quote
Reply

Tags
inter-frame, lossless

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 17:59.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.