9 #ifndef APP_PACKAGER_UTIL_H_
10 #define APP_PACKAGER_UTIL_H_
12 #include <gflags/gflags.h>
16 #include "packager/base/memory/scoped_ptr.h"
18 DECLARE_bool(dump_stream_info);
20 namespace edash_packager {
33 void DumpStreamInfo(
const std::vector<MediaStream*>& streams);
39 scoped_ptr<KeySource> CreateEncryptionKeySource();
45 scoped_ptr<KeySource> CreateDecryptionKeySource();
48 bool AssignFlagsFromProfile();
51 bool GetMuxerOptions(MuxerOptions* muxer_options);
65 bool AddStreamToMuxer(
const std::vector<MediaStream*>& streams,
66 const std::string& stream_selector,
67 const std::string& language_override,
73 #endif // APP_PACKAGER_UTIL_H_