HydrogenAudio

Hosted Forums => foobar2000 => 3rd Party Plugins - (fb2k) => Topic started by: Harpalus on 2006-03-21 08:03:40

Title: Matroska support
Post by: Harpalus on 2006-03-21 08:03:40
What happened to Matroska (MKA) support with the newest release? I've been suddenly rendered unable to play my music collection. Is there a fix for this at all? Thanks in advance.
Title: Matroska support
Post by: The Link on 2006-03-21 08:10:28
You'll have to ask Toff if he's willing and has time to port foo_matroska to foobar2000 0.9.
Title: Matroska support
Post by: vlada on 2006-04-09 12:56:17
I already asked Toff by PM, I hope he can release foo_matroska for fb2k 0.9 soon.
Title: Matroska support
Post by: Bl@ck_warrior on 2006-04-09 15:18:43
Yep i'm hoping too it's one of the only thing which make me keep my foobar 0.8.3
Title: Matroska support
Post by: vlada on 2006-04-12 09:30:19
Unfortunately no answer so far :-(
Title: Matroska support
Post by: mariuszn3 on 2006-04-12 11:07:34
yup.. give us matroska support. I won't move from 0.8.3 until it'll be on 0.9. Anyway why it doesn't go with standard foobar installation (like many popular formats does)?
Title: Matroska support
Post by: picmixer on 2006-04-12 17:14:30
yup.. give us matroska support.

Excuse me? Who is supposed to give you what and for what reason?

I won't move from 0.8.3 until it'll be on 0.9.

Hmh, tough luck for you I guess. That probably means you have to wait until the Matroska developers update their foobar2000 component to the 0.9 sdk. Maybe you should consider posting on their forums.

Anyway why it doesn't go with standard foobar installation (like many popular formats does)?

Because Matroska isn't quite as popular for use with audio only files as some people might want to believe. Furthermore afaik none of the Foobar2000 core developers have any particular interest in this format, which means it is not too likely to become part of the standard inputs.
Title: Matroska support
Post by: ayana on 2006-04-12 18:56:34
http://tmp.reharmonize.net/foobar/ (http://tmp.reharmonize.net/foobar/)
Please use this if you can never wait for official release. (this is unofficial port)
Because bug may be still left a lot, wait for official release if you want to use stable edition.
I cannot speak in English well, so it may not be answered a question and support very much. (an attached document is in Japanese)

"Album Art Panel featuring Matroska" is a little something extra.
e.g. "matroska:cover.jpg" (wildcard* does not yet work)
Title: Matroska support
Post by: Bl@ck_warrior on 2006-04-12 19:22:41
hey thank you man !
Title: Matroska support
Post by: mariuszn3 on 2006-04-13 11:29:32

yup.. give us matroska support.

Excuse me? Who is supposed to give you what and for what reason?

I won't move from 0.8.3 until it'll be on 0.9.

Hmh, tough luck for you I guess. That probably means you have to wait until the Matroska developers update their foobar2000 component to the 0.9 sdk. Maybe you should consider posting on their forums.

Anyway why it doesn't go with standard foobar installation (like many popular formats does)?

Because Matroska isn't quite as popular for use with audio only files as some people might want to believe. Furthermore afaik none of the Foobar2000 core developers have any particular interest in this format, which means it is not too likely to become part of the standard inputs.

Sorry.. I didn't mean to sound this way. I really appreciate the work you're doing on best software music player on earth. Some day hopefully I'll add my brick to that.

I know matroska is not that popular but so far I found it as most convienient format that no other can match.
If someone's wondering why:There are surely some other benefits.. but for me it's neatness it's most pro. Of course there are lot of drawbacks as well (e.g. foobar2000 0.9 support ;-)

Ayana thanks for that post! I'm about to try it.
Title: Matroska support
Post by: picmixer on 2006-04-13 11:36:11
Sorry.. I didn't mean to sound this way.


OK 
Title: Matroska support
Post by: andro77 on 2006-04-13 16:55:14
  • I can hold entire album in one file (whether I want to keep it in lossy or lossless format)
  • I can add whatever tags I need to it and have it in utf-8 encoding (cuesheet tags in flac are limited in this case)
  • In same file I can store any extras like cover images or videos which were on cd as well
There are surely some other benefits.. but for me it's neatness it's most pro. Of course there are lot of drawbacks as well (e.g. foobar2000 0.9 support ;-)


I use it also to embed cuesheets in mp3 files  not very handy but pretty useful since I hate having thousands of folders in my HDD...
Title: Matroska support
Post by: vlada on 2006-04-14 22:00:24
http://tmp.reharmonize.net/foobar/ (http://tmp.reharmonize.net/foobar/)
Please use this if you can never wait for official release. (this is unofficial port)
Because bug may be still left a lot, wait for official release if you want to use stable edition.
I cannot speak in English well, so it may not be answered a question and support very much. (an attached document is in Japanese)

"Album Art Panel featuring Matroska" is a little something extra.
e.g. "matroska:cover.jpg" (wildcard* does not yet work)


Hi,
thanks for publishing it. Unfortunately the plugin doesen't work with AC3. I have an MKV file with AC3 cmopressed sound. If I open (or drag&drop) it in fb2k a window will popup for a very short time a then nothing happens. MKV with MP3 sound works O.K. Do you have any idea what could be wrong?
Title: Matroska support
Post by: TrNSZ on 2006-04-15 03:20:10
[deleted]
Title: Matroska support
Post by: vlada on 2006-04-15 12:07:41
TrNSZ> Thanks for the answer. So there will be no support for AC3 in MKA until the foo_ac3 gets updated. I remember there was a version with packet decoder for foobar2000 v0.8. I think it was a modification from somebody in Matroska team. Do you know anythink about it?

I asked Christian by e-mail about MKA in fb2k support, but unfortunately he said, that they're not interested in updating the components anymore and that the fb2k developers should do it (I agree with him). But it seems that the player's developers ore not interested neither 

So I'd like to thank to all 3rd party developers who care about updating the components needed for Matroska playback in foobar2000. We would be lost without them.
Title: Matroska support
Post by: The Link on 2006-04-15 13:55:20
Just if someone is interested: Toff modified foo_ac3 for foobar2000 0.8 by kode54 and integrated a packet decoder. The modified sources (http://www.hydrogenaudio.org/forums/index.php?showtopic=25470&st=0&p=232742&#entry232742) are still online if somebody wants to port it to 0.9.
Title: Matroska support
Post by: ChristianHJW on 2006-04-21 21:36:48
Quote

I won't move from 0.8.3 until it'll be on 0.9.

Hmh, tough luck for you I guess. That probably means you have to wait until the Matroska developers update their foobar2000 component to the 0.9 sdk. Maybe you should consider posting on their forums.


Sorry, we cannot care about a single, 3rd party player anylonger. No offense, but i can't remember the Xiph guys have ever contributed to Fb2k, why should we ?
Is our stuff of lower value ?

Quote

Anyway why it doesn't go with standard foobar installation (like many popular formats does)?

Because Matroska isn't quite as popular for use with audio only files as some people might want to believe. Furthermore afaik none of the Foobar2000 core developers have any particular interest in this format, which means it is not too likely to become part of the standard inputs.


Maybe matroska is still not as popular for audio as other formats, but its definitely become a new standard in video. Now, believe it or not, FB2k is slowly but steadily becoming one of the preferred audio encoding tools in the video encoding scene. This is especially true, because it can (could) open audio streams in MKV files directly, and convert them into any other audio format.

It's sad that the Fb2k programmers are completely ignoring this new user group for their software, but of course also understandable. If their own interest is not in video, why should they invest work into their (free) software to accomodate such use.

Anyhow, we are more than glad that ayana has ported foo_matroska to 0.9 standard, and promise to support him in any possible way, should he need assistance in doing that. We also offer to upload his sourcecode to our SVN, and to help distributing the plugin from our download servers.

Christian
matroska project admin
Title: Matroska support
Post by: vlada on 2006-04-22 08:03:30
ChristianHJW> Thanks for publishing your statement here. foobar2000 is really popular by video enthusiasts, like me :-) and so is Matroska. Another reason for fb2k's popularity was support for DTS, which has also dissapeared. 5.1 DTS to AC3 transcoding would be a really great feature for a lot of people.

If there's anybody with some free time and knowledge, can you please port the modified foo_ac3 for the 0.9 version?
Title: Matroska support
Post by: TrNSZ on 2006-04-22 11:32:53
[deleted]
Title: Matroska support
Post by: vlada on 2006-04-22 16:35:46
TrNSZ> Of course I contacted the author of foo_ac3, but he hasn't answered yet.

According to libdts, you're right, that it is not a finished thing, but it works. The foo_dts is an unofficial plugin for version 0.8.3, but it does it's job O.K. According to patent issues - you can say the same about foo_ac3 and also for aac or even mp3. There are companies, which own patents on these formats. I think the whole patent system needs a major revision, because the times they are a changin'. Fortunately we have no SW patents in my country.
Title: Matroska support
Post by: ChristianHJW on 2006-04-22 18:58:35
@ Ayana : your matroska plugin is now mentioned on the matroska news site (http://www.matroska.org/news/index.html). Please tell us immediately, should your server get an overload and you need assistance in hosting the plugin. We would gladly give you access to our file server, so that you can upload the latest version of the plugin there, and we can host it for you.
Title: Matroska support
Post by: ayana on 2006-04-30 17:09:25
foo_input_matroska is released by matroska.org in future.
and I released foo_packet_decoder_ac3 that is needed to playback AC3 in MKA.
(ported from foo_ac3_pre7 (http://www.hydrogenaudio.org/forums/index.php?showtopic=25470) )
http://dl.matroska.org/downloads/foobar2000/ (http://dl.matroska.org/downloads/foobar2000/)
Title: Matroska support
Post by: LaserSokrates on 2006-04-30 20:02:33
It might be a bit off- topic here, but I can understand that foobar is the first choice when it comes to transcoding. Even though I don't transcode from mkv to *, I transcode AC3 with the 5.1 to Stereo-DSP activated with foobar to Vorbis (which I mux with the video into a mkv container later).
Title: Matroska support
Post by: vlada on 2006-04-30 20:08:49
foo_input_matroska is released by matroska.org in future.
and I released foo_packet_decoder_ac3 that is needed to playback AC3 in MKA.
(ported from foo_ac3_pre7 (http://www.hydrogenaudio.org/forums/index.php?showtopic=25470) )
http://dl.matroska.org/downloads/foobar2000/ (http://dl.matroska.org/downloads/foobar2000/)


Thank you very much for the new AC3 plugin. Basically this was the last thing I was missing in foobar2000 v0.9. I'm gonna test it right now.
Title: Matroska support
Post by: vlada on 2006-05-04 18:58:06
It works great for me. Just one small complaint: I have an album in MKA file and I added to it global tags (in MKVToolnix 1.6.5). But when I import the file to fb2k, all I get is chapter tag for track name. I have no artist, album or genre. Also all tracknumbers are set to %d. I have to set up all the tags in fb2k and then it works fine. What is the correct way to tag a whole album in Matroska? Can somebody give me an example of the XML file?
Title: Matroska support
Post by: Mangix on 2006-05-13 05:03:25
i have a question about the modified albumart plugin.

what is it supposed to do? i know that its been modified for use with matroska but how can i take advantage of that? my guess is that you have to put the image file inside the matroska container. i did that but mine was in an attachment. but even if it was, it didn't display it.
Title: Matroska support
Post by: Liisachan on 2006-05-13 08:28:07
Try this to see if it works for you. This will tell the app to look for *.png attached in mkv/mka and load it if it's found:

1. Go to "Preferences | Tools | Album Art Panel"
2. Click [Add] in the right pane, and type matroska:*.png in the edit box, and then click OK.
3. Click [Take Precedence] a few times so that matroska:*.png will be parsed first.

You could also use "matroska:*.jpg" "matroska:cover*.jpg" "matroska:cover.jpg" "matroska:*.*" etc as you wish. The meaning should be self-explanatory
Title: Matroska support
Post by: Mangix on 2006-05-13 18:41:40
thanks a lot. i tried it and it works like a charm.
Title: Matroska support
Post by: Liisachan on 2006-05-13 19:02:02
Cool. The newest version is here and still under development.
http://tmp.reharmonize.net/foobar/?M=A (http://tmp.reharmonize.net/foobar/?M=A)
If you find anything weird/buggy, please tell us (I'm not the author, but am helping him)

As another note, in case you didn't know yet... you might want to install Matroska Shell Extension. With that, you'll see the attached pic as the thumbnail of your .mka file too on Explorer.
Title: Matroska support
Post by: Mangix on 2006-05-13 19:31:55
Cool. The newest version is here and still under development.
http://tmp.reharmonize.net/foobar/?M=A (http://tmp.reharmonize.net/foobar/?M=A)
If you find anything weird/buggy, please tell us (I'm not the author, but am helping him)

As another note, in case you didn't know yet... you might want to install Matroska Shell Extension. With that, you'll see the attached pic as the thumbnail of your .mka file too on Explorer.

i'm sort of afraid to do that because of the fact that it might crash. in explorer, there's a dll that shows a preview of a video file when you select it. sometimes, that causes explorer to crash.

since i've noticed that there's a little delay in foobar2000 when i try to play a .mka file, i don't think i'll use it soon. also the delay i'm talking about is when i start playing a .mka file. it only happens with .mka files though. doesn't happen with others such as mp3, FLAC, etc... the delay also becomes bigger if i use the modified albumart plugin.

also something else. if i click the Forward button too fast, then a Window will popup saying that it can't play the .mka file(although it really can).

edit: also the Shell Extension wouldn't really work for me because of the fact that i use a theme which has the Left Sidebar on the top. it also doesn't show pictures unless i make the Folder's view like that.
Title: Matroska support
Post by: Liisachan on 2006-05-13 20:27:53
Yup, you don't need to use Matroska for audio unless you have any special reason. The speed problem could be improved in the future, but simple Vorbis/WavPack etc should be always faster. I heard that Haali's shell extension is unstable and sometimes doesn't mix well with Explorer; the one I talked about is a different thing (http://www.matroska.org/downloads/shellextension/index.html) and it never crashed for me. It's very handy especially if you have a lot of Matroska movies.
I myself use Matroska mainly for movie (soft-subtitling), and honestly im not sure if it's a good format for audio-only things, even tho I happen to be helping Ayana, the author of those plugins, after some complications. Maybe it's a format for "nuts."  Anyway thanks for the feedbacks
Title: Matroska support
Post by: Mangix on 2006-05-13 21:22:03
well, the only reasons that i use Matroska with foobar2000 is because it can place images inside and because it lets me play FLAC using Media Player Classic w/ ffdshow since i don't feel like installing a DShow filter for FLAC or WavPack.

also i just installed the Shell Extension and it looks quite nice. i haven't experianced problems with it yet .
Title: Matroska support
Post by: Liisachan on 2006-05-13 21:35:28
well, the only reasons that i use Matroska with foobar2000 is because it can place images inside and because it lets me play FLAC using Media Player Classic w/ ffdshow since i don't feel like installing a DShow filter for FLAC or WavPack.
If you use Media Player Classic for WavPack, technically CoreWavpack is safer because:
(1) With CoreWavpack, .wvc in the same folder will be autoloaded when you play .wv, just like fb2k would.
(2) MPC doesn't handle (WV+WVC).mka correctly, WVC part is ignored. Gabest tried to fix this pb a few days ago but it was not yet fixed.

You are right about FLAC. Apparently CoreFLAC doesn't like Unicode filenames, which sucks. So I guess your approach is better. (CDImage.flac+CUE+Cover.jpg).mka could be cool too.
Title: Matroska support
Post by: Mangix on 2006-05-14 01:20:48
Quote
If you use Media Player Classic for WavPack, technically CoreWavpack is safer because:
(1) With CoreWavpack, .wvc in the same folder will be autoloaded when you play .wv, just like fb2k would.
(2) MPC doesn't handle (WV+WVC).mka correctly, WVC part is ignored. Gabest tried to fix this pb a few days ago but it was not yet fixed.

You are right about FLAC. Apparently CoreFLAC doesn't like Unicode filenames, which sucks. So I guess your approach is better. (CDImage.flac+CUE+Cover.jpg).mka could be cool too.


well i don't use it for WavPack yet because i haven't made the files into .mka yet. also on another note, i use Media Player Classic's beta builds(or w/e they are) from celtic_druid so it might be fixed(if it isn't) in the future.

i don't even like CoreFLAC. when i was playing a FLAC file, it sometimes crashed for no reason which made me mad. there is however another FLAC DShow filter called Illiminable which caused so many problems. when Media Player Classic had repeat on, it didn't repeat it but the slider went and went with no audio.
Title: Matroska support
Post by: vlada on 2006-05-14 09:22:46
I use MKA for storing DVD soundtracks without recompression (in AC3). I also add cover (album art) image(s) and cue sheet (tracks, chapters). There is no other format which can do this. So I think that using Matroska is a good idea even for audio-only files. It also alows gapeless playback without any problems. Only MP4 have similar possibilities. But there not many good tools to work with MP4 files.

So far the only problem I had are tags, as I mentioned already before. It seems to me, that the Matroska plugin doesen't read global tags. Also I think that track numbers should be set automatically according to number and order of chapters.
Title: Matroska support
Post by: mariuszn3 on 2006-05-14 18:48:32
How good (or proper) is tag modification in foobar 0.9 for matroska files?
There's difference between foobar 0.8.3 and 0.9 matroska tag handling.. and I'm not sure which one does it proper or more proper way.

First issue is with replaygain info - that's very weird: When i open matroska file (in 0.9) which had replayGain info added in 0.8.3.. replayGain info is visible by replaygain info, properties and ColumnsUI but not by track info panel. When I press play replayGain is not respected by player.. and ColumnsUI suddenly says that file hasn't got replayGain info.
When I readd replayGain info within 0.9 everything becomes ok for 0.9 but then replayGain is not visible at all in 0.8.3.

When I try to add tags by freedb plugin (in 0.9) ALBUM tag is added under ORIGINAL_ALBUM (it's not like that when taggin other file formats) - but that maybe issue of freedb tagger I'm not sure.
Other oddity is (but it was same in 0.8.3) that I can't add 'ALBUM ARTIST' tag.. It just can't be added.. I have no idea why.
Thank you for any info on that.
Title: Matroska support
Post by: Kohlrabi on 2006-05-22 20:54:28
I know that the plugin from the matroska-HP says foo_input_matroska-0.9.0.8, still I when I open a mka-file the tags are not read correctly.
I checked with the shellextension, all tags seem ok there, but in f2k0.9.1 most (not all) tagfields are set twice, so it's ALBUM=foo and ALBUM=foo, ARTIST=bar and ARTIST=bar and so on. Additionally all tracks have their tracknumber AND tracknumber 02, and every track has it's title AND the title of the second track. So is this a bug with the plugin in 0.9.1, or did it occur to someone else before with 0.9.0.x?
f2k 0.8.3 reads the mka correctly off course.

EDIT: OK, my bad, f2k 0.8.3 READS correctly, but playback is broken. I noticed that I still used version 0.6 of the plugin, after updating to 0.8.5 placback was correct, but now the same error as in 0.9.1

EDIT2: Ah, I found the error, http://www.hydrogenaudio.org/forums/index....topic=23019&hl= (http://www.hydrogenaudio.org/forums/index.php?showtopic=23019&hl=) states that I should write tags when encoding the file, so these show up additionally to the mka-tags.
Title: Matroska support
Post by: vlada on 2006-08-06 21:34:30
Hello,
I already mentioned this before, but I'd like to point it out, because it is quite annoying issue.

If I create a file in MKVMerge 1.6.5 with chapters (from OGG, CUE or XML it doesn't matter) and then load this file in foobar2000, I get the file splitted correctly, but instead of track numbers I get text %d.

Why are track numbers not read correctly? If I can somehow help with this issue (test something, provide samples), I would be glad to help.
Title: Matroska support
Post by: Liisachan on 2006-08-07 00:37:45
I know that the plugin from the matroska-HP says foo_input_matroska-0.9.0.8,
I'm not sure if this is related or this will help fix your problem, but the newest one as of writing seems to be foo_input_matroska-0.9.1.2
http://dl.matroska.org/downloads/foobar2000/?C=M;O=D (http://dl.matroska.org/downloads/foobar2000/?C=M;O=D)
Title: Matroska support
Post by: schlauf on 2006-09-08 16:19:50
Hi there, I'm using foo_input_matroska v. 0.9.1.2 in foobar 0.93, and happened to meet the following problem:

when editing a Matroska file within the 'Properties'-dialog in foobar, I set the "Track"-Tag to "test". After saving and reopening the Properties-dialog, the tag value is no longer assigned to "Track", but to "Album" (i.e. the only  assigned tag is "ALBUM"=test).

After changing and saving this tag again, the tag reads, after reloading the properties-page, as "<ALBUM ALBUM> test" ... and so on. this can be continued...

I guess this is a fault in Matroska tagging mechanism - please advise how to respond.

Yours
Title: Matroska support
Post by: ayana on 2006-09-09 10:59:57
when editing a Matroska file within the 'Properties'-dialog in foobar, I set the "Track"-Tag to "test". After saving and reopening the Properties-dialog, the tag value is no longer assigned to "Track", but to "Album" (i.e. the only  assigned tag is "ALBUM"=test).

After changing and saving this tag again, the tag reads, after reloading the properties-page, as "<ALBUM ALBUM> test" ... and so on. this can be continued...

It is malfunction to happen in matroska without Chapters.
I recommend that you put Chapters in matroska as much as possible, but I'll revise it on the next update.
thanks to report.
Title: Matroska support
Post by: ressu on 2006-09-20 16:27:44
It appears that (like many other implementations) the foobar plugin also fails to handle the case of multiple albums in a single mka. you can quickly make such a .mka for testing by just merging 2 mka files with mkvtoolnix.

Even still the foobar plugin performs quite a bit better than totem on linux for example

A good use case for this would be to merge 2 cd release in to a single .mka
Title: Matroska support
Post by: ayana on 2006-10-12 22:55:11
foo_input_matroska-0.9.2.0 is out.
http://dl.matroska.org/downloads/foobar2000/?C=M;O=D (http://dl.matroska.org/downloads/foobar2000/?C=M;O=D)

add: support - transparent access to attachment file

"transparent access" provides service that other components can open the attachment like the common filesystem path.
ex) matroska://%path%|cover.jpg , matroska://c:\music\artist\album.mka|lyrics.txt
This service will work on only the component using foobar2000_io::filesystem::g_open().
(confirmation: foo_uie_albumart v0.2.5 & foo_uie_lyrics_panel -- but wildcards don't work, because they don't use filesystem::g_list_directory() for directory scanning)

>>ressu
Sorry, I have no idea of that case.
Because Matroska contains a Duration element of about only first Track section.
Title: Matroska support
Post by: Hana on 2006-10-13 14:43:55
foo_input_matroska-0.9.2.0 is out.
http://dl.matroska.org/downloads/foobar2000/?C=M;O=D (http://dl.matroska.org/downloads/foobar2000/?C=M;O=D)

It crashes when viewing properties for me, plays fine though, and the shell extension can view the data fine.



http://fnjordy.umcus.org/tmp/failure.txt (http://fnjordy.umcus.org/tmp/failure.txt)
http://fnjordy.umcus.org/tmp/failure_00000001.txt (http://fnjordy.umcus.org/tmp/failure_00000001.txt)
http://fnjordy.umcus.org/tmp/failure_00000002.txt (http://fnjordy.umcus.org/tmp/failure_00000002.txt)
http://fnjordy.umcus.org/tmp/failure_00000003.txt (http://fnjordy.umcus.org/tmp/failure_00000003.txt)
http://fnjordy.umcus.org/tmp/failure_00000004.txt (http://fnjordy.umcus.org/tmp/failure_00000004.txt)
http://fnjordy.umcus.org/tmp/failure_00000005.txt (http://fnjordy.umcus.org/tmp/failure_00000005.txt)
Title: Matroska support
Post by: ayana on 2006-10-13 17:45:00

foo_input_matroska-0.9.2.0 is out.
http://dl.matroska.org/downloads/foobar2000/?C=M;O=D (http://dl.matroska.org/downloads/foobar2000/?C=M;O=D)

It crashes when viewing properties for me, plays fine though, and the shell extension can view the data fine.

Please update foo_utils_matroska to 1.0.2 (http://dl.matroska.org/downloads/foobar2000/foo_utils_matroska-1.0.2.zip). (I'm sorry I forgot this upload.)
Title: Matroska support
Post by: Hana on 2006-10-14 02:05:11
Please update foo_utils_matroska to 1.0.2 (http://dl.matroska.org/downloads/foobar2000/foo_utils_matroska-1.0.2.zip). (I'm sorry I forgot this upload.)

Nice, however tagging from FreeDB and another problem arises: a meta tag <ORIGINAL_ALBUM> is created instead of the "ALBUM TITLE" foobar defaults to.  If I delete <ORIGINAL_ALBUM> foobar then skips over the file instead of playing it.  However I can update the "ALBUM TITLE" and it plays.
Title: Matroska support
Post by: schlauf on 2006-10-14 07:52:42
Unfortunately, after installing Version 0.9.2, foobar2000 crashes when trying to open a MKA-album: Here's the message:

Code: [Select]
Illegal operation:
Code: C000001Dh, flags: 00000000h, address: 00D21F73h
Call path:
threaded_process thread=>playlist_loader::g_process_path
This is the first crash logged by this instance.
Code bytes (00D21F73h):
00D21F33h:  44 89 4F 44 8B 56 48 89 57 48 8B 46 4C 89 47 4C
00D21F43h:  8B C7 C3 CC CC CC CC CC CC CC CC CC CC 53 8B 5C
00D21F53h:  24 08 55 8B 6C 24 10 39 6B 14 56 57 8B F1 73 05
00D21F63h:  E8 17 1E 03 00 8B 7B 14 8B 44 24 1C 2B FD 3B C7
00D21F73h:  0F 42 F8 3B F3 75 1F 6A FF 03 FD 57 8B CE E8 7A
00D21F83h:  03 00 00 55 6A 00 8B CE E8 70 03 00 00 5F 8B C6
00D21F93h:  5E 5D 5B C2 0C 00 83 FF FE 76 05 E8 9D 1D 03 00
00D21FA3h:  8B 46 18 3B C7 73 1B 8B 46 14 50 57 8B CE E8 BA
Stack (0144EFACh):
0144EF8Ch:  0144EE60 80571228 00000000 00000023
0144EF9Ch:  00001036 00000000 00000000 00120089
0144EFACh:  00DC4780 00DC4F68 0144F014 00DC4F30
0144EFBCh:  00D39691 0144EFE4 00000000 FFFFFFFF
0144EFCCh:  6A53D6E1 00000000 00DC4F30 00DC4280
0144EFDCh:  00DC4D60 00D3A2C9 0144EFD0 00DC4FC0
0144EFECh:  014CF1B4 00D5A590 6BCF6381 00000023
0144EFFCh:  0000002F 00D37F06 014CF1B4 00D6E2E8
0144F00Ch:  00000000 00000001 014CF1C0 00D29439
0144F01Ch:  00DC4280 00000001 6A5BC8F1 00DC41C8
0144F02Ch:  00DC4400 00000000 014CF278 014CF188
0144F03Ch:  00000000 00000005 00000004 00000001
0144F04Ch:  00000000 00000000 00000000 00000000
0144F05Ch:  00000000 00000000 00000000 00000000
0144F06Ch:  00000000 00000000 00000000 00000000
0144F07Ch:  00000000 00000000 00000000 00000000
0144F08Ch:  00000000 00000000 00000000 00000000
0144F09Ch:  00000000 00000000 00000000 00000000
0144F0ACh:  00000000 00000000 00000000 00000000
0144F0BCh:  00000000 00000000 00000000 00000000
Registers:
EAX: FFFFFFFF, EBX: 0144EFE4, ECX: 00DC4F74, EDX: 00000003
ESI: 00DC4F74, EDI: 00000023, EBP: 00000000, ESP: 0144EFAC
Crash location: "foo_input_matroska", loaded at 00D20000h - 00DA8000h

Loaded modules:
foobar2000                       loaded at 00400000h - 004F0000h
ntdll                            loaded at 7C900000h - 7C9B0000h
kernel32                         loaded at 7C800000h - 7C8F4000h
COMCTL32                         loaded at 773D0000h - 774D2000h
msvcrt                           loaded at 77C10000h - 77C68000h
ADVAPI32                         loaded at 77DD0000h - 77E6B000h
RPCRT4                           loaded at 77E70000h - 77F01000h
GDI32                            loaded at 77F10000h - 77F57000h
USER32                           loaded at 77D40000h - 77DD0000h
SHLWAPI                          loaded at 77F60000h - 77FD6000h
SHELL32                          loaded at 7C9C0000h - 7D1D5000h
ole32                            loaded at 774E0000h - 7761D000h
shared                           loaded at 10000000h - 1002A000h
comdlg32                         loaded at 763B0000h - 76405000h
lgscroll                         loaded at 10100000h - 10116000h
foo_abx                          loaded at 009D0000h - 00A03000h
foo_albumlist                    loaded at 00A10000h - 00A51000h
foo_audioscrobbler               loaded at 00A70000h - 00AA8000h
WS2_32                           loaded at 71AB0000h - 71AC7000h
WS2HELP                          loaded at 71AA0000h - 71AA8000h
foo_cdda                         loaded at 00AD0000h - 00B06000h
foo_converter                    loaded at 00B30000h - 00B99000h
foo_cuesheet_creator             loaded at 00BC0000h - 00BED000h
foo_dsp_bs2b                     loaded at 00C10000h - 00C2E000h
foo_dsp_continuator              loaded at 00C50000h - 00C82000h
OLEAUT32                         loaded at 77120000h - 771AC000h
foo_dsp_std                      loaded at 00CB0000h - 00CF1000h
foo_input_matroska               loaded at 00D20000h - 00DA8000h
foo_input_std                    loaded at 00DD0000h - 00EDA000h
foo_masstag                      loaded at 00F00000h - 00F50000h
foo_osd                          loaded at 00F70000h - 00FA5000h
foo_rgscan                       loaded at 00FD0000h - 01015000h
foo_ui_std                       loaded at 01040000h - 01097000h
foo_unpack                       loaded at 010C0000h - 010EE000h
UxTheme                          loaded at 5AD70000h - 5ADA8000h
imagehlp                         loaded at 76C90000h - 76CB8000h
DBGHELP                          loaded at 59A60000h - 59B01000h
VERSION                          loaded at 77C00000h - 77C08000h

Stack dump analysis:
Address: 00D39691h, location: "foo_input_matroska", loaded at 00D20000h - 00DA8000h
Address: 00D3A2C9h, location: "foo_input_matroska", loaded at 00D20000h - 00DA8000h
Address: 00D5A590h, location: "foo_input_matroska", loaded at 00D20000h - 00DA8000h
Address: 00D37F06h, location: "foo_input_matroska", loaded at 00D20000h - 00DA8000h
Address: 00D6E2E8h, location: "foo_input_matroska", loaded at 00D20000h - 00DA8000h
Address: 00D29439h, location: "foo_input_matroska", loaded at 00D20000h - 00DA8000h

Version info:
foobar2000 v0.9.3
UNICODE

Additional info:
CD Audio Decoder 2.1.1  (foo_cdda)
ZIP/GZIP reader 1.0  (foo_unpack)
On-Screen Display 1.52  (foo_osd)
Converter 1.0.1  (foo_converter)
Audioscrobbler 1.3.2  (foo_audioscrobbler)
Album List 3.2.0  (foo_albumlist)
Standard DSP array 1.0  (foo_dsp_std)
Continuator 0.4.0  (foo_dsp_continuator)
Standard Input Array 1.0  (foo_input_std)
Matroska Plugin 0.9.2.0  (foo_input_matroska)
ABX comparator 1.3  (foo_abx)
FLAC decoder 1.1.0  (foo_input_std)
Default User Interface 0.9acc  (foo_ui_std)
bs2b 2.0.0b2  (foo_dsp_bs2b)
ReplayGain Scanner 2.0.2  (foo_rgscan)
Cuesheet Creator 0.4.5  (foo_cuesheet_creator)
RAR reader 1.1  (foo_unpack)
Masstagger 1.6  (foo_masstag)


The same album played back perfectly on previous version of the plugin.
Title: Matroska support
Post by: Hana on 2006-10-21 15:17:49
I guess a not overly popular plugin? 
Title: Matroska support
Post by: schlauf on 2006-10-22 07:00:56
I guess a not overly popular plugin? 


Any suggestions what it could be?
Title: Matroska support
Post by: Hana on 2006-10-22 10:53:12
Any suggestions what it could be?

Why don't you try foobar 0.9.4.1?

I had a look at the source for the ALBUM, a lack of comments really doesn't help:
Code: [Select]
            if(!TagExistsAtEditionLevel(TrackTags, "TITLE") && AreTagsIdenticalAtChapterLevel("ALBUM")) {
                info.meta_add("ALBUM", simpleTag.value.GetUTF8().c_str());
            } else {
                info.meta_add("ORIGINAL ALBUM", simpleTag.value.GetUTF8().c_str());
            }

No explanation for why this code is in there, but if I have a tag-less MKV it will set "ORIGINAL ALBUM" instead of "ALBUM".  Why?  Foobar reads "ALBUM" not "ORIGINAL ALBUM" (!)
Title: Matroska support
Post by: cacko on 2006-10-26 21:39:49
Hi, the latest foo_input_matroska-0.9.2.0.zip is breaking somehow foobar2000. When I drag on add folder from the content menu, It's just adds the folder name, no the files. Reverting to the previous verions of foo_input_matroska fixes the problem.

More on this issue can be found here (http://www.hydrogenaudio.org/forums/index.php?showtopic=49417).

Could it be fixed.

Thanks.
Title: Matroska support
Post by: vlada on 2006-10-31 19:05:51
I have the same problem with the latest Matroska plugin.
Title: Matroska support
Post by: szczepl on 2006-11-10 21:42:38
I have a problem with foo_input_matroska...
What I want to do:
- merge whole album which is stored as mp3 files
- merge cuesheet created with fb2k cuesheet creator
into one MKA file.
And: cuesheet loads ok, all files are playable via it in fb2k
But if I merge mp3s, and cuesheet into MKA file with mkvtoolnix,
fb2k loads file, but there is no duration time at tracks but last track.
And for this reason only the last track is playable
I think it is a bug in foo_input_matroska...
I've updated to last versions of mkvtoolnix and cuesheet creator.
Please, help.
Title: Matroska support
Post by: Slotos on 2006-11-13 13:34:16
Your album is a bunch of files, not a single file, am I right?

Matroska counts different audio files in container as different versions of one audio track. It's a video container initially after all. At least that is what I've figured out trying to do the same thing as you. Maybe there is a workaround but it will be a hack, I suppose.
Title: Matroska support
Post by: vlada on 2006-11-13 16:42:12
Matroska counts different audio files in container as different versions of one audio track. It's a video container initially after all.


No, if you use the Append function of MKVToolnix (btw. version 1.80 has just been released), then it will be one audio stream only. I created some MKA albums from more MP3 files and it worked perfectly. But all files need to have the same format.

szczepl
Have you used the Append function? How does your file play in MPC or VLC?
Title: Matroska support
Post by: Slotos on 2006-11-15 15:30:23
No, if you use the Append function of MKVToolnix (btw. version 1.80 has just been released), then it will be one audio stream only. I created some MKA albums from more MP3 files and it worked perfectly. But all files need to have the same format.


Oh, thanks for the info. Btw, will it work with VBR files?
Title: Matroska support
Post by: vlada on 2006-11-15 15:48:59
I've never tried VBR, but it should work fine. I think it even shouldn't be a problem to join files with different bitrate. But I think you need to keep resolution (bit depth), sampling frequency and compression format for one track.
Title: Matroska support
Post by: Slotos on 2006-11-16 13:08:38
Thanks again. (Gone muxing ^^)
Title: Matroska support
Post by: vlada on 2006-11-28 23:30:58
Any solution for the problem me and cacko mentioned? Thank you.
Title: Matroska support
Post by: drbeachboy on 2006-11-30 18:09:18

Matroska counts different audio files in container as different versions of one audio track. It's a video container initially after all.


No, if you use the Append function of MKVToolnix (btw. version 1.80 has just been released), then it will be one audio stream only. I created some MKA albums from more MP3 files and it worked perfectly. But all files need to have the same format.

szczepl
Have you used the Append function? How does your file play in MPC or VLC?

vlada,

If the files are appended, then can the foobar2000 created cuesheet be added in the "Global" setting of mmg? Or will the cuesheet need some manual amending for it to work properly?
Title: Matroska support
Post by: vlada on 2006-11-30 18:33:13
Just append the files and use the cuesheet to create chapters. It should work.
Title: Matroska support
Post by: vlada on 2007-02-14 20:45:22
Does anybody know what's going on? There is a serious bug in the last version and unfortunately there haven't been any update for quite a long time :-(

I would be very sad if Matroska support in fb2k was abandoned.
Title: Matroska support
Post by: Liisachan on 2007-02-15 02:16:57
hi, vlada
0.9.2.0 was out on Oct 12, 2006, then on Oct 20 (local time) ayana posted an article about current limitations of foo_input_matroska in his blog. His fb2k-related directory was last updated on Nov 16 (local time).
According to his blog, it seems that he'll soon graduate from his univ and will start working for a company, no more a student, he moved too. maybe he's now (and will be) a bit busier, but I do hope he'll be able to go on working for his plugins too.
Title: Matroska support
Post by: Kohlrabi on 2007-06-23 09:36:50
I just found that http://dl.matroska.org/downloads/foobar2000/ (http://dl.matroska.org/downloads/foobar2000/) has a new version of input_matroska, which fixes the library-crash and the folder-drag-and-drop-bug

many thanks to ayana for that!
Title: Matroska support
Post by: vlada on 2007-06-23 11:03:36
Great news! Many thanks for the fix.