Reducing size

If you have questions about compression/encoding/converting look here.
Locked
User avatar
Vax
Sexy black guy
Joined: Sat Oct 11, 2008 11:14 am
Status: Chayin
Location: New York
Org Profile

Reducing size

Post by Vax » Mon Jan 26, 2009 10:51 pm

Alright, got myself a DVD and filtered it and it looks really good. The thing is that its going to take up to 50gb in space and 10 hours of compressing.

Screenshot:
Image

Script:

Code: Select all

mpeg2source("C:\AVATAR\VIDEO_TS\Avatar.D2V")
LanczosResize(640,480)
crop(8,0,-8,0)
TDeint() 
removegrain(mode=7)
Telecide(order=1,dthresh=30) 
Decimate(cycle=5, mode=3, threshold=1.0)
fluxsmoothst(7,7)
LimitedSharpenFaster(strength=200)
tisophote(iterations=2,tstep=.25)
deblock()


Is there anything I can take out that will still make it look good but decrease the size.

User avatar
Autraya
Zero Punctuation
Joined: Tue Mar 11, 2003 12:52 am
Status: old
Location: Terra Australis
Contact:
Org Profile

Re: Reducing size

Post by Autraya » Mon Jan 26, 2009 11:34 pm

btw swap your crop and resize around, crop off the black and then resize.

Ok you can kill audio, reduce the resolution(i wouldn't it's small enough) and save as a yv12(?- pretty sure that's righ don't have the pc with me at work) space lagarith (it's an option in the lagarith encode settings for amvapp 3.0 users).

You can also edit with avs or vfapi to save craploads of space, but if you're like me then lossless works best, so you can make lagariths of each episode and cut out the intro/outro and "next episode previews" OR only make clips of the scenes you thing you might use .
new banzors in the making :p

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Re: Reducing size

Post by Qyot27 » Tue Jan 27, 2009 2:31 pm

Autraya wrote:Ok you can kill audio, reduce the resolution(i wouldn't it's small enough) and save as a yv12(?- pretty sure that's righ don't have the pc with me at work) space lagarith (it's an option in the lagarith encode settings for amvapp 3.0 users).
Actually, if the script is already in YV12, then you just have to use the RGB (Default) selection. The other options force video into that colorspace, but RGB (Default) leaves the colorspace alone. So if the script is already YV12, then the Default will keep it in YV12.
You can also edit with avs or vfapi to save craploads of space, but if you're like me then lossless works best, so you can make lagariths of each episode and cut out the intro/outro and "next episode previews" OR only make clips of the scenes you thing you might use .
Personally, I make low-res MJPEGs first (with ffdshow's MJPEG encoder) and use those to find the clips I need. I write the frame numbers down in a text file, and then go and retrieve them from the full-quality DVD scripts. Generally speaking frame shifts rarely occur, but when they do they aren't wildly off from the numbers I'd jotted down.

For instance, the scripts I used for the first season of Mahoromatic:
Full-quality (which some options would change because the first season is not very uniform):

Code: Select all

MPEG2Source("ep1_1.d2v", ipp=true, cpu=4)
deint = TDeint(mode=2, mtnmode=3, blim=100)
TFM(order=-1,mode=5,PP=7,field=-1,slow=2, clip2=deint)
TDecimate(mode=1)
AssumeFPS(24)
Crop(22,2,-20,0)
deen("w3d",2,8,8,8,8)
gradfun2db(2.0)
Lanczos4Resize(848,512)
Crop(0,16,0,-16)
ColorYUV(gain_u=8)
ConvertToRGB24()
Low-quality for MJPEGs:

Code: Select all

MPEG2Source("ep1_1.d2v", ipp=true, cpu=4)
TFM(order=-1,mode=5,field=-1)
TDecimate(mode=1)
AssumeFPS(24)
BilinearResize(432,240)
Basically, for the MJPEG scripts I only keep what's absolutely necessary for the IVTC operation and to resize to a manageable res (note that I use Lanczos for the DVD and Bilinear for the MJPEGs - this is because Bilinear is less intensive AND makes the video softer and easier to compress). I take everything else out. Sometimes this results in being able to encode an episode very quickly, depending on what the comp's specs are. And since in MJPEG every frame is a keyframe, the Shift + arrows thing in VDub won't work - if you need to quickly scan through them you need to use Ctrl + arrows, as those go 50 frames at a time. I keep the MJPEGs around so I can always refer to them if I come up short on clips - the VOBs get deleted after I get the clips from them, although I keep their scripts around. If I need to pull another clip out I just re-rip the VOB the same way I did the first time and load it back up.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Re: Reducing size

Post by Qyot27 » Tue Jan 27, 2009 2:36 pm

Qyot27 wrote:Ctrl + arrows, as those go 50 frames at a time
Whoops, not Ctrl + arrows, that jumps to the end or beginning. It's Alt + arrows that do 50 frames at a time.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

User avatar
Vax
Sexy black guy
Joined: Sat Oct 11, 2008 11:14 am
Status: Chayin
Location: New York
Org Profile

Re: Reducing size

Post by Vax » Tue Jan 27, 2009 3:54 pm

But the thing is that I don't really want to make clips. Just one full thing.
Its times like this where I wish I had an external. :|

User avatar
SenTrix
Joined: Mon Jun 23, 2008 8:25 am
Status: Editing
Location: South East England
Org Profile

Re: Reducing size

Post by SenTrix » Tue Jan 27, 2009 5:31 pm

btw are you making an amv out of avatar?? if so, i thought that Avatar isnt allowed in the org :amv:
Image <<..:: Click Me ::..>> Image

User avatar
Vax
Sexy black guy
Joined: Sat Oct 11, 2008 11:14 am
Status: Chayin
Location: New York
Org Profile

Re: Reducing size

Post by Vax » Tue Jan 27, 2009 5:51 pm

Sentrix wrote:btw are you making an amv out of avatar?? if so, i thought that Avatar isnt allowed in the org :amv:
I'm aware of that but this section is for general compression and encoding, not only for animes. :amv:

User avatar
Autraya
Zero Punctuation
Joined: Tue Mar 11, 2003 12:52 am
Status: old
Location: Terra Australis
Contact:
Org Profile

Re: Reducing size

Post by Autraya » Tue Jan 27, 2009 6:06 pm

Qyot27 wrote:
Autraya wrote:Ok you can kill audio, reduce the resolution(i wouldn't it's small enough) and save as a yv12(?- pretty sure that's righ don't have the pc with me at work) space lagarith (it's an option in the lagarith encode settings for amvapp 3.0 users).
Actually, if the script is already in YV12, then you just have to use the RGB (Default) selection. The other options force video into that colorspace, but RGB (Default) leaves the colorspace alone. So if the script is already YV12, then the Default will keep it in YV12.
good point we don't know what colourspace they are starting with x_x
new banzors in the making :p

User avatar
Scintilla
(for EXTREME)
Joined: Mon Mar 31, 2003 8:47 pm
Status: Quo
Location: New Jersey
Contact:
Org Profile

Re: Reducing size

Post by Scintilla » Tue Jan 27, 2009 7:52 pm

Vax wrote:But the thing is that I don't really want to make clips. Just one full thing.
I don't think anyone ever actually saves lossless copies of entire series unless they've got obscene amounts of hard drive capacity they're not using. If you can't just skip re-encoding entirely and edit directly with the scripts, then your best bet is the MJPEG swap method, described here. It'll take way less space.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

User avatar
Vax
Sexy black guy
Joined: Sat Oct 11, 2008 11:14 am
Status: Chayin
Location: New York
Org Profile

Re: Reducing size

Post by Vax » Tue Jan 27, 2009 8:47 pm

:|
I stopped after "you may lose all your work"

Can't you make fake .avis?
Wouldn't that mean smaller size?

Locked

Return to “Conversion / Encoding Help”