Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Matroska support (Read 58470 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Matroska support

Reply #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.

Matroska support

Reply #26
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

Matroska support

Reply #27
thanks a lot. i tried it and it works like a charm.

Matroska support

Reply #28
Cool. The newest version is here and still under development.
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.

Matroska support

Reply #29
Cool. The newest version is here and still under development.
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.

Matroska support

Reply #30
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 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

Matroska support

Reply #31
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 .

Matroska support

Reply #32
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.

Matroska support

Reply #33
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.

Matroska support

Reply #34
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.

Matroska support

Reply #35
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.

Matroska support

Reply #36
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= states that I should write tags when encoding the file, so these show up additionally to the mka-tags.
It's only audiophile if it's inconvenient.

Matroska support

Reply #37
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.


Matroska support

Reply #39
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

Matroska support

Reply #40
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.

Matroska support

Reply #41
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

Matroska support

Reply #42
foo_input_matroska-0.9.2.0 is out.
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.



Matroska support

Reply #45
Please update foo_utils_matroska to 1.0.2. (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.

Matroska support

Reply #46
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.

Matroska support

Reply #47
I guess a not overly popular plugin? 


Matroska support

Reply #49
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" (!)