MKV to MP4

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.

MKV to MP4

Postby VortexMV » Wed Oct 09, 2013 10:07 pm

Hi guys, I just wanna know a way to convert my .mkv files to .mp4, so I can edit on Vegas. I tried the MKVtoMP4 software that I saw on pixelblendedstudio website, but it did'nt worked for me. (When I put the converted footage on Vegas, It freezes or just shows Green Screens on the timeline). VirtualDubMKV don't work here either, because of some "fmcodec" problem or something like that.

Sorry for my bad english. I appreciate your attention :book:
VortexMV
 
Joined: 09 Oct 2013

Re: MKV to MP4

Postby FarmXD » Thu Oct 10, 2013 1:23 pm

I think you should convert anything to a lossless file.
Try codecs like Lagarith. If you want to pass a file
to mp4, well, I just use the AMVsimple thing.
Image
Image
User avatar
FarmXD
Farmer Farm wants to battle!
 
Joined: 27 Jan 2008
Location: Santiago, Chile.
Status: Pressing F5

Re: MKV to MP4

Postby l33tmeatwad » Thu Oct 10, 2013 11:55 pm

VortexMV wrote:Hi guys, I just wanna know a way to convert my .mkv files to .mp4, so I can edit on Vegas. I tried the MKVtoMP4 software that I saw on pixelblendedstudio website, but it did'nt worked for me. (When I put the converted footage on Vegas, It freezes or just shows Green Screens on the timeline). VirtualDubMKV don't work here either, because of some "fmcodec" problem or something like that.

Sorry for my bad english. I appreciate your attention :book:

It's possible the video is 10bit based on what you are describing, so I would recommend converting to lossless AVI (the other set of instructions). The files will be larger, but it will maintain the best quality.
Sites: Website | Facebook | Twitter | YouTube
Guides & Scripts: AMV 101 | AviSynth 101 | Anime Upscale
PixelBlended Studios: Website | Facebook | Tumblr | Twitter | YouTube
User avatar
l33tmeatwad
 
Joined: 16 Feb 2005
Location: Charleston, SC
Status: Trolling

Re: MKV to MP4

Postby HalOfBorg » Fri Oct 11, 2013 6:38 am

When I deal with MKV files, I use "MKVextractGUI 1.6.3" to remove any audio tracks and subtitle tracks. (check that the output file plays, not all will in my experience)
Then I use Xvid4PSP to cut it down to the clips I want (or maybe just convert the whole file), rendering it to FFV1. Load that into Vegas and convert the bits you want to Ut. Edit with THOSE.
Help HalOfBorg fight his cancer - http://www.gofundme.com/21ygdk

ImageImageImage
ImageImageImage
User avatar
HalOfBorg
 
Joined: 14 May 2008

Re: MKV to MP4

Postby l33tmeatwad » Sat Oct 12, 2013 12:05 am

<removed, misread previous post>
Last edited by l33tmeatwad on Sat Oct 12, 2013 1:03 pm, edited 1 time in total.
Sites: Website | Facebook | Twitter | YouTube
Guides & Scripts: AMV 101 | AviSynth 101 | Anime Upscale
PixelBlended Studios: Website | Facebook | Tumblr | Twitter | YouTube
User avatar
l33tmeatwad
 
Joined: 16 Feb 2005
Location: Charleston, SC
Status: Trolling

Re: MKV to MP4

Postby l33tmeatwad » Sat Oct 12, 2013 12:19 am

HalOfBorg wrote:...FFV1...

I don't recommend FFV1 for editing with...
Last edited by l33tmeatwad on Sat Oct 12, 2013 1:04 pm, edited 1 time in total.
Sites: Website | Facebook | Twitter | YouTube
Guides & Scripts: AMV 101 | AviSynth 101 | Anime Upscale
PixelBlended Studios: Website | Facebook | Tumblr | Twitter | YouTube
User avatar
l33tmeatwad
 
Joined: 16 Feb 2005
Location: Charleston, SC
Status: Trolling

Re: MKV to MP4

Postby l33tmeatwad » Sat Oct 12, 2013 12:32 am

Also I would like to point out, while xvid4psp does use avisynth, it uses directshowsource by default, which opens up another potential set of problems...
Sites: Website | Facebook | Twitter | YouTube
Guides & Scripts: AMV 101 | AviSynth 101 | Anime Upscale
PixelBlended Studios: Website | Facebook | Tumblr | Twitter | YouTube
User avatar
l33tmeatwad
 
Joined: 16 Feb 2005
Location: Charleston, SC
Status: Trolling

Re: MKV to MP4

Postby HalOfBorg » Sat Oct 12, 2013 8:28 am

I never said it was a great method, but it works. AND I said to convert the FFV1 files to uT to edit with. I would avoid Xvid4psp altogether if I knew how to remove the video from the mkv container. And avoid ffv1 if xvid4psp worked with another lossless codec. I just do what I can with the underpowered damp sponge I have inside my skull.
Help HalOfBorg fight his cancer - http://www.gofundme.com/21ygdk

ImageImageImage
ImageImageImage
User avatar
HalOfBorg
 
Joined: 14 May 2008

Re: MKV to MP4

Postby l33tmeatwad » Sat Oct 12, 2013 9:26 am

HalOfBorg wrote:I never said it was a great method, but it works. AND I said to convert the FFV1 files to uT to edit with. I would avoid Xvid4psp altogether if I knew how to remove the video from the mkv container. And avoid ffv1 if xvid4psp worked with another lossless codec. I just do what I can with the underpowered damp sponge I have inside my skull.
Honestly, if you want just to video to be useable and it's not 10-bit, you could just recontainer with MKVtoMP4 which will move the video and audio (though if the audio isn't AAC it will re-encode it) to an MP4 container. I haven't really extensively looked at xvid4psp, but since it does use AviSynth it could be configured to use better methods for importing of the footage...that said, I don't really see the point in going through that hassle, because if you know how to adjust that you could just make a small script and save to lossless AVI using VirutualDub. The original poster apparently went by my studio site and read the Handling MKV & MP4 Files guide, but only used the first method. I really need to put up a guide on how to see if your footage is 10bit...
Last edited by l33tmeatwad on Sat Oct 12, 2013 1:04 pm, edited 1 time in total.
Sites: Website | Facebook | Twitter | YouTube
Guides & Scripts: AMV 101 | AviSynth 101 | Anime Upscale
PixelBlended Studios: Website | Facebook | Tumblr | Twitter | YouTube
User avatar
l33tmeatwad
 
Joined: 16 Feb 2005
Location: Charleston, SC
Status: Trolling

Re: MKV to MP4

Postby VortexMV » Sat Oct 12, 2013 9:54 am

I tried to use the method to convert the .mkv to .avi lossless, but the VirtualDub was showing a error that he cannot read the script "LWLibavVideoSource("video.mkv")" from the video.avs


*I installed the L-SMASH WORKS correctly and the mvscr.dll or something was already installed on my PC. I´m about to giving up D: :cry:
VortexMV
 
Joined: 09 Oct 2013

Re: MKV to MP4

Postby l33tmeatwad » Sat Oct 12, 2013 12:13 pm

Post the exact error you are getting.
Sites: Website | Facebook | Twitter | YouTube
Guides & Scripts: AMV 101 | AviSynth 101 | Anime Upscale
PixelBlended Studios: Website | Facebook | Tumblr | Twitter | YouTube
User avatar
l33tmeatwad
 
Joined: 16 Feb 2005
Location: Charleston, SC
Status: Trolling

Re: MKV to MP4

Postby VortexMV » Sat Oct 12, 2013 12:34 pm

l33tmeatwad wrote:Post the exact error you are getting.

-
Avisynth open failure:
Script error: There is no function named "LWLibavVideoSource"
(C:\AMV\video.avs, line 1)
VortexMV
 
Joined: 09 Oct 2013

Re: MKV to MP4

Postby l33tmeatwad » Sat Oct 12, 2013 12:58 pm

That means lsmash-source is not loading. Double check that you put the correct dll in C:\Program Files (x86)\AviSynth 2.5\plugins and it's not in a subdirectory.

If it is there you may need to manually load it in the script to try and troubleshoot why it's not loading at all.
Sites: Website | Facebook | Twitter | YouTube
Guides & Scripts: AMV 101 | AviSynth 101 | Anime Upscale
PixelBlended Studios: Website | Facebook | Tumblr | Twitter | YouTube
User avatar
l33tmeatwad
 
Joined: 16 Feb 2005
Location: Charleston, SC
Status: Trolling

Re: MKV to MP4

Postby VortexMV » Sat Oct 12, 2013 1:05 pm

Checked here and the LSMASHSource.dll is in the plugin directory, with the uninstall.dat and unins000.
VortexMV
 
Joined: 09 Oct 2013

Re: MKV to MP4

Postby l33tmeatwad » Sat Oct 12, 2013 1:08 pm

VortexMV wrote:Checked here and the LSMASHSource.dll is in the plugin directory, with the uninstall.dat and unins000.

Not sure why you copied those other files...and those were not in the AviSynth folder in the 7 zip file, I'll have to check when I get home, but make SURE you copied from the AviSynth folder and not the vapoursynth folder.
Sites: Website | Facebook | Twitter | YouTube
Guides & Scripts: AMV 101 | AviSynth 101 | Anime Upscale
PixelBlended Studios: Website | Facebook | Tumblr | Twitter | YouTube
User avatar
l33tmeatwad
 
Joined: 16 Feb 2005
Location: Charleston, SC
Status: Trolling

Next

Return to Footage Help

Who is online

Users browsing this forum: No registered users and 3 guests