On 5/30/2012 7:22 AM, Anthony Brown wrote:
rewriting main() to use stdin
would allow it to be used on the end of a pipe or redirection yes?
This much looks easy to do. The indexer gets its input data from a
ByteStreamFileSource, and one of its virtual ctors (createNew()) takes a
FILE* in
Is it possible to use MPEG2TransportStreamIndexer either reading from a
pipe (named or unnamed) or from stdin? A brief look at the source
suggests that a named pipe would work, unless seeking is used somewhere.
If it would work from a named pipe then rewriting main() to use stdin
would allow