Hi chris yet to test it, though there was some trouble to get it
compiled on osx.
Here is what i had to do
1. fink install scons
2. fink install boost1.32-py24
3. OSX is missing byteswap.h , found an equiv on google
4. pico byteswap.h
#ifndef _BYTESWAP_H
#define _BYTESWAP_H
//#warning "byteswap.h is an unportable GNU extension! Don't use!"
static inline unsigned short bswap_16(unsigned short x) {
return (x>>8) | (x<<8);
}
static inline unsigned int bswap_32(unsigned int x) {
return (bswap_16(x&0xffff)<<16) | (bswap_16(x>>16));
}
static inline unsigned long long bswap_64(unsigned long long x) {
return (((unsigned long long)bswap_32(x&0xffffffffull))<<32) |
(bswap_32(x>>32));
}
#endif
5. scons (builds with some warn output)
6. ./flvtool++
flvtool++ 1.0
Copyright (c) 2007 Dan Weatherford and Facebook, inc.
http://developers.facebook.com/opensource.php
Published under the BSD license.
usage: flvtool++ [-nodump] [-nomerge] [-tag name value] [input
filename] [output filename]
-nodump: do not dump the metadata when done (kinda quiet)
-nomerge: do not keep existing metadata from the input file
-tag name value: Set a metadata tag named 'name' to the (string)
value 'value'
Note that manually set tags will override automatically generated tags.
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org