summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAge
* 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>
| * ismindex: produce .ismf fileMika Raento2014-09-05
| | | | | | | | | | | | | | | | This is a non-standard file that maps the MSS segment names to offsets in the ISMV file. This can be used to build a custom MSS streaming server without splitting the ISMV into separate files. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'c487972ed0e1eaebdbe4a13cdd191e119be0b19c'Michael Niedermayer2014-09-03
|\| | | | | | | | | | | | | * commit 'c487972ed0e1eaebdbe4a13cdd191e119be0b19c': ismindex: recover from completely empty streams Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ismindex: recover from completely empty streamsMika Raento2014-09-03
| | | | | | | | | | | | | | This creates best-effort results from input that is missing stream contents, there are warnings printed when this happens. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'e48d1ea541be4592ebac89875557407ca958b7a9'Michael Niedermayer2014-09-02
|\| | | | | | | | | | | | | | | | | | | * commit 'e48d1ea541be4592ebac89875557407ca958b7a9': ismindex: improve diagnostics Conflicts: tools/ismindex.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ismindex: improve diagnosticsMika Raento2014-09-02
| | | | | | | | | | | | This improves error messages for completely and somewhat broken inputs. Signed-off-by: Martin Storsjö <martin@martin.st>
* | tools/normalize.py: both input and output file names are requiredMark Harris2014-09-02
| |
* | patcheck: check for pointer arrays that are not const.Reimar Döffinger2014-08-29
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Merge commit '3526ab891c28396ada8b58bf7647309bab30de1d'Michael Niedermayer2014-08-22
|\| | | | | | | | | | | | | * commit '3526ab891c28396ada8b58bf7647309bab30de1d': qt-faststart: Undefine fseeko/ftello before defining them Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * qt-faststart: Undefine fseeko/ftello before defining themDiego Biurrun2014-08-22
| | | | | | | | This avoids a number of redefinition warnings on MinGW64.
* | Merge commit '4b1f5e5090abed6c618c8ba380cd7d28d140f867'Michael Niedermayer2014-08-15
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '4b1f5e5090abed6c618c8ba380cd7d28d140f867': cosmetics: Write NULL pointer inequality checks more compactly Conflicts: libavcodec/dvdsubdec.c libavcodec/h263dec.c libavcodec/libxvid.c libavcodec/rv10.c libavcodec/utils.c libavformat/format.c libavformat/matroskadec.c libavformat/segment.c libavutil/opt.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * cosmetics: Write NULL pointer inequality checks more compactlyGabriel Dume2014-08-15
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | Merge commit 'f929ab0569ff31ed5a59b0b0adb7ce09df3fca39'Michael Niedermayer2014-08-15
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'f929ab0569ff31ed5a59b0b0adb7ce09df3fca39': cosmetics: Write NULL pointer equality checks more compactly Conflicts: cmdutils.c ffmpeg_opt.c ffplay.c libavcodec/dvbsub.c libavcodec/dvdsubdec.c libavcodec/dvdsubenc.c libavcodec/dxa.c libavcodec/libxvid_rc.c libavcodec/mpegvideo.c libavcodec/mpegvideo_enc.c libavcodec/rv10.c libavcodec/tiffenc.c libavcodec/utils.c libavcodec/vc1dec.c libavcodec/zmbv.c libavdevice/v4l2.c libavformat/matroskadec.c libavformat/movenc.c libavformat/sdp.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | Add missing initialization for AVProbeData.Reimar Döffinger2014-08-11
| | | | | | | | | | | | This has become necessary since the new mime field was added. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | tools/fourcc2pixfmt: use avpriv_get_raw_pix_fmt_tags()James Almer2014-08-10
| | | | | | | | | | | | | | lavc doesn't export ff_raw_pix_fmt_tags[] anymore. Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tools/yuvcmp: add HAVE_UNISTD_H around #include <unistd.h>Michael Niedermayer2014-07-08
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tools/ffeval: print computed value even in case of errorStefano Sabatini2014-07-05
| | | | | | | | This is useful for debugging purposes.
* | Merge commit 'f920d089535bf7cf10aeda900cc43201c5e18cd0'Michael Niedermayer2014-07-03
|\| | | | | | | | | | | | | | | | | | | * commit 'f920d089535bf7cf10aeda900cc43201c5e18cd0': ismindex: Add an option for outputting files elsewhere than in the current directory Conflicts: tools/ismindex.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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>
* | Merge commit '6bc4934b75dde9354ee16a6e700ebe6775abf69e'Michael Niedermayer2014-07-03
|\| | | | | | | | | | | | | * commit '6bc4934b75dde9354ee16a6e700ebe6775abf69e': ismindex: Allow adding a path prefix to the generated .ism file Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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>
| * qt-faststart: Add a note about the -movflags +faststart featureLou Logan2014-03-01
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | tools/fourcc2pixfmt: Avoid using non public AV_PIX_FMT_NBMichael Niedermayer2014-06-10
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | fix various typosLou Logan2014-06-03
| | | | | | | | | | Signed-off-by: Lou Logan <lou@lrcd.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | 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>