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
Jan Ehrhardt
f4d9148fe2
qt-faststart: speedup
...
qt-faststart is terribly slow when the input file and the output file
are on a slow disk like a SD card. By increasing the copy_buffer from
1K to 32M I decreased the processing time on a sample file from
1600 seconds to 4 seconds. The timing difference is during 'copying
rest of file'.
S:\SD_VIDEO\PRG001>e:\utils\qt-faststart 00005.mp4 5.mp4
ftyp 0 32
free 32 8
mdat 40 13744391
moov 13744431 141848
patching stco atom...
patching stco atom...
writing ftyp atom...
writing moov atom...
copying rest of file...
Execution time: 1576.259 s
S:\SD_VIDEO\PRG001>s:\utils\qt-faststart 00005.mp4 5.mp4
ftyp 0 32
free 32 8
mdat 40 13744391
moov 13744431 141848
patching stco atom...
patching stco atom...
writing ftyp atom...
writing moov atom...
copying rest of file...
Execution time: 3.846 s
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
4390f8c28d
Fix two "skiping" typo.
12 years ago
Derek Buitenhuis
5a627c14b5
Remove mt-work directory
...
It is all dead and rotting code.
Also, move yuvcmp.c to tools. Its license is non-existent, however,
and should be clarified.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
12 years ago
Stefano Sabatini
8bdba0b3e9
tools: move raw-test program to tools, with the name fourcc2pixfmt
12 years ago
Stefano Sabatini
363307813e
tools/graphdot: unbreak syntax
...
Fix regression introduced in f054dbee6c
.
+10.23l.
12 years ago
Martin Storsjö
18d8825517
trasher: Include all the necessary headers
...
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>
12 years ago
Martin Storsjö
21411a4102
pktdumper: Use a custom define instead of PATH_MAX for buffers
...
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>
12 years ago
Martin Storsjö
bcc44873d9
pktdumper: Use av_strlcpy instead of strncpy
...
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>
12 years ago
Martin Storsjö
372de27df7
pktdumper: Use sizeof(variable) instead of the direct buffer length
...
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>
12 years ago
Martin Storsjö
09d5e02ab0
graph2dot: Use the fallback getopt implementation if needed
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
212ec5faf9
tools: Include io.h for open/read/write/close if unistd.h doesn't exist
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
dd4169ab92
qt-faststart: Use other seek/tell functions on MSVC than on mingw
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
bff714ad4c
ismindex: Include direct.h for _mkdir on windows
...
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>
12 years ago
Nicolas George
fb6fb0dedb
tools: add make_chlayout_test perl script.
...
This script uses the flite source to produce files
suitable to test channels order and layout.
12 years ago
Martin Storsjö
1d9c2dc89a
Don't include common.h from avutil.h
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Nicolas George
f594dafc10
tools: add a script to find missing codec descriptors.
12 years ago
Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
12 years ago
Alexander Strasser
3f22fcce3a
tools/bisect-create: Support "bisect run"
...
Make it possible to use the run bisect sub command. As with all
other ffbisect commands, revisions that do not contain the needed
tools are skipped.
Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
13 years ago
Michael Niedermayer
dadfd2a525
tools/bisect: rename to tools/bisect-create
...
Idea-by: Alexander Strasser
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
6de70d7fbf
tools/bisect: rename temporary file and add it to git ignore
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
ccc0a3a9fa
tool/bisect: add some magic to make the bisect tool be useable when its not part of a checkout
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago