HOW DO I FIX THIS?

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.

HOW DO I FIX THIS?

Postby TEKnician » Tue Oct 11, 2011 11:49 pm

Image

It has been deinterlaced already, but can someone show me a basic script that can help with this?

So far: I ripped a .VOB and threw it into MPEGStreamclip (Because I have a MAC) and came out with a nice looking MP4, with the exception of the slight aliasing.

I AM NEW AT MAKING SCRIPTS. But i thought i'd learn at least ONE for now...
Almost as hard as fighting a Holy Paladin.
User avatar
TEKnician
 
Joined: 04 Mar 2010
Location: Smack in the middle of the Pacific Ocean
Status: Not reading the spoilers or manga

Re: HOW DO I FIX THIS?

Postby Pwolf » Wed Oct 12, 2011 1:11 am

looks like bad deinterlacing.
ImageImage
ImageImage
Like the AMV .Org App? Think about donating to help me make it better.
User avatar
Pwolf
Friendly Neighborhood Pwaffle
 
Joined: 03 May 2001
Location: Some where in California, I forgot :\

Re: HOW DO I FIX THIS?

Postby EvaFan » Wed Oct 12, 2011 4:14 am

For starters, that resolution is just weird. 954,554 It's not even true 16/9 though it is pretty close. Is there a particular reason its that resolution? The far right of the picture definitely shows signs of bad deinterlacing. The weird resolution and unperfect scaling just made it look worse.

Post your deinterlacing script and a small sample of that scene if possible.
"The people cannot be [...] always, well informed. The part which is wrong will be discontented, in proportion to [...] the facts they misconceive. If they remain quiet under such misconceptions, it is lethargy, the forerunner of death to public liberty. What country can preserve its liberties, if it's rulers are not warned [...] that this people preserve the spirit of resistance? The tree of liberty must be refreshed from time to time, with the blood of patriots and tyrants."-Thomas Jefferson
User avatar
EvaFan
 
Joined: 21 Mar 2004
Location: Somerset, KY
Status: (*゚▽゚)o旦~ ー乾杯ー♪

Re: HOW DO I FIX THIS?

Postby mirkosp » Wed Oct 12, 2011 6:13 am

Not going to go far with MPEGStreamClip.
You need to actually use dgindex and avisynth from the vob if you want good results.
This is, as Scott said, bad deinterlacing. To be more precise, it looks like some very bad postprocess was done to the frame because no matching could be successfully done (if IVTC is what was attemped). Alternatively it looks like some dumb bob in action.
If your anime is telecined, I suggest you to IVTC:
Code: Select all
tfm.tdecimate

Will do its job.
If instead it's actually interlaced, then see about doing:
Code: Select all
tdeint

Or, better albeit slower:
Code: Select all
QTGMC(Preset="Very Slow").selecteven()

To know if your anime is telecined or actually interlaced, look for a pan, then check a 5 frame sequence. If you see 3 progressive frames and 2 interlaced ones in a pattern, it's telecined, if you don't see a pattern but interlacing on all frames, it's interlaced.
Chances are that you could find a hybrid source (ie: a source that mixes telecine and full interlace). These need different treatment based on whether a scene is telecined or interlaced, and you need to decide at which framerate you want to edit and assumefps to that framerate in one or the other case.

As a closing note, OS X is not friendly if you want to do these things properly, since there is no public avisynth build which runs natively on OS X at the time of the writing, so you might have issues with certain filters. Please consider using bootcamp for your filtering needs if you care about your mental health and don't want to run into unnerving limits and issues.
Image
User avatar
mirkosp
MODkip
 
Joined: 24 Apr 2006
Location: Gallarate (VA), Italy
Status: (」・ワ・)」(⊃・ワ・)⊃

Re: HOW DO I FIX THIS?

Postby TEKnician » Wed Oct 12, 2011 11:30 am

EvaFan wrote:For starters, that resolution is just weird. 954,554 It's not even true 16/9 though it is pretty close.

How the heck did you get THAT? it's 853x480! (1.777) The way i took a screenshot is different from windows.
mirkosp wrote:Please consider using bootcamp for your filtering needs if you care about your mental health and don't want to run into unnerving limits and issues.

*sigh* i'm trying soooo hard not to put windows on my mac. But eh...f*** it... woud parallels do it?
Almost as hard as fighting a Holy Paladin.
User avatar
TEKnician
 
Joined: 04 Mar 2010
Location: Smack in the middle of the Pacific Ocean
Status: Not reading the spoilers or manga

Re: HOW DO I FIX THIS?

Postby EvaFan » Wed Oct 12, 2011 2:54 pm

This is what I get for responding while still half asleep. Didn't notice the white borders around the video frame on the picture, sorry.
"The people cannot be [...] always, well informed. The part which is wrong will be discontented, in proportion to [...] the facts they misconceive. If they remain quiet under such misconceptions, it is lethargy, the forerunner of death to public liberty. What country can preserve its liberties, if it's rulers are not warned [...] that this people preserve the spirit of resistance? The tree of liberty must be refreshed from time to time, with the blood of patriots and tyrants."-Thomas Jefferson
User avatar
EvaFan
 
Joined: 21 Mar 2004
Location: Somerset, KY
Status: (*゚▽゚)o旦~ ー乾杯ー♪

Re: HOW DO I FIX THIS?

Postby TEKnician » Wed Oct 12, 2011 7:34 pm

EvaFan wrote:This is what I get for responding while still half asleep. Didn't notice the white borders around the video frame on the picture, sorry.

Oh? Your eyes looked wide open to me! :awesome:
Almost as hard as fighting a Holy Paladin.
User avatar
TEKnician
 
Joined: 04 Mar 2010
Location: Smack in the middle of the Pacific Ocean
Status: Not reading the spoilers or manga

Re: HOW DO I FIX THIS?

Postby mirkosp » Wed Oct 12, 2011 10:44 pm

The_TEKnician wrote:
mirkosp wrote:Please consider using bootcamp for your filtering needs if you care about your mental health and don't want to run into unnerving limits and issues.

*sigh* i'm trying soooo hard not to put windows on my mac. But eh...f*** it... woud parallels do it?

I think it might, yes, though I'm not sure since I never had to try this myself.

Also, just to be clear, I'm not telling this due to one OS being better or worse than the other or anything. I can understand why you might not want to have to install Windows at all. It's just that avs is native to windows only, so it obviously is going to be a PITA on other OSs, like it or not. It's like if one wanted to use Final Cut on Windows... yeah, no, just use it on OS X, that's the thing. Some programs are just thought/tied to the OS they were made on too much for other solutions to be quite valid.
Image
User avatar
mirkosp
MODkip
 
Joined: 24 Apr 2006
Location: Gallarate (VA), Italy
Status: (」・ワ・)」(⊃・ワ・)⊃

HOW DO I FIX THIS?

Postby LantisEscudo » Thu Oct 13, 2011 12:14 am

The_TEKnician wrote:woud parallels do it?

It would, but Parallels is a virtual machine, so it won't run nearly as fast as if you run Windows natively through Boot Camp. Just food for thought, since filtering can be very processor-intensive.
User avatar
LantisEscudo
 
Joined: 08 Mar 2001
Location: Vermont

Re: HOW DO I FIX THIS?

Postby TEKnician » Thu Oct 13, 2011 12:34 am

Nevermind! I got it!

Image

This might be a dumb question but: HOW DO I PUT THE AUDIO BACK INTO MY VIDEO? DGindex demuxed the audio into an .ac3 file and i can't mux it back in. Is that how its supposed to be? Cuz i have some AMV ideas that need the original audio to make them...

This is my script so far:

Code: Select all
mpeg2source("C:\users\crossover\Desktop\My Mac Desktop\test.d2v")
tfm.tdecimate



..................



Yeah...that's it. *standing ovation* That IVTC thing fix'd everything (as prophesied by mirkosp) I'm just playing with the video filters that VirtualDub has to offer (which are pretty interesting, useful, and simplistic). But i'll take care of the particulars later. Since i have to run the avi through MPEGStreamclip anyways, I thought i'd just crop and resize there. The only thing is, wen i move it to an FCPX-friendly mp4 (resized to 853x480 codec: H.264), i see this:

Image

Not so perfect anymore...
Almost as hard as fighting a Holy Paladin.
User avatar
TEKnician
 
Joined: 04 Mar 2010
Location: Smack in the middle of the Pacific Ocean
Status: Not reading the spoilers or manga

Re: HOW DO I FIX THIS?

Postby Zarxrax » Thu Oct 13, 2011 6:11 am

In dgindex, I think there is an option to decode the audio to wav, or something along those lines. Choose that, and you will get a wav file that will behave nicely in whatever software you are using.
User avatar
Zarxrax
 
Joined: 01 Apr 2001
Location: Concord, NC

Re: HOW DO I FIX THIS?

Postby TEKnician » Thu Oct 13, 2011 5:55 pm

Zarxrax wrote:In dgindex, I think there is an option to decode the audio to wav, or something along those lines. Choose that, and you will get a wav file that will behave nicely in whatever software you are using.

Well that didn't work, but das okay! I just used apple Compressor 4 to change it to an mp3 and it works fine.
Almost as hard as fighting a Holy Paladin.
User avatar
TEKnician
 
Joined: 04 Mar 2010
Location: Smack in the middle of the Pacific Ocean
Status: Not reading the spoilers or manga

Re: HOW DO I FIX THIS?

Postby Scintilla » Thu Oct 13, 2011 8:47 pm

The_TEKnician wrote:
Zarxrax wrote:In dgindex, I think there is an option to decode the audio to wav, or something along those lines. Choose that, and you will get a wav file that will behave nicely in whatever software you are using.

Well that didn't work, but das okay! I just used apple Compressor 4 to change it to an mp3 and it works fine.

If you already have something that accepts .ac3 files as input, you want to convert to a lossless format like .wav* or .aiff if at all possible, rather than .mp3. There's no sense in going through another round of lossy compression if you don't have to.


* I know you can use lossy codecs such as ADPCM to store audio streams in .wav files, but who actually does that anymore? I'm assuming straight PCM here.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:
User avatar
Scintilla
(for EXTREME)
 
Joined: 31 Mar 2003
Location: New Jersey
Status: Quo

Re: HOW DO I FIX THIS?

Postby TEKnician » Wed Oct 19, 2011 2:50 am

whoa, wait...

ARE MY FINISHED FILES SUPPOSED TO BE SO FRIGGIN HUGE? 12GB? 30GB? HOLY CRAP! DIDN'T HUFFYUV COMPRESS THEM? or is it supposed to be like that even after I send it to MPEGStreamclip? (which BTW i'm now exporting as mp4 at 72% .H264)

Everythings fine up until the streamclip part...
Almost as hard as fighting a Holy Paladin.
User avatar
TEKnician
 
Joined: 04 Mar 2010
Location: Smack in the middle of the Pacific Ocean
Status: Not reading the spoilers or manga

Re: HOW DO I FIX THIS?

Postby mirkosp » Wed Oct 19, 2011 4:51 am

Yes they are supposed to. Lossless files will be big. Not as much as outright uncompressed but still big. Your NLEs will love them, though. Your HDDs shouldn't care if you have those 60 bucks 2TB HDDs.
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 2 guests