Go Back   Winamp & SHOUTcast Forums > Winamp > Winamp Wishlist

Reply
Thread Tools Search this Thread Display Modes
Old 30th November 2013, 19:07   #241
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 2,930
Send a message via Skype™ to thinktink
Does it still not work if you use http://71.123.219.245:8000/xrm.opus instead? (same server, just with the hostname already resolved to the IP address.)
thinktink is offline   Reply With Quote
Old 30th November 2013, 19:16   #242
Kigen
Junior Member
 
Join Date: Apr 2006
Location: Somewhere under the sun
Posts: 34
Running Winamp in compatibility mode (Windows XP SP3) does seem to fix the issue on Windows 8.1 Pro.

Edit: Worked once, then stopped. Curious.

And no, doing it directly via IP address doesn't seem to make a difference.
Kigen is offline   Reply With Quote
Old 30th November 2013, 19:22   #243
Kigen
Junior Member
 
Join Date: Apr 2006
Location: Somewhere under the sun
Posts: 34
Trying on my Windows 7 Pro x64 machine and its experiencing the same issue. Waiting for data, then disconnect.
Kigen is offline   Reply With Quote
Old 30th November 2013, 19:30   #244
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 2,930
Send a message via Skype™ to thinktink
Aye, I'm seeing the same thing on Windows 7 64x Pro. Every great one-in-a-while it'll connect and stay connected. I checked my server logs to see if it's connecting and it is, complete with headers and everything. Odd. Very odd. Still looking into it.
thinktink is offline   Reply With Quote
Old 30th November 2013, 20:16   #245
Kigen
Junior Member
 
Join Date: Apr 2006
Location: Somewhere under the sun
Posts: 34
I've been able to get connect and stay connected by keep retrying. I am hearing audio problems during song transitions (presumably because of the metadata being sent). The server should be using ice headers and using OpusHead and OpusTags.
Kigen is offline   Reply With Quote
Old 30th November 2013, 20:20   #246
Kaminari
Junior Member
 
Kaminari's Avatar
 
Join Date: Mar 2003
Location: Paris, France
Posts: 48
Experiencing the same issue (along with a complete freeze of Winamp) on Win7-64 Pro.
Kaminari is offline   Reply With Quote
Old 30th November 2013, 20:36   #247
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 2,930
Send a message via Skype™ to thinktink
Quote:
Originally Posted by Kigen View Post
... I am hearing audio problems during song transitions (presumably because of the metadata being sent). The server should be using ice headers and using OpusHead and OpusTags.
It's because the Opus specification says that each li in the chain doesn't have to be the same number of channels so I have to close and re-open the output plugin on every new chain. The metadata is not the issue, the stream is. The Opus developers have said that opus streams don't use icy metadata (though the plugin still supports it.) However, I'll look to see if I can keep the same output plugin session if the current chain has the same NCH as the previous.

Quote:
Originally Posted by Kaminari View Post
Experiencing the same issue (along with a complete freeze of Winamp) on Win7-64 Pro.
A complete freeze I've yet to see on Win7 64bit.
thinktink is offline   Reply With Quote
Old 30th November 2013, 21:10   #248
Kigen
Junior Member
 
Join Date: Apr 2006
Location: Somewhere under the sun
Posts: 34
That would make sense with the interruptions I'm hearing. Since Liquidsoap is setup to fade between songs/promos the close and reopening would cause such a disturbance.
Kigen is offline   Reply With Quote
Old 1st December 2013, 00:08   #249
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 2,930
Send a message via Skype™ to thinktink
In an extremely debug build of the plugin I see that I'm getting the same data internally on WinXP 32bit and Win7 64bit but for some reason the code is not recognizing the data on Win7 64bit, which is really really really odd.
thinktink is offline   Reply With Quote
Old 2nd December 2013, 00:25   #250
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 2,930
Send a message via Skype™ to thinktink
Quote:
Originally Posted by Kigen View Post
Just so you know, very very very very very very very very very very very bad "spambot" detection system:
thinktink is offline   Reply With Quote
Old 2nd December 2013, 00:35   #251
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 2,930
Send a message via Skype™ to thinktink
Update to the most recent problems:

It would seem I have corrected the issue on Win7/8 by removing what appears to be a couple of spurious auto critical section references in the stream handler thread. However, before posting the updated version I'm going to look-see if there's a quick and easy way to avoid closing and re-opening the output plugin on track changes in the online stream for tracks that don't change the number of channels between songs (this endeavor might be easier said than done with the nature of the codec.) Might take a while since your radio station has particularly over-long tracks.
thinktink is offline   Reply With Quote
Old 2nd December 2013, 04:48   #252
Kigen
Junior Member
 
Join Date: Apr 2006
Location: Somewhere under the sun
Posts: 34
There isn't any spambot detection going on. That website is dead. But the way it was coded the spambots were able to get to the forums and spam it. So I added a die() earlier this year that said that. I've changed it around so you don't think the site thinks your a spambot. View it now. :P XRM is dead. The only reason the streams are going by that name is so we can test Steamcast, which just got a beta release (see sig).

Anyway, happy to hear you got the failure to connect problem figured out. I'll be waiting for the new version.

The songs should be avg 5 minutes.

http://radio.kigen.co:8000/view/3 - Song history
Kigen is offline   Reply With Quote
Old 2nd December 2013, 06:32   #253
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 2,930
Send a message via Skype™ to thinktink
Ok, see if the attached 1.3.21.69 version clears up the problems on Win7/8.

There MIGHT be a bug or two that slipped by because I didn't do any rigorous testing on the modifications to the non-channel change output plugin session preservation that I usually do. This version is mostly just to test the threading issues.

Last edited by thinktink; 4th December 2013 at 04:36.
thinktink is offline   Reply With Quote
Old 2nd December 2013, 06:36   #254
Kigen
Junior Member
 
Join Date: Apr 2006
Location: Somewhere under the sun
Posts: 34
Its definitely connecting correctly now. Good work.
Kigen is offline   Reply With Quote
Old 2nd December 2013, 06:42   #255
Kigen
Junior Member
 
Join Date: Apr 2006
Location: Somewhere under the sun
Posts: 34
There was a significant delay (1-2 seconds) in audio during song transition. The audio is now not synchronized with the visualizer. Reconnecting obviously fixes.

Edit: Happens when a promo plays.
Kigen is offline   Reply With Quote
Old 2nd December 2013, 22:42   #256
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 2,930
Send a message via Skype™ to thinktink
k, looking into it.
thinktink is offline   Reply With Quote
Old 4th December 2013, 04:34   #257
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 2,930
Send a message via Skype™ to thinktink
The attached 1.3.22.77 version should fix all that ails ya. I redesigned the handling of URL resource playback to use the libopusfile library callbacks instead of parsing the OggS packets myself. Net result of this is that all streams (and all linked Opus chains) will always be outchucked as stereo (even if the stream is mono or quadraphonic or 5.1 or whatever other numbers you throw at it), which means no closing and reoppening of the output plugin during link changes.

Unfortunately, this means that libopusurl support was dropped in favor of the callback versions. When the new version of libopusurl is finally published, I'll try to find some way to bash libopusurl support back into it with the new handler as the new fallback.

Tested on Win7 Pro 64bit and WinXP Home 32bit.

This is an official (well, about as official as I can make it) non-beta release build. Latest supported version.

Last edited by thinktink; 7th December 2013 at 20:50.
thinktink is offline   Reply With Quote
Old 4th December 2013, 06:19   #258
kzuse
Senior Member
 
kzuse's Avatar
 
Join Date: Oct 2005
Location: (D)
Posts: 475
Send a message via ICQ to kzuse Send a message via Skype™ to kzuse
Quote:
Originally Posted by thinktink View Post
Unfortunately, this means that libopusurl support was dropped in favor of the callback versions.
What does that mean exactly? Does it affect any functionality, or is it merely some "beauty/simplicity of the code" thing?

And a second thing: If this is the latest non-beta-build, you might want to update the link in your signature to point to this post instead of the old one (which doesn't contain the attachment any more).

Thanks for all this and the continuing support of your Plugin!!!
kzuse is offline   Reply With Quote
Old 4th December 2013, 06:29   #259
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 2,930
Send a message via Skype™ to thinktink
Quote:
Originally Posted by kzuse View Post
What does that mean exactly? Does it affect any functionality, or is it merely some "beauty/simplicity of the code" thing?
http://forums.winamp.com/showthread....25#post2966325


Quote:
Originally Posted by kzuse View Post
And a second thing: If this is the latest non-beta-build, you might want to update the link in your signature to point to this post instead of the old one (which doesn't contain the attachment any more).
Gah! I always forget...
thinktink is offline   Reply With Quote
Old 4th December 2013, 07:37   #260
kzuse
Senior Member
 
kzuse's Avatar
 
Join Date: Oct 2005
Location: (D)
Posts: 475
Send a message via ICQ to kzuse Send a message via Skype™ to kzuse
I still don't get it, what the difference is between the libopusurl and the "own handler" thing.... but I guess, it's all fine in the newest build
kzuse is offline   Reply With Quote
Old 4th December 2013, 07:42   #261
kzuse
Senior Member
 
kzuse's Avatar
 
Join Date: Oct 2005
Location: (D)
Posts: 475
Send a message via ICQ to kzuse Send a message via Skype™ to kzuse
But it seems that I don't need the following files then, am I right?:

libeay32.dll
libopusurl-0.dll
ssleay32.dll
kzuse is offline   Reply With Quote
Old 4th December 2013, 19:15   #262
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 2,930
Send a message via Skype™ to thinktink
Quote:
Originally Posted by kzuse View Post
I still don't get it, what the difference is between the libopusurl and the "own handler" thing.... but I guess, it's all fine in the newest build
The liboupusurl API's include support for proxy connections, https, and seeking of online files. My handler does not. I've put off trying to implement any of that myself because I'm waiting/hoping for the JNetLib Wasabi APIs to be published by DrO though he has his hands full at the moment so it'll be a while before I know when/if I'll be able to implement those features myself.

And yes, that's what those libraries in the previous post you mentioned are for so you can remove them if you want but I don't recommend you do as the plugin might use some ancillary functions in them for efficiency purposes.

[EDIT/]
I'm about to re-focus my attention back to the issues with Skinimizer so if there are any additional issues with the plugin, let me know A.S.A.P. before I get heavy into Skinimizer.
thinktink is offline   Reply With Quote
Old 10th January 2014, 22:03   #263
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 2,930
Send a message via Skype™ to thinktink
Quote:
Originally Posted by myInbox
I'm pleased to announce the release of version 0.5 of Tim's opusfile
library for decoding and seeking inside .opus files and remote streams
over http(s). This release includes some new API calls and fixes a
number of mostly minor bugs from the previous release.

Programming documentation for this release is available from
http://opus-codec.org/docs/opusfile_api-0.5/

Changes since the last release:

- Report HTTP (ICY) headers to client
- New tag comparison and copy functions
- New application decoding callback API for advanced clients
- New dither disable function for advanced clients
- constify API
- Avoid clipping downmixing from a fixed-point decoder
- Better practices for dual stack IPv6
- Documentation improvements
- Fix a unicode bug on Windows
- Fix proxy user/password macros
- Fix HTTP pipelining support detection

Source is available from:

https://ftp.mozilla.org/pub/mozilla....ile-0.5.tar.gz
https://ftp.mozilla.org/pub/mozilla....usfile-0.5.zip
http://downloads.xiph.org/releases/o...ile-0.5.tar.gz
http://downloads.xiph.org/releases/o...usfile-0.5.zip

Windows binaries from:


https://ftp.mozilla.org/pub/mozilla....-0.5-win32.zip

SHA-256 checksums:

2ce52d006aeeec9f10260dbe3073c4636954a1ab19c82b8baafefe0180aa4a39
opusfile-0.5.tar.gz
b940d62beb15b5974764574b9f265481fe5b6ee16902fb705727546caf956261
opusfile-0.5.zip
93104cab67a2b038753d125028d63c0028a277e798f8ca88df73d4edbfb9a787
opusfile-0.5-win32.zip

Thanks to everyone who contributed!

-r
On it...
thinktink is offline   Reply With Quote
Old 11th January 2014, 17:27   #264
Jay
Moderator Alumni
 
Jay's Avatar
 
Join Date: May 2000
Location: Next Door
Posts: 8,942
Something I have noticed:

Winamp seems to crash pretty indiscriminately when playing Opus with that plugin. It's a great plugin so far though. But it seems that whenever there is a new connection sometimes it crashes. Also if you tune into an Opus file/stream and then hold 'x' while winamp is active. The plugin will eventually crash. I think it has something to do with not locking resources.
Jay is offline   Reply With Quote
Old 11th January 2014, 17:33   #265
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 2,930
Send a message via Skype™ to thinktink
That's interesting. When it crashes on a new stream, does it just lock-up/hang or does it do a full crash/close? What operating system/skin does it occur on?
thinktink is offline   Reply With Quote
Old 11th January 2014, 23:22   #266
Kigen
Junior Member
 
Join Date: Apr 2006
Location: Somewhere under the sun
Posts: 34
I've also observed crashes when the stream is interrupted.

Windows 8.1 Pro x64 with on Winamp 5.666 Classic skin
Kigen is offline   Reply With Quote
Old 12th January 2014, 14:09   #267
Jay
Moderator Alumni
 
Jay's Avatar
 
Join Date: May 2000
Location: Next Door
Posts: 8,942
Using classic skin, Windows 7 Pro.

I get a mix, sometimes it locks up and Winamp is simply unresponsive, other times I get the "Abnormal Program Operation" error. The easiest way to duplicate the problem is to hold 'x' while Winamp is active on an Opus file/stream.
Jay is offline   Reply With Quote
Old 12th January 2014, 16:36   #268
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 2,930
Send a message via Skype™ to thinktink
k, I was able to replicate the error on WinXP. It seems to be a problem with CRITICAL_SECTION object deletion when a playback thread has finished. Debugging shows that it's not owned by any thread of execution at the time of the exception (it's an OS generated exception) so I don't understand why the error. Either way, I think I've managed to suppress the error. The "fix" will ship out on the next release.
thinktink is offline   Reply With Quote
Old 25th January 2014, 06:38   #269
Melkor
Junior Member
 
Join Date: Aug 2001
Posts: 11
I found a couple of bugs. They might not even be your fault. If you make an opus file that is really long, weird things happen.

1) The "File Info" window reports PCM Frames as if it were a 32bit signed integer. The number being fed to it is an unsigned number, so if you have more that 2^31 frames, the number appears negative. Also if you have more than 2^32 frames, it silently overflows, loosing track of the real number of frames (my 34 hour file is reported as being about 9 hours).
2) The Playlist window seems to have the same problem, however if PCM Frames (as reported in the File Info window) are negative, winamp won't show a duration. If the frame count exceeds 2^32 frames and the resulting overflowed value is less than 2^31, it displays a wrong duration. So my 15 hour file shows no duration.

That said, when playing the file, winamp is able to get the correct remaining tracktime and to seek properly.

I'll be splitting the files to avoid the whole 32bit overflow as it seems to bug Rockbox as well (which is what I use for playback).
Melkor is offline   Reply With Quote
Old 2nd February 2014, 16:21   #270
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 2,930
Send a message via Skype™ to thinktink
I'm still working on the new APIs so it'll take a little bit. Noted.
thinktink is offline   Reply With Quote
Old 10th February 2014, 03:06   #271
ZavierQuixote
Junior Member
 
Join Date: Feb 2014
Posts: 2
I'm not seeing the newest version 1.3.22.77 update in your previous post. Is there another place where it can be downloaded?
ZavierQuixote is offline   Reply With Quote
Old 13th February 2014, 04:44   #272
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 2,930
Send a message via Skype™ to thinktink
Quote:
Originally Posted by ZavierQuixote View Post
I'm not seeing the newest version 1.3.22.77 update in your previous post. Is there another place where it can be downloaded?
http://bogproghome.hopto.org/downloadwinampopus.html
thinktink is offline   Reply With Quote
Old 13th February 2014, 21:56   #273
ZavierQuixote
Junior Member
 
Join Date: Feb 2014
Posts: 2
Thank you, thinktink! Excellent work, as usual!
ZavierQuixote is offline   Reply With Quote
Old 16th March 2014, 13:12   #274
Opususer
Junior Member
 
Join Date: Mar 2014
Posts: 1
Winamp crash while updating the library

Thanks a lot for the plug-in, it generally works very well.
When I have your plug in installed and update my media library which only consists of opus files winamp crashes. I found out this only is the case if there is an opus file in the libary which has a LOT of text in the meta-field "comment". (At least I hope this is called "comment" in the english version of winamp and I hope you know what I mean with "meta-field") Could this cause some kind of overflow?
Please let me know if I can help any further to find the root cause to this issue.

BogProgOpus1_3_22_77
Winamp 5.666 Build 3516 (x86)
Windows 8.1 x64
Opususer is offline   Reply With Quote
Old 18th March 2014, 19:26   #275
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 2,930
Send a message via Skype™ to thinktink
Quote:
Originally Posted by Opususer View Post
...update my media library which only consists of opus files winamp crashes.
Can you send me one of the files with the large comment metadata field that I can test with?
thinktink is offline   Reply With Quote
Old 23rd March 2014, 08:49   #276
Omega X
Forum King
 
Omega X's Avatar
 
Join Date: Feb 2003
Location: A Parallel Dimension
Posts: 2,252
Send a message via AIM to Omega X Send a message via Yahoo to Omega X
Is it normal that calculating ReplayGain sends the percentage to 200%?
Omega X is offline   Reply With Quote
Old 23rd March 2014, 23:57   #277
MrSinatra
Forum King
 
MrSinatra's Avatar
 
Join Date: Dec 2004
Location: WKPS, State College
Posts: 5,147
Send a message via AIM to MrSinatra
200%? I see values in terms of db, how do u see percent?

PENN STATE Radio or http://www.LION-Radio.org/
--
BUG #1 = Winamp skips short tracks
Wish #1 = Multiple Column Sorting
Wish #2 = Add TCMP/Compilation editing
MrSinatra is offline   Reply With Quote
Old 24th March 2014, 08:50   #278
Omega X
Forum King
 
Omega X's Avatar
 
Join Date: Feb 2003
Location: A Parallel Dimension
Posts: 2,252
Send a message via AIM to Omega X Send a message via Yahoo to Omega X
That's cute.

When RG is being calculated the window that shows progress pushes the percent to 200% instead of the usual 100% with other files. It also seems to take longer than with Winamp approved formats.
Omega X is offline   Reply With Quote
Old 24th March 2014, 16:46   #279
MrSinatra
Forum King
 
MrSinatra's Avatar
 
Join Date: Dec 2004
Location: WKPS, State College
Posts: 5,147
Send a message via AIM to MrSinatra
wasn't trying to be cute, but now I understand. I'm sure TT will fix.

PENN STATE Radio or http://www.LION-Radio.org/
--
BUG #1 = Winamp skips short tracks
Wish #1 = Multiple Column Sorting
Wish #2 = Add TCMP/Compilation editing
MrSinatra is offline   Reply With Quote
Old 13th April 2014, 08:05   #280
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 2,930
Send a message via Skype™ to thinktink
Release (non-beta) version 1.4.23.80 is now available.

http://bogproghome.hopto.org/downloadwinampopus.html

Updates:
  • Fixed crash issue with playback stops/track changes.
  • Re-enabled support for libopusurl and included support for proxy connections from Winamp's specifiers.

Installer now includes the following support libraries from the opusfile-0.5-win32 package:
  • libgcc_s_sjlj-1.dll
The old support files are also updated with new files from the aforementioned package.

I haven't had a chance to look into the very long file glitch or the RG glitch yet.

At the moment, I have a cold.
thinktink is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Winamp > Winamp Wishlist

Tags
opus

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump