Displaying 7 results from an estimated 7 matches for "shout_metadata_add".
2004 Aug 06
2
More libshout questions (more info)
...ast server. . . Is that not supported
by libshout? Just curious...
Deven
Deven Phillips wrote:
> Okay
>
> Nevermind the SEGFAULT, it was string pointers in my code. Sorry
> for the inconvenience. Continuing with the issue though . . . .
>
> Now that I can successfully call shout_metadata_add() and
> shout_set_metadata(), shout_set_metadata() returns SHOUTERR_NOCONNECT.
> This cannot be correct because it streams the mpeg audio just fine . .
> . Any ideas???
>
> Do I need to call them in a specific order? Right now my order is:
>
> shout_metadata_add()
> shout...
2004 Aug 06
2
More libshout questions
.../lib/i686/libc.so.6
No symbol table info available.
#1 0x40291dc5 in strdup () from /lib/i686/libc.so.6
No symbol table info available.
#2 0x400aed79 in _shout_util_dict_set (dict=0x0, key=0x804b746 "song",
val=0x0) at util.c:236
prev = (util_dict *) 0x80555b8
#3 0x400ad61b in shout_metadata_add (self=0x805c908, name=0x0,
value=0x0) at shout.c:294
No locals.
#4 0x08049a1a in stream_mpeg (current=0x804d8a8, config=0x804d8f8,
shoutconn=0x8051220) at reencode.c:231
retval = 134550048
frames = 134550048
test = 0
left = {-280, 16397, -4984, -16385, -5232, -163...
2004 Aug 06
2
More libshout questions
Okay,
I am using libshout to stream to a NullSoft Shoutcast server. I am
using libmad and libmp3lame to do re-encoding on the fly. I am streaming
to the server (currently) with shout_send_raw(). When I try to use
shout_metadata_add(), I get a segfault in strdup(). Anyone have any
ideas as to why? Everything else works fine, just not the metadata.
Thanks In Advance,
Deven
--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a messag...
2004 Aug 06
0
More libshout questions ((even)more info)
...hout? Just curious...
>
> Deven
>
> Deven Phillips wrote:
>
>> Okay
>>
>> Nevermind the SEGFAULT, it was string pointers in my code. Sorry
>> for the inconvenience. Continuing with the issue though . . . .
>>
>> Now that I can successfully call shout_metadata_add() and
>> shout_set_metadata(), shout_set_metadata() returns
>> SHOUTERR_NOCONNECT. This cannot be correct because it streams the
>> mpeg audio just fine . . . Any ideas???
>>
>> Do I need to call them in a specific order? Right now my order is:
>>
>> sho...
2004 Aug 06
3
perl libshout
Hi,
I've just completed a conversion of the perl Shout-1.0 library
to something that will talk to an icecast2 server. I'll be submitting
the results for inclusion back to the icecast site.
One thing is missing: proper metadata support.
this feature has changed since icecast 1; previously it was a
single string. now, it's a linked list of key/value pairs.
2004 Aug 06
0
perl libshout
...to know what keys are valid, and what they do. I'd also like to
> know which key is used to set the title string on xmms during stream
> playback. (assuming it's still used for the same functionality).
The only defined key is "song".
Usage:
metadata = shout_metadata_new();
shout_metadata_add(metadata, "song", "my song name");
shout_set_metadata(shout, metadata);
shout_metadata_free(metadata);
The interface was changed to allow more types of dynamic metadata
updates, but so far no extensions on the client or server side have
been made.
-b
--- >8 ----
List archiv...
2004 Aug 06
0
More libshout questions
...ash: SHA1
On Fri, 16 Jan 2004, Deven Phillips wrote:
> Okay,
>
> I am using libshout to stream to a NullSoft Shoutcast server. I am
> using libmad and libmp3lame to do re-encoding on the fly. I am streaming
> to the server (currently) with shout_send_raw(). When I try to use
> shout_metadata_add(), I get a segfault in strdup(). Anyone have any
> ideas as to why? Everything else works fine, just not the metadata.
Get the source file line number and a gdb full backtrace.
ex. gdb /path/to/your/program
gdb$ run <parameters-of-your-program>
it will run and then crash and return to gdb...