Announcement

Collapse
No announcement yet.

in_opus plugin for Winamp 2 (release)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Update 0.892

    This is mostly a bug-fix update. Most significantly I would say, is the fix of long durations. Due to integer overflow, in theory the longest file that can be played is 2^31 - 1 ms ie ~25 days. I came along a 27day recording, and decided to fix the bug. Not that I think many of you will need that, but it costs nothing to share right? The other addition is the support of 24b and 32b output, use the OUT_BITS option. So if you hardware supports 24 or 32b output, go for it. However keep in mind tht the EQ shall work only for 16b output on Winamp2.x and will work on 16 and 24b output on Winamp5.3+.

    * UPDATE: Now using opusfile 0.12 (with modifications)

    * NEW: Support for 8, 24 and 32 bits decoding resolution, the default is always 16b. Add the option OUT_BITS=value in the [IN_OPUS] section of your .ini file to use this option.

    * FIXED: Now dithering is applied even when resampling is used. Note that It is not very useful as resampling error tends to make bigger artefacts than quantization error. In addition, noise-shaping will be used only for 16b:48kHz outpt mode, which is the default since the first version.

    * FIXED: Now the user's session winamp.ini file will be read. This concerns Winamp 5.11+, and when the 'paths.ini' file is in winamp's directory.

    * FIXED: Now WACUP users should have Unicode filename enabled by default.

    * FIXED: Crash in some conditions. Now the plugin is compatible with XMPlay, this is not really useful because of XMPlay's native support for opus. However this can fix problems people experienced in some cases with Winamp.

    * FIXED: Unnecessary bloat to the dll removed using gcc's -flto option.

    * FIXED: The 24 days 20 h 31 min 24 s and 647 ms maximum duration bug. Actually, for any length greater than that, time will be displayed in hrs:min instead of min:sec format, this applies when jumping in the file with Ctrl+J option as well. Now the new limit for track time is thus 60x greater hence: 4 years 1 month 1 days 7 h 23 min 38 s and 820 ms.
    Yep u can laugh.
    Note1: the [h:min] flag will be added at the end of the playlist name.
    Note2: Visualisation will look wrong in this context.

    * FIXED: Possible memory leaks.

    * FIXED: Problem in the resampling code that would lead to NULL output in some cases. This should cure random 'not working' when using resampling.

    * FIXED: Now the error code will no longer be automatically displayed in the PL for the URL streams, because it does causes performances problems. The error details will still be displayed in the Info dialog on "Alt+3".
    Attached Files

    Comment


    • #17
      Not working with MediaMonkey

      Hi,
      Unfortunately in_opus.dll plugin do not load in MediaMonkey even MediaMonkey is compatible with Winamp 2.x plugins.

      Sent you PM with few details about issue.

      Comment


      • #18
        Hi,
        In further tests I've found that 0.888 works so I guess some sort of regression happened.

        Comment


        • #19
          Update in_opus v0.911

          Here is again a new release with some nice features, namely .ogg file support (hackish), unified dialog info support (Winamp 5.5+) and proper playlist name entry (Winamp 5.x). This release also fixes a serious bug that prevented the plugin function under MediaMonkey. Now the plugin is fully functional with MediaMonkey (including radio), except that MediaMonkey does not retrieve tags information using the winampGetExtendedFileInfo function, newly exported by the plugin.

          * FIXED: Now url streams should work with MediaMonkey.

          * FIXED: The plugin should be compatible with MediaMonkey again. It will be in my test list from now, even though MediaMonkey 5 will have native opus support.

          * NEW: Now the average bitrate can be displayed instead of the instant bitrate, set INSTANT_BR=0 in the [IN_OPUS] section of winamp.ini.

          * NEW: An option was added to load files with .ogg extension. The option is not enabled by default because the plugin will have to open all the ogg files to check if they are opus files. Write OGGEXT_HACK=1 in the [IN_OPUS] section of the winamp.ini file if you want to enable it.

          Note1: In Winamp 5.x, there will be conflicts with the tags when you mix both king of .ogg files, this will lead to tags being not shown for the second type of file you load in the session. All files will play though.

          Note2: This is not an issue on Winamp 2.x.

          * NEW: The playlist entry will display proper format under winamp 5.x, because the winampGetExtendedFileInfo function was implemented.

          * NEW: Unified dialog on "Alt+3" can be enabled for Winamp 5.5+ now setting the UNIFIED_DIALOG=1 in the [IN_OPUS] section of the winamp.ini file.

          PS: To any admin of the forum: How do I get permission to edit my posts?
          I would like to put an updated version of the plugin in the first post so that people do not have to scroll down to find the last version. If it is not possible, could you edit the first post to add that last version is found in the last update post...
          Attached Files

          Comment


          • #20
            This is awesome.

            Comment


            • #21
              Tagged bitrate is in bytes but winamp only tags in kbps, fyi

              Comment


              • #22
                Amazing work, thanks!

                Comment


                • #23
                  By the way, it's working on Windows 10 as well.

                  Comment


                  • #24
                    In Winamp the plugin only works for local files. Doesn't work for streams in OPUS. Latest version tested.

                    Comment


                    • #25
                      The plugin since version 0.610 does work on http streams, could you give please an example of non-working shoutcast opus stream?

                      Comment


                      • #26
                        code:
                        https://paranormalium.waw.pl/radio/8000/opusHQ

                        Switching to https:// makes no change, the streams still don't play in Winamp.

                        Comment


                        • #27
                          Ok, I understand, there are limitations of my plugin:
                          1) http only, no https
                          2) the URL needs to end with .opus

                          In your case: https://paranormalium.waw.pl/radio/8000/opusHQ
                          the stream is https (secure), actually the server also share a simple http version
                          Now for the extension, you do not have the .opus extension. if you want my plugin to try opening it , you will need to add the ">.opus" suffix
                          So use:

                          http://paranormalium.waw.pl/radio/8000/opusHQ>.opus

                          This one works just fine for me.
                          So it is simple: HTTP only and if there is no .opus at the end of url add >.opus yourself

                          Comment


                          • #28
                            Originally Posted by Ramon_Unchained View Post
                            Ok, I understand, there are limitations of my plugin:
                            1) http only, no https
                            2) the URL needs to end with .opus

                            In your case: https://paranormalium.waw.pl/radio/8000/opusHQ
                            the stream is https (secure), actually the server also share a simple http version
                            Now for the extension, you do not have the .opus extension. if you want my plugin to try opening it , you will need to add the ">.opus" suffix
                            So use:

                            http://paranormalium.waw.pl/radio/8000/opusHQ>.opus

                            This one works just fine for me.
                            So it is simple: HTTP only and if there is no .opus at the end of url add >.opus yourself
                            Are you using opus libs for streaming?
                            | Opus Audio Codec plugins 2.0 | Embedded Album Art | DiskWrite |
                            | Save your playlist first! | Live voice-over | X-Fade 2.5 |
                            | AterKast (Source DSP) | More of my stuff... |

                            Comment


                            • #29
                              I just use a modified version of the libopusfile library:
                              The opusfile library provides seeking, decode, and playbackof Opus streams in the Ogg container (.opus files) includingover http(s) on posix and windows syst...


                              The source for my plugin can be found here:

                              The source is a bit of a mess but it was quickly developed as a side project, targeting Win9x and Winamp 2.x

                              Comment


                              • #30
                                in_opus v0.912

                                A few minors fixes since last time:
                                The project is now on GitHub:


                                * NEW: Support was added for title formatting on Winamp 2.x. The playlist will now display track as "Artist - Title" if the tags are available. If you prefer to see the filename only set FORMAT_TITLE=0 in the [IN_OPUS] section of the Winamp.ini file.

                                * Now on Winamp5.5+, the Unified tags dialog will be used by default. You can always set UNIFIED_DIALOG=0 if you prefer the old style.

                                * Fixed small potential memory leek.

                                * FIXED: Local code page will be used for display when Unicode is not available. Before I was always converting unicode->cp1252 which was wrong.

                                * FIXED: build options were improved inducing an even smaller dll file.
                                Attached Files

                                Comment

                                Working...
                                X
                                😀
                                🥰
                                🤢
                                😎
                                😡
                                👍
                                👎