Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
2014-07-03ismindex: Add an option for outputting files elsewhere than in the current ↵Martin Storsjö
directory Signed-off-by: Martin Storsjö <martin@martin.st>
2014-07-03ismindex: Allow adding a path prefix to the generated .ism fileMartin Storsjö
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>
2014-03-01qt-faststart: Add a note about the -movflags +faststart featureLou Logan
Signed-off-by: Martin Storsjö <martin@martin.st>
2014-03-01qt-faststart: Avoid unintentionally sign extending BE_32Martin Storsjö
Without this cast, the BE_32() expression is sign extended when assigned to an uint64_t, since the uint8_t|uint8_t expression is promoted to an int. Also avoid undefined behaviour when left shifting an uint8_t by 24 by casting it to an uint32_t explicitly before shifting. Based on a patch by Michael Niedermayer. Signed-off-by: Martin Storsjö <martin@martin.st>
2014-03-01qt-faststart: Check offset_count before reading from the moov_atom bufferMichael Niedermayer
CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
2014-03-01qt-faststart: Check the ftello() return codesMichael Niedermayer
This silences a warning in the coverity static analyzer. Signed-off-by: Martin Storsjö <martin@martin.st>
2014-03-01qt-faststart: Fix the signedness of variables keeping the ftello return valuesMichael Niedermayer
These variables are assigned the return values of ftello, which returns an off_t, which is a signed type. On errors, ftello returns -1, thus make sure this error return value can be stored properly. Signed-off-by: Martin Storsjö <martin@martin.st>
2014-03-01qt-faststart: Check fseeko() return codesMichael Niedermayer
Signed-off-by: Martin Storsjö <martin@martin.st>
2014-03-01qt-faststart: Simplify code by using a MIN() macroMichael Niedermayer
qt-faststart doesn't use the normal libav headers at all since it's supposed to be a completely standalone tool, so we implement the macro locally in this file. Signed-off-by: Martin Storsjö <martin@martin.st>
2014-03-01qt-faststart: Increase the copy buffer size to 64 KBMartin Storsjö
Copying data in chunks of 1 KB is a little wasteful. 64 KB should still easily fit on the stack, so there's no need to allocate it dynamically. Signed-off-by: Martin Storsjö <martin@martin.st>
2014-01-17aviocat: Add support for specifying the input durationMartin Storsjö
This avoids the caller having to calculate the byte rate if wanting to push a file in a rate resembling realtime. Signed-off-by: Martin Storsjö <martin@martin.st>
2014-01-17aviocat: Check the argv array length before reading element i+1Martin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-11-05graph2dot: Add missing #include for av_get_channel_layout_string()Diego Biurrun
2013-11-05graph2dot: Fix use of deprecated APIDiego Biurrun
2013-10-05ismindex: Change the duration field to int64_tMartin Storsjö
This reduces the risk for overflow in pathlogical cases. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-10-05ismindex: Calculate the file duration among the included tracksMartin Storsjö
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>
2013-10-05ismindex: Use the individual stream duration instead of the global oneMartin Storsjö
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>
2013-08-05ismindex: Replace mkdir ifdeffery by os_support.h #includeDiego Biurrun
os_support.h contains more precise workarounds for non-POSIX mkdir().
2013-07-06tools: Wording and formatting cosmeticsDiego Biurrun
2013-05-03silly typo fixesDiego Biurrun
2013-04-11lavfi: merge avfiltergraph.h into avfilter.hAnton Khirnov
We do not support using filters without AVFilterGraph in practice anyway, so there is no point in pretending we do.
2013-03-13ismindex: Check the return value of allocationsMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-03-13ismindex: Factorize code for printing chunk duration listsMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-03-13ismindex: Rename structs and fields from "file" to "track"Martin Storsjö
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>
2013-01-23Drop DCTELEM typedefDiego Biurrun
It does not help as an abstraction and adds dsputil dependencies. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2012-12-21miscellaneous typo fixesDiego Biurrun
2012-10-12tools: do not use av_pix_fmt_descriptors directly.Anton Khirnov
2012-10-01avformat: Remove non-compiling and/or silly commented-out printf/av_log ↵Diego Biurrun
statements
2012-09-14trasher: Include all the necessary headersMartin Storsjö
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>
2012-08-31pktdumper: Use a custom define instead of PATH_MAX for buffersMartin Storsjö
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>
2012-08-31pktdumper: Use av_strlcpy instead of strncpyMartin Storsjö
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>
2012-08-31pktdumper: Use sizeof(variable) instead of the direct buffer lengthMartin Storsjö
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>
2012-08-29graph2dot: Use the fallback getopt implementation if neededMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-08-29tools: Include io.h for open/read/write/close if unistd.h doesn't existMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-08-29qt-faststart: Use other seek/tell functions on MSVC than on mingwMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-08-29ismindex: Include direct.h for _mkdir on windowsMartin Storsjö
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>
2012-08-15Don't include common.h from avutil.hMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-08-07Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov
2012-07-04lavfi: reclassify showfiltfmts as a TESTPROGMans Rullgard
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>
2012-07-04graph2dot: fix printf format specifierDiego Biurrun
tools/graph2dot.c:85: warning: format ‘%lld’ expects type ‘long long int’, but argument 4 has type ‘int’
2012-07-03ismindex: Verify that all bitrate variants matchMartin Storsjö
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>
2012-07-03ismindex: Properly report errors reading the MFRA atomMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-03misc typo and wording fixesDiego Biurrun
2012-06-22Replace usleep() calls with av_usleep()Mans Rullgard
This reduces the dependency on unistd.h which is not available on all systems. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-22lavfi: remove avfilter_default_* from public API on next bump.Anton Khirnov
Those functions are only useful inside filters. It is better to not support user filters until the API is more stable.
2012-03-10Fix a bunch of common typos.Diego Biurrun
2012-01-26ismindex: Fix build on mingwMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-01-25tools: Remove some unnecessary #undefs.Diego Biurrun
2012-01-25tools: K&R reformatting cosmeticsDiego Biurrun
2012-01-25pktdumper: Use usleep instead of sleepMartin Storsjö
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>