Page 1 of 1

Possibly a "DEV" question on network streaming...

Posted: 30 Jun 2011 03:17
by aipragma
Hello Windows VLC Forum,

I'm a newbie to this forum, and so I am not sure how to go about getting assistance on this.
Let me describe what I would like to be able to do:

1. Whenever you open a network stream in VLC (in the default skin), the status bar, at the
bottom of the VLC window, updates with the name of the network stream, and most often
with the name of the song being played.

2. What I would like to do is to be able to capture just the song title (that's it). I am not
attempting to save the audio stream to a file.

3. Since VLC source code is open source, I would like to isolate the code that extracts
this info from the network stream.

4. I have more or less isolated the function call to update the status bar, but that is not
the most effective way of extracting the song title (in my opinion). I am needing
assistance in isolating the function call that extracts the song title info from the
network stream, before sending it to the gui call to update the status bar.

5. I have more or less isolated the possible code module that handles the kind of
audio streams I am interested in, which I believe it to be the "FAAD" module.

6. An example network stream would be like the following:
http://76.76.18.109:8874 or icyx://76.76.18.109:8874

7. On a scale from 1 to 10, I have enough experience with C and C++ to rate myself
as an 8 out of 10 (non-specialized code development ability...both Windows & Linux).
So if I happen to get enough detail info on where to extract this, then I am sure I can
take it from that point and run with it.

8. I welcome any constructive comments of any kind, to include alternative
approaches.

Thank you,
Ai Pragma

Re: Possibly a "DEV" question on network streaming...

Posted: 30 Jun 2011 15:56
by VLC_help
MSN now playing plugin is prolly the easiest example.
http://git.videolan.org/?p=vlc.git;a=bl ... tify/msn.c

Re: Possibly a "DEV" question on network streaming...

Posted: 01 Jul 2011 08:00
by aipragma
Hi VLC Help,

Thank you "VLC Help" for this initial suggestion, but the use of
the MSN audio plugin kind of puzzles me.

These network streams are usually AAC+(HE-AAC) protocol-based,
so if the MSN audio protocol is not AAC+(HE-AAC) based, then it
would seem I would be adding an additional layer of difficulty
trying to accomplish my goal.

Since I don't know anything about the MSN audio protocol, and if
my suspicions are correct, that everything labelled and created
by Microsoft tends to be proprietary, then the MSN audio protocol
would not work for what I am needing, either because its proprietary,
or because its just some additional layer on top of AAC+(HE-AAC), which
going directly with accessing the AAC+(HE-AAC) protocol would seem to
be the more efficient way to go. Am I wrong? What do you think?
Do you have any other info on this?

Thanks,
Ai Pragma

Re: Possibly a "DEV" question on network streaming...

Posted: 01 Jul 2011 18:35
by VLC_help
The MSN plugin just forwards the stream info via Windows messages, so just remove that function call and forward that data to file (or what ever you want to do with it).