Martin Storsjö
4f7723cb3b
movenc: Add an option for skipping writing the mfra/tfra/mfro trailer
...
When writing a fragmented file, we by default write an index pointing
to all the fragments at the end of the file. This causes constantly
increasing memory usage during the muxing. For live streams, the
index might not be useful at all.
A similar fragment index is written (but at the start of the file) if
the global_sidx flag is set. If ism_lookahead is set, we need to keep
data about the last ism_lookahead+1 fragments.
If no fragment index is to be written, we don't need to store information
about all fragments, avoiding increasing the memory consumption
linearly with the muxing runtime.
This fixes out of memory situations with long live mp4 streams.
Signed-off-by: Martin Storsjö <martin@martin.st>
2016-07-08 14:11:15 +03:00
..
2016-05-18 10:37:05 +03:00
2016-05-13 14:55:56 +02:00
2016-05-04 18:16:21 +02:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-05-04 18:16:21 +02:00
2015-11-12 04:39:14 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-05-17 12:24:32 -04:00
2016-05-04 18:16:21 +02:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-05-04 18:16:21 +02:00
2015-09-13 17:34:45 +02:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-05-04 18:16:21 +02:00
2016-05-23 06:46:17 +02:00
2016-05-04 18:16:21 +02:00
2016-02-23 17:01:58 +01:00
2016-02-18 15:35:30 +01:00
2016-03-24 10:34:19 +02:00
2016-05-18 10:36:45 +03:00
2016-05-18 10:36:45 +03:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-03-24 10:34:19 +02:00
2016-03-24 10:34:19 +02:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2015-03-04 13:29:33 +01:00
2016-05-22 20:22:43 +02:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-05-04 18:16:21 +02:00
2016-02-23 17:01:58 +01:00
2016-03-24 10:33:59 +02:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-05-04 18:16:21 +02:00
2015-06-12 17:02:49 +01:00
2016-05-04 18:16:21 +02:00
2016-05-18 10:36:53 +03:00
2015-09-29 14:33:00 +02:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-05-17 12:24:32 -04:00
2016-02-23 17:01:58 +01:00
2016-03-24 10:34:19 +02:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-05-04 18:16:21 +02:00
2016-02-23 17:01:58 +01:00
2016-05-04 18:16:21 +02:00
2016-05-05 10:48:34 +02:00
2016-02-23 17:01:58 +01:00
2016-03-24 10:34:19 +02:00
2016-02-23 17:01:58 +01:00
2016-03-24 10:34:19 +02:00
2016-05-04 18:16:21 +02:00
2015-10-14 14:35:34 +02:00
2016-05-04 18:16:21 +02:00
2016-03-24 10:34:19 +02:00
2016-02-23 17:01:58 +01:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-02-23 17:01:58 +01:00
2016-02-24 13:56:46 -05:00
2016-02-23 17:01:58 +01:00
2016-04-19 20:30:48 +02:00
2015-10-26 18:00:55 +01:00
2016-06-28 14:16:06 +03:00
2016-05-04 18:16:21 +02:00
2016-06-20 15:45:51 -04:00
2016-06-17 11:38:33 -04:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-05-29 16:43:11 +02:00
2016-06-22 06:37:33 +02:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-06-29 20:24:10 +02:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-07-03 09:13:29 +02:00
2016-05-18 10:36:58 +03:00
2015-09-29 14:33:00 +02:00
2016-03-24 10:34:19 +02:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-02-23 17:01:58 +01:00
2016-06-29 15:25:42 -04:00
2016-07-08 14:11:15 +03:00
2016-07-08 14:11:15 +03:00
2016-02-23 17:01:58 +01:00
2016-05-05 10:48:34 +02:00
2016-06-29 20:24:10 +02:00
2016-02-23 17:01:58 +01:00
2016-05-04 15:14:14 +02:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-05-17 10:29:36 +02:00
2015-07-04 00:51:03 +02:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-06-28 14:16:06 +03:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2015-05-31 10:10:16 +03:00
2016-05-04 18:16:21 +02:00
2015-10-10 14:50:42 +02:00
2015-06-24 14:45:00 +01:00
2015-06-15 13:39:07 +02:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-03-22 16:51:09 -04:00
2016-02-23 17:01:58 +01:00
2014-12-18 23:27:07 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-05-04 18:16:21 +02:00
2016-02-23 17:01:58 +01:00
2016-05-04 15:14:14 +02:00
2016-07-02 09:30:40 +02:00
2016-02-23 17:01:58 +01:00
2016-05-04 15:14:14 +02:00
2016-02-23 17:01:58 +01:00
2016-05-04 15:14:14 +02:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-22 11:48:30 +01:00
2016-02-22 11:48:30 +01:00
2015-10-30 10:03:58 +02:00
2014-12-19 23:24:47 +02:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-04-19 13:34:07 +02:00
2016-05-04 18:16:21 +02:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-06-29 20:24:10 +02:00
2016-02-23 17:01:58 +01:00
2016-05-05 10:48:34 +02:00
2015-11-18 11:36:27 +01:00
2016-06-20 15:48:12 -04:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-05-04 18:16:21 +02:00
2014-12-04 13:14:28 +00:00
2016-02-23 17:01:58 +01:00
2016-05-04 18:16:21 +02:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2015-07-29 22:09:16 +03:00
2016-03-24 10:34:19 +02:00
2016-04-07 16:14:42 +02:00
2016-03-24 19:17:23 +01:00
2016-05-04 18:16:21 +02:00
2015-01-15 10:20:18 +02:00
2016-05-04 18:16:21 +02:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2015-02-24 23:07:50 +02:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2015-02-24 23:07:50 +02:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2015-02-24 23:07:50 +02:00
2016-05-04 18:16:21 +02:00
2015-02-24 16:22:41 +02:00
2016-05-04 18:16:21 +02:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-03-26 00:15:24 +02:00
2016-02-23 17:01:58 +01:00
2015-10-26 18:00:55 +01:00
2016-05-04 18:16:21 +02:00
2016-02-23 17:01:58 +01:00
2015-02-24 23:07:50 +02:00
2015-02-24 16:24:19 +02:00
2016-02-23 17:01:58 +01:00
2016-05-04 18:16:21 +02:00
2016-02-23 17:01:58 +01:00
2016-05-04 18:16:21 +02:00
2016-04-30 20:58:23 +03:00
2016-02-23 17:01:58 +01:00
2016-06-07 13:09:57 +02:00
2015-09-15 09:35:44 +03:00
2016-02-23 17:01:58 +01:00
2015-02-28 22:54:31 +02:00
2016-02-23 17:01:58 +01:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-02-23 17:01:58 +01:00
2016-05-04 18:16:21 +02:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-03-24 10:34:19 +02:00
2016-05-25 12:22:28 +03:00
2016-05-11 10:35:26 +03:00
2016-03-24 10:34:19 +02:00
2016-03-24 10:34:19 +02:00
2016-03-24 10:34:19 +02:00
2016-02-23 17:01:58 +01:00
2016-02-22 11:30:58 +01:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-02-23 17:01:58 +01:00
2016-05-04 18:16:21 +02:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-05-05 10:48:34 +02:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-05-04 18:16:21 +02:00
2016-02-23 17:01:58 +01:00
2016-05-05 10:48:34 +02:00
2016-02-23 17:01:58 +01:00
2016-04-07 16:14:42 +02:00
2016-03-24 10:34:19 +02:00
2016-05-03 15:45:10 +02:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-06-07 13:09:57 +02:00
2016-03-24 10:34:24 +02:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-22 11:30:58 +01:00
2016-02-22 11:30:58 +01:00
2016-03-24 10:34:19 +02:00
2015-05-26 21:48:51 +03:00
2016-02-23 17:01:58 +01:00
2016-05-04 15:14:14 +02:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-22 11:30:58 +01:00
2016-03-24 10:34:29 +02:00
2016-05-04 18:16:21 +02:00
2016-03-23 19:31:36 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-05-18 10:37:03 +03:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00
2016-02-23 17:01:58 +01:00