Rintaro Kuroiwa
0170d0530e
Add BaseURL before SegmentBase
...
The order affects the output. Even though XML does not care about the
order of subelements, it makes more sense for BaseURL element to appear
above SegmentBase.
Change-Id: Idd1e73446be84640828358ef4d7a74688428f6b5
2014-01-28 16:03:19 -08:00
Rintaro Kuroiwa
fe2214b9a0
Add unittest file for XmlNode
...
Small coverage.
Change-Id: I6053d82a0f9b1d391b4720c419ff7b3cbaa67ca8
2014-01-23 08:48:31 -08:00
Rintaro Kuroiwa
bd44c7d7b8
MpdBuilder should handle ContentProtectionXml
...
Added functions to add MediaInfo::ContentProtectionXml to
RepresentationBaseXmlNode. This allows adding ContentProtection elements
using MediaInfo protobuf.
Change-Id: I46aa97ba8cbf1548388ebbb61ac163786dfa0be8
2014-01-23 08:46:53 -08:00
Rintaro Kuroiwa
72deea3493
Fix compilation errors by clang for mpd_builder target
...
Change-Id: I7c6f09714a4005267469bebf4b9783466883236f
2014-01-21 14:02:19 -08:00
Rintaro Kuroiwa
0154654539
Remove LITE from protobuf for serialization to human readable string
...
TextFormat class methods that output human readable messsages need
Message instance where LITE uses MessageLite.
Change-Id: I4ff14aa9334acdad608f0b02c81d9cb765e70a60
2014-01-14 16:18:40 -08:00
Rintaro Kuroiwa
f4c7807554
Add 'name' field to Element protobuf message
...
Change-Id: I527433d6cee2c4e0deb2f243f623f40e29ba8c21
2014-01-14 15:18:54 -08:00
Rintaro Kuroiwa
a84d6a7d09
Add mimeType to Representation and use float for duration
...
Work on some TODOs.
Mandatory mimeType field was missing from Representation.
All duration in the MPD is now float.
Change-Id: I85b8511bc1c43759d80f831bee371c398895cf39
2014-01-14 13:58:01 -08:00
Rintaro Kuroiwa
4723ef777d
Add container type to MediaInfo proto
...
Change-Id: Ife22c7d8641af3847be3da9bf6e96146d72749f0
2014-01-14 21:10:28 +00:00
Rintaro Kuroiwa
db5b2a4740
Unit test for MPD builder
...
Initial checkin, very small coverage.
Change-Id: I60f3fd768d5b8dca7a84f051e57f59a654272e53
2014-01-10 17:40:26 -08:00
Rintaro Kuroiwa
0ccae0d0c9
Add namespace info to MPD
...
Change-Id: Ie12ebb1fef24d60ff7b8644406931a2677d7033e
2014-01-11 00:03:41 +00:00
Rintaro Kuroiwa
d34a331ef5
Add fields in ContentProtection to match MPD spec
...
Because we need to have all meta info in the MediaInfo protobuf, we need
full 'ContentProtection' element.
Change-Id: I714ff5b8d7baa2ae0d169a59005210a63da315b5
2014-01-10 14:53:06 -08:00
Rintaro Kuroiwa
d36091cf65
MpdNotifier and simple MpdNotifier implementation for VOD
...
This is the MPD side of the bridge between MpdBuilder
and Muxer.
Change-Id: I4ca7436914e008b3c65399cced1f689abd82d085
2014-01-10 11:35:38 -08:00
Rintaro Kuroiwa
65a3a69646
mpd_builder build target fix
...
This can compile the static library.
Change-Id: Iec108b9b94dbfd5f1de09434403763d59b89b535
2013-12-26 16:03:13 -08:00
Rintaro Kuroiwa
069a4923d5
Merge "Add reference time scale to the protobuf"
2013-12-20 01:44:16 +00:00
Rintaro Kuroiwa
4ee3bb7e61
Add 'T' for presentation time
...
Presentation time format is PT<number>S.
All seconds to XML duration uses SecondToXmlDuration now.
Change-Id: I3afcda9820fc968b35cfb929e0c7de4e2d91f9a2
2013-12-18 17:37:46 -08:00
Rintaro Kuroiwa
dcc99d511f
Add reference time scale to the protobuf
...
Change-Id: I085c8203194262c80ed38f4fca9a26e9417bb977
2013-12-17 17:18:43 -08:00
Rintaro Kuroiwa
05a32f42f7
MPD generation classes
...
- MpdBuilder, AdapatationSet, and Representation class.
Change-Id: I0dbaa5e17b7d44fec6d47f1643f15083a2c96757
2013-12-17 14:47:56 -08:00
Rintaro Kuroiwa
855ab753c0
MediaInfo needs timescale for each video and audio, and floating point for media duration.
...
Change-Id: I906308894da64fa266188f51d7c307e6fb42db97
2013-12-10 18:33:45 -08:00
Rintaro Kuroiwa
b78f1fa51d
Helper functions for MPD builder class
...
Change-Id: Ice97c734903c35b1356a445daa953dd2162d30b2
2013-12-05 08:17:19 +00:00
Rintaro Kuroiwa
7f393bc44f
XML wrapper classes for MPD
...
Change-Id: Ia43b38a2a20a9df9cf6f2cc3da4ca389a81d89cf
2013-12-04 07:47:20 +00:00
Rintaro Kuroiwa
21aad421ce
scoped_ptr definitions for libxml2 objects
...
Change-Id: Iafbfce42d5cb91b0a5ddbf3149d434e10a4cb8d6
2013-11-18 18:29:39 -08:00
Rintaro Kuroiwa
b5cce096e0
media_info.proto protobuf for MpdBuilder
...
TEST=compiles
Change-Id: I4a67013f7770f8ce41426be527919cd969894d50
2013-11-13 20:55:20 +00:00