Go Back   Winamp & SHOUTcast Forums > Winamp > Winamp Wishlist

Reply
Thread Tools Search this Thread Display Modes
Old 4th March 2013, 11:17   #41
Kaminari
Junior Member
 
Kaminari's Avatar
 
Join Date: Mar 2003
Location: Paris, France
Posts: 48
This is a beautiful day. Thanks ThinkTink for your great work!

Two quick remarks:

- Some metadata fields are not displayed in Winamp FileInfo (track, year and genre AFAICT). They do appear correctly in XMPlay, Foobar, MediaInfo, TagScanner.

- A minor nitpick about out_ds integration: fade-in/out works on pause and seek, but not on stop.

Kaminari is offline   Reply With Quote
Old 4th March 2013, 14:23   #42
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
Please attach the files that aren't working in a zip or 7z archive and I'll take a look.

out_ds crossfades and fadeouts are working for me. I don't know why not for you.
thinktink is offline   Reply With Quote
Old 4th March 2013, 17:57   #43
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 thinktink View Post
Please attach the files that aren't working in a zip or 7z archive and I'll take a look.
Nevermind, I found the issue. New version attached.

Last edited by thinktink; 9th March 2013 at 23:22.
thinktink is offline   Reply With Quote
Old 4th March 2013, 20:49   #44
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
Works great.

Actually what I don't like about opus is that all input streams are first resampled to 48 kHz as every Opus file is always 48 kHz.

It is a good thing that the original sample rate is displayed in File info, but in Winamp itself it is always indicated as 48 kHz. Is there any way to change this? I mean, is there any way to get the original stream out of an Opus file without the means of resampling it back to its original sample rate after decoding the 48 kHz Opus core? (Which would be even worse)...

I also wondered why the plugin's DLL is so big which causes a longer load time when running Winamp from a (slow) flash drive...

I also have another suggestion: It would be fine to support Album Art for Opus!
This is also specified already, it's just a BASE64 blob which is stored in a text field named "metadata_block_picture". See example file:

http://meta.metaebene.me/media/raumz...r-orbiter.opus

@Winamp Dev team: Are there any plans to include the Opus plugin (or another one) in one of the next Releases "officially"?

Thank for all your great work!!

Best regards,
kzuse
kzuse is offline   Reply With Quote
Old 4th March 2013, 21:02   #45
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 opus libraries do seem to have a set of resampler functions in them but the documentation on them is cryptic at best. Will look into it further. However, the Opus codec itself is only 48KHz. Audio that's not already 48KHz gets converted to 48KHz before being sent to Opus, that's just the nature of the codec. I saw no point originally in researching resampling ('till you mentioned it.)

As for the album art, I'll take a look. Should've mentioned it sooner though. lol

[EDIT/]
P.S.:
Thanks for the egregiously long test vector.

Last edited by thinktink; 4th March 2013 at 22:53.
thinktink is offline   Reply With Quote
Old 5th March 2013, 22:00   #46
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
OK, thanks for the information!

Regarding the test vector, yeah, it's a well-known German podcaster who publishes all his podcasts in several formats, currently MP3, MP4 (HE-AAC), Ogg Vorbis, and since 4 or 5 months or so, also Ogg Opus.

--kzuse
kzuse is offline   Reply With Quote
Old 6th March 2013, 19:27   #47
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
...it's just a BASE64 blob which is...
El-Wrong-O. It's not anything like a Blob (Binary Logical Object) in base64. It's actually a binary FLAC picture struct in base64 of which all of the fields are big endian instead of the little endian native on Intel compatible architectures. It's going to be a long week.
thinktink is offline   Reply With Quote
Old 6th March 2013, 22:26   #48
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
Album art.

Progress, I am making it:
Attached Thumbnails
Click image for larger version

Name:	ProgressOpusAlbumArt.png
Views:	1020
Size:	182.8 KB
ID:	50282  
thinktink is offline   Reply With Quote
Old 8th March 2013, 19:35   #49
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
El-Wrong-O. It's not anything like a Blob (Binary Logical Object) in base64. It's actually a binary FLAC picture struct in base64 of which all of the fields are big endian instead of the little endian native on Intel compatible architectures. It's going to be a long week.
Okay... I just was looking at it with a Tag editor which understands Opus Tags (which seem to be very similar to FLAC tags?), but not Album Art, and just threw out one line with name "metadata_block_pocture" and Value "AAAAAwAAAAppbWFnZS9qcGVnAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGgu/" and so on, and it just looked for me as base64 or similar. Of course you are right - it's a binary FLAC picture struct, as it's not really binary data itself which would be a BLOB.

And looking at your screenshot - WELL DONE - looks like a huge progress!
Thank you!!!

Have a nice weekend!
kzuse is offline   Reply With Quote
Old 9th March 2013, 02:15   #50
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 anybody else experiencing a floating point divide-by-zero exception with Modern Skins only with streaming? Right now I'm fighting one (it was there apparently before the Album Art update) now and both the Borland Debugger and the Microsoft one is saying it's only occurring in gen_ff.dll. However, the call stack (of both) is not showing it's going through any of my plugin's function calls when it throws the exception. It's really odd. The call stack is showing me that along the way ::GetDC and ::wcstol is being called.
thinktink is offline   Reply With Quote
Old 9th March 2013, 22:34   #51
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
Nevermind, I figured it out. Apparently, modern skins don't like it when you return a -1 length for streams instead of -1000 (used to indicate an audio source of indeterminable or continuous length.)
thinktink is offline   Reply With Quote
Old 9th March 2013, 23:19   #52
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
Blamo! Album art, including streaming art with Winamp version 5.7 or higher.




Attached.
Attached Thumbnails
Click image for larger version

Name:	StreamingOpusAlbumArt.png
Views:	1004
Size:	134.5 KB
ID:	50304  

Last edited by thinktink; 10th March 2013 at 03:27.
thinktink is offline   Reply With Quote
Old 9th March 2013, 23:33   #53
MrSinatra
Forum King
 
MrSinatra's Avatar
 
Join Date: Dec 2004
Location: WKPS, State College
Posts: 5,165
Send a message via AIM to MrSinatra
if only i used opus!

interesting that your example file is mono.

do ratings get saved to opus files/tags? is there a documented tagging standard for it?

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 10th March 2013, 00:12   #54
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
If Winamp sends the ratings to the extended file info functions then yes, it will save the ratings. Otherwise if it does ratings through a different mechanism then I will need to research the API that enables that and the tags specific to Ogg/Opus that store it.
thinktink is offline   Reply With Quote
Old 10th March 2013, 00:44   #55
DrO
 
Join Date: Sep 2003
Posts: 27,880
you'll get "rating" as the 'data' field, but need to store it against "RATING" in the vorbis comment tag.

for saving... save <value passed> * 20 (this converts the 5* range to 0-100).

for reading...
Quote:
blah = <read from tag from "RATING">
int rating = atoi(blah);
// keeps things limited to our range of 0-100
if (rating >= 100) {
rating = 5;
}
// 1-100 case
else if (rating > 5 && rating < 100) {
rating /= 20;
// shift up by one rating when in next band
// 1-20 = 1, 21-40 = 2, 41-60 = 3, 61-80 = 4, 81-100 = 5
rating += ((atoi(blah) - (rating * 20)) > 0);
}

// otherwise it is hopefully in the 0-5 range
else if (rating > 0 && rating <= 5) {
}
// otherwise just make sure and set zero
else {
rating = 0;
}
and that is what was agreed would give the correct read / write rating for vorbis tags so has to be assumed that the same will hold for opus. though i'm sure that will be disagreed with.
DrO is offline   Reply With Quote
Old 10th March 2013, 01:22   #56
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
Odd, I'm getting the call to winampGetExtendedFileInfo/W but not the call to winampSetExtendedFileInfo/W when I try to set a rating.
thinktink is offline   Reply With Quote
Old 10th March 2013, 01:26   #57
DrO
 
Join Date: Sep 2003
Posts: 27,880
have you enabled saving ratings to files? preferences -> media library -> library options tab.
DrO is offline   Reply With Quote
Old 10th March 2013, 02:40   #58
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 "Save ratings to file for compatible formats (default: off)" checkbox was unchecked but after checking it, it still didn't work. I also compiled a debug version of X-Fade to see what in_mp3 would return for the "rating" field but it just returned 1:"\0". How does Winamp determine if a plugin is "compatible"?

[EDIT/]
Nevermind, I didn't have ml_local.dll installed.
thinktink is offline   Reply With Quote
Old 10th March 2013, 03:27   #59
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
Now with ratings support.


Attached.

Last edited by thinktink; 11th March 2013 at 20:48.
thinktink is offline   Reply With Quote
Old 10th March 2013, 08:17   #60
DrO
 
Join Date: Sep 2003
Posts: 27,880
no ml_local would explain it. and compatible is just an input plug-in being able to process winampSetExtendedFileInfo/W requests for the values needed.
DrO is offline   Reply With Quote
Old 10th March 2013, 08:41   #61
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
Wow, just wow - thank you!

Yes, those podcasts are only in mono. Here's the complete "MediaInfo" output for the example file posted above:

HTML Code:
General
=======

Complete name                            : D:\Download\rz052-solar-orbiter.opus
Format                                   : OGG
File size                                : 24.5 MiB
Duration                                 : 1h 8mn
Overall bit rate                         : 50.2 Kbps
Album                                    : Raumzeit
Track name                               : RZ052 Solar Orbiter
Track name/Position                      : 52
Performer                                : Tim Pritlove
Encoded by                               : auphonic.com
Genre                                    : Podcast
Recorded date                            : 2013
Writing application                      : opusenc from opus-tools 0.1.5
Terms of use                             : http://creativecommons.org/licenses/by-nc-nd/3.0/de/
tags                                     : timpritlove,raumzeit,podcast,esa,dlr,raumfahrt
rights-date                              : 2013
rights                                   : 2013 Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Germany
rights-uri                               : http://creativecommons.org/licenses/by-nc-nd/3.0/de/
encoded_by                               : auphonic.com
metadata_block_picture                   : AAAAAwAAAAppbWFnZS9qcGVnAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHPy/ {...cut...}

Audio
=====

ID                                       : 579673411 (0x228D1D43)
Format                                   : Opus
Duration                                 : 1h 8mn
Channel(s)                               : 1 channel
Channel positions                        : Front: C
Sampling rate                            : 44.1 KHz
Compression mode                         : Lossy
Writing library                          : libopus 1.0.1

Menu
====

00:00:00.000                             : Intro
00:00:41.625                             : Vorstellung
00:01:52.010                             : Persönlicher Hintergrund
00:09:18.281                             : Missionen zur Sonne
00:12:24.870                             : Zur Sonne fliegen
00:17:55.250                             : Flug des Solar Orbiter
00:27:19.130                             : Ziele der Mission
00:36:04.010                             : Solarzyklus
00:37:59.693                             : Instrumente und Datenübermittlung
00:54:03.750                             : Planung des Starts
00:59:58.625                             : Troubleshooting
01:06:20.922                             : Missionsdauer
There you see that there's only one channel. And there you also see the original 44.1 kHz input sample rate.

But there are some other issues I encountered with the plugin:

- Seeking backwards in the long opus file works well in 99% of all cases, but sometimes, pressing the "left" arrow key on the keyboard jumps to some random position in the file, instead of 5 seconds back. Especially annoying with podcasts... Actually, I couldn't reproduce it any more, after it occured 2 times.

- When playing an opus file through out_ds (standard output plugin), pressing "Stop" does not do the short fade-out as it does with all other file types. Maybe there's some buffering issues? I have enabled short fades for pause, seeking and stop in out_ds, but stopping an opus file results in immediate "cut off".

- A very strange one: While an opus file plays, it is difficult to use the playlist buttons (those pop-up-button-menus) in classic skin! When you click on one of those, for example, "Add", the button bar pops up but immediately disappears, being "overwritten" by the playlist's contents, then again flickering up, also correlated to mouse movement. Weird, I cannot explain that to myself...

- I do not understand why the DLL has to be so big... it's 1.4 MB, whereas most other (original) Nullsoft input plugins are ~100 KB or ~300 KB or so... Not a major issue, but it leads me to thinking about loading times and memory consumption?


Again a big thank you and keep it up!

Best regards,
kzuse
kzuse is offline   Reply With Quote
Old 10th March 2013, 12:43   #62
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
...And I found another one:

With Opus, the title doesn't scroll in the taskbar, if "Scroll Title in Taskbar" is enabled, while playing.

With all other formats this works.

Strangely, when pausing the Opus file, the title starts scrolling. But it doesn't add "[Paused]" to the scrolling title, as Winamp does with all other formats!

Also a very weird issue....
kzuse is offline   Reply With Quote
Old 10th March 2013, 22:22   #63
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
...
- Seeking backwards in the long opus file works well in 99% of all cases, but sometimes, pressing the "left" arrow key on the keyboard jumps to some random position in the file, instead of 5 seconds back. Especially annoying with podcasts... Actually, I couldn't reproduce it any more, after it occured 2 times.
I don't remember if I actually saw any problems with seeking before and fixed it although it could have been a side-effect of a different issue.


Quote:
Originally Posted by kzuse View Post
- When playing an opus file through out_ds (standard output plugin), pressing "Stop" does not do the short fade-out as it does with all other file types. Maybe there's some buffering issues? I have enabled short fades for pause, seeking and stop in out_ds, but stopping an opus file results in immediate "cut off".
I'm still not seeing that issue. If I set out_ds to do fade outs on stop it works. I cannot replicate your issue, therefore I cannot solve it.


Quote:
Originally Posted by kzuse View Post
- A very strange one: While an opus file plays, it is difficult to use the playlist buttons (those pop-up-button-menus) in classic skin! When you click on one of those, for example, "Add", the button bar pops up but immediately disappears, being "overwritten" by the playlist's contents, then again flickering up, also correlated to mouse movement. Weird, I cannot explain that to myself...
That I have seen. It started ever since I implemented SetInfo(...) calling to update the KBps display for the actual bitrate during playback. At the moment I don't understand why it's doing that. It's something I've been thinking about for a while now.


Quote:
Originally Posted by kzuse View Post
- I do not understand why the DLL has to be so big...
Here's why: Because I don't wanna spend 50 billion hours coding and debugging UI elements and window boxes. It's the Borland VCL that's adding to the size. It's what's enabled this plugin to be available so soon instead of 5 years later. That's not likely going to change anytime soon.


Quote:
Originally Posted by kzuse View Post
... - With Opus, the title doesn't scroll in the taskbar, if "Scroll Title in Taskbar" is enabled, while playing. With all other formats this works.
I see it, don't know what to about it however. I'm not setting anything weird and there is no seperate setting or API for input plugins to effect or control title scrolling so maybe it will be something that clears up while solving other issues.


Quote:
Originally Posted by kzuse View Post
Strangely, when pausing the Opus file, the title starts scrolling. But it doesn't add "[Paused]" to the scrolling title, as Winamp does with all other formats!...
I'm seeing that as well now. I will investigate.
thinktink is offline   Reply With Quote
Old 10th March 2013, 22:25   #64
MrX_1980
Senior Member
 
Join Date: Mar 2003
Location: Germany - NRW
Posts: 109
Send a message via ICQ to MrX_1980
http://www.absoluteradio.co.uk/listen/labs.html#opus
MrX_1980 is offline   Reply With Quote
Old 10th March 2013, 22:30   #65
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 MrX_1980 View Post
...[clipped URL]...
I am already aware of this radio station (and have many of their (broken) streams in my playlist for testing and debugging purposes) and many others that are already streaming opus.
thinktink is offline   Reply With Quote
Old 11th March 2013, 05:34   #66
Kaminari
Junior Member
 
Kaminari's Avatar
 
Join Date: Mar 2003
Location: Paris, France
Posts: 48
I toyed around with the fading settings, and I discovered that the plugin correctly fades out with the "end of song" option enabled, but not with the "pause/stop" option (more precisely: "pause" works, "stop" doesn't).
Kaminari is offline   Reply With Quote
Old 11th March 2013, 20:47   #67
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 Kaminari View Post
I toyed around with the fading settings, and I discovered that the plugin correctly fades out with the "end of song" option enabled, but not with the "pause/stop" option (more precisely: "pause" works, "stop" doesn't).
I'm still not seeing (hearing) it:





Attached is a new version that:
  • Allows editing the tags of a currently playing file.
  • Stops calling SetInfo(...) throughout playback. This was apparently causing the title in the taskbar button to not scroll and causing the issue with the open buttons on the playlist editor with classic skins and also causing Winamp to not indicate the paused state.

Last edited by thinktink; 17th March 2013 at 20:30.
thinktink is offline   Reply With Quote
Old 12th March 2013, 05:28   #68
Kaminari
Junior Member
 
Kaminari's Avatar
 
Join Date: Mar 2003
Location: Paris, France
Posts: 48
That's odd indeed.

On my config, the only way to get proper fadeout on stop is to enable "end of song" in the DirectSound output settings. (But since "end of song" fading ruins gapless playback, that's not an option.) I don't quite understand why in_bpopus doesn't work with "pause/stop" while other plugins do (Vorbis, Flac, etc), but then again it's a minor issue.
Attached Thumbnails
Click image for larger version

Name:	out_ds.png
Views:	234
Size:	35.0 KB
ID:	50315  
Kaminari is offline   Reply With Quote
Old 17th March 2013, 20:26   #69
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
While toying around with my new Embedded Album Art plugin I found a flaw in the opus library's case-insensitive search for the METADATA_BLOCK_PICTURE tag. It wasn't finding it as I was using lowercase letters and it was odd that it did for some but not others.

Anyways, updated version attached.

@Kaminari: I am now seeing the issue. I had all of the fading options in out_ds turned on instead of just the default ones. However, I still do not understand why out_ds is not crossfading with just that option but will when the others are enabled. Somebody from the official Winamp Dev Team would have to say exactly what it is step-by-step a developer has to do exactly to get that to work.

It's not an internal buffering issue that's for sure. There is no buffering functionality in input plugins from what the SDK showing. Only just what the output plugin tells the input plugin what to send to the vis functions for buffering (to keep the visualizations in-sync with the audio I imagine.)

Last edited by thinktink; 23rd March 2013 at 23:17.
thinktink is offline   Reply With Quote
Old 19th March 2013, 14:31   #70
Benski
Ben Allison
Former Winamp Developer
 
Benski's Avatar
 
Join Date: Jan 2005
Location: Brooklyn, NY
Posts: 1,047
Make sure you're calling
code:
plugin.outMod->Close();

in your Stop() function. Don't call this on the playback thread, call it directly in Stop (after you've waited for the thread to die).
Most of the first party plugins do something like this:

code:
SetEvent(killswitch);
WaitForSingleObject(playThread, INFINITE);
plugin.outMod->Close();
plugin.SAVSADeInit();



On the playback thread, handle stop just by calling
code:
PostMessage(plugin.hMainWindow, WM_WA_MPEG_EOF, 0, 0);

And don't do anything else.
You should only call
code:
plugin.outMod->Write(0, 0);

in a legitimate end-of-file situation.

Hope that helps!
Benski is offline   Reply With Quote
Old 19th March 2013, 15:09   #71
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 Benski View Post
Make sure you're...
Omnomnomnomnomnomnomnom... /em licks fingers.

Will make the changes as soon as I can. You're right, I'm calling ->Close() in the context of the playback thread instead of in Stop(). I actually tried that way at one point but it seemed to hang the Winamp main UI when I did and calling Stop in the thread was an easy solution. However, things have changed internally with the threading last time I tried it so maybe this time it'll work right.
thinktink is offline   Reply With Quote
Old 20th March 2013, 03:45   #72
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
Well, calling ->Close() inside of Stop() doesn't hang Winamp any more but it still doesn't work entirely. I will leave it there however as it has made small progress as now at least it fades on stop intermittently (but rarely.) The only way I can get a consistent fade out on stop is if I hit [X] (to play) and then [V] (to stop) right after (like not even a second delay between the key presses.)

This bug happens only if you have "end of song" turned off, which is odd.
thinktink is offline   Reply With Quote
Old 20th March 2013, 14:13   #73
Benski
Ben Allison
Former Winamp Developer
 
Benski's Avatar
 
Join Date: Jan 2005
Location: Brooklyn, NY
Posts: 1,047
Quote:
Originally Posted by thinktink View Post
This bug happens only if you have "end of song" turned off, which is odd.
You are probably calling plugin.outMod->Write(0, 0) on Stop. You should only be calling this when the song ends.
Benski is offline   Reply With Quote
Old 23rd March 2013, 16:00   #74
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 Benski View Post
...calling plugin.outMod->Write(0, 0) on Stop...
Actually, I'm not calling that at all, at least not explicitly.

I just finished writing a dummy output plugin that outputs to a log file the thread id, name, parameters, and return value (if applicable) of all the calls to it and passing it off to out_ds (hardcoded) to see the actual difference between what the core plugins do and what mine is doing.

Just so you know, I'm still on it.
thinktink is offline   Reply With Quote
Old 23rd March 2013, 16:20   #75
MrSinatra
Forum King
 
MrSinatra's Avatar
 
Join Date: Dec 2004
Location: WKPS, State College
Posts: 5,165
Send a message via AIM to MrSinatra
hey TT, would you consider doing an ALAC plugin? I mainly use mp3 and FLAC but I have been considering switching FLAC to ALAC if winamp would support it. its open source now and royalty free:

http://en.wikipedia.org/wiki/Alac

http://alac.macosforge.org/

the idea is my lossless would then work on PC/winamp and istuff natively.

it looks like the tagging is the same as m4a, but we're beyond my pay grade there. as long as I can get ratings in there though!

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 23rd March 2013, 16:46   #76
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 MrSinatra View Post
hey TT, would you consider doing an ALAC plugin? I mainly use mp3 and FLAC but I have been considering switching FLAC to ALAC if winamp would support it. its open source now and royalty free:...
I make no guarantees but I'll consider looking into it after I fix in_bpopus's fade on stop.
thinktink is offline   Reply With Quote
Old 23rd March 2013, 16:49   #77
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
What would be the advantage of ALAC in favor of FLAC?
kzuse is offline   Reply With Quote
Old 23rd March 2013, 17:00   #78
MrSinatra
Forum King
 
MrSinatra's Avatar
 
Join Date: Dec 2004
Location: WKPS, State College
Posts: 5,165
Send a message via AIM to MrSinatra
Quote:
Originally Posted by kzuse View Post
What would be the advantage of ALAC in favor of FLAC?
both are lossless but as I mentioned, ALAC works natively with istuff, (iTunes, ipods, etc) whereas FLAC does not.

http://alac.macosforge.org/

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 23rd March 2013, 18:02   #79
Kaminari
Junior Member
 
Kaminari's Avatar
 
Join Date: Mar 2003
Location: Paris, France
Posts: 48
ALAC is already supported by in_mp4 when Winamp Essentials is installed. Just add the ALAC extension to your in_mp4 settings and you're good to go. (Whoever decided to use M4A as the official extension of the Apple lossless format is a moron.)
Kaminari is offline   Reply With Quote
Old 23rd March 2013, 18:07   #80
MrSinatra
Forum King
 
MrSinatra's Avatar
 
Join Date: Dec 2004
Location: WKPS, State College
Posts: 5,165
Send a message via AIM to MrSinatra
Quote:
Originally Posted by Kaminari View Post
ALAC is already supported by in_mp4 when Winamp Essentials is installed. Just add the ALAC extension to your in_mp4 settings and you're good to go. (Whoever decided to use M4A as the official extension of the Apple lossless format is a moron.)
wow, I did not know this. what do I need exactly to install from winamp essentials, as I don't use it?

what is the proper extension for alac? I am kinda confused by what you are saying, since I thought .m4a was the proper extension for alac. so do I just add "alac" to the input plugin?

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
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