[Matroska-users] Mka

Ivan Kowalenko ivan.kowalenko at gmail.com
Tue Nov 13 16:26:14 CET 2007


On Nov 11, 2007, at 19.01, Alou Dialy wrote:

> Is there some technology that I could use to pack wav's into mka  
> and split and tag them. I couldnt find any thing on the downloads  
> page.

It should all be in the documentation. I'm assuming you're using the  
MKVMerge GUI for Windows:

 From the GUI developer's page (http://www.bunkus.org/videotools/ 
mkvtoolnix/doc/mkvmerge-gui.html):
.5.2. Automatic splitting and file linking

The Split section handles how the output file is split into several  
smaller files. If no splitting is selected then only one big file is  
generated. If splitting is activated then you can tell mkvmerge to  
start a new output file after either a specific amount of data has  
been written to the current file or after a specific amount of time  
has accumulated. The formats accepted are:

For the size: A number optionally followed by the letter 'K', 'M' or  
'G' indicating kilobytes (1024 bytes), megabytes (1024 * 1024 bytes)  
or gigabytes (1024 * 1024 * 1024 bytes). Examples: '700M' or '100000K'.
For the time: The format is either HH:MM:SS or a number followed by  
the letter 's' indicating a number of seconds. Examples:  
'01:20:00' (split after 1 hour, 20 minutes) or '1800s' (split after  
1800 seconds = 30 minutes).



-------------- next part --------------
A non-text attachment was scrubbed...
Name: splitting.gif
Type: image/gif
Size: 4208 bytes
Desc: not available
URL: <http://lists.matroska.org/pipermail/matroska-users/attachments/20071113/1afe20a8/attachment-0002.gif>
-------------- next part --------------

Figure 11: Typical options for splitting. Create two files which will  
be approx. 700megs big.

Don't link: This option controls how mkvmerge will handle splitting.  
A little explanation about this feature:

Matroska supports file linking which simply says that a specific file  
is the predecessor or successor of the current file. To be precise,  
it's not really the files that are linked but the Matroska segments.  
As most files will probably only contain one Matroska segment I  
simply say 'file linking' although 'segment linking' would be more  
appropriate.

Each segment is identified by a unique 128 bit wide segment UID. This  
UID is automatically generated by mkvmerge. The linking is done  
primarily via putting the segment UIDs of the previous/next file into  
the segment header information. mkvinfo prints these UIDs if it finds  
them.

If a file is split into several smaller ones and linking is used then  
the time codes will not start at 0 again but will continue where the  
last file has left off. This way the absolute time is kept even if  
the previous files are not available (e.g. when streaming). If no  
linking is used then the time codes should start at 0 for each file.  
By default mkvmerge does not use file linking because some players  
still don't handle linked files properly. If you want linking that  
you can turn it on by enabling this link files check box.



If you're using the command line version, here's from the MAN page:

  File splitting and linking (more global options):

        --split size:<d[k|m|g]> or shorter --split <d[k|m|g]>

        --split    duration:<HH:MM:SS.nnnnnnnnn|ns>    or     
shorter    --split
        <HH:MM:SS.nnnnnnnnn|ns>

        --split timecodes:A[,B[,C...]]
               Splits the output file after a  given  size  or  a   
given  time.
               Please  note  that  tracks  can only be split right  
before a key
               frame.  Due to buffering mkvmerge will split  right   
before  the
               next  key  frame after the split point has been  
reached.  There-
               fore the split point may be a bit off from  what  the   
user  has
               specified.
               At the moment mkvmerge supports three different modes.
               1. Splitting by size.
               The parameter d may end with k, m or g to indicate  
that the size
               is in KB, MB or GB respectively.  Otherwise a size in   
Bytes  is
               assumed.   After  the  current output file has reached  
this size
               limit a new one will be started.  The size: prefix may  
be  omit-
               ted for compatibility reasons.
               2. Splitting after a duration.
               The  paramter must have the form HH:MM:SS.nnnnnnnnn  
for specify-
               ing the duration in up to nano-second precision or  a   
number  n
               followed by the letter 's' for the duration in  
seconds.  "HH" is
               the number of hours, "MM" the number of minutes, "SS"  
the number
               of  seconds and "nnnnnnnnn" the number of  
nanoseconds.  Both the
               number of hours and the number of nanoseconds  can   
be  omitted.
               There  can  be up to nine digits after the decimal  
point.  After
               the duration of the contents in the current output   
has  reached
               this  limit  a  new  output file will be started.  The  
duration:
               prefix may be omitted for compatibility reasons.
               3. Splitting after specific timecodes.
               The parameters A, B etc must all have the  same   
format  as  the
               ones  used  for the duration (see above).  The list of  
timecodes
               is separated by commas.  After the current file has  
reached  the
               current  split point's timecode a new file is  
created.  Then the
               next split point given in this list  is  used.   The   
timecodes:
               prefix must not be omitted.
               For  this  splitting mode the output filename is  
treated differ-
               ently than for the normal operation. It  may  contain   
a  printf
               like  expression  '%d'  including  an optional field  
width, e.g.
               '%02d'. If it does then the current file number will  
be  format-
               ted  appropriately  and  inserted at that point in the  
filename.
               If there is no such pattern then a pattern of '-%03d'  
is assumed
               right  before the file's extension: '-o output.mkv'  
would result
               in 'output-001.mkv' and so on.  If  there's  no   
extension  then
               '-%03d' will be appended to the name.

        --split-max-files <n>
               Create  at most n files, even if the last file will be  
longer or
               larger than indicated by --split.

        --link Link files to one another when splitting the  output   
file.  See
               the section FILE LINKING below for details.

        --link-to-previous <SID>
               Links  the  first output file to the segment with the  
given SID.
               See the section FILE LINKING below for details.

        --link-to-next <SID>
               Links the last output file to the segment with  the   
given  SID.
               See the section FILE LINKING below for details.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://lists.matroska.org/pipermail/matroska-users/attachments/20071113/1afe20a8/attachment-0002.pgp>


More information about the Matroska-users mailing list