[rtmpdump] Rtmpdump just stream metadata / Solaris
Mateusz Pawlowski
Mateusz.Pawlowski at bbc.co.uk
Wed Jun 2 18:42:44 CEST 2010
Howard,
Thanks for the --stop 1 , works nicely.
When it comes to the flags, these are necessary for all Solaris
compilations so worth putting in the Makefile to save the hassle for the
others.
Stdbool ... Nothing to add ...
Cheers
--
Mateusz Pawlowski | Delivery Specialist
World Service Future Media, Digital Delivery Team - Part of BBC Global
News Division
8 http://www.bbcworldservice.com/ + 500NE Bush House, Strand, London,
WC2B 4PH
( 02 71014 (internal) ( +44 20 7557 1014 (external)
-----Original Message-----
From: rtmpdump-bounces at mplayerhq.hu
[mailto:rtmpdump-bounces at mplayerhq.hu] On Behalf Of Howard Chu
Sent: 02 June 2010 17:26
To: rtmpdump discussion and development
Subject: Re: [rtmpdump] Rtmpdump just stream metadata / Solaris
Mateusz Pawlowski wrote:
> Hi,
>
> I am looking into using rtmpdump to fetch stream metadata for
> monitoring purposes.
> We are planning on using it on Solaris 10
>
> Little bit of fiddling with Makefile allowed me to compile it :
> The CFLAGS needs -std=c99 as compiler stops when including sdtbool.
> The LDFLAGS needs -lnsl -lsocket to link the network libs
Fiddling with the Makefile should generally not be necessary. Just set
whatever additional flags you want on the commandline. e.g.
make XLDFLAGS="-lnsl -lsocket" XCFLAGS=-std=c99
re: stdbool - that was just a bad idea all around; next release will not
use bool any more.
> Now, as haven't touched C code in ages. I'm a bit struggling to modify
> rtmpdump enough to get it list the metadata and then stop the stream (
> as we have no need for anything more ).
>
> So would it be possible if you could help me and point me how to
> modify the code or if you are feeling generous add another command
> switch ( like --metadataonly ) and have it print only that.
I suggest you just use --stop 1.
> And I don't even dare to think that you could implement Nagios Check
> Plug-in exit codes ... which would be amazing!
The current exit codes are already documented and in wide use. You
should be able to turn them into whatever you want using the scripting
language of your choice...
> --
> *****Mateusz Pawlowski* | Delivery Specialist World Service Future
> Media, Digital Delivery Team - Part of BBC Global News Division
> 8 _http://www.bbcworldservice.com/_ + 500NE Bush House, Strand,
> London, WC2B 4PH ( 02 71014 (internal) ( +44 20 7557 1014 (external) .
> _mateusz.pawlowski at bbc.co.uk_ <mailto:mateusz.pawlowski at bbc.co.uk>
>
>
>
> http://www.bbc.co.uk
> This e-mail (and any attachments) is confidential and may contain
> personal views which are not the views of the BBC unless specifically
stated.
> If you have received it in error, please delete it from your system.
> Do not use, copy or disclose the information in any way nor act in
> reliance on it and notify the sender immediately.
> Please note that the BBC monitors e-mails sent or received.
> Further communication will signify your consent to this.
This email was sent to a public mailing list. My response on public
lists in no way confers consent to any usage policies or obligations
imposed by any other entity.
_______________________________________________
rtmpdump mailing list
rtmpdump at mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/rtmpdump
http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
More information about the rtmpdump
mailing list