Converting .mkv to .avi issue

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Locked
cheesekun
Joined: Thu Aug 13, 2009 8:38 pm
Org Profile

Converting .mkv to .avi issue

Post by cheesekun » Sat Aug 15, 2009 3:46 pm

Okay, I've read through quite a bit of the guides here in an attempt to figure out how to convert my .mkv files to .avi, but it's not working. (Note that I am a complete newbie to video-editing and to all of the programs mentioned/recommended by the guides; this is my first experience with them.)

I used VirtualDubMod and opened an AviSynth file with the DirectShowSource command. When I try to play the video in VirtualDubMod, though, I get a message that says:

"Oops -- VirtualDub has crashed. Details are listed below which may help you pinpoint the problem...

Crash details (best guess as to cause)
An out-of-bounds memory access (access violation) occurred in module 'VirtualDubMod'...while running thread "Processing" (thread.cpp:105)."

If I save it as an .avi without trying playing it first in VirtualDubMod, it does work, but the .avi file that comes out doesn't play fluidly. (Meaning if I press play, it's stuck on the first frame and doesn't do anything, and if I click around on the time line it just shows a still of the frame at that time.) If I try to import the .avi file to Windows Movie Maker, only the audio is read and when I try to play it it's very choppy.

What am I doing wrong? Does it matter that the video file is high-quality and rather large (~1 GB) and the output .avi file turns out to be ~100GB? (I made ample space for the output file.)

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

Re: Converting .mkv to .avi issue

Post by Scintilla » Sat Aug 15, 2009 5:32 pm

If you're creating a 100 GB video file (uncompressed, right?), then you can't reasonably expect it to play fluidly in anything. Just too big.

That's why it's often recommended to cut only the clips you need.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

cheesekun
Joined: Thu Aug 13, 2009 8:38 pm
Org Profile

Re: Converting .mkv to .avi issue

Post by cheesekun » Sun Aug 16, 2009 12:29 am

I see. Am I able to cut the .mkv file to a shorter clip then?

It's un-edit-able because it's a .mkv file, so how would I make it shorter?

User avatar
gotenks794
Joined: Mon Jul 30, 2007 4:39 pm
Org Profile

Re: Converting .mkv to .avi issue

Post by gotenks794 » Sun Aug 16, 2009 1:55 am

Using the In/out markers in vdub, perhaps?

or whatever it is you PC people use
Image
MAC is a cosmetics brand. Mac is the superior computing platform. It's not an acronym.

AFT
Joined: Thu Jan 01, 2009 9:55 pm
Org Profile

Re: Converting .mkv to .avi issue

Post by AFT » Sun Aug 16, 2009 12:47 pm

I don't have much experience dealing with mkv files, but there's this very useful plugin for avisynth called "ffmpegsource" that lets you open files like mp4 and mkv. I can't link you to it at the moment, sorry, but I remember that I downloaded it from a Doom9 forum. Maybe using that instead of Directshowsource might help?

cheesekun
Joined: Thu Aug 13, 2009 8:38 pm
Org Profile

Re: Converting .mkv to .avi issue

Post by cheesekun » Thu Aug 20, 2009 7:20 pm

Alright, I'm still having issues...

I'm using a different (much smaller) .mkv video file now to work with, and I tried using the FFmpegSource command (I downloaded what I think is the plug-in and extracted it into the AviSynth plug-in folder) with the video file. Again VDub will open the file, will save it, but I cannot play the video in VDub (when I try to play it, it gives me the same out-of-bounds error).

I also tried using the "in/out marker" thing...the suggestion was to crop, right? I looked up a cropping in Vdub tutorial and it requires the use of filters...but the Video > Filters is greyed out for me when the video is open. :S

When I save it as an .avi and then try to open the.avi file (with either DirectShowSource or FFmpegSource), it plays but it's not very fluid. This time, the starting .mkv file was <100MB and the ending file was 2GB; this should be small enough to play fluidly, but at some points the video and audio stutters...

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

Re: Converting .mkv to .avi issue

Post by Scintilla » Thu Aug 20, 2009 8:32 pm

cheesekun wrote:I also tried using the "in/out marker" thing...the suggestion was to crop, right? I looked up a cropping in Vdub tutorial and it requires the use of filters...but the Video > Filters is greyed out for me when the video is open. :S
Wrong. "Cropping" is taking pixels off the edges of each frame -- it's spatial, not temporal.
The suggestion was actually to use the In/Out markers (the rightmost buttons on the bottom of the VirtualDub window) to cut shorter clips out of the video, taking only the certain sections you need, so you save only a few seconds or a minute instead of an entire episode.

Also, cutting clips in this manner does *not* require the use of VirtualDub filters -- however, if you ever find yourself wanting to use a VDub filter for some other reason, you can enable that menu selection by changing your video processing mode to "Full recompress mode".

[MOD 403: Post appended as requested]
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

User avatar
AceD
I AM THE BEST
Joined: Sat Dec 07, 2002 6:52 pm
Status: Lurking
Org Profile

Re: Converting .mkv to .avi issue

Post by AceD » Sun Aug 30, 2009 10:31 am

cheesekun wrote:Alright, I'm still having issues...

I'm using a different (much smaller) .mkv video file now to work with, and I tried using the FFmpegSource command (I downloaded what I think is the plug-in and extracted it into the AviSynth plug-in folder) with the video file. Again VDub will open the file, will save it, but I cannot play the video in VDub (when I try to play it, it gives me the same out-of-bounds error).

I also tried using the "in/out marker" thing...the suggestion was to crop, right? I looked up a cropping in Vdub tutorial and it requires the use of filters...but the Video > Filters is greyed out for me when the video is open. :S

When I save it as an .avi and then try to open the.avi file (with either DirectShowSource or FFmpegSource), it plays but it's not very fluid. This time, the starting .mkv file was <100MB and the ending file was 2GB; this should be small enough to play fluidly, but at some points the video and audio stutters...
am currently encoding 1-24 of Regios 720p raws to lossless avi, each episode is around 6-8gig, they play in a normal manner for me o.o. i use FFMPEGSource and Lagarith lossless codec. Am new to editing aswell though so maybe am missing something here :sweat:

Locked

Return to “AviSynth Help”