Clément Bœsch
56f7e29dba
tools: add zmqshell.py.
12 years ago
James Almer
54372848f3
tools/ffhash: Use O_BINARY when available
...
This fixes reading files in Windows
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
James Almer
b22f96b736
Rename ffadler to ffhash and expand it using the generic hash API
...
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
c7c71f95f8
replace remaining PIX_FMT_* flags with AV_PIX_FMT_FLAG_*
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
2a1b7dee6d
tools: add zmqsend tool, useful to test the zmq filters
12 years ago
Stefano Sabatini
3a4c8788e3
tools/ffeval: use av_dynarray2_add()
...
Simplify, increment robustness.
12 years ago
Michael Niedermayer
d9cb1e0e15
ffadler: fix duplicate \n on errors
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
a11593189b
ffadler: add multifile support
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
3d66ce17b7
tools: Add adler32 checksum tool
...
This is about 6 times faster than md5sum on linux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
a5f8873620
silly typo fixes
12 years ago
Michael Niedermayer
ebea370dc3
ismindex: check mkdir()s return code
...
Fixes CID733724
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
bc7330a840
tools/ismindex: dont ignore return code of write_fragments()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Anton Khirnov
38f0c0781a
lavfi: merge avfiltergraph.h into avfilter.h
...
We do not support using filters without AVFilterGraph in practice
anyway, so there is no point in pretending we do.
12 years ago
James Almer
89388a953a
Replace all occurrences of PRI in sscanf() calls with SCN
...
Signed-off-by: James Almer <jamrial@gmail.com>
12 years ago
Clément Bœsch
ec1ef0838c
tools: add audio normalize script example.
12 years ago
Martin Storsjö
4abf6fa095
ismindex: Check the return value of allocations
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
7c147900b8
ismindex: Factorize code for printing chunk duration lists
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
f05e9beb4a
ismindex: Rename structs and fields from "file" to "track"
...
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>
12 years ago
Stefano Sabatini
9767ec6b86
lavu: add escape API
...
The escape API will be useful to perform escaping programmatically, which
is required when crafting argument strings, and will be used for context
printing as well.
This is based on the ffescape tool code, with a few extensions and fixes.
12 years ago
Frederic Jean
c53e8d9029
Include fix for building ismindex under MinGW
...
Include cmdutils.h so we can build under windows.
Based on fix for https://ffmpeg.org/trac/ffmpeg/ticket/256
12 years ago
Nicolas George
b92c7a8f4b
tools: add seek_print.
...
Useful for testing seek implementations.
12 years ago
Diego Biurrun
88bd7fdc82
Drop DCTELEM typedef
...
It does not help as an abstraction and adds dsputil dependencies.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years ago
Stefano Sabatini
c92b6f347d
tools: add plotframes script
...
The script is ported from ffprobe/SourceForge and updated to the current
ffprobe version.
12 years ago
Paul B Mahol
d885cc41e5
Fix "knwon" typo and add a check in tools/patcheck
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Diego Biurrun
511cf612ac
miscellaneous typo fixes
12 years ago
Clément Bœsch
8b63744f48
Fix "bistream" typo and add a check in tools/patcheck.
12 years ago
Michael Niedermayer
0ea4742341
qt-faststart: Check offset_count
...
Fixes CID733836
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Nicolas George
160013736e
lavf: TED Talks JSON captions demuxer.
12 years ago
Paul B Mahol
1acd2f6ba7
Replace rest of libavutil/audioconvert.h with libavutil/channel_layout.h
...
Also remove it in once case when it is not needed.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Michael Niedermayer
976175fbe5
probetest: fix possible use of uninitialized data
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
1838961357
qt-faststart: fix signedness of variable used to hold return code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
224afddc7c
ismindex: check return value of avio_open_dyn_buf()
...
Fixes CID733723
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
5b45b66220
cws2fws: check fstat return code.
...
Fixes CID733720
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
86aba86b1b
cws2fws: check lseek() return
...
Fixes: CID733721
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
59eae88429
cws2fws: check inflateInit return value
...
Fixes CID733722
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
15f52e50fe
tools: add ffescape utility
12 years ago
Michael Niedermayer
4a2297294f
qt-faststart: check return of ftello()
...
Fixes CID739863
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
f68ff2e0e7
fourcc2pixfmt: fix compilation
...
If someone finds a cleaner fix, dont hesitate to revert this!
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
0de41ead6f
qt-faststart: check fseeko() return codes
...
Fixes CID733725
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Hendrik Leppkes
79393a8363
Replace usage of the deprecated av_pix_fmt_descriptors array with av_pix_fmt_desc_get
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
25f3827e1d
tools/ffeval: do not use UNIX-specific /dev/std{in,out} files
...
Should fix behavior when the /dev/ directory is not defined (e.g. on
Windows).
12 years ago
Stefano Sabatini
22c5cc239c
tools/ffeval: include compat/getopt.c in case of missing system getopt()
12 years ago
Michael Niedermayer
225d3cc1cc
ffeval: avoid folding EOF onto a valid char
...
Fixes CID733704
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
80db07adfe
probetest: check command line arguments
...
Fixes CID733835
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
8ab0b9caba
trasher: check seek return value.
...
Fixes CID733726
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Anton Khirnov
b7f1010c8f
tools: do not use av_pix_fmt_descriptors directly.
12 years ago
Michael Niedermayer
92c3173c84
qt-faststart: fix printf argument type
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
11d4e92ed9
avformat: Remove non-compiling and/or silly commented-out printf/av_log statements
12 years ago
Michael Niedermayer
59003fe7c0
qt-faststart: simplify code by using FFMIN
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
610efb6773
qt-faststart: dont allocate a bigger buffer than needed
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago