Resize 1080p to 720p?

This forum is for questions and discussion of all the aspects of handling your footage. If you have questions about capturing/ripping footage, AviSynth, or compression/encoding/converting, look here.

Resize 1080p to 720p?

Postby Venodium » Fri Nov 12, 2010 8:42 am

I've got my hands on some 1080p episodes of an Anime but the files are way too big after converting to something editable without quality loss.
I could probably re-download it in 720p but that would take quite some time...
So I wanted to know if there's a possibility to resize 1080p to 720p, which is plenty enough for me.
If possible the format should stay .mkv to maintain a rather small videofile without bad quality and easy ways to convert them :)
Would be great if there'd be a way with VDub or VDubMod, but that's not so important
User avatar
Venodium
 
Joined: 09 Nov 2009

Re: Resize 1080p to 720p?

Postby Venodium » Fri Nov 12, 2010 8:45 am

The 1080p files are in .mkv, too btw
User avatar
Venodium
 
Joined: 09 Nov 2009

Re: Resize 1080p to 720p?

Postby ngsilver » Fri Nov 12, 2010 8:45 am

The easiest method would be to simply use an avisynth script and spline36resize(1280,720) the video so you now have 720p.

You can basically do the same thing in vdub. Simply apply the resize filter (though I think the best resizer you can use is lanzcos) and resize to 1280x720. Then simply save your clip or full encode in whatever codec you wish to use.

It's really as simple as that.

However, getting an mkv file into vdub is the harder part. Avisynth can do it, but then you don't really need vdub to do the resize anymore.
ImageImage
ImageImageImage
User avatar
ngsilver
The Hookah Guy
 
Joined: 28 Jun 2003
Location: Detroit area
Status: Calm Your Miniature Colorful Horses

Re: Resize 1080p to 720p?

Postby Venodium » Fri Nov 12, 2010 8:52 am

I'm not really good with avisynth and Vdub creates the neccessary files to open .mkv itself so I'm good with that :awesome:

The easiest method would be to simply use an avisynth script and spline36resize(1280,720) the video so you now have 720p.

Is there a tutorial or something for that? Or any other method? Would be awesome :)
User avatar
Venodium
 
Joined: 09 Nov 2009

Re: Resize 1080p to 720p?

Postby ngsilver » Fri Nov 12, 2010 12:01 pm

ImageImage
ImageImageImage
User avatar
ngsilver
The Hookah Guy
 
Joined: 28 Jun 2003
Location: Detroit area
Status: Calm Your Miniature Colorful Horses

Re: Resize 1080p to 720p?

Postby Phantasmagoriat » Fri Nov 12, 2010 6:43 pm

So you ripped your Official BDs with DVDfab into the .mkv container... sounds like a good method to me...

http://www.animemusicvideos.org/guides/ ... rmats.html
Image
Org Profile | AMVGuide | Phan Picks! | THE424SHOW | YouTube | "Galactic Escape"

"Effort to Understand; Effort to be Understood; to See through Different Eyes."
User avatar
Phantasmagoriat
 
Joined: 06 Feb 2006
Status: ☁SteamPunked≈☂

Re: Resize 1080p to 720p?

Postby mirkosp » Fri Nov 12, 2010 6:56 pm

Phantasmagoriat wrote:So you ripped your Official BDs with DVDfab into the .mkv container... sounds like a good method to me...

http://www.animemusicvideos.org/guides/ ... rmats.html


I'm not sure if you're being sarcastic or what, but demuxing m2ts and remuxing the video stream into an mkv and using ffms2 on that is pretty much the best way to deal with blu-rays (at least if you don't want to spend money on a neuron2 license to use dgdecnv or dgavcdecdi...).
Now, the case at hand might be another thing, but... unno, heh, gotta give what is due. :roll:
Image
User avatar
mirkosp
MODkip
 
Joined: 24 Apr 2006
Location: Gallarate (VA), Italy
Status: (」・ワ・)」(⊃・ワ・)⊃

Re: Resize 1080p to 720p?

Postby Qyot27 » Fri Nov 12, 2010 7:17 pm

ngsilver wrote:However, getting an mkv file into vdub is the harder part.

http://home.comcast.net/~fcchandler/index.html

Or the DirectShow input plugin that Avery Lee made available on the VirtualDub forums (http://forums.virtualdub.org/index.php? ... 15093&st=0).

fcchandler's is designed from the Matroska spec and retains keyframe positions from the source stream. The DirectShow input plugin makes every frame a keyframe, and obviously uses DirectShow as the interface, relying on whatever DS-based MKV splitter you have installed.

Obviously, these only work with versions of VDub supporting the input driver system.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog
User avatar
Qyot27
Surreptitious fluffy bunny
 
Joined: 30 Aug 2002
Location: St. Pete, FL
Status: Creepin' between the bullfrogs

Re: Resize 1080p to 720p?

Postby Phantasmagoriat » Fri Nov 12, 2010 7:22 pm

mirkosp wrote:
Phantasmagoriat wrote:So you ripped your Official BDs with DVDfab into the .mkv container... sounds like a good method to me...

http://www.animemusicvideos.org/guides/ ... rmats.html
I'm not sure if you're being sarcastic or what, but demuxing m2ts and remuxing the video stream into an mkv and using ffms2 on that is pretty much the best way to deal with blu-rays (at least if you don't want to spend money on a neuron2 license to use dgdecnv or dgavcdecdi...).
Now, the case at hand might be another thing, but... unno, heh, gotta give what is due. :roll:
Sorry, I'm not being sarcastic about the method.
In fact, that's precisely what I do ;).
But I am being sarcastic because it's clearly not what the OP did :|
Image
Org Profile | AMVGuide | Phan Picks! | THE424SHOW | YouTube | "Galactic Escape"

"Effort to Understand; Effort to be Understood; to See through Different Eyes."
User avatar
Phantasmagoriat
 
Joined: 06 Feb 2006
Status: ☁SteamPunked≈☂

Re: Resize 1080p to 720p?

Postby Mister Hatt » Tue Nov 23, 2010 5:22 am

There is no good way to handle BD ripped AVC in MKV unless it is progressive and you are very lucky. FFMS2 has a lot of issues with it still, although less if you use straight linear seeking. In fact linear seeking and just letting it run on progressive material at least will usually come out almost perfect. The current preferred method I guess is to use something like JM as I do, or to otherwise bend over for neuron2 and buy a license for dgavcdecdi. Note that JM is low as all shit, but at least you have your dignity and anal e-virginity.
Mister Hatt
 
Joined: 25 Dec 2007
Status: better than you

Re: Resize 1080p to 720p?

Postby Micio2 » Wed Nov 24, 2010 12:52 pm

ngsilver wrote:... use an avisynth script and spline36resize(1280,720) the video so you now have 720p...


As long as he just need to scale down less than half the original size, isn't it better spline16resize?

I think 8 samples too much for scale down only to 2/3 of full size, it maybe using spline36resize will lead to less sharpness than spline16resize. But I think hardly someone can notice the difference viewing the resulting video: the two videos needs be compared frame by frame :rofl:

This makes me to think run some test.... never scaled 1080 to 720 :oops: (scaling 1080 to 320, more often, and spline36resize works like a charm :D )
User avatar
Micio2
 
Joined: 15 Apr 2010

Re: Resize 1080p to 720p?

Postby Mister Hatt » Thu Nov 25, 2010 5:46 am

No? Spline36 is the best to use, unless you don't have any idea what the numbers do, in which case use whatever looks nicer to you when you write it.
Mister Hatt
 
Joined: 25 Dec 2007
Status: better than you

Re: Resize 1080p to 720p?

Postby Venodium » Thu Nov 25, 2010 1:24 pm

I just went with the vDubMod Filter "Resize" which works pretty well and is easy :lol:
Thanks everyone
User avatar
Venodium
 
Joined: 09 Nov 2009

Re: Resize 1080p to 720p?

Postby Micio2 » Fri Nov 26, 2010 5:01 pm

Mister Hatt wrote:No? Spline36 is the best to use, unless you don't have any idea what the numbers do, in which case use whatever looks nicer to you when you write it.


I ran some tests about:

original image, I choose something hard to scale down and keep sharp:
Image

Then, I have resized the image to 171x171, that is the same rate when you scale down from 1080p to 720p, using Spline16, here the result:
Image

and finally, I resized the original source using Spline36:
Image

What a wonder! I can't tell any difference between the two resized images (but see the huge difference from source: light circles are totally misplaced!), and Spline16 taken 3 times less cpu to resize. This maybe can save the day if your pc is not high end and you wanna encode 2 hours of HD video there.

Personally, maybe because I also studied the math behind all of this, I was expecting Spline36 performing worse than Spline16, because it was taking more samples than really needed to scale an image down to 67% of original size. That was the purpose of my first post.

At the end, just to avoid confusion about what filter is "the best" about resize, truth is that doesn't exists the best filter. Any filter has his own good and bad things, it is your experience and knowledge of what you are doing, to let you choose the correct filter for your resize purpose.

Wanna go ahead the cubics? Here some hints.
User avatar
Micio2
 
Joined: 15 Apr 2010

Re: Resize 1080p to 720p?

Postby mirkosp » Fri Nov 26, 2010 5:05 pm

Tip: anime resize looks differently than what a test image like the one above would, since the colouring and lines are different in kind. The effectiveness of resizing algorithms varies with the content, too...
Image
User avatar
mirkosp
MODkip
 
Joined: 24 Apr 2006
Location: Gallarate (VA), Italy
Status: (」・ワ・)」(⊃・ワ・)⊃

Next

Return to Footage Help

Who is online

Users browsing this forum: No registered users and 0 guests