Author Topic: WebM support now possible for MusicBee?  (Read 2995 times)

sveakul

  • Sr. Member
  • ****
  • Posts: 2438
There is now a "First Release" version (6/21/2019) of basswebm.dll available at un4seen, packaged with a full CHM documentation file and others, at this address:  http://www.un4seen.com/stuff/basswebm.zip .  Can this be an addition for MusicBee 3.4's upcoming betas?  Some excerpts from the readme portion:

BASSWEBM 2.4
Copyright (c) 2018-2019 Un4seen Developments Ltd. All rights reserved.

Files that you should have found in the BASSWEBM package
========================================================
Win32 version
-------------
BASSWEBM.TXT    This file
BASSWEBM.DLL    BASSWEBM module
BASSWEBM.CHM    BASSWEBM documentation
X64\
  BASSWEBM.DLL    64-bit BASSWEBM module
C\              C/C++ API...
  BASSWEBM.H      BASSWEBM C/C++ header file
  BASSWEBM.LIB    BASSWEBM import library
  X64\
    BASSWEBM.LIB    64-bit BASSWEBM import library
VB\             Visual Basic API...
  BASSWEBM.BAS    BASSWEBM Visual Basic module
DELPHI\         Delphi API...
  BASSWEBM.PAS    BASSWEBM Delphi unit

What's the point?
=================
BASSWEBM is an extension to the BASS audio library, enabling the playing of
WebM and Matroska files.

Requirements
============
BASS 2.4 is required (2.4.12 or above is recommended).

Using BASSWEBM
=============
The plugin system (see BASS_PluginLoad) can be used to add WebM support to
the standard BASS stream creation functions. Dedicated WebM stream creation
functions are also provided by BASSWEBM.

The usage information in the BASS.TXT file (from the BASS package) is also
applicable to BASSWEBM and other add-ons.

Steven

  • Administrator
  • Sr. Member
  • *****
  • Posts: 34312
it should already work with v3.3
just put basswebm.dll in the root musicbee application folder. It works with ".webm" and ".mka" files

it wasnt included due it not being an offical release yet

sveakul

  • Sr. Member
  • ****
  • Posts: 2438
I tried this with a *.webm file containing Opus audio, and MusicBee would not recognize the file when manually added to a monitored folder;  on attempting to play it via the Windows File/Open With menu, MusicBee would open but also not recognize the file--no error message, just acted like it didn't exist.  The same file plays fine in Foobar.  MediaInfo reads:

General
Complete name                            : C:\TEMP\opus.webm
Format                                   : WebM
Format version                           : Version 4
File size                                : 1.01 MiB
Duration                                 : 1 min 15 s
Overall bit rate                         : 112 kb/s
Writing application                      : google
Writing library                          : google

Audio
ID                                       : 1
Format                                   : Opus
Codec ID                                 : A_OPUS
Duration                                 : 1 min 15 s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Compression mode                         : Lossy
Language                                 : English
Default                                  : Yes
Forced                                   : No

Will upload the file if needed but first thought there may be something more obvious going on like perhaps some setting needed to tell MB the *.webm extension is for real, or to ask bass.dll to use the basswebm.dll??  Using MB 3.3.7121

Steven

  • Administrator
  • Sr. Member
  • *****
  • Posts: 34312
you need the Configuration.xml from the 3.3 release

sveakul

  • Sr. Member
  • ****
  • Posts: 2438
Thanks;  that solved it!  For others who wish to add *.webm audio file support to MusicBee at this time:

1.  Download and install basswebm.dll from the link in the first post into the main MusicBee folder;

2.  With MB closed, open the Configuration.xml file (in main MB folder) in e.g. Notepad, and add the following line under the section <SupportedFiles> :

Code
<FileExtension Value=".webm" TagFormats="0" Codec="0" />
3.  MusicBee will now find, open, and play *.webm files with supported audio.

Note that while current basswebm.dll (6/21/2019) is marked as a "First Release" version, it has yet to appear in un4seen's "permanent" plugins list so your mileage may vary.  Works fine here now with WebM-wrapped Opus audio.  The same procedure should work for adding *.mka file support, though not tested here.

Steven

  • Administrator
  • Sr. Member
  • *****
  • Posts: 34312
its already in the configuration.xml - i expect you skipped updating it

sveakul

  • Sr. Member
  • ****
  • Posts: 2438
Yes that is indeed correct... :-[   Since I've been updating from the MusicBee33_Patched.zip file, which does not contain Configuration.xml, I didn't realize these lines (incl. for *.mka!) already appear in the latest full install package of MusicBee 3.3.7115.

sveakul

  • Sr. Member
  • ****
  • Posts: 2438
FYI, there is now a full release version of basswebm.dll available at un4seen (version 2.4.0.0, 8/9/2019): http://www.un4seen.com/download.php?basswebm24 .  Drop it into the MusicBee folder and you get playback support for *.webm and *.mka, working great here.  Be sure that your Configuration.xml file is from the 3.3+ MusicBee as Steven indicated in order for MusicBee to "see" the file types.