Log in

View Full Version : MKV cutting with Avidemux


loa-ash
7th May 2010, 16:47
Hello guys,

I've a problem with a cut of mkv+x264 file. After deleted the parts with the buttons A and B I've saved the file, but when I play video on every player it's very slow but audio has no problem. Maybe when I save the file on avidemux i need to change Video: copy and Audio: copy choosing some compression mode?

thanks

Inspector.Gadget
7th May 2010, 17:02
How did you make the MKV file? Avidemux is pretty good for general cutting but has some known issues.

loa-ash
7th May 2010, 17:17
I created the MKV with MeGUI then I've add some cuts to script with megui too:

DirectShowSource("M:\Mythbusters.mkv", fps=25.000, audio=true, convertfps=true)
#deinterlace
#crop
#resize
#denoise

__film = last
__t0 = __film.trim(0, 8851)
__t1 = __film.trim(14396, 38847)
__t2 = __film.trim(43500, 67848)
__t3 = __film.trim(73151, 80567)
FadeOut(__t0, 0, AudioRate(__film)) ++ FadeIO(__t1, 0, AudioRate(__film)) ++ FadeIO(__t2, 0, AudioRate(__film)) ++ FadeIn(__t3, 0, AudioRate(__film))


but I don't know how to do for audio...

loa-ash
7th May 2010, 17:38
Maybe i've resolved my problem with megui... before enconding I add cuts to script with parts of video that i want to save, then I save cuts to file and I load it when I need encode the audio so this will be correct?

Inspector.Gadget
7th May 2010, 17:46
Yeah, that'll work. But why are you starting from the Matroska file? Do it on the original encode, or else you're recompressing twice for no real reason.

loa-ash
7th May 2010, 18:39
Sadly i've deleted the original source, I'm trying just now but when i load my .avs and cuts for cutting audio I receive this error from log of megui:

Output from encoder via stderr
Output from encoder via stdout: ERROR: no valid SBR configuration found