Help - Search - Members - Calendar
Full Version: New command-line encoder for EAC
Hydrogenaudio Forums > Lossless Audio Compression > Lossless / Other Codecs
Pages: 1, 2
goldenear
I'm glad to announce mka encoder, my new command line encoder for EAC (or may be other ripping tool). It permits to directly create a matroska audio file from EAC.
This .mka file is a single file backup of a CD (it contains the attached cue sheet). biggrin.gif

To use it, you have to download the latest mkvtoolnix

You can download mka encoder here: mkaenc.rar (updated, now v 0.9.4)
Unpack it in your mkvtoolnix directory.

To use it in EAC:
Configure external encoder:
-> Use file extension ".mka"
-> Program: Path to mkaenc.exe
-> Additional command line options : -i %s -s "%o" -y "%Y" -g "%m" -m -f

Read doc/mkaenc.html or use "mkaenc -h" for help.

Bug report, comments or questions are welcome! smile.gif
Žom
What is the codec of the stream muxed in mka?

I don't like using cue sheet to chapter, because precision is less than a sample (1/44100s)...
kjoonlee
I used to think so too, but you never get sample precision with CDs. You always get rips in CD sectors, that is, 588 samples.

edit: Or maybe I'm misunderstanding you, Žom.
Žom
QUOTE(kjoonlee @ Jul 16 2004, 02:33 PM)
I used to think so too, but you never get sample precision with CDs. You always get rips in CD sectors, that is, 588 samples.

edit: Or maybe I'm misunderstanding you, Žom.
*


Yes (thanks for the information of 588, i didn't know),
but 588/44100=1/75=0,013333333333333333333333333333333
And 0,013333333333333333333333333333333 can't be EXACTLY a timestamp (illimited digit after dot), so we hav to round it at 0.01 or 0.013 with cue, which represent 573.3 (574) samples, and not 588, that we can get with 0.013333333=587,9999853 (588)...

I think matroska would have a "samplestamp based" or "sectorstamp based (588samples)" system (with timestamp, the user choose)
kjoonlee
QUOTE(Žom @ Jul 17 2004, 07:45 AM)
QUOTE(kjoonlee @ Jul 16 2004, 02:33 PM)
I used to think so too, but you never get sample precision with CDs. You always get rips in CD sectors, that is, 588 samples.

edit: Or maybe I'm misunderstanding you, Žom.
*


Yes (thanks for the information of 588, i didn't know),
but 588/44100=1/75=0,013333333333333333333333333333333
And 0,013333333333333333333333333333333 can't be EXACTLY a timestamp (illimited digit after dot), so we hav to round it at 0.01 or 0.013 with cue, which represent 573.3 (574) samples, and not 588, that we can get with 0.013333333=587,9999853 (588)...

I think matroska would have a "samplestamp based" or "sectorstamp based (588samples)" system (with timestamp, the user choose)
*


When I said CD sector, I meant CD frame.

You don't have to round. My cuesheets have notations like MM:SS:FF where MM is minute, SS is second, and FF is number of CD frames, so no fractions are involved whatsoever.
Omion
QUOTE(Žom @ Jul 16 2004, 02:31 PM)
What is the codec of the stream muxed in mka?

I don't like using cue sheet to chapter, because precision is less than a sample (1/44100s)...
*



The accuracy issue has apparently been fixed as of April.

MKVtoolNIX changelog says:
QUOTE
2004-04-30  Moritz Bunkus  <moritz@bunkus.org>

* all: Increased the precision for timecodes in chapter files to
nanoseconds (optionally, you can still use fewer digits after the
'.').


I have no idea what the accuracy of the cue sheet is, but the accuracy will not suffer due to MKVtoolNIX or Matroska itself.

(Note that the problem was never Matroska; it has always had nanosecond resolution. MKVmerge just didn't used to use it)
Žom
QUOTE(kjoonlee @ Jul 16 2004, 02:59 PM)
QUOTE(Žom @ Jul 17 2004, 07:45 AM)
QUOTE(kjoonlee @ Jul 16 2004, 02:33 PM)
I used to think so too, but you never get sample precision with CDs. You always get rips in CD sectors, that is, 588 samples.

edit: Or maybe I'm misunderstanding you, Žom.
*


Yes (thanks for the information of 588, i didn't know),
but 588/44100=1/75=0,013333333333333333333333333333333
And 0,013333333333333333333333333333333 can't be EXACTLY a timestamp (illimited digit after dot), so we hav to round it at 0.01 or 0.013 with cue, which represent 573.3 (574) samples, and not 588, that we can get with 0.013333333=587,9999853 (588)...

I think matroska would have a "samplestamp based" or "sectorstamp based (588samples)" system (with timestamp, the user choose)
*


When I said CD sector, I meant CD frame.

You don't have to round. My cuesheets have notations like MM:SS:FF where MM is minute, SS is second, and FF is number of CD frames, so no fractions are involved whatsoever.
*


REALLY????

Can u copy-past me one of your cuesheet?
kjoonlee
@Žom: I sent you one by PM. smile.gif Ignore the first, and check the second, please.
goldenear
mkaexe has been updated... it's now v 0.9.3.
I've fixed some minus bugs and it's not necessary any more to give ARTIST and TITLE on the command line as this tags will now be directly got from the CUE sheet :-) This permits to address a bug of EAC passing wrong tags on the command line (-a "%a") with various artists CD.

About cue sheet precision, I guess a CUE sheet is as precise as the CD itself... so no problemo! ;-)
Žom
QUOTE(kjoonlee @ Jul 16 2004, 03:38 PM)
@Žom: I sent you one by PM. smile.gif Ignore the first, and check the second, please.
*


MKVToolnix seems to consider INDEX 01 01:02:03 like 01mn, 02seconds and 03 centisecond instead of frames sad.gif (comparing original flac number of samples and flac muxed in mka chaptered) (I read with foobar)

A bug of mkvtoolnix? (mkvmergegui)
taemun
Žom: I would have to say that you probably shouldn't be worried about time precision so much....I remember it having been brought up before @ HA....

The TOC on the source CD's doesn't include frame based precision...
And AFAIK, Matroska doesn't have a frame (sample) based timing system available....probably a hangover from the video 'side' of it (the video is between 24~30 frames per second....audio precision is measured in milliseconds in most interleave formats.

Goldenear: :D
goldenear
QUOTE(Žom @ Jul 16 2004, 04:05 PM)
MKVToolnix seems to consider INDEX 01 01:02:03 like 01mn, 02seconds and 03 centisecond instead of frames sad.gif (comparing original flac number of samples and flac muxed in mka chaptered) (I read with foobar)
A bug of mkvtoolnix? (mkvmergegui)
*



I will ask this to mosu if he didn't read the post yet.
Pamel
QUOTE(Žom @ Jul 16 2004, 05:45 PM)
Yes (thanks for the information of 588, i didn't know),
but 588/44100=1/75=0,013333333333333333333333333333333
And 0,013333333333333333333333333333333 can't be EXACTLY a timestamp (illimited digit after dot), so we hav to round it at 0.01 or 0.013 with cue, which represent 573.3  (574) samples, and not 588, that we can get with 0.013333333=587,9999853 (588)...

I think matroska would have a "samplestamp based" or "sectorstamp based (588samples)" system (with timestamp, the user choose)
*

QUOTE(taemun @ Jul 17 2004, 10:34 AM)
....
The TOC on the source CD's doesn't include frame based precision...
And AFAIK, Matroska doesn't have a frame (sample) based timing system available....probably a hangover from the video 'side' of it (the video is between 24~30 frames per second....audio precision is measured in milliseconds in most interleave formats.
*


While 10/3 cannot be represented perfectly accurately by a decimal number, it doesn't need to be. Pretty much every general application uses decimal timecodes internally, so you just need to have a level of precision better than the length of a single sample. Matroska also has specific rules for rounding to always find the correct sample. Given that a single audio sample for a CD lasts 1/44100 seconds, or about 0.02268ms, you could just use an accuracy of 0.01ms and always know the correct sample.

The default accuracy for Matroska is 1ms, as few will ever notice the difference. However, it is not an issue to use an accuracy of 0.01ms instead. I know that AVI-Mux GUI will automatically do this when writing an audio only Matroska file. I do not know if MKVMerge will though. Extra options may need to be specified.

@goldenear: Please make sure the accuracy is higher when writing these files.

@all: Anyone interested in know how the rounding occurs, or what level of accuracy is really needed can read more about it here.
ChristianHJW
QUOTE(taemun @ Jul 17 2004, 03:34 PM)
And AFAIK, Matroska doesn't have a frame (sample) based timing system available....probably a hangover from the video 'side' of it (the video is between 24~30 frames per second....audio precision is measured in milliseconds in most interleave formats.


The MKV/MKA muxing app can set any desired timebase for the stamps, so you may actually convert the timestamps into sample stamps if you want.

The only problem we are facing is, that the same timebase has to be used for all tracks in a file, so thats why for mkvmerge we keep the base in 10 , 100 or 1000 ns to be able to mux the existing video frame rates ( 23,97 fps, 24 fps, 25 fps, 29,97 fps and 30 fps ) without having to use strange timebases. The precision of 10 ns will be good enough for video in any case, if you understand that every single frame will typically last about 33 - 42 ms = 33000 to 42000 ns. The eye can not even see that these are single pictures, leave alone could they detect an timing error of less than 10 ns.

If a matroska files contains audio only ( MKA ) you are free to use whatever timebase is appropriate for your purpose and audio codec, like for MP3 you could set it to 1152 / 44100 s = 26122 ns , and the 'timestamp' in the block header would then be more like a 'sample number' with block #1 reading '1', block #2 reading '2', etc. .....
goldenear
As mka encoder depends of mkvmerge, only mosu could precisely answer about how frames (hh:mm:ss.FF) informations are managed... :-)
Ariakis
This is an amazingly useful tool; thanks so much for it, goldenear. =) Unfortunately, I can't seem to change the encoder with the -e switch... it keeps erroring, "Unable to find encoder: 'C:\Program Files\FLAC\flac.exe'" I think the program is just ignoring the option switch.
goldenear
Ariakis, are you sure to use the last version of mkaenc (v0.9.3) ? I just give a try with the -e switch and it works fine for me :-)

I you want to see what happens, just use the option -r "pause" so EAC won't close the encoding shell windows until you press a key.
Another trick is to use the secret -z switch wich activate the debug mode and will display everything that's happening.
Žom
The problem of rounding timecodes is with Foobar : when you re-extract separated tracks from a mka, it makes a mistake of 1 sample sad.gif
Ariakis
QUOTE(goldenear @ Jul 17 2004, 03:45 PM)
Another trick is to use the secret -z switch wich activate the debug mode and will display everything that's happening.
*



Ahh, that did it. It was a problem with backslashes ending a previous quote, which threw everything else in the command line off. Thanks for the info. =)

Edit:
Just now, playing with it a little... It seems that your command line for mkvmerge doesn't work with Vorbis files, at least not ones encoded by the 1.1RC1 encoder.
The encoder options "-i %s -s %o -e "oggenc2.exe" -o "-q2" -x ".ogg" -m -f -z" in EAC yeild the following output: mkaenc.log

Also, why does the above command line change the disc's PERFORMER tag to "Various Artists"?
Omion
QUOTE(Žom @ Jul 16 2004, 04:05 PM)
QUOTE(kjoonlee @ Jul 16 2004, 03:38 PM)
@Žom: I sent you one by PM. smile.gif Ignore the first, and check the second, please.
*


MKVToolnix seems to consider INDEX 01 01:02:03 like 01mn, 02seconds and 03 centisecond instead of frames sad.gif (comparing original flac number of samples and flac muxed in mka chaptered) (I read with foobar)

A bug of mkvtoolnix? (mkvmergegui)
*


It does look like MKVmerge expects hundreths of a second, instead of frames for a cue sheet. I ran an MKA file through MKVinfo, and it said things like:
CODE
(MKVInfo) |   + Start: 00:08:28.410000000 at 14766

That's supposed to be 41 frames, not 41/100 of a second. I wonder if there's a way to change MKVmerge's handling of cue files? I see a --cue-chapter-name-format, but that doesn't seem to be it.

I wouldn't really say this was a bug in MKVmerge, since I don't know what the cue spec says the resolution of fractions-of-a-second ahould be. If it's supposed to be CD frames, then it looks like MKVmerge is wrong. If it's supposed to be 1/100 of a second, then EAC is wrong. If there is no spec, or fractions are undefined, then whoever backs down first is wrong. tongue.gif
goldenear
QUOTE(Ariakis @ Jul 17 2004, 06:45 PM)
QUOTE(goldenear @ Jul 17 2004, 03:45 PM)
Another trick is to use the secret -z switch wich activate the debug mode and will display everything that's happening.
*



Ahh, that did it. It was a problem with backslashes ending a previous quote, which threw everything else in the command line off. Thanks for the info. =)

Edit:
Just now, playing with it a little... It seems that your command line for mkvmerge doesn't work with Vorbis files, at least not ones encoded by the 1.1RC1 encoder.
The encoder options "-i %s -s %o -e "oggenc2.exe" -o "-q2" -x ".ogg" -m -f -z" in EAC yeild the following output: mkaenc.log

Also, why does the above command line change the disc's PERFORMER tag to "Various Artists"?
*



About the mkvmerge issue, I don't know why it doesn't work... I'll try to see what's wrong. unsure.gif

About "Various Artists" issue... It was a MAJOR BUG! crying.gif

Now fixed, please download and update to the new release (v0.9.4) smile.gif
kjoonlee
QUOTE(Omion @ Jul 18 2004, 04:02 PM)
I wouldn't really say this was a bug in MKVmerge, since I don't know what the cue spec says the resolution of fractions-of-a-second ahould be. If it's supposed to be CD frames, then it looks like MKVmerge is wrong. If it's supposed to be 1/100 of a second, then EAC is wrong. If there is no spec, or fractions are undefined, then whoever backs down first is wrong. tongue.gif
*

Cdrwin started it, I think. Cdrwin.hlp says:
QUOTE
INDEX Command

Description:

This command is used to specify indexes (or subindexes) within a track.

 
Syntax:

INDEX <number> <mm:ss:ff>

Parameters:

number - Index number (0-99).
mm:ss:ff - Starting time in minutes, seconds, and frames (75 frames/second) . Note: All times are relative to the beginning of the current file.
Omion
QUOTE(kjoonlee @ Jul 18 2004, 10:05 AM)
QUOTE(Omion @ Jul 18 2004, 04:02 PM)
I wouldn't really say this was a bug in MKVmerge, since I don't know what the cue spec says the resolution of fractions-of-a-second ahould be. If it's supposed to be CD frames, then it looks like MKVmerge is wrong. If it's supposed to be 1/100 of a second, then EAC is wrong. If there is no spec, or fractions are undefined, then whoever backs down first is wrong. tongue.gif
*

Cdrwin started it.
*


Then it is a problem with MKVmerge's handling of cue files. Thanks for the info. I'll go bug Mosu. biggrin.gif
mosu
QUOTE(Žom @ Jul 17 2004, 01:05 AM)
QUOTE(kjoonlee @ Jul 16 2004, 03:38 PM)
@Žom: I sent you one by PM. smile.gif Ignore the first, and check the second, please.
*


MKVToolnix seems to consider INDEX 01 01:02:03 like 01mn, 02seconds and 03 centisecond instead of frames sad.gif (comparing original flac number of samples and flac muxed in mka chaptered) (I read with foobar)

A bug of mkvtoolnix? (mkvmergegui)
*



Yes.
mosu
QUOTE(goldenear @ Jul 17 2004, 07:17 PM)
As mka encoder depends of mkvmerge, only mosu could precisely answer about how frames (hh:mm:ss.FF) informations are managed... :-)
*



I strongly hope that hh:mm:ss.FF is not a valid format for the INDEX line. Judging from the other posts I guess that you really meant hh:mm:ff.

Try http://www.bunkus.org/videotools/mkvtoolni...d20040718-1.rar
flloyd
What is the advantage to using a FLAC plus CUE inside of an MKA as opposed to just a CUE inside of a FLAC?

Thanks.
goldenear
flloyd, this has ever been discussed here
.
Omion
QUOTE(mosu @ Jul 18 2004, 01:22 PM)
QUOTE(goldenear @ Jul 17 2004, 07:17 PM)
As mka encoder depends of mkvmerge, only mosu could precisely answer about how frames (hh:mm:ss.FF) informations are managed... :-)
*


Try http://www.bunkus.org/videotools/mkvtoolni...d20040718-1.rar
*


Works great for me. Thanks, Mosu!
Žom
QUOTE(mosu @ Jul 18 2004, 01:22 PM)
QUOTE(goldenear @ Jul 17 2004, 07:17 PM)
As mka encoder depends of mkvmerge, only mosu could precisely answer about how frames (hh:mm:ss.FF) informations are managed... :-)
*



I strongly hope that hh:mm:ss.FF is not a valid format for the INDEX line. Judging from the other posts I guess that you really meant hh:mm:ff.

Try http://www.bunkus.org/videotools/mkvtoolni...d20040718-1.rar
*


With a cuesheet, with mm:ss:ff, I've always the same bug with this beta release (01:02:03 -> 00:01:02.030000000) sad.gif
Žom
Mosu, what the real format of timestamps in cue for make mmg work correctly? I can't find it...
HH:MM:FF : where are the SS ???
mosu
QUOTE(Žom @ Jul 19 2004, 08:28 AM)
Mosu, what the real format of timestamps in cue for make mmg work correctly? I can't find it...
HH:MM:FF  : where are the SS ???
*



Doh... I meant mm:ss:ff of course. mkvmerge uses mm:ss:ff when reading INDEX lines from CUE sheets now. The beta I've uploaded yesterday _should_ do that. Please make sure that you're not using plain 0.9.3 (have a look at mmg's "Help -> About" menu, it should contain the time of the build. 0.9.3 was around 18:20 or sth like that, the beta should be around 23:10).
Žom
Ah yes I've the 18h20 release sad.gif

Where can I find the new ?
goldenear
Just redownload it from the mosu link wink.gif
Žom
This is always the 18h28 release sad.gif
goldenear
Indeed, the about box display 18h28 but the files seems to have been build @ 23h16 (modification date)...
mosu
QUOTE(goldenear @ Jul 19 2004, 01:15 PM)
Indeed, the about box display 18h28 but the files seems to have been build @ 23h16 (modification date)...
*



Wrong system clock on my Windows installation. Sorry for the confusion. The RAR's timestamp is the one that I meant. The about box displays the timestamp of the compilation which is set from the system clock from my Windows installation (which is wrong). The RAR's timestamp is the one when I've uploaded the file, timestamped with my Linux installation's clock (which is right).
sPeziFisH
Here how to go with Monkey's Audio:

problem:

Monkey's Audio needs at first the inputfile, then outputfile, then modes at commandline, FLAC has at first the options, then the inputfile etc.


Create a .bat-file with the following content into the directory of mkaenc (it's more simple to do this):

QUOTE
mac.exe %2 %2.ape %1


As you can see in my setup mac.exe has to be in the same directory like the mac.bat.

At Encoder-settings in EAC use a commandline akin to this:

QUOTE
-i %s -s %o -y "%Y" -n "/a - /t" -e "C:\matrska\mac.bat" -o "-c3000" -x ".wav.ape" -m -f -z -w


%2 represents the -c3000 option (or any single-option you're using), if there are more (not really neccessary and AFAIK even not possible, don't want to check this right now) you have to use %3 etc. after the first %2.

Last night merging was not possible, the commandline (specially the filenames) were correct, I guess I have to use the latest mkvmerge.

Thanks to goldenear for this useful tool.
Žom
Monkey's audio is (for the moment) unmuxable in matroska.
sPeziFisH
unsure.gif I never took some details about matroska - hmm, now I still have to emphasize that I am still wondering this is not possible - it's a pitty isn't it ?
'kay, whatever, ape or flac, for temporarily storing - it doesn't matter (given in Wyclef style).
koach
Very handy tool.

But unfortunately it doesn't seem to be able to handle the files whose name includes mulibytes characters such as Chinese or Japanese. Is there any way to solve this problem?

Since I'm not familiar with a command-line application, any help would be appreciated.

Thanks.
DrDoogie
QUOTE(Omion @ Jul 17 2004, 11:02 PM)
It does look like MKVmerge expects hundreths of a second, instead of frames for a cue sheet. I ran an MKA file through MKVinfo, and it said things like:
CODE
(MKVInfo) |   + Start: 00:08:28.410000000 at 14766

That's supposed to be 41 frames, not 41/100 of a second.



QUOTE(ChristianHJW @ Jul 17 2004, 10:06 AM)
QUOTE(taemun @ Jul 17 2004, 03:34 PM)
And AFAIK, Matroska doesn't have a frame (sample) based timing system available....probably a hangover from the video 'side' of it (the video is between 24~30 frames per second....audio precision is measured in milliseconds in most interleave formats.


The MKV/MKA muxing app can set any desired timebase for the stamps, so you may actually convert the timestamps into sample stamps if you want.
...
If a matroska files contains audio only ( MKA ) you are free to use whatever timebase is appropriate for your purpose and audio codec, like for MP3 you could set it to 1152 / 44100 s = 26122 ns , and the 'timestamp' in the block header would then be more like a 'sample number' with block #1 reading '1', block #2 reading '2', etc. .....


I'd like to request an easy way (a switch or something, perhaps) for setting per-frame-index-lookup-precision in an .mka-file.

Also, what is the state of using track-indices in matroska right now?
mosu
QUOTE(DrDoogie @ Jul 23 2004, 01:14 PM)
I'd like to request an easy way (a switch or something, perhaps) for setting per-frame-index-lookup-precision in an .mka-file.


Huh? mkvmerge now correctly treats the timestamps in CUE sheets as MM:SS.FF with FF being frames in 1/75s. Or what exactly do you mean with this request?

QUOTE
Also, what is the state of using track-indices in matroska right now?
*



Do you mean 'INDEX 00' and 'INDEX 01'? Current mkvtoolnix builds (available at http://www.bunkus.org/L?id=pre ) create hidden sub chapters for the INDEX entries so that the CUE sheet can be re-extracted from a Matroska file. Anyway, this is still work in progress (I'm working closely with goldenear on this, so I hope I'll have a new _release_ on Sunday).
mosu
QUOTE(koach @ Jul 22 2004, 06:11 PM)
Very handy tool.

But unfortunately it doesn't seem to be able to handle the files whose name includes mulibytes characters such as Chinese or Japanese. Is there any way to solve this problem?


mkvmerge cannot cope with such file names, I'm afraid.
WarBird
Is there a way to use this with foobar and the command line disk writer plugin to make mka'a directly in foobar? That would have been awesome
DrDoogie
QUOTE(mosu @ Jul 23 2004, 04:55 AM)
Huh? mkvmerge now correctly treats the timestamps in CUE sheets as MM:SS.FF with FF being frames in 1/75s. Or what exactly do you mean with this request?


Oh, it does? Well that's very nice, I just got confused from the precision given in this:
CODE

| + Writing application: mkvmerge v0.9.3 built on Jul 22 2004 22:32:01
| + Duration: 741.381s (00:12:21.381)
| + Date: Fri Jul 23 13:00:37 2004 UTC
| + Segment UID: 0x27 0x97 0x0e 0x9c 0x80 0xb5 0x9c 0x3c 0x02 0x76 0xe0 0xc2 0xed 0xac 0x00 0xaf
|+ Segment tracks
| + A track
|  + Track number: 1
|  + Track UID: 1837891533
|  + Track type: audio
|  + MinCache: 0
|  + Timecode scale: 1.000000
|  + Codec ID: A_FLAC
|  + CodecPrivate, length 1846
|  + Language: und
|  + Audio track
|   + Sampling frequency: 44100.000000
|   + Channels: 2
|   + Bit depth: 16
|  + Default flag: 1
|+ EbmlVoid (size: 1024)
|+ Chapters
| + Edition entry
|  + Chapter atom
|   + UID: 1128321519
|   + Start: 00:00:00.320000000
|   + Display
|    + String: Faithless_We Come 1
|    + Language: eng
|  + Chapter atom
|   + UID: 1175810377
|   + Start: 00:03:47.370000000
|   + Display
|    + String: Faithless_We Come 1 (Rollo & Sister Bliss Remix)
|    + Language: eng
|+ Cluster


CODE

PERFORMER "Faithless"
TITLE "We Come 1 (CD Single)"
FILE "CDImage.wav" WAVE
 TRACK 01 AUDIO
   TITLE "We Come 1"
   PERFORMER "Faithless"
   INDEX 00 00:00:00
   INDEX 01 00:00:32
 TRACK 02 AUDIO
   TITLE "We Come 1 (Rollo & Sister Bliss Remix)"
   PERFORMER "Faithless"
   INDEX 00 03:44:27
   INDEX 01 03:47:37


I read this as the frames (which are 1/75) being given as 370 million nanoseconds, 0.37 seconds.


QUOTE
Do you mean 'INDEX 00' and 'INDEX 01'?


I was thinking of the first, truly hidden pre-gap (00-01 of track one), and the other pregaps, as well as the indices 02-99 which a minority of CDs use. The way I read it, from the files above, is that the first pre-gap given by the cue is called a "segment track" and not included in the data for the chapters, which is fine, but there is also a gap between the first and the second track, and the second track doesn't really start at 3:47:37, does it?

If I have no idea what I am talking about, please do ignore me and get back to work, you're doing a great job.
mosu
QUOTE(DrDoogie @ Jul 23 2004, 02:47 PM)
Oh, it does? Well that's very nice, I just got confused from the precision given in this:
...


CODE

PERFORMER "Faithless"
TITLE "We Come 1 (CD Single)"
FILE "CDImage.wav" WAVE
 TRACK 01 AUDIO
   TITLE "We Come 1"
   PERFORMER "Faithless"
   INDEX 00 00:00:00
   INDEX 01 00:00:32
 TRACK 02 AUDIO
   TITLE "We Come 1 (Rollo & Sister Bliss Remix)"
   PERFORMER "Faithless"
   INDEX 00 03:44:27
   INDEX 01 03:47:37


With your CUE sheet I get the following:

CODE

|  + Chapter atom
|   + UID: 2446882811
|   + Start: 00:00:00.426666666
|   + Display
|    + String: Faithless - We Come 1
|    + Language: eng
|   + Chapter atom
|    + UID: 159147718
|    + Start: 00:00:00.000000000
|    + Display
|     + String: INDEX 00
|     + Language: eng
|    + Hidden: 1
|   + Chapter atom
|    + UID: 2738600788
|    + Start: 00:00:00.426666666
|    + Display
|     + String: INDEX 01
|     + Language: eng
|    + Hidden: 1
|  + Chapter atom
|   + UID: 185174257
|   + Start: 00:03:47.493333333
|   + Display
|    + String: Faithless - We Come 1 (Rollo & Sister Bliss Remix)
|    + Language: eng
|   + Chapter atom                        
|    + UID: 4178430856
|    + Start: 00:03:44.360000000
|    + Display
|     + String: INDEX 00
|     + Language: eng
|    + Hidden: 1
|   + Chapter atom
|    + UID: 2671844136
|    + Start: 00:03:47.493333333
|    + Display
|     + String: INDEX 01
|     + Language: eng
|    + Hidden: 1


mkvinfo always uses _timestamps_, so the .493 in the last example are milliseconds. Anyway, I don't know where you got those chapters from, but they do not come from a CUE sheet, at least not muxed directly with the latest mkvmerge.
koach
QUOTE(mosu @ Jul 23 2004, 10:58 PM)
QUOTE(koach @ Jul 22 2004, 06:11 PM)
Very handy tool.

But unfortunately it doesn't seem to be able to handle the files whose name includes mulibytes characters such as Chinese or Japanese. Is there any way to solve this problem?


mkvmerge cannot cope with such file names, I'm afraid.
*


Sorry to hear that.

But okay, I can use mmg to get along with mutilbytes file names, and the other usual names can be handled with this nice handy mkaenc to directly create mka files. Yes, they are still very handy, both of mkaenc and mkvtoolnix.

Anyway thanks for the info, and I hope it to support multibytes inputs someday. Considering that matroska has a lot of features that can be used under multi-language situations, I think many other users want this as well.

#Sorry about my English if it doesn't make sense.
goldenear
QUOTE(Ariakis @ Jul 17 2004, 06:45 PM)
QUOTE(goldenear @ Jul 17 2004, 03:45 PM)
Another trick is to use the secret -z switch wich activate the debug mode and will display everything that's happening.
*



Just now, playing with it a little... It seems that your command line for mkvmerge doesn't work with Vorbis files, at least not ones encoded by the 1.1RC1 encoder.
The encoder options "-i %s -s %o -e "oggenc2.exe" -o "-q2" -x ".ogg" -m -f -z" in EAC yeild the following output: mkaenc.log

*



Ogg/Vorbis problem solved! smile.gif again a bug in mkaenc crying.gif
Please update to makenc 0.9.5 HERE!
You can try it, it should now work with oggenc biggrin.gif

*** IMPORTANT ***
If you plan to encode your entire CD collection, please wait mkaenc v. 1.0.0!
It will be available in the same time as the 0.9.5 release of mkvmerge.
******************

Until then, be aware that the extraction of a individual track (chapter) from a mka file in foobar won't be sample accurate. (Don't worry, if you demux the mka file with mkvextract the extracted audio file will be exactly the same as the original one smile.gif )
Omion
QUOTE(goldenear @ Jul 23 2004, 12:57 PM)
*** IMPORTANT ***
If you plan to encode your entire CD collection, please wait oggenc v. 1.0.0!
It will be available in the same time as the 0.9.4 release of mkvmerge.
******************
*


Might you mean MKAenc? wink.gif

Also, may I ask what the current versions of MKVmerge / MKAenc lack that we should know about before going nuts encoding? Is it just the sample-accurate decoding in Foobar, or is there anything else?
goldenear
QUOTE(Omion @ Jul 23 2004, 04:01 PM)
Might you mean MKAenc? wink.gif


yep! (fixed) lalala.gif

QUOTE(Omion @ Jul 23 2004, 04:01 PM)
Also, may I ask what the current versions of MKVmerge / MKAenc lack that we should know about before going nuts encoding? Is it just the sample-accurate decoding in Foobar, or is there anything else?
*



some major improvements :
1) you won't need to attach the cue file anymore as mkvextract will be able to extract the cue sheet from the mka file structure. So you will not have to matter if the attached cue sheet to be in sync or not with the mka tags smile.gif
2) mkvmerge will be more "time accurate" so splitting/extracting a mka file with foobar won't be any more an issue (you will always get the exact number of samples).
3) may be something else... you will see laugh.gif

I hope all this to be ready soon ... may be end of next week.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.