- 17 Nov, 2014 19 commits
-
-
Martin Storsjö authored
This tool can write an MPD file for fragmented MP4 files with a sidx index at the start of the file. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This is mapped to the faststart flag (which in this case perhaps should be called "shift and write index at the start of the file"), which for fragmented files will write a sidx index at the start. When segmenting DASH into files, there's usually one sidx at the start of each segment (although it's not clear to me whether that actually is necessary). When storing all of it in one file, the MPD doesn't necessarily need to describe the individual segments, but the offsets of the fragments can be fetched from one large sidx atom at the start of the file. This allows creating files for the DASH ISO BMFF on-demand profile. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Previously only tfra entries were added for the first track in each moof. The frag_info array used for tfra can also be used for writing other kinds of fragment indexes, where it's more important to include all tracks. When the separate_moof option is enabled (as in ismv), we write a separate moof for each track, so this doesn't make any difference in that case. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This is mostly to serve as a reference example on how to segment the output from the mp4 muxer, capable of writing the segment list in four different ways: - SegmentTemplate with SegmentTimeline - SegmentTemplate with implicit segments - SegmentList with individual files - SegmentList with one single file per track, and byte ranges The muxer is able to serve live content (with optional windowing) or create a static segmented MPD. In advanced cases, users will probably want to do the segmenting in their own application code. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
A flag "dash" is added, which enables the necessary flags for creating DASH compatible fragments. When this is enabled, one sidx atom is written for each track before every moof atom. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
By calling this after writing the moof the first time (for calculating the moof size), we can avoid intermediate storage of tfrf_offset in MOVTrack. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
When writing fragmented streams with an empty initial moov, we won't have any samples in any tracks when writing the moov atom, thus trust that any tracks that are added actually will be present. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Andrew Stone authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Andrew Stone authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
Also, collapse the array into a scalar, since only one value is needed at a time.
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
pred_mode is overwritten a few lines immediately below.
-
Anton Khirnov authored
It does not need to be accessed outside of hls_coding_unit().
-
Anton Khirnov authored
It does not need to be accessed outside of hls_coding_unit().
-
- 15 Nov, 2014 5 commits
-
-
Martin Storsjö authored
This allows running the code on android, where 64 bit binaries with text relocations aren't allowed to be loaded. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Michael Niedermayer authored
CC: libav-stable@libav.org Bug-Id: CID 1206648
-
Luca Barbato authored
The buffer is always valid. Bug-Id: CID 700682
-
Marvin Scholz authored
This is needed because Icecast since version 2.4.1 doesn't default to audio/mpeg anymore. AVOption default not used here, since a later check if -content_type is set is performed and would break. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Marvin Scholz authored
This allows for proper error reporting. Only do this for non-legacy requests as only Icecast >2.4.0 will reply with a proper status. Libav seems to accept both, 100 and 200 status codes, but let's stay close to spec. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
- 14 Nov, 2014 6 commits
-
-
Kieran Kunhya authored
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 1163851
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 29585 / CID 700759
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 1198259
-
Thilo Borgmann authored
CC: libav-devel@libav.org Bug-Id: CID 608084 / CID 700724
-
Vittorio Giovara authored
-
- 13 Nov, 2014 10 commits
-
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 1026771 / CID 1026772 / CID 1026773
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 747723
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 1135737
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 1135738
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 1135739
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 1135740
-
Vittorio Giovara authored
Avoid a possible negative bitshift. CC: libav-stable@libav.org Bug-Id: CID 1194400
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 700751 / CID 700752
-
Vittorio Giovara authored
Makes coverity less confused. CC: libav-stable@libav.org Bug-Id: CID 1203487
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 970924
-