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);
32 void DumpStreamInfo(
const std::vector<MediaStream*>& streams);
38 scoped_ptr<KeySource> CreateEncryptionKeySource();
44 scoped_ptr<KeySource> CreateDecryptionKeySource();
47 bool AssignFlagsFromProfile();
50 bool GetMuxerOptions(MuxerOptions* muxer_options);
53 bool GetMpdOptions(MpdOptions* mpd_options);
64 bool AddStreamToMuxer(
const std::vector<MediaStream*>& streams,
65 const std::string& stream_selector,
66 const std::string& language_override,
72 #endif // APP_PACKAGER_UTIL_H_