summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAge
* patcheck: Fix false detection of 'mergeable calls' when line is removedHagen Schmidt2015-11-23
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Replace remaining occurances of av_free_packet with av_packet_unrefHendrik Leppkes2015-10-27
|
* Merge commit 'ce70f28a1732c74a9cd7fec2d56178750bd6e457'Hendrik Leppkes2015-10-27
|\ | | | | | | | | | | | | * commit 'ce70f28a1732c74a9cd7fec2d56178750bd6e457': avpacket: Replace av_free_packet with av_packet_unref Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * avpacket: Replace av_free_packet with av_packet_unrefLuca Barbato2015-10-26
| | | | | | | | | | | | | | `av_packet_unref` matches the AVFrame ref-counted API and can be used as a drop in replacement. Deprecate `av_free_packet`.
| * tools: Drop a stale headerLuca Barbato2015-08-31
| |
* | Merge commit '87e5d8d78cf08b54b4a9e7cbaeff89f8c1d91b78'Hendrik Leppkes2015-09-07
|\| | | | | | | | | | | | | * commit '87e5d8d78cf08b54b4a9e7cbaeff89f8c1d91b78': ismindex: Use the correct abs() version Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * ismindex: Use the correct abs() versionVittorio Giovara2015-08-31
| |
* | graph2dot: use avfilter_pad_get_name accessor functionAndreas Cadhalpun2015-08-20
| | | | | | | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | crypto_bench: add support for ripemd-128James Almer2015-08-13
| | | | | | | | | | Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: James Almer <jamrial@gmail.com>
* | crypto_bench: add support for xteaJames Almer2015-08-13
| | | | | | | | | | Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: James Almer <jamrial@gmail.com>
* | crypto_bench: add support for rc4James Almer2015-08-13
| | | | | | | | | | Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: James Almer <jamrial@gmail.com>
* | crypto_bench: add support for blowfishJames Almer2015-08-13
| | | | | | | | | | Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit '30dfc1dad4285e7362ce3f596d7c5d5d9b7fb33d'Michael Niedermayer2015-06-12
|\| | | | | | | | | | | | | * commit '30dfc1dad4285e7362ce3f596d7c5d5d9b7fb33d': cws2fws: Close file handles on error Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * cws2fws: Close file handles on errorVittorio Giovara2015-06-12
| | | | | | | | Reported-By: infer
* | tools/graph2dot: use larger data types than int for array/string sizesMichael Niedermayer2015-05-12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tools/cws2fws: Use a similar implementation in dbgprintf() as in ff_dlog()Michael Niedermayer2015-05-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tools/sidxindex: Use av_*malloc_array()Michael Niedermayer2015-04-01
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '30a041887f89cd97c372ad6a516da6e012f2c88b'Michael Niedermayer2015-03-19
|\| | | | | | | | | | | | | * commit '30a041887f89cd97c372ad6a516da6e012f2c88b': ismindex: Calculate the pts duration of trun atoms, not the dts duration Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ismindex: Calculate the pts duration of trun atoms, not the dts durationMartin Storsjö2015-03-19
| | | | | | | | | | | | | | Since the duration is compared to the tfra durations/intervals which are expressed in pts, calculate that here as well. Signed-off-by: Martin Storsjö <martin@martin.st>
* | tools/graph2dot: Check for av_malloc() failureMichael Niedermayer2015-02-22
| | | | | | | | | | | | Fixes CID1271047 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tools/trasher: Check fseek returnsMichael Niedermayer2015-02-22
| | | | | | | | | | | | Fixes CID733726 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Add coverity model fileMichael Niedermayer2015-02-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The comments/header of the file are taken from qemu, they provide some basic documentation The code from the examples Ive no means to test this except uploading to coverity for FFmpeg, so each commit should stay simple, making it easy to revert. Also please help making this a useful and effective file by contributing changes/code to it and reviewing contributions. I am happy to upload changes but i cannot really maintain this (alone) as i cannot test changes. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tools: added twofish supportSupraja Meedinti2015-02-21
| | | | | | | | | | | | Signed-off-by: Supraja Meedinti <supraja0493@gmail.com> Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tools/crypto_bench: add Camellia supportJames Almer2015-01-26
| | | | | | | | | | Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: James Almer <jamrial@gmail.com>
* | tools/uncoded_frame: Use avio_closep() to avoid leaving stale pointers in memoryMichael Niedermayer2015-01-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tools/ismindex.c: Use av_realloc_array()Michael Niedermayer2015-01-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tools/ismindex: Keep count fields consistent with arrays in case of errorsMichael Niedermayer2015-01-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '470c9db11ff2c3249e995e7ba68e87bb81bf778c'Michael Niedermayer2015-01-03
|\| | | | | | | | | | | | | * commit '470c9db11ff2c3249e995e7ba68e87bb81bf778c': sidxindex: Remove parsing that isn't necessary any longer Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * sidxindex: Remove parsing that isn't necessary any longerMartin Storsjö2015-01-03
| | | | | | | | | | | | | | When we don't adjust the Period start time, we don't need to parse the earliest_presentation_time from the sidx boxes either. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '5cf6bda6e2eae496e8eb2bb06c96852d59a58b8a'Michael Niedermayer2015-01-03
|\| | | | | | | | | | | | | * commit '5cf6bda6e2eae496e8eb2bb06c96852d59a58b8a': sidxindex: Don't adjust the Period start time depending on the track start time Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * sidxindex: Don't adjust the Period start time depending on the track start timeMartin Storsjö2015-01-03
| | | | | | | | | | | | | | | | | | | | | | | | | | This was only necessary to get playback to start with dash.js 1.2.0, it has been fixed in the git version. The previous behaviour was incorrect - the Period's start time is irrespective of the actual first timestamp of the contents within the period. The Period start time only says when, within the global timeline, this particular piece should start to be played back. Signed-off-by: Martin Storsjö <martin@martin.st>
* | tools/probetest: support testing a single specified input formatMichael Niedermayer2014-12-23
| | | | | | | | | | | | | | This reduces the time the test takes significantly when only one formats needs to be tested Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '6f26f14f134e753d6168591f30815b1c08c1498b'Michael Niedermayer2014-11-24
|\| | | | | | | | | | | | | * commit '6f26f14f134e753d6168591f30815b1c08c1498b': sidxindex: Write mimeType=audio/mp4 for audio-only representations Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * sidxindex: Write mimeType=audio/mp4 for audio-only representationsMartin Storsjö2014-11-24
| | | | | | | | | | | | | | This fixes playback with dash.js, when the input is one separate mp4 file per track. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'c302d034ba2690a935df8bf7e4f5d44ed86e8d5c'Michael Niedermayer2014-11-17
|\| | | | | | | | | | | | | | | | | | | * commit 'c302d034ba2690a935df8bf7e4f5d44ed86e8d5c': tools: Add a sidxindex tool Conflicts: libavformat/Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * tools: Add a sidxindex toolMartin Storsjö2014-11-17
| | | | | | | | | | | | | | 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>
| * tools: Use av_gettime_relativeOlivier Langlois2014-10-24
| | | | | | | | | | | | | | | | 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: Martin Storsjö <martin@martin.st>
* | tools/ffhash: read errno before calling functions which might change itMichael Niedermayer2014-10-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tools/crypto_bench: add CAST5 supportJames Almer2014-10-21
| | | | | | | | | | Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit '979932378ae3fbf452e312eb759cc7ce175f78de'Michael Niedermayer2014-10-16
|\| | | | | | | | | | | | | * commit '979932378ae3fbf452e312eb759cc7ce175f78de': ismindex: use tfhd default duration if no sample duration Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ismindex: use tfhd default duration if no sample durationMika Raento2014-10-16
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '2bc220958c7570020d87ee353db65460b518998a'Michael Niedermayer2014-10-09
|\| | | | | | | | | | | | | | | | | | | | | * commit '2bc220958c7570020d87ee353db65460b518998a': ismindex: handle discontinuous streams better Conflicts: tools/ismindex.c See: d3834f290138cb8c48fd404081ac5b9a2ca14564 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ismindex: handle discontinuous streams betterMika Raento2014-10-09
| | | | | | | | | | | | | | Read the fragment duration from the trun sample data, rather than assuming that there are no gaps. Signed-off-by: Martin Storsjö <martin@martin.st>
* | ismindex: handle discontinuous streams betterMika Raento2014-10-09
| | | | | | | | | | | | | | | | Reads the fragment duration from the trun sample data, rather than assuming that there are no gaps. Creates much better playlists for our inputs. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tools/crypto_bench: fix build when AV_READ_TIME is unavailableMichael Niedermayer2014-09-16
| | | | | | | | | | Found-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '00431bf874e1044b01e09a2266ef85d4ff8d44cc'Michael Niedermayer2014-09-15
|\| | | | | | | | | | | | | * commit '00431bf874e1044b01e09a2266ef85d4ff8d44cc': ismindex: handle time discontinuities and nonzero start time Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ismindex: handle time discontinuities and nonzero start timeMika Raento2014-09-15
| | | | | | | | | | | | | | | | | | The input file may not have consistent start times, stream durations and chunk durations. This patch at least removes negative durations that make chromecast unhappy, and correctly sets starting time on chunks so that the split (or .ismf) outputs match the manifest. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'fcf597625c7a991ca389f3a9b8ff4f5e383301c0'Michael Niedermayer2014-09-08
|\| | | | | | | | | | | | | * commit 'fcf597625c7a991ca389f3a9b8ff4f5e383301c0': ismindex: Avoid writing ismf files if no base name has been specified Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ismindex: Avoid writing ismf files if no base name has been specifiedMartin Storsjö2014-09-07
| | | | | | | | | | | | | | | | Previously, this could create files named "(null).ismf", if the -ismf parameter is specified (before an input file name), but without specifying any base name. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'b21e989a3c076d94cfdde0303724db841dd60cad'Michael Niedermayer2014-09-05
|\| | | | | | | | | | | | | | | | | | | * commit 'b21e989a3c076d94cfdde0303724db841dd60cad': ismindex: produce .ismf file Conflicts: tools/ismindex.c Merged-by: Michael Niedermayer <michaelni@gmx.at>