summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* ismindex: Change the duration field to int64_tMartin Storsjö2013-10-051-2/+2
| | | | | | 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-051-2/+4
| | | | | | | | | 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-051-2/+1
| | | | | | | | | | 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-051-5/+1
| | | | os_support.h contains more precise workarounds for non-POSIX mkdir().
* tools: Wording and formatting cosmeticsDiego Biurrun2013-07-062-9/+9
|
* silly typo fixesDiego Biurrun2013-05-031-1/+1
|
* lavfi: merge avfiltergraph.h into avfilter.hAnton Khirnov2013-04-111-1/+1
| | | | | We do not support using filters without AVFilterGraph in practice anyway, so there is no point in pretending we do.
* ismindex: Check the return value of allocationsMartin Storsjö2013-03-131-2/+13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* ismindex: Factorize code for printing chunk duration listsMartin Storsjö2013-03-131-22/+19
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* ismindex: Rename structs and fields from "file" to "track"Martin Storsjö2013-03-131-149/+149
| | | | | | | 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>
* Drop DCTELEM typedefDiego Biurrun2013-01-221-1/+1
| | | | | | It does not help as an abstraction and adds dsputil dependencies. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* miscellaneous typo fixesDiego Biurrun2012-12-211-2/+2
|
* tools: do not use av_pix_fmt_descriptors directly.Anton Khirnov2012-10-121-2/+2
|
* avformat: Remove non-compiling and/or silly commented-out printf/av_log ↵Diego Biurrun2012-10-011-1/+0
| | | | statements
* trasher: Include all the necessary headersMartin Storsjö2012-09-131-0/+2
| | | | | | | The missing headers are required for errno and for strerror. This fixes building of this tool on mingw32ce. Signed-off-by: Martin Storsjö <martin@martin.st>
* pktdumper: Use a custom define instead of PATH_MAX for buffersMartin Storsjö2012-08-311-2/+4
| | | | | | | | PATH_MAX is not necessarily available on all systems, e.g. it's normally not available on MSVC, and is not guaranteed to defined on a POSIX system either. Signed-off-by: Martin Storsjö <martin@martin.st>
* pktdumper: Use av_strlcpy instead of strncpyMartin Storsjö2012-08-311-2/+3
| | | | | | | This takes care of null-terminating the buffer if it is too small, which wasn't handled properly before. Signed-off-by: Martin Storsjö <martin@martin.st>
* pktdumper: Use sizeof(variable) instead of the direct buffer lengthMartin Storsjö2012-08-311-4/+4
| | | | | | | Also change the snprintf size to use the full buffer, since snprintf always null-terminates the buffer. Signed-off-by: Martin Storsjö <martin@martin.st>
* graph2dot: Use the fallback getopt implementation if neededMartin Storsjö2012-08-291-0/+7
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* tools: Include io.h for open/read/write/close if unistd.h doesn't existMartin Storsjö2012-08-292-0/+12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* qt-faststart: Use other seek/tell functions on MSVC than on mingwMartin Storsjö2012-08-291-0/+3
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* ismindex: Include direct.h for _mkdir on windowsMartin Storsjö2012-08-291-2/+2
| | | | | | | 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>
* Don't include common.h from avutil.hMartin Storsjö2012-08-151-0/+3
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-071-5/+5
|
* lavfi: reclassify showfiltfmts as a TESTPROGMans Rullgard2012-07-041-102/+0
| | | | | | | | This tool uses lavfi internal symbols not accessible in shared libraries. TESTPROGS are linked statically to allow them use of library internals not normally exported. Signed-off-by: Mans Rullgard <mans@mansr.com>
* graph2dot: fix printf format specifierDiego Biurrun2012-07-041-1/+1
| | | | tools/graph2dot.c:85: warning: format ‘%lld’ expects type ‘long long int’, but argument 4 has type ‘int’
* ismindex: Verify that all bitrate variants matchMartin Storsjö2012-07-031-4/+26
| | | | | | | | | | 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-031-4/+11
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* misc typo and wording fixesDiego Biurrun2012-07-031-1/+1
|
* Replace usleep() calls with av_usleep()Mans Rullgard2012-06-222-3/+4
| | | | | | | This reduces the dependency on unistd.h which is not available on all systems. Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavfi: remove avfilter_default_* from public API on next bump.Anton Khirnov2012-05-221-1/+2
| | | | | Those functions are only useful inside filters. It is better to not support user filters until the API is more stable.
* Fix a bunch of common typos.Diego Biurrun2012-03-092-2/+2
|
* ismindex: Fix build on mingwMartin Storsjö2012-01-261-0/+4
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* tools: Remove some unnecessary #undefs.Diego Biurrun2012-01-252-3/+0
|
* tools: K&R reformatting cosmeticsDiego Biurrun2012-01-259-133/+158
|
* pktdumper: Use usleep instead of sleepMartin Storsjö2012-01-251-1/+1
| | | | | | | | MinGW doesn't have sleep, only _sleep (which is deprecated), Sleep (which is defined in winbase.h and not in the standard C headers) and usleep. Signed-off-by: Martin Storsjö <martin@martin.st>
* Add a tool for creating smooth streaming manifestsMartin Storsjö2012-01-251-0/+514
| | | | | | | | 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>
* aviocat: Remove useless includesMartin Storsjö2012-01-211-5/+1
| | | | | | | Also include stdlib.h explicitly - currently it is used implicitly via avformat.h. Signed-off-by: Martin Storsjö <martin@martin.st>
* aviocat: Flush the output before closingMartin Storsjö2012-01-211-0/+1
| | | | | | Without this, the end of the file might not be transmitted/written. Signed-off-by: Martin Storsjö <martin@martin.st>
* Add a tool that uses avio to read and write, doing a plain copy of dataMartin Storsjö2012-01-201-0/+97
| | | | | | | It also optionally can throttle its operation to a particular speed, to simulate realtime writing. Signed-off-by: Martin Storsjö <martin@martin.st>
* Fix a bunch of platform name and other typos.Diego Biurrun2012-01-111-1/+1
|
* Fix a bunch of typos.Diego Biurrun2012-01-021-1/+1
|
* qt-faststart: K&R reformatting; fix comment typosDiego Biurrun2011-12-301-45/+45
|
* qt-faststart: Fix up indentationMartin Storsjö2011-12-291-9/+9
| | | | | | This restores indentation after 65b875d8fcc. Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace all uses of av_close_input_file() with avformat_close_input().Anton Khirnov2011-12-121-1/+1
|
* Fix a bunch of common typos.Diego Biurrun2011-12-111-1/+1
|
* tests/tools/examples: Replace direct exit() calls by return.Diego Biurrun2011-12-081-9/+9
|
* doc: document preferred Doxygen syntax and make patcheck detect itDiego Biurrun2011-12-041-0/+1
|
* tools/pktdumper: update to recent avformat apiJanne Grunau2011-10-281-3/+3
|
* Replace deprecated av_find_stream_info() by avformat_find_stream_info().Diego Biurrun2011-08-261-2/+2
|
OpenPOWER on IntegriCloud