summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAge
* tools: Use av_gettime_relative()Olivier Langlois2014-05-17
| | | | | | | | | Whenever av_gettime() is used to measure relative period of time, av_gettime_relative() is prefered as it guarantee monotonic time on supported platforms. Signed-off-by: Olivier Langlois <olivier@trillion01.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* tools/ismindex: use av_mallocz_array()Michael Niedermayer2014-05-05
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavc: add codec descriptors for TTF and OTF.Nicolas George2014-04-29
|
* tools/ffhash: implement base64 output.Nicolas George2014-04-29
| | | | Also fix usage string: the algorithm is not optional.
* tools/ffhash: use av_hash_final_hex().Nicolas George2014-04-29
|
* tools/uncoded_frame: fix audio codec generationLukasz Marek2014-03-29
| | | | | | Codec id is guessed from uninitialized sample format. Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* tools: add dvd2concat.Nicolas George2014-03-23
|
* tools/build_libstagefright: switch git urls to httpsMichael Niedermayer2014-03-12
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit 'ea7f79f93796d68559a495be824b6bbd94dfe5f6'Michael Niedermayer2014-03-01
|\ | | | | | | | | | | | | | | | | * commit 'ea7f79f93796d68559a495be824b6bbd94dfe5f6': qt-faststart: Avoid unintentionally sign extending BE_32 See: 582f36ca3fb1c69dbe3478f174d36278f5dd3f63 See: 69ce34c796dd2d595f3312848cf6d0c87506e0d0 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * qt-faststart: Avoid unintentionally sign extending BE_32Martin Storsjö2014-03-01
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge commit 'bb95334c34d0d9abccea370ae25c4765d7764ab8'Michael Niedermayer2014-03-01
|\| | | | | | | | | | | | | | | | | | | | | * commit 'bb95334c34d0d9abccea370ae25c4765d7764ab8': qt-faststart: Check offset_count before reading from the moov_atom buffer Conflicts: tools/qt-faststart.c See: 0ea4742341726ebe42c301bc0d6426cfa01dd134 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * qt-faststart: Check offset_count before reading from the moov_atom bufferMichael Niedermayer2014-03-01
| | | | | | | | | | CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '63848854256a024a19435e87d6bc76fffa65e81e'Michael Niedermayer2014-03-01
|\| | | | | | | | | | | | | | | | | | | | | * commit '63848854256a024a19435e87d6bc76fffa65e81e': qt-faststart: Check the ftello() return codes Conflicts: tools/qt-faststart.c See: 4a2297294fa269e05aa2b3fe36b2ea231caa6dca Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * qt-faststart: Check the ftello() return codesMichael Niedermayer2014-03-01
| | | | | | | | | | | | This silences a warning in the coverity static analyzer. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '03c2a66fcff9707f71ffef7e61ce5e3973220d4b'Michael Niedermayer2014-03-01
|\| | | | | | | | | | | | | | | | | | | | | * commit '03c2a66fcff9707f71ffef7e61ce5e3973220d4b': qt-faststart: Fix the signedness of variables keeping the ftello return values Conflicts: tools/qt-faststart.c See: 1838961357e38402be64c0c82a2f08e4e85a0c01 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * qt-faststart: Fix the signedness of variables keeping the ftello return valuesMichael Niedermayer2014-03-01
| | | | | | | | | | | | | | | | 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>
* | Merge commit '5612244351b2eb3cb4e6225861a0f55aa5d0c475'Michael Niedermayer2014-03-01
|\| | | | | | | | | | | | | | | | | | | | | * commit '5612244351b2eb3cb4e6225861a0f55aa5d0c475': qt-faststart: Check fseeko() return codes Conflicts: tools/qt-faststart.c See: 0de41ead6f9034e0a834abe51028a02aee094990 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * qt-faststart: Check fseeko() return codesMichael Niedermayer2014-03-01
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'ea15a9a5d8fa6a71af3101b2af18c4dcac07987f'Michael Niedermayer2014-03-01
|\| | | | | | | | | | | | | | | | | | | | | * commit 'ea15a9a5d8fa6a71af3101b2af18c4dcac07987f': qt-faststart: Simplify code by using a MIN() macro Conflicts: tools/qt-faststart.c See: 59003fe7c064e98359cce83b1b727fb1026bdf12 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * qt-faststart: Simplify code by using a MIN() macroMichael Niedermayer2014-03-01
| | | | | | | | | | | | | | | | 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>
| * qt-faststart: Increase the copy buffer size to 64 KBMartin Storsjö2014-03-01
| | | | | | | | | | | | | | | | | | 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>
* | tools/uncoded_frame: fix double freeLukasz Marek2014-02-13
| | | | | | | | | | | | | | | | | | | | | | | | in case av_interleaved_write_uncoded_frame fails it seems frame is freed for the second time in fail section. Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com> Reviewed-by: Nicolas George <george@nsup.org> This commit also removes 1 trailing whitespace as otherwise the push hook rejects it Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tools: add uncoded_frame test program.Nicolas George2014-02-11
| |
* | Merge commit '87acd33c092ab9e7d73686627e9105d99c1e4928'Michael Niedermayer2014-01-17
|\| | | | | | | | | | | | | * commit '87acd33c092ab9e7d73686627e9105d99c1e4928': aviocat: Add support for specifying the input duration Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * aviocat: Add support for specifying the input durationMartin Storsjö2014-01-17
| | | | | | | | | | | | | | 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>
* | Merge commit '03f2de5856ec8571fcf5f4cf6dccc713294af545'Michael Niedermayer2014-01-17
|\| | | | | | | | | | | | | * commit '03f2de5856ec8571fcf5f4cf6dccc713294af545': aviocat: Check the argv array length before reading element i+1 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * aviocat: Check the argv array length before reading element i+1Martin Storsjö2014-01-17
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * graph2dot: Add missing #include for av_get_channel_layout_string()Diego Biurrun2013-11-04
| |
| * graph2dot: Fix use of deprecated APIDiego Biurrun2013-11-04
| |
* | tools/qt-faststart: add -movflags +faststart noteLou Logan2014-01-07
| |
* | tools/zmqsend: rename ctx to zmq_ctxStefano Sabatini2013-12-23
| | | | | | | | The new name is more explicit.
* | tools/zmqsend: use valid NULL log contextStefano Sabatini2013-12-23
| | | | | | | | The zmq context is not a valid log context. Fix crash.
* | tools/probetest: Check av_realloc() return codeMichael Niedermayer2013-12-11
| | | | | | | | | | Fixess CID1135761 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tools/: Add gen-rc tool for generating Windows resource filesTimothy Gu2013-12-11
| | | | | | | | | | Signed-off-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tools/probetest: also print the time the probe functions neededMichael Niedermayer2013-11-08
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tools/probetest: use named constant for the maximum number of formatsMichael Niedermayer2013-11-08
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-10-05
|\| | | | | | | | | | | | | * qatar/master: ismindex: Change the duration field to int64_t Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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>
* | Merge commit '583a287f6f48f263859df142e6f90993e4217c72'Michael Niedermayer2013-10-05
|\| | | | | | | | | | | | | * commit '583a287f6f48f263859df142e6f90993e4217c72': ismindex: Calculate the file duration among the included tracks Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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>
* | Merge commit 'd347a7b248d4ffdc278373fecf033b0ade030343'Michael Niedermayer2013-10-05
|\| | | | | | | | | | | | | * commit 'd347a7b248d4ffdc278373fecf033b0ade030343': ismindex: Use the individual stream duration instead of the global one Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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>
* | ffhash: Change size to an intAlex Smith2013-09-24
| | | | | | | | | | | | | | | | This fixes compilation with MSVC and ICL, and makes ffhash consistent with how the rest of the codebase uses read(). Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tools: Fix apparent merge failureAlex Smith2013-09-21
| |
* | tools/crypto_bench: fix 2 typos.Clément Bœsch2013-09-04
| |
* | tools: add benchmark for crypto functions.Nicolas George2013-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The benchmark tests the speed of the following algorithms: MD5, SHA-1, SHA-256, SHA-512, RIPEMD-160, AES-128. It can optionally be built to perform the same benchmark on other crypto libraries, for comparison purposes. The supported libraries are: - crypto: OpenSSL's libcrypto; - gcrypt: GnuTLS's libgcrypt; - tomcrypt: LibTomCrypt To enable them, use this syntax: make VERSUS=crypto+gcrypt+tomcrypt tools/crypto_bench They do not need to have been enabled in configure.
* | Reinstate proper FFmpeg license for all files.Thilo Borgmann2013-08-30
| |
* | tools/graph2dot: fix use of deprecated *put_countMichael Niedermayer2013-08-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'bea3d6f4363ff1bbbd99c1717f7498b9fdb12cfc'Michael Niedermayer2013-08-06
|\| | | | | | | | | | | | | * commit 'bea3d6f4363ff1bbbd99c1717f7498b9fdb12cfc': ismindex: Replace mkdir ifdeffery by os_support.h #include Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ismindex: Replace mkdir ifdeffery by os_support.h #includeDiego Biurrun2013-08-05
| | | | | | | | os_support.h contains more precise workarounds for non-POSIX mkdir().