Go Back   Winamp & SHOUTcast Forums > Winamp > Winamp Wishlist

Reply
Thread Tools Search this Thread Display Modes
Old 16th July 2013, 06:56   #201
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
Hooray for log files. Should probably do that more often.

Anyways, with the attached build 46 there's a 50/50 chance it might work depending on the true source of the error.

Same instructions as before.

Last edited by thinktink; 17th July 2013 at 07:17.
thinktink is offline   Reply With Quote
Old 16th July 2013, 09:35   #202
embryonic
Junior Member
 
Join Date: Jul 2013
Posts: 8
The file in D: is still not working yet, unfortunately.

After messing around for a bit, I guess the culprit is the Opus libraries that I am using. The example decoder provided in the zip file couldn't decode those files either, yet a copy of opusdec I have does it just fine.

Could you post the libraries you are using here? I would like to test it.
Attached Files
File Type: txt OpusFileNamesLog.txt (24.8 KB, 289 views)
embryonic is offline   Reply With Quote
Old 16th July 2013, 13:47   #203
Kaminari
Junior Member
 
Kaminari's Avatar
 
Join Date: Mar 2003
Location: Paris, France
Posts: 48
If your files are encoded with libopus 1.1 alpha/beta, it might lead to issues with the Winamp plugin (which is built around libopus 1.0). I did many tests myself with both versions and didn't encounter any problem, but who knows. If your files include surround channels, you should check that the option "Force stereo on multichannel audio" is disabled, otherwise the plugin won't play or will even crash.
Kaminari is offline   Reply With Quote
Old 16th July 2013, 13:54   #204
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 think you're barking up the wrong tree. The errors in the log weren't being generated by the opus libraries, they originated from my code. With the new log posted I can only surmise that the way I'm converting from long to short filenames for use with the unicode-incompatible libraries is not compatible with whatever kind of drive your D: is on Win8. "Windows API" wise it shouldn't matter but obviously something's up.
thinktink is offline   Reply With Quote
Old 16th July 2013, 14:39   #205
embryonic
Junior Member
 
Join Date: Jul 2013
Posts: 8
Wait, libopusfile does not support Unicode, and you are using short names instead?

I guess I know why.

code:
C:\Windows\system32>fsutil 8dot3name query c:
The volume state is: 0 (8dot3 name creation is enabled).
The registry state is: 2 (Per volume setting - the default).
Based on the above two settings, 8dot3 name creation is enabled on c:

C:\Windows\system32>fsutil 8dot3name query d:
The volume state is: 1 (8dot3 name creation is disabled).
The registry state is: 2 (Per volume setting - the default).
Based on the above two settings, 8dot3 name creation is disabled on d:



Is there any way to work around this?
embryonic is offline   Reply With Quote
Old 16th July 2013, 15:22   #206
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


'Lemme go pound the pavement over at the hydrogen audio forums for a while...

In the meantime, the only "workaround" is to not store opus files on drives without 8dot3 filename support.

[EDIT/]
Note to myself:
http://www.hydrogenaudio.org/forums/...ic=101817&st=0
thinktink is offline   Reply With Quote
Old 16th July 2013, 15:52   #207
embryonic
Junior Member
 
Join Date: Jul 2013
Posts: 8
Thanks. I really appreciate your help.

It seems that 8.3 name generation is disabled on all but the system volume on Windows 8 by default. All other NTFS partitions formatted with Windows 8 are showing as disabled.
embryonic is offline   Reply With Quote
Old 16th July 2013, 18:29   #208
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:

I've been able to replicate the issue by temporarily disabling system-wide 8dot3 file support on my WinXP32Home machine. What I can do about it I have no idea. This is all libopusfile's fault.
thinktink is offline   Reply With Quote
Old 16th July 2013, 21:48   #209
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, after having a look at the libopusfile callback functions suggested over at the other forums I do believe I know what I need to do. However, I'm in the middle of a tight week at the moment so it may take some time to run up.

Please be patient...
thinktink is offline   Reply With Quote
Old 17th July 2013, 04:57   #210
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
Solid progress, I am making it...


Attached Thumbnails
Click image for larger version

Name:	No8dot3SupportProgress.PNG
Views:	1562
Size:	99.1 KB
ID:	50713  
thinktink is offline   Reply With Quote
Old 17th July 2013, 07:17   #211
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
Blammo...


...I think.

Version 1.2.16.48 attached.

Last edited by thinktink; 6th August 2013 at 22:59.
thinktink is offline   Reply With Quote
Old 17th July 2013, 09:37   #212
embryonic
Junior Member
 
Join Date: Jul 2013
Posts: 8
It's working now. Thank you very much.
embryonic is offline   Reply With Quote
Old 4th August 2013, 22:17   #213
MrX_1980
Senior Member
 
Join Date: Mar 2003
Location: Germany - NRW
Posts: 109
Send a message via ICQ to MrX_1980
Hi, I have downloaded 3 times this file to "My Music" folder and if I double click on it, Winamp starts and crashing.
http://media.xiph.org/monty/demo/opu...oncut-1.1.opus

Streaming this file works.

winamp57_3437_beta_full_all.exe
BogProgOpus1_2_16_48Install.zip

Windows 8.1 and not Windows 8 like the log file say.
Attached Files
File Type: zip report.zip (58.0 KB, 218 views)
MrX_1980 is offline   Reply With Quote
Old 5th August 2013, 01:53   #214
Kaminari
Junior Member
 
Kaminari's Avatar
 
Join Date: Mar 2003
Location: Paris, France
Posts: 48
I had the same issue. Go to the plugin config window and make sure that the option "Force stereo on multichannel audio" is not enabled.
Kaminari is offline   Reply With Quote
Old 5th August 2013, 04:37   #215
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 force stereo option only works for local file playback and the Transcoder functions. Not for online streams so I don't know how that can possibly effect streaming playback. Humdinger.

With the crashing, I need to know if it's crashing at the beginning of playback, the end of playback, in the middle of playback at a specific point, at a random point, or just if it's in the playlist or some other sequence of events?

Does it crash if you download it first and then play it back from a local drive?
thinktink is offline   Reply With Quote
Old 5th August 2013, 05:27   #216
Kaminari
Junior Member
 
Kaminari's Avatar
 
Join Date: Mar 2003
Location: Paris, France
Posts: 48
In my case, this is what happens when Force Stereo is enabled:

o I download the file on my local drive (it's a multichannel test file btw).
o I open it with Winamp via double click.
o Playback starts, but it sounds distorded and accelerated.
o If I start the playback a second time (without closing Winamp), the app crashes immediately.

For info, Chrome 28 and Firefox 22 natively play the file without any issue.

[Edit] Link to the demo presentation (see section Surround masking):
http://people.xiph.org/~xiphmont/demo/opus/demo3.shtml
Kaminari is offline   Reply With Quote
Old 5th August 2013, 05:47   #217
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 just did some preliminary tests and I found that it seems the libopusfile api function "op_read_stereo" (used when forcing stereo instead of "op_read") doesn't like it when it is called on OggOpusFile handles created using "op_open_callbacks" (instead of "op_open_file"), which is what I was forced to use to enable Unicode named files/paths on Windows filesystems without 8dot3 file name support.

This looks like it may actually be libopusfile's fault. I'll have to do more testing to confirm my suspicions but I'm really tired right now and I need sleep. Just came off a long day.
thinktink is offline   Reply With Quote
Old 5th August 2013, 07:18   #218
MrX_1980
Senior Member
 
Join Date: Mar 2003
Location: Germany - NRW
Posts: 109
Send a message via ICQ to MrX_1980
Quote:
Originally Posted by Kaminari View Post
I had the same issue. Go to the plugin config window and make sure that the option "Force stereo on multichannel audio" is not enabled.
Thanks, now the local file not crashing directly after the Winamp start (always at the beginning of playback).
MrX_1980 is offline   Reply With Quote
Old 6th August 2013, 08:17   #219
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
Version 1.2.17.52 attached. See if it stops crashing Winamp when you have "Force Stereo on multichannel audio" re-enabled please. It stopped on my machine, just want to confirm it stops for you.

Last edited by thinktink; 6th August 2013 at 22:59.
thinktink is offline   Reply With Quote
Old 6th August 2013, 18:53   #220
MrX_1980
Senior Member
 
Join Date: Mar 2003
Location: Germany - NRW
Posts: 109
Send a message via ICQ to MrX_1980
Hi, the local playback is working now, but if I stop this stream Winamp crashes always (force Stereo on or off).
http://icecast.timlradio.co.uk:80/a064.opus
Attached Files
File Type: zip report1.zip (54.7 KB, 220 views)
File Type: zip report2.zip (55.2 KB, 211 views)
File Type: zip report3.zip (56.0 KB, 218 views)
MrX_1980 is offline   Reply With Quote
Old 6th August 2013, 19:19   #221
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 just replicated your issue. However, I'm in the middle of a funeral and I can't troubleshoot the issue 'till afterwards.

I swear...

...ever since I put in Unicode support for Unicode files on filesystems without 8dot3 name support everything has gotten demonstrably worse all around. Driving me up the wall...
thinktink is offline   Reply With Quote
Old 6th August 2013, 19:46   #222
MrX_1980
Senior Member
 
Join Date: Mar 2003
Location: Germany - NRW
Posts: 109
Send a message via ICQ to MrX_1980
No problem. With the version before and Force Stereo off I can use it and can wait.
Thanks so far.
MrX_1980 is offline   Reply With Quote
Old 6th August 2013, 22:57   #223
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
Here you go, this should hold you down for a while...





Attached.

Last edited by thinktink; 24th September 2013 at 05:15.
thinktink is offline   Reply With Quote
Old 9th August 2013, 16:22   #224
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
Is everything working now?
thinktink is offline   Reply With Quote
Old 9th August 2013, 19:33   #225
Kaminari
Junior Member
 
Kaminari's Avatar
 
Join Date: Mar 2003
Location: Paris, France
Posts: 48
Xiph's media server was down for a couple of days, but it's back now. I just tested your latest build with the multichannel demos and it all looks a-ok to me. Surround is successfully forced to stereo without crashing, and Unicode still works

Thank you for your great support.
Kaminari is offline   Reply With Quote
Old 10th August 2013, 10:16   #226
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
Same here, everything fine with the latest build!

Thank you!
kzuse is offline   Reply With Quote
Old 11th August 2013, 14:21   #227
MrX_1980
Senior Member
 
Join Date: Mar 2003
Location: Germany - NRW
Posts: 109
Send a message via ICQ to MrX_1980
It is not crashing anymore.
Thank you thinktink.
MrX_1980 is offline   Reply With Quote
Old 20th August 2013, 22:55   #228
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
Opus File 0.4

Quote:
Originally Posted by My E-Mail Inbox
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm pleased to announce the availability of opusfile v0.4.

The opusfile and opusurl libraries provide a high-level API for
decoding and seeking within .opus files on disk or over http(s).

* https://ftp.mozilla.org/pub/mozilla....ile-0.4.tar.gz
* https://ftp.mozilla.org/pub/mozilla....usfile-0.4.zip

* http://downloads.xiph.org/releases/o...ile-0.4.tar.gz
* http://downloads.xiph.org/releases/o...usfile-0.4.zip

*
https://ftp.mozilla.org/pub/mozilla....-0.4-win32.zip

Changes since v0.3:

- - New API to parse album art tags.
- - Visual Studio project file fixes.
- - Include Visual Studio projects in source package.
- - Minor unicode fixes.

Changes since v0.2:

- - Fix a buffer overflow downmixing multichannel files.
- - UTF-8 filename support on Windows.
- - HTTP(S) url support on Windows.
- - Support Windows system certificate store for HTTPS.
- - New project files for MS Visual Studio.
- - New gain control API with op_set_gain_offset() and op_get_track_gain().
- - Documentation and build improvements.
- - HTTP(S) support split into a separate opusurl library.
- - Implement soft-clip for paths where libopus doesn't.
- - opusfile_example now outputs WAV.
- - Fix http basic auth.
- - Fix 255 packet-per-page assert.

We recommend upgrading for all current users. If you're not a current
user, please give it a try!

Checksums:

4248927f2c4e316ea5b84fb02bd100bfec8fa4624a6910d77f0af7f0c6cb8baa
opusfile-0.3.tar.gz
9836ea11706c44f36de92c4c9b1248e03a4c521e7fb2cff18a0cb4f8b0e79140
opusfile-0.4.tar.gz
f187906b1b35f7f0d7de6a759b4aab512a9279d23adb35d8009e7e33bd6a922a
opusfile-0.4.zip
ae23da5963295c6aa13c97becf50ae013e2317706f0e2a9472f2384aa70aaa43
opusfile-0.4-win32.zip

We didn't announce v0.3 separately because the Visual Studio project
files were one of the major new features...but we forgot to include
them in the source package.

Thanks to everyone who contributed!

-r
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSE+v3AAoJEEcAD3uxRB3vJMoH/1ZciZWEdWPTevoqo/zfHyPu
FDrohLby9tH0LgdbIFDtHwxnfbyVFRkwYd9b1XPwDgecdCWSVImOPeF7H59umIB/
ZrFL+EYZvhsSj2dTihDlPHkdORz1dRW3cKWbuc+xL+op4XJ/+TrzCdhsKKSKQPU6
dyxZquLcaZ41QIpyWjJ3e5mGDyhsfvAgRB6XKWfhk7fcxD1hCbcXqLkMZAwUL35q
M1b6VP1R8NfA50Gs1wYX843Zj3ZH0mGg02gEkXePLeQhBGtWw455jLsMBg9+7BD0
+OCAZeZVMVq/l7PqaquIb3AhK03DP1Rm7lNi++3G2A2/eKgjgndnpXRd33Ij9aU=
=jUQS
-----END PGP SIGNATURE-----
On it like a duck on a June Bug.
thinktink is offline   Reply With Quote
Old 25th August 2013, 17:25   #229
gottkaiser
Junior Member
 
Join Date: Dec 2004
Location: Germany
Posts: 25
Big thanks for the continuous development!
Keep up the the great work.
gottkaiser is offline   Reply With Quote
Old 13th September 2013, 21:24   #230
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
Any chance for average bitrate display?
Omega X is offline   Reply With Quote
Old 14th September 2013, 06:24   #231
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 Omega X View Post
Any chance for average bitrate display?
Active bitrate display updates were disabled due to the following issues:
http://forums.winamp.com/showthread....27#post2917927

http://forums.winamp.com/showthread....72#post2918272

Updating the bitrate requires calling SetInfo(...), which causes UI errors for some reason from my plugin. The other plugins are able to without the problems but not mine and I do not know why.
thinktink is offline   Reply With Quote
Old 16th September 2013, 20:06   #232
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
After dropping a debug build of X-Fade into Winamp with temporary code to hook the SetInfo(...) function, I discovered that the other plugins are passing -1 to parameters that it doesn't want to update. My plugin was (before I disabled it) passing all of the parameters, thinking that since it was the same information as before that it wouldn't change anything. Apparently, that is not the case.

The current development code stage of the plugin is currently being worked on to integrate the new libopusurl APIs so I don't know when I'll be able to outchuck it. I'll will post the updated version as soon as possible. At the moment, I'm stymied trying to get the Punicode functions to work correctly (which is for support for internationalized domain names) and it's driving me up the wall. I have yet to find C++ code that outputs a proper Punicode string that matches what all the other examples that I've found online purport to output for DNS names.
thinktink is offline   Reply With Quote
Old 21st September 2013, 17:17   #233
drsox
Junior Member
 
Join Date: Oct 2001
Location: None
Posts: 7
Send a message via ICQ to drsox
Using this plugin to listen to streamed opus from icecast servers.. working great.
One thing I want to comment is that the plugin doesn't seem to be invoked unless the extension is .opus.. for example a stream on http://server.radiostation.com:8000/opus doesn't play but modifying the address to be http://server.radiostation.com:8000/opus?.opus tricks it into working.
drsox is offline   Reply With Quote
Old 24th September 2013, 04:36   #234
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 drsox View Post
Using this plugin to listen to streamed opus from icecast servers.. working great.
One thing I want to comment is that the plugin doesn't seem to be invoked unless the extension is .opus.. for example a stream on http://server.radiostation.com:8000/opus doesn't play but modifying the address to be http://server.radiostation.com:8000/opus?.opus tricks it into working.
You can force it by changing the protocol field of the URL from http:// to opus:// without having to add anything to the end.
thinktink is offline   Reply With Quote
Old 24th September 2013, 05:12   #235
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.3.19.61 attached.

Updates:
  • Re-added support for real-time bitrate display without causing UI glitches on classic skins.
  • Added true IRI support (IDNA+Unicode resources) for online streams and files.
  • Added support for libopusurl APIs. However, since the current beta compile of libopusurl does not include the additions to the API after the compiled release (that I had a small part in) the plugin automatically falls back to it's own stream thread handler. A compiled version of libopusurl that includes the additions will be picked up and used without needing to release a new version of the plugin.

Installer now includes the following support libraries from the opusfile-0.4-win32 package:
  • libeay32.dll
  • ssleay32.dll
  • libopusurl-0.dll
The old support files are also updated with new files from the aforementioned package.

Last edited by thinktink; 4th December 2013 at 04:39.
thinktink is offline   Reply With Quote
Old 27th November 2013, 03:41   #236
noart47
Junior Member
 
Join Date: Nov 2013
Posts: 1
registered to say thanks thinktink...


Thanks thinktink!
noart47 is offline   Reply With Quote
Old 30th November 2013, 15:51   #237
Kigen
Junior Member
 
Join Date: Apr 2006
Location: Somewhere under the sun
Posts: 34
Hi thinktink,

I've been trying to use BogProgOpus. However, anytime I tune-in to my stream it says "waiting for data" then disconnects.

http://radio.kigen.co:8000/xrm.opus

Any ideas why it might be doing that? I've tested it with Mozilla Firefox, foobar2000, VLC, and other players and they work. The encoding is done by Liquidsoap.

Thanks.
Kigen is offline   Reply With Quote
Old 30th November 2013, 16:42   #238
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 popped your URL into Winamp and played it and it popped right up.



Which OS you on?
thinktink is offline   Reply With Quote
Old 30th November 2013, 16:55   #239
Kigen
Junior Member
 
Join Date: Apr 2006
Location: Somewhere under the sun
Posts: 34
Windows 8.1 Pro
Kigen is offline   Reply With Quote
Old 30th November 2013, 18:01   #240
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'll see if I can replicate the issue on Windows 7 Pro.
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