G'day folks,
Can anybody shed any light on how one would go about dynamically adding meta-data to
an Ice/Shout Cast MP3 stream ? I really want to be able to read from a waveaudio device,
encode it, and add meta-data whilst simultaniously outputting the encoded MP3 data. ?
In regard to the reading of waveaudio raw data from a wave input device, I have been trudging
around msdn, looking at MCI (Media Controller Interface) documentation (but I think one would need to go to a lower API for exact control).
There is of course a Perl module
that interfaces with the Windows MCI layer :
Win32::MCI::Basic,
but I can't seem to see anything on msdn that would enable constant reading from a waveaudio
device, at least I couldn't see it.
In regard to dynamically adding meta-data to an MP3 encoded output (my
main issue), there are plenty of Perl
modules to modify meta-data information on files, but I couldn't find anything on
modification of a data chunk via a hardware device. I believe you have to insert the meta-data into the MP3 encoded output
stream, and I want to do this dynamically (
when and if required - which I don't think is uncommon, just I don't know how to do it) ... How would one go about doing that ... ?
Anybody ever done this type of thing before, or have a possible solution, has sufficient knowledge of Shout/Ice Cast streaming protocol, created meta-data audio streams before, been there done that ?
Thought I might probe the PerlMonk community before heading off on a network application protocol examination process ...
Cheers.
PS: The IceCast Perl module is NOT relevant. Thanking you.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.