Video is jumpy and out of focus when editing.

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.

Video is jumpy and out of focus when editing.

Postby Angeteen » Sat Mar 05, 2011 5:36 am

I'm trying to do an AMV featuring "Welcome to the NHK," unfortunately all I got are .mkv files of the series. Whenever I convert the video to .avi the video seems to either jump up and down a bit, or flicker a little bit at the top. To make matters worse it appears the video is permanently out of focus (things look fuzzy). When playing the video back, however, the problems just went away. So far I have tried to do an uncompressed conversion of .mkv to avi, and then performed another conversion this time to compress the video. So far no luck with either ffmpeg or Xvid. I also tried using avisynth with the DirectShowSource, and the FFMpeg input commands, and again, no luck. Since I have tried everything I could think of to solve the problem I was wondering if there was anything else I could do?
For five years I've been an otaku and all I got was this lousy sub.
Angeteen
 
Joined: 03 Jul 2004

Re: Video is jumpy and out of focus when editing.

Postby Mister Hatt » Sat Mar 05, 2011 1:12 pm

Maybe explain what seemingly broken method you used to convert your probably decentish AVC files to AVI in the first place, and maybe which AVI format and codec you're using?
Mister Hatt
 
Joined: 25 Dec 2007
Status: better than you

Re: Video is jumpy and out of focus when editing.

Postby Angeteen » Sat Mar 05, 2011 4:37 pm

I'm using VirtualDubMod to handle all conversions. Since .mkv files are annoying to work with, instead of doing a conversion/compression in one pass, I do them separately. As a result the first pass is just for converting a .mkv to an uncompressed .avi file. Then I make a second pass using either ffmpeg or xvid to compress the image down into a smaller size (at 4400 bitrate in ffmpeg the image ends up being around 186 MB).

Since this method didn't work I tried using an avisynth file to import the uncompressed file into VirtualDubMod to be compressed. So far I've used DirectShowSource and FFMpegSource to input the file to be converted. Since the compressed video file still contained jumpiness and poor focus when editing, I tried to input the original video file using avisynth, did an .mkv to uncompressed .avi file conversion, and then tried to compress the new file using ffmpeg. As expected that didn't work out either.

So basically the cliff notes version of this is I do two passes using VirtualDubMod (one for file conversion, and one for compression), I regularly use ffmpeg for compression, and occasionally I'll use avisynth to try and import files into VirtualDubMod to see if it will have any effect on converting/compressing.
For five years I've been an otaku and all I got was this lousy sub.
Angeteen
 
Joined: 03 Jul 2004

Re: Video is jumpy and out of focus when editing.

Postby Angeteen » Sat Mar 05, 2011 4:44 pm

I apologize for the double post, but I just now realized that I goofed when I was referring to ffmpeg being used a codec. FFmpeg(Source) is what I've been using for the input command when using avisynth, where as for file conversion using VirtualDubMod, I regularly use ffdshow. So, yeah, I now realize why some of what I was saying didn't make a lot of sense.
For five years I've been an otaku and all I got was this lousy sub.
Angeteen
 
Joined: 03 Jul 2004

Re: Video is jumpy and out of focus when editing.

Postby post-it » Sat Mar 05, 2011 5:44 pm

.. simply make-up your mind on How Your Going To Edit It
and stick with that program.
1) Convertion tools and Virtual Dub
2) AviSynth and the AMV animation package
3) AviDemux and a large learning scale
4) all the above
5) none of the above

Virtual Dub was one of the Earliest "Section Editors Developed" and is still the easiest to use.
AviDemux is the next easiest.
AviSynth is said to be less painful than working with Adobe Products.
User avatar
post-it
 
Joined: 17 Jul 2002
Status: Audio: bass remains; if else, 3D

Re: Video is jumpy and out of focus when editing.

Postby Angeteen » Sat Mar 05, 2011 10:36 pm

I use VirtualDubMod for converting/compressing files, and then I use Premiere for the actual editing. So to make things simpler I guess I should ask how can I convert a .mkv to an .avi using VirtualDubMod so as to remove the jumpiness/blurriness that appears in Premiere?
For five years I've been an otaku and all I got was this lousy sub.
Angeteen
 
Joined: 03 Jul 2004

Re: Video is jumpy and out of focus when editing.

Postby Mister Hatt » Sun Mar 06, 2011 4:18 am

Completely ignore post-it. Firstly, stop using VirtualDubMod, get yourself the latest VirtualDub from virtualdub.org instead. Secondly, stop using an ancient version of ffms in avisynth and load your source material up with ffvideosource("yourfile.mkv") after downloading the latest version of ffms2 from whatever the googlecode site is now, and throw it directly into VirtualDub. Next, encode two versions of it. One with shitty compressed-as-fuck codec of choice, and another with UTVideo or some other lossless codec according to your preference. Now edit with the shitty compressed one, then switch it out for the lossless one and export. Encode all sugoi and shit with crf'd x264 and release a nice shiny mkv file, because the mp4 camp is full of wank and hipster bullshit.
Mister Hatt
 
Joined: 25 Dec 2007
Status: better than you

Re: Video is jumpy and out of focus when editing.

Postby Angeteen » Sun Mar 06, 2011 7:11 pm

Okay, I'll try what your suggested, and see what happens. It's not like what I've been trying so far has had any luck yet, so I'm willing to try almost anything at this point. :|
For five years I've been an otaku and all I got was this lousy sub.
Angeteen
 
Joined: 03 Jul 2004

Re: Video is jumpy and out of focus when editing.

Postby Angeteen » Sun Mar 06, 2011 11:57 pm

I've tried to use VirtualDub and I get the following error when trying to import the aviscript file; AVI Import Filter error: {Unkown) (80040154). Since VirtualDub has problems with .mkv files this would make sense, so i tried running the script with VirtualDubMod. I got another error message this time it said

Avisynth open failure:
script error: there is no function named "ffms2"
{C:\VirtualDubMod\Video.avs, line 2)

So here is a copy of my .avs script.

loadplugin("C:\Program Files (x86)\AviSynth 2.5\plugins\ffms2.dll")
ffms2("G:\Welcome to the NHK\[Oyasumi]_Welcome_to_the_NHK!_01_[B17D228B].mkv")

Since I've already copied the ffm2 plugin to the plugins directory I can't figure out why it didn't work. I've even tried adding a line to point to the plugin, but that seemed to make no difference at all, so what can I do in order to convert the following file to an .avi?
For five years I've been an otaku and all I got was this lousy sub.
Angeteen
 
Joined: 03 Jul 2004

Re: Video is jumpy and out of focus when editing.

Postby Cannonaire » Mon Mar 07, 2011 2:17 am

Code: Select all
loadplugin("C:\Program Files (x86)\AviSynth 2.5\plugins\ffms2.dll")
ffvideosource("G:\Welcome to the NHK\[Oyasumi]_Welcome_to_the_NHK!_01_[B17D228B].mkv")

This should work better. Also, this should allow you to open it in virtualdub correctly. We aren't joking when we say that virtualdubmod is the cause of many, many issues people have here. It is enormously outdated and there is no reason to still use it.
Image Think millionaire, but with cannons. || Resident Maaya Sakamoto fan.
User avatar
Cannonaire
 
Joined: 05 May 2010
Location: Oregon
Status: OVERLOAD

Re: Video is jumpy and out of focus when editing.

Postby Angeteen » Mon Mar 07, 2011 4:31 am

I tried it out, and while the .avs script runs fine on VirtualDubMod, I get another "AVI import filter error" whenever I try to use it with VirtualDub. So the good news is the script works it's just that it doesn't want to work with VirtualDub. I think it may be the limitation of VirtualDub not being able to handle .mkv files, so would that mean I should use another program to do the converting?
For five years I've been an otaku and all I got was this lousy sub.
Angeteen
 
Joined: 03 Jul 2004

Re: Video is jumpy and out of focus when editing.

Postby Mister Hatt » Mon Mar 07, 2011 7:06 am

Actually I'm gonna play devil's advocate and say there totally is a reason to use VDM still, two in fact, but I'm not going to say what they are. One of them is also THE reason to use NanDub though.

There is no such limitation of VDub not handling matroska files seeing as you're loading an AVI file (which is really a decoded matroska file with other things done to it but that is not the point.) Avisynth files are literally interpreted as uncompressed AVI files; they output raw bitmap frames into a cache which you are able to access in your playback setup.
Mister Hatt
 
Joined: 25 Dec 2007
Status: better than you

Re: Video is jumpy and out of focus when editing.

Postby Mister Hatt » Mon Mar 07, 2011 7:10 am

By the way, there is no logical reason for it to work in vdm and not regular vdub seeing as everything access avs the same way, so unless that method itself is a problem (and if it is, you have far bigger issues to deal with), something else is going on and it is most likely vdm doing something stupid while you have a completely broken avs file.
Mister Hatt
 
Joined: 25 Dec 2007
Status: better than you

Re: Video is jumpy and out of focus when editing.

Postby post-it » Mon Mar 07, 2011 5:52 pm

Completely ignore Mister Hatt. Firstly, this is not the 1990's!
Variable Encodes are quite common and they will through your picture-sequence timing-off!!!!
. would it not be easier to just load it into AviDemux and Get To Work On It -- the right way?
AviDemux was designed to work in the Y2K ERA, use it!
. it understands AVS, MKv, MP4, Xvid and Divx + variable timings and X264 and Ignores "Alpha 3.11" .. .
. it can work with FLAC, Mpa, MP3, MP2, ACC .. variable timings and AC_5+
. it knows the difference between Constant and Variable encodes and detects "that" while its loading the file.
Virtual Dub, Virtual Dub NAB & MOD never had those as options from the start and, like Mr. Hatt, Never Will!

Your fighting a loosing battle using out-of-date-software to fix that issue
and a lot of good it is using AviSynth as an editors helper ..
.. what screen do you see with AviSynth to let you see how well things are going?
don't make the same mistake twice :shark:
Dump Virtual Dub and the GHOST; use a real editor/converter -- the people from SONY will thank you.
User avatar
post-it
 
Joined: 17 Jul 2002
Status: Audio: bass remains; if else, 3D

Re: Video is jumpy and out of focus when editing.

Postby Enigma » Mon Mar 07, 2011 6:56 pm

BUAHAHSHHAHAHAHAHAHHAHAH
User avatar
Enigma
That jolly ol' bastid
 
Joined: 07 Mar 2009
Location: California
Status: Free

Next

Return to Footage Help

Who is online

Users browsing this forum: No registered users and 0 guests