Log in

View Full Version : how to split/convert mkv file without re-encoding


kartikoli
21st March 2010, 16:19
i want to split an mkv file from a given point (exact frame) without re encoding the file

i tried megui and avi demux to split a file but it give me error 'not a keyframe remove A marker '

please tell me how do i cut an mkv file and convert it to mp4 container

mkv file contain 264/aac codec please guide me

Skelsgard
22nd March 2010, 19:56
mkvtoolnix can split mkv files but no exact-frame-cut is possible, as you can't cut a GOP in half. The second half wouldn't have an I frame to begin with so no proper decoding of the GOP would be possible.
mkvtoolnix will cut it using timecodes or file sizes you choose.

hatetea58
9th April 2010, 07:08
Also try Tsmux to remux your mkv file

setarip_old
9th April 2010, 08:22
@hatetea58

Hi!
Also try Tsmux to remux your mkv file

There is no program named "Tsmux".

There are, however, "TSmuxeR" and "Tsremux" - neither of which will presently remux an MKV to an MKV (or .MP4) ...

Midzuki
10th April 2010, 02:54
There is no program named "Tsmux".

Actually, there is: :D

TSMux is a software real-time MPEG Transport Stream multiplexer. It is used either as a component of transmission systems or interactively as a laboratory tool. TSMux is included with TSPlayer. TSMux can output to either ASI or file.

( source:
www DOT unisoft DOT com/mhp/s-and-t/TSMux.html )

(( and no, they haven't hired me :) ))

setarip_old
10th April 2010, 04:50
@Midzuki

You are correct in having come up with that - but I feel quite comfortable in speculating that this little-known laboratory tool is not what "hatetea58" was referring to...

roozhou
14th April 2010, 09:20
Try ffmpeg here (http://forum.doom9.org/showthread.php?t=152419).