Martin Storsjö
09d5e02ab0
graph2dot: Use the fallback getopt implementation if needed
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-08-29 00:24:39 +03:00
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>
2012-08-29 00:24:07 +03:00
Martin Storsjö
dd4169ab92
qt-faststart: Use other seek/tell functions on MSVC than on mingw
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-08-29 00:23:34 +03:00
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>
2012-08-29 00:23:18 +03:00
Martin Storsjö
1d9c2dc89a
Don't include common.h from avutil.h
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-08-15 22:32:06 +03:00
Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
2012-08-07 16:00:24 +02:00
Mans Rullgard
7c29377b70
lavfi: reclassify showfiltfmts as a TESTPROG
...
This tool uses lavfi internal symbols not accessible in shared
libraries. TESTPROGS are linked statically to allow them use of
library internals not normally exported.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-07-04 17:48:25 +01:00
Diego Biurrun
fa2d747352
graph2dot: fix printf format specifier
...
tools/graph2dot.c:85: warning: format ‘%lld’ expects type ‘long long int’, but argument 4 has type ‘int’
2012-07-04 18:12:48 +02:00
Martin Storsjö
30327865f3
ismindex: Verify that all bitrate variants match
...
In Smooth Streaming, the fragments are addressed by time, and
the manifest only stores one list of time offests for all streams,
so all streams need to have identical fragment offsets. Warn if
this isn't the case, so that the user can fix the files instead of
getting failures at runtime when the fragments can't be found.
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-03 22:46:58 +03:00
Martin Storsjö
1be8c90847
ismindex: Properly report errors reading the MFRA atom
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-03 22:46:53 +03:00
Diego Biurrun
09f211987c
misc typo and wording fixes
2012-07-03 17:35:11 +02:00
Mans Rullgard
896bb0d742
Replace usleep() calls with av_usleep()
...
This reduces the dependency on unistd.h which is not available
on all systems.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-06-22 17:15:36 +01:00
Anton Khirnov
43c7a01e98
lavfi: remove avfilter_default_* from public API on next bump.
...
Those functions are only useful inside filters. It is better to not
support user filters until the API is more stable.
2012-05-22 21:33:26 +02:00
Diego Biurrun
ffae713a5b
Fix a bunch of common typos.
2012-03-09 22:02:49 +01:00
Martin Storsjö
8801fac365
ismindex: Fix build on mingw
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-01-26 00:04:28 +02:00
Diego Biurrun
d55fa1cb25
tools: Remove some unnecessary #undefs.
2012-01-25 20:41:22 +01:00
Diego Biurrun
4e81b5f517
tools: K&R reformatting cosmetics
2012-01-25 15:31:11 +01:00
Martin Storsjö
7072a6a4bb
pktdumper: Use usleep instead of sleep
...
MinGW doesn't have sleep, only _sleep (which is deprecated),
Sleep (which is defined in winbase.h and not in the standard
C headers) and usleep.
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-01-25 14:34:51 +02:00
Martin Storsjö
33ec9ef96d
Add a tool for creating smooth streaming manifests
...
It can also optionally split the file into individual fragments,
which allows it to be served from any web server without any
server side support.
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-01-25 12:15:42 +02:00
Martin Storsjö
7ba34575fd
aviocat: Remove useless includes
...
Also include stdlib.h explicitly - currently it is used
implicitly via avformat.h.
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-01-21 12:04:02 +02:00
Martin Storsjö
6a73f3bbdf
aviocat: Flush the output before closing
...
Without this, the end of the file might not be transmitted/written.
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-01-21 01:12:00 +02:00
Martin Storsjö
23e57d167a
Add a tool that uses avio to read and write, doing a plain copy of data
...
It also optionally can throttle its operation to a particular
speed, to simulate realtime writing.
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-01-20 22:19:09 +02:00
Diego Biurrun
5ea20630b4
Fix a bunch of platform name and other typos.
2012-01-11 13:48:30 +01:00
Diego Biurrun
8fd35b1aac
Fix a bunch of typos.
2012-01-02 16:41:25 +01:00
Diego Biurrun
cd8d84575b
qt-faststart: K&R reformatting; fix comment typos
2011-12-30 21:14:07 +01:00
Martin Storsjö
cf4afe0be6
qt-faststart: Fix up indentation
...
This restores indentation after 65b875d8fc
.
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-12-29 19:15:28 +02:00
Anton Khirnov
cd3716b9aa
Replace all uses of av_close_input_file() with avformat_close_input().
2011-12-12 20:34:38 +01:00
Diego Biurrun
da9cea77e3
Fix a bunch of common typos.
2011-12-11 00:32:25 +01:00
Diego Biurrun
9a5d6c23c5
tests/tools/examples: Replace direct exit() calls by return.
2011-12-08 01:00:58 +01:00
Diego Biurrun
def5dc1260
doc: document preferred Doxygen syntax and make patcheck detect it
2011-12-04 23:49:48 +01:00
Janne Grunau
d830264abd
tools/pktdumper: update to recent avformat api
2011-10-28 19:08:38 +02:00
Diego Biurrun
c960e67ad0
Replace deprecated av_find_stream_info() by avformat_find_stream_info().
2011-08-26 17:40:07 +02:00
Diego Biurrun
eb7505e429
Remove some unused scripts from tools/.
2011-06-06 01:31:02 +02:00
Diego Biurrun
c540061f3f
cws2fws: Improve error message wording.
2011-05-16 20:56:56 +02:00
Diego Biurrun
d39facc783
tools: Check the return value of write().
...
This fixes several warnings of the type:
warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
2011-05-16 20:56:56 +02:00
Peter Ross
c7d22c5d67
patcheck: warn about assert usage
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-05-12 13:02:58 +02:00
Diego Biurrun
6252040e77
Replace `` by $() syntax in shell scripts.
...
$() is easier to nest and POSIX, which we require in other places.
2011-04-23 17:45:05 +02:00
Brad
ff3be572ef
patcheck: Allow overiding grep program(s) through environment variables.
...
patcheck hardcodes the binary names for grep/egrep. This makes overriding the
binary names a pain, e.g. when calling a GNU version of grep on BSD systems.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-04-23 17:31:39 +02:00
Diego Biurrun
14622ef05d
Replace references to ffmpeg-devel with libav-devel; fix roundup URL.
2011-04-15 22:38:41 +02:00
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-19 13:33:20 +00:00
Stefano Sabatini
009026efb1
In graph2dot, print more specific audio information for audio links.
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
2011-02-17 00:02:11 +01:00
Janne Grunau
2c3589bfda
consolidate .gitignore patters into a single file
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
2011-01-18 21:32:05 +01:00
Janne Grunau
348b8218f7
convert svn:ignore properties to .gitignore files
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
2011-01-17 15:50:14 +01:00
Stefano Sabatini
b382d1e3e4
Print link audio format name in tools/graph2dot.
...
Originally committed as revision 26322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-12 18:25:03 +00:00
Stefano Sabatini
24de0edbd5
Rename avfilter_destroy() as avfilter_free().
...
The new name is shorter and more consistent with the FFmpeg API, and
sounds less evil.
Originally committed as revision 25707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-08 12:32:39 +00:00
Stefano Sabatini
1e80a0eaa4
Remove graphparser.h header, move AVFilterInOut and
...
avfilter_graph_parse() declaration to libavfilter/avfiltergraph.h.
Simplify, and less confusing for the user.
Originally committed as revision 25705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-07 22:56:29 +00:00
Stefano Sabatini
2a24df9357
Add avfilter_graph_config().
...
Originally committed as revision 25502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-16 10:20:53 +00:00
Aurelien Jacobs
ad2d0fdf25
probetest: replace usage of deprecated first_iformat by av_iformat_next()
...
Originally committed as revision 25490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-15 14:44:18 +00:00
Stefano Sabatini
47453c0e37
Make graph2dot print information related to the link timebase.
...
Originally committed as revision 25442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-10 22:26:17 +00:00
Michael Niedermayer
54ce8a4c8b
Clarify whitespace nitpicks in patcheck.
...
Originally committed as revision 25435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-10 19:35:17 +00:00
Michael Niedermayer
bf2d43de3f
Tool to analyze multimedia files and create directories and symlinks for the
...
container type and codecs in each file that point back to the file.
Originally committed as revision 25428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-09 19:52:06 +00:00
Michael Niedermayer
f47d172f13
Check for more 'indent -kr' whitespace details.
...
Originally committed as revision 25417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-08 19:11:36 +00:00
Stefano Sabatini
a8542e433e
Set the correct type for the output links.
...
Originally committed as revision 24810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-17 18:07:57 +00:00
Stefano Sabatini
84c0386960
Change avfilter_open() signature, from:
...
AVFilterContext *avfilter_open(AVFilter *filter, const char *inst_name);
to:
int avfilter_open(AVFilterContext **filter_ctx, AVFilter *filter, const char *inst_name);
This way it is possible to propagate an error code telling the reason
of the failure.
Originally committed as revision 24765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-11 11:44:51 +00:00
Måns Rullgård
56e0d112d3
showfiltfmts: destroy filter context before exit
...
Originally committed as revision 24722 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-06 22:25:44 +00:00
Måns Rullgård
c61f84bf97
showfiltfmts: set media type of links to that of corresponding pad
...
Originally committed as revision 24721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-06 22:25:42 +00:00
Benoit Fouet
3ea4d9423f
Issue a warning when fed with misformatted one-line doxygen comments.
...
Originally committed as revision 24660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-02 07:23:47 +00:00
Måns Rullgård
27971664d3
lavfi-showfiltfmts: print one format per line
...
Originally committed as revision 24647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-01 11:34:56 +00:00
Michael Niedermayer
78db142acb
Warn about "/** text" comments.
...
Originally committed as revision 24574 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-28 15:03:05 +00:00
Rafaël Carré
09d7da865f
Accept stdin as input for patcheck.
...
Patch by Rafaël Carré, rafael d carre a gmail
Originally committed as revision 24499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-25 15:02:27 +00:00
Rafaël Carré
2543c7fb1a
grep Changelog entry from unified diffs
...
Patch by Rafaël Carré, rafael d carre a gmail
Originally committed as revision 24248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-15 12:05:53 +00:00
Michael Niedermayer
c4e12a9fa4
Check for doxy filetag with filename
...
Originally committed as revision 23975 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 11:13:23 +00:00
Eli Friedman
35614edb2d
Add patcheck checks for assignments that look like compound assignments
...
Patch by Eli Friedman, eli dot friedman at gmail
Originally committed as revision 23841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-28 08:02:24 +00:00
Baptiste Coudurier
91a4abd8f5
fail if input and output are the same
...
Originally committed as revision 23672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-21 01:05:30 +00:00
Benoit Fouet
b6c265ec2b
Improve rule for possibly never read variables.
...
Originally committed as revision 23578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-11 08:58:40 +00:00
Stefano Sabatini
e34d5db595
Add libavfilter 1-input - 1-output regression test, corresponding to the
...
target regtest-lavfi_pix_fmts.
The lavfi_pix_fmts test is disabled, this because there are
many tests which are failing, and there are still some output files
which cannot be played by NUT/ffplay.
Originally committed as revision 23297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-24 20:38:50 +00:00
Martin Storsjö
86e09922a5
qt-faststart: Abort scanning of the input file if a badly sized atom is encountered
...
If the atom size is 0, qt-faststart currently hangs forever while scanning
the file.
Originally committed as revision 23129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 19:22:56 +00:00
Martin Storsjö
2ef9fd8e9b
Cosmetics: Initialize pointers with NULL instead of 0, for consistency
...
Originally committed as revision 23127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 19:18:27 +00:00
Martin Storsjö
e3d7269fc8
Cosmetics: reindent
...
Originally committed as revision 23126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 19:17:49 +00:00
Martin Storsjö
c937454d89
qt-faststart: Use the error_out cleanup code path for all error returns
...
Originally committed as revision 23125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 19:17:15 +00:00
Martin Storsjö
6ad533b7cb
qt-faststart: Avoid leaking memory if encountering a file with double ftyp atoms
...
Originally committed as revision 23065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-09 17:46:42 +00:00
Martin Storsjö
d296a658cf
qt-faststart: Free ftyp_atom at all exit points
...
Originally committed as revision 23008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-01 21:05:28 +00:00
Martin Storsjö
331cb6c3e8
Reindent after the previous commit
...
Originally committed as revision 23007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-01 21:03:52 +00:00
Martin Storsjö
d50fc2d07b
Remove unnecessary checks before calling free
...
Feel free to revert if you can specify a concrete case where this actually
is necessary.
Originally committed as revision 23006 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-01 21:02:23 +00:00
Jean-Daniel Dupas
cc947f04cc
Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY.
...
Patch by Jean-Daniel Dupas, devlists shadowlab org
Originally committed as revision 22744 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-31 12:29:58 +00:00
Daniel Verkamp
4a0cf686f8
patcheck: Escape parentheses in grep calls
...
Originally committed as revision 22563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-15 23:32:20 +00:00
Diego Biurrun
f19a068ef6
Add missing stdlib.h #include, fixes the warnings:
...
tools/trasher.c:44: warning: implicit declaration of function ‘atoi’
tools/trasher.c:53: warning: implicit declaration of function ‘abs’
Originally committed as revision 22328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-08 17:00:21 +00:00
Michael Niedermayer
5988dc9eec
Remove apparently unneeded define and includes.
...
Originally committed as revision 22229 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-06 01:32:52 +00:00
Michael Niedermayer
47cf98efcb
Make trasher use a well defined random number generator and allow the seed to be specified on the cmd line.
...
Originally committed as revision 22228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-06 01:31:17 +00:00
Stefano Sabatini
11ab237e31
Add the graph2dot tools and document it.
...
Also link avfiltergraph.o and graphparser.o against libavfilter, as it
uses them.
Originally committed as revision 22063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-25 19:55:01 +00:00
Reimar Döffinger
260dfb1a3c
patcheck: check that pix_fmt etc. initializers are const
...
Originally committed as revision 20493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-09 23:12:44 +00:00
Diego Biurrun
9407246d7a
Drop argc/argv parameters from main(), they are unused.
...
Originally committed as revision 19907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-18 10:14:46 +00:00
Diego Biurrun
497559ec90
cosmetics: K&R coding style, prettyprinting
...
Originally committed as revision 19906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-18 10:13:10 +00:00
Martin Storsjö
ff19d438dc
Init i to 0 (10l fix).
...
Patch by Martin Storsjö / martin von martin aus st
Originally committed as revision 19855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-15 13:09:34 +00:00
Michael Niedermayer
6e7ef5ec35
Probetest, to test the demuxers probe functions against random and not so random
...
input.
Originally committed as revision 19853 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-15 10:42:01 +00:00
Frank Barchard
65b875d8fc
print atom info during parsing, patch by Frank Barchard, fbarchard at google dot com
...
Originally committed as revision 19435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-15 08:57:27 +00:00
Frank Barchard
31457d7a2e
Do not fail if 'uuid' atom is encountered before 'moov'.
...
Patch by Frank Barchard, fbarchard at google dot com.
Originally committed as revision 19354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-06 05:36:14 +00:00
Frank Barchard
06a497afab
Use slightly more appropriate format strings for printing decimal values.
...
patch by Frank Barchard, fbarchard google com
Originally committed as revision 19315 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-01 13:46:26 +00:00
Frank Barchard
cb28f95454
Use more portable 'PRId64' instead of 'llx' as conversion/length specifier.
...
patch by Frank Barchard, fbarchard google com
Originally committed as revision 19309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-30 15:11:51 +00:00
Zdenek Kabelac
92147b6bec
Use new packet reading API, fixes a memory leak.
...
patch by Zdenek Kabelac, zdenek.kabelac gmail com
Originally committed as revision 18728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-01 21:39:53 +00:00
Michael Niedermayer
9e793a2462
Check for INIT_VLC_USE_STATIC
...
Originally committed as revision 18200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-27 03:03:50 +00:00
Diego Biurrun
6510c453ab
Add _XOPEN_SOURCE #define. This is necessary for (s)random(), which are XSI
...
extensions of POSIX. Avoids implicit declaration warnings on some systems.
Originally committed as revision 18178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-24 16:28:48 +00:00
Alex Converse
f11c9ee996
patcheck: Replace non-POSIX echo -e with printf.
...
Originally committed as revision 17943 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-11 19:13:15 +00:00
Michael Niedermayer
70ec53a0bf
Detect static prototypes.
...
Originally committed as revision 17649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-27 21:11:49 +00:00
Michael Niedermayer
f55e1812d0
Improve detection of non doxy comments.
...
Originally committed as revision 17648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-27 21:08:32 +00:00
Michael Niedermayer
0f485a9c8b
Fix misdetection of #else in 'missing } prior to else'.
...
Originally committed as revision 17647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-27 18:33:46 +00:00
Michael Niedermayer
214ee5f556
Search for things like "int *src" without const.
...
Originally committed as revision 17529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-22 14:29:48 +00:00
Michael Niedermayer
6c25f34682
Fix @param[in/out] handling
...
Originally committed as revision 17395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-17 18:20:06 +00:00
Michael Niedermayer
be3e68b277
Check for duplicate const/static/inline.
...
Originally committed as revision 17101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 18:37:29 +00:00
Michael Niedermayer
74892f7a4e
Fix reserved identifer detection so it doesnt detect __asm and such.
...
Originally committed as revision 17057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 13:34:22 +00:00