.mkv converting/encoding help

If you have questions about compression/encoding/converting look here.
Locked
User avatar
-Vyse-
Joined: Mon Aug 29, 2005 9:44 am
Org Profile

.mkv converting/encoding help

Post by -Vyse- » Wed May 06, 2009 10:22 am

Hey fellas!
First off, i´m one of those desperate newbie in need of a pro´s help.
Yes, i read through various FAQ´s and other threads before.

I´ve got some problems handling my .mkv files and would appreciate any help, or suggestions.
I´d like to edit them in Adobe Premiere but i can´t seem to get them working properly.

1. If i convert them in Virtualdubmod to .avi using lagarinth losslesss codec or huffyuv, the files turns out to be about 20GB big (normal 25min. episode, 220mb before). Last time i used this method the files were only 8GB big, and they were working steadily, too.
2. If i use avisynthscripts and the premiere-plugin, they also won´t run flawlessy.

So basically, i can get my .mkv files imported to adobe premiere, but when i play the video it slows down terribly, skipping frames. The sound is working fine, though. The frame settings are 23.97fps, like the source video.
It might sound now as if it´s just a matter of RAM, but i doubt that, since 2GB should be enough, since the problem still occurs even when everything else is turned off.
Oh, and i´m using AP CS4, if that´s a help.


And help or suggestion is much appreciated,
thanks in advance!!

User avatar
Kariudo
Twilight prince
Joined: Fri Jul 15, 2005 11:08 pm
Status: 1924 bots banned and counting!
Location: Los taquitos unidos
Contact:
Org Profile

Re: .mkv converting/encoding help

Post by Kariudo » Wed May 06, 2009 12:49 pm

Don't convert entire episodes. You can use vdub/mod to select the clips that you want, and then encode those with a lossless codec. That will save you a ton of space right there.

Also, if you haven't disabled the audio you can probably do that as well (don't know how much that would help)
put killaudio() in your avisynth script or go to the streams list in vdub/mod and click the speaker icon (or double click the audio track...the method you'll use depends on how your source was muxed)
Image
Image

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: .mkv converting/encoding help

Post by Qyot27 » Wed May 06, 2009 3:18 pm

Kariudo wrote:put killaudio() in your avisynth script or go to the streams list in vdub/mod and click the speaker icon (or double click the audio track...the method you'll use depends on how your source was muxed)
KillAudio is only necessary if the source filter doesn't have a function to disable audio internally. AVISource and DirectShowSource both accept audio=false as a parameter, FFmpegSource doesn't even load audio by default, and the DG* plugins don't either. I can't remember if BlankClip has a mute function, but that's about the only time I ever have to use KillAudio.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

User avatar
-Vyse-
Joined: Mon Aug 29, 2005 9:44 am
Org Profile

Re: .mkv converting/encoding help

Post by -Vyse- » Thu May 07, 2009 4:07 pm

Thanks for the input, both of you.
Small files don´t seem to solve the problem, since the disk space doesn´t matter, got an 350gb external.
It´s still not running steadily, but only converting certain frames might make things easier, though - thanks!

JediNight
Joined: Fri Dec 02, 2005 12:56 am
Org Profile

Re: .mkv converting/encoding help

Post by JediNight » Wed May 13, 2009 1:15 am

The only way I could see Lagarith outputting 20gb files for an episode is if you had 1080p. If the source file is 220mb I'm guessing that's not true.

Choose Fast Recompress in Vdubmod, Go under Stream List and be sure to disable the audio if you don't use "audio=false" in AVS. It's a good idea to set Lagarith for YV12 or YUY2 colorspace as well instead of RGB imho. It sounds like you are encoding uncompressed audio into the file on accident.

I just converted a bunch of H264 MKVs via a simple DirectshowSource import in AVS and the HDTV source ended up 7gb for 720p. It should work just fine.
Nick Fox
Anime Central AMV Contest Coordinator

User avatar
Tab.
Joined: Tue May 13, 2003 10:36 pm
Status: SLP
Location: gayville
Org Profile

Re: .mkv converting/encoding help

Post by Tab. » Thu May 14, 2009 5:31 am

here's a starting tip




dont edit shit you downloaded from isohunt
◔ ◡ ◔

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: .mkv converting/encoding help

Post by Qyot27 » Thu May 14, 2009 12:15 pm

JediNight wrote:It's a good idea to set Lagarith for YV12 or YUY2 colorspace as well instead of RGB imho.
Lagarith doesn't need to be fiddled like that - RGB (Default) passes the video's colorspace through without changing it. If you give Lagarith YV12 video, RGB (Default) will encode in YV12. The other colorspace options in the drop-down menu force a colorspace conversion, but the Default option leaves it as-is.

The difference would only occur if VirtualDub was set on Full Processing Mode, which converts the colorspace to RGB*, instead of Fast Recompress, which leaves the colorspace alone.

*I assume the conversion to RGB is still the behavior in new versions of VDub, even though it now shows as Uncompressed RGB/YCbCr in the Compression dialog.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

JediNight
Joined: Fri Dec 02, 2005 12:56 am
Org Profile

Re: .mkv converting/encoding help

Post by JediNight » Thu May 14, 2009 5:07 pm

Ok, well see I didn't have any way of knowing RGB would pass it through without a colorspace change for Lagarith. Good to know though ;)
Nick Fox
Anime Central AMV Contest Coordinator

Locked

Return to “Conversion / Encoding Help”