DTSC2MP4 further
This commit is contained in:
parent
a326f30104
commit
4fad565892
1 changed files with 9 additions and 2 deletions
|
@ -56,6 +56,13 @@ namespace Converters {
|
|||
|
||||
//start arbitrary track addition
|
||||
int boxOffset = 1;
|
||||
input.getMeta()["tracks"]["audio0"] = input.getMeta()["audio"];
|
||||
input.getMeta()["tracks"]["audio0"]["type"] = "audio";
|
||||
input.getMeta()["tracks"]["audio0"]["trackid"] = 1;
|
||||
input.getMeta()["tracks"]["video0"] = input.getMeta()["video"];
|
||||
input.getMeta()["tracks"]["video0"]["keylen"] = input.getMeta()["keylen"];
|
||||
input.getMeta()["tracks"]["video0"]["trackid"] = 2;
|
||||
input.getMeta()["tracks"]["video0"]["type"] = "video";
|
||||
for (JSON::ObjIter it = input.getMeta()["tracks"].ObjBegin(); it != input.getMeta()["tracks"].ObjEnd(); it++){
|
||||
int timescale = 0;
|
||||
MP4::TRAK trakBox;
|
||||
|
@ -172,7 +179,7 @@ namespace Converters {
|
|||
esdsBox.setSLValue(2);
|
||||
ase.setCodecBox(esdsBox);
|
||||
stsdBox.setEntry(ase,0);
|
||||
}
|
||||
}*/
|
||||
stblBox.setContent(stsdBox,0);
|
||||
|
||||
/// \todo update following stts lines
|
||||
|
|
Loading…
Add table
Reference in a new issue