summaryrefslogtreecommitdiff
path: root/tools/ismindex.c
Commit message (Collapse)AuthorAge
* ismindex: Add an option for outputting files elsewhere than in the current ↵Martin Storsjö2014-07-03
| | | | | | directory Signed-off-by: Martin Storsjö <martin@martin.st>
* ismindex: Allow adding a path prefix to the generated .ism fileMartin Storsjö2014-07-03
| | | | | | | | This allows storing the .ismv/.isma/.ismc files separately from the .ism file on a server, without having to manually edit the .ism file after generating it with the ismindex tool. Signed-off-by: Martin Storsjö <martin@martin.st>
* ismindex: Change the duration field to int64_tMartin Storsjö2013-10-05
| | | | | | This reduces the risk for overflow in pathlogical cases. Signed-off-by: Martin Storsjö <martin@martin.st>
* ismindex: Calculate the file duration among the included tracksMartin Storsjö2013-10-05
| | | | | | | | | If the input file contains other tracks (non video/audio) that aren't included in ismindex, the global file duration as returned by libavformat might not be equal to the maximum of the duration of the actual included tracks. Signed-off-by: Martin Storsjö <martin@martin.st>
* ismindex: Use the individual stream duration instead of the global oneMartin Storsjö2013-10-05
| | | | | | | | | | The stream duration is used for calculating the duration of the last fragment easily without manually parsing anything else than the mfra/tfra atoms. When the global file duration was used previously, the duration of the last fragment could end up wrong if the streams weren't equally long. Signed-off-by: Martin Storsjö <martin@martin.st>
* ismindex: Replace mkdir ifdeffery by os_support.h #includeDiego Biurrun2013-08-05
| | | | os_support.h contains more precise workarounds for non-POSIX mkdir().
* ismindex: Check the return value of allocationsMartin Storsjö2013-03-13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* ismindex: Factorize code for printing chunk duration listsMartin Storsjö2013-03-13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* ismindex: Rename structs and fields from "file" to "track"Martin Storsjö2013-03-13
| | | | | | | The tool nowadays supports more than one track per file, this makes reading the code slightly less confusing. Signed-off-by: Martin Storsjö <martin@martin.st>
* ismindex: Include direct.h for _mkdir on windowsMartin Storsjö2012-08-29
| | | | | | | The Windows SDK in MSVC doesn't have mkdir, only _mkdir, and MSDN says one should include direct.h to use it. Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* ismindex: Verify that all bitrate variants matchMartin Storsjö2012-07-03
| | | | | | | | | | In Smooth Streaming, the fragments are addressed by time, and the manifest only stores one list of time offests for all streams, so all streams need to have identical fragment offsets. Warn if this isn't the case, so that the user can fix the files instead of getting failures at runtime when the fragments can't be found. Signed-off-by: Martin Storsjö <martin@martin.st>
* ismindex: Properly report errors reading the MFRA atomMartin Storsjö2012-07-03
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* ismindex: Fix build on mingwMartin Storsjö2012-01-26
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* tools: K&R reformatting cosmeticsDiego Biurrun2012-01-25
|
* Add a tool for creating smooth streaming manifestsMartin Storsjö2012-01-25
It can also optionally split the file into individual fragments, which allows it to be served from any web server without any server side support. Signed-off-by: Martin Storsjö <martin@martin.st>