There are several API functions from the library to decode opus data from different source types: File, URL, and In-Memory (like data loaded from resource.) The URL ones seem totally disabled (and won't give me metadata anyways) and the in-memory ones only work if the data has a definite stop and end all in memory. The file one works fine, in-fact, it's the only one I've been able to get working.
Announcement
Collapse
No announcement yet.
Opus support? {Implemented with a 3rd party plug-in by thinktink)
Collapse
X
-
-
/me bangs head on desk
opus library not Winamp library, durr (and with that stupidity on my part, sleep)
-daz
Comment
-
-
Work In Progress - Translation: Doesn't all work.
Local file playback and metadata reading (not writing) support is solidly working. However, streamplaybacknotsomuch...
Attached in a 7z archive. Because it's a W.I.P. there's no installer so you'll need to extract the plugin -->and the DLLs from this archive downloadable here (just the three .DLL files, not everything)<-- directly into the Plugins folder of Winamp to try it out.Last edited by thinktink; 24 November 2012, 21:43.
Comment
-
-
Hooray! I just got streaming working right finally. Now to work out all the little nooks and crannies for the other Winamp Modern features. Hopefully should have a release within this week.
Comment
-
-
Bingo! Have at ya'! Full modern everything support.
Attached, same instructions as before.
Now I just need to make the encoder plugin. Yikes!
[EDIT/]
Forgot to mention, to force Winamp to use my plugin for opus streaming with URLs that don't end in ".opus" replace the "http://" part of the URL with "opus://".Last edited by thinktink; 26 January 2013, 20:36.
Comment
-
-
Originally Posted by thinktink View PostBingo! Have at ya'! Full modern everything support.
Attached, same instructions as before.
Now I just need to make the encoder plugin. Yikes!
[EDIT/]
Forgot to mention, to force Winamp to use my plugin for opus streaming with URLs that don't end in ".opus" replace the "http://" part of the URL with "opus://".
Edit: Never mind! I'm dumb! I hadn't extracted libogg-0.dll, libopus-0.dll, and libopusfile-0.dll from the previous archive since I'd only looked at your last post! Once I did that, it worked just fine and now I'm playing a .opus file in Winamp!
Comment
-
-
Thanks TT — great plugin! It even supports metadata.
For future versions, may I suggest Unicode and out_ds.dll support? The former is needed to play files with Unicode names (or located in folders with Unicode names), the latter for proper fadeout control. Right now, the plugin seems to have its own sound output.
Comment
-
-
The Opus tags specification doesn't layout a methodology for Unicode tags support, at least that I could find. If I am amiss in that statement please point it out to me and it will be remedied quickly.
The plugin itself is closed source but the libraries that it depends on for decoding are open source and available here:
Opus, the open standard, high quality codec. Presentation, documentation, comparison with other formats, download links, source code repository.
If there's a question you have about the plugin coding and how I did certain things please feel free to ask and I will give you a quick theory of operation for what the code is doing.
Comment
-
-
Originally Posted by Kaminari View Post...out_ds.dll support? ...for proper fadeout control. Right now, the plugin seems to have its own sound output.
Comment
-
-
Hi TT,
About Unicode support, I wish I could point you to specific docs/specs. All I know is that Vorbis comments in Vorbis and Flac files definitely support Unicode characters.
My question was not only related to Unicode tags, but to Unicode filenames as well. The Nullsoft plugins in_flac and in_vorbis can correctly parse such filenames to Winamp, but in_bpopus refuses to load/play any audio file which filename (or filepath) includes Unicode characters (like macrons or kanjis).
About metadata support in in_bpopus, is it really functional? I have tagged some Opus files with TagScanner (which supports Opus since November), and they are properly detected as Vorbis comments in XMPlay and Foobar, but they don't appear at all in Winamp with your plugin.
Comment
-
-
Can you attach a short opus file I can bang on for a while to test with?
Comment
-
-
Sure: Opus_Unicode_Test.7z
The archive contains two files, one encoded with libopus 1.0.1 and another with 1.0.2. I've noticed that tags in the 1.0.1-encoded file are not displayed by in_bpopus. Maybe it's intentional on your part, although they do work in TagScanner, XMPlay, Foobar and MediaInfo.
Comment
-
-
Files received. Will begin testing.
Comment
-
Comment